我部署了一个内存优化的实例,该实例具有2vCores CPU,600GB Premium SSD及其本地冗余。我将近250GB的SQL转储恢复到新实例中。我注意到,连接安全性和服务器参数列消失了一半。通过浏览器和cli调试后,我发现AzureMySQL资源存在多个错误。我不知道如何解决。
看看上面的图片,加载消息就一直呆在那里!与服务器参数部分类似。
错误消息如下所示。是的,我注意到MySqlServerDatabasesListPartViewModelMySql函数的SqlExtension存在错误。但是似乎MsPortalFx.Errors.Error确实有问题。
[SqlAzureExtension] 10:52:04 PM Extension/SqlAzureExtension/PartType/MySql$MySqlServerDatabasesListPartViewModel MySql$MySqlServerDatabasesListPartViewModel: _errorData: undefined
_sourceErrorLevel: undefined
baseTypes: ["MsPortalFx.Errors.Error"]
code: undefined
data: {
<r>: {
internal: <Object>,
container: <e>,
content: <t>
}
}
errorLevel: 2
extension: SqlAzureExtension
handled: undefined
innerErrors: ["_errorData: {\"type\":\"SqlPortalServerError\",\"errorData\":{\"message\":\"Error requesting ARM API. 'GET /subscriptions/<subscription-id>/resourceGroups/<subscription-name>/providers/Microsoft.DBforMySQL/servers/<server-name>/databases?api-version=2017-12-01-preview' returned 'HTTP 503'\",\"stack\":\"Error\\n at t.n (https://sqlazureextension.hosting.portal.azure.net/SqlAzureExtension/Content/Dynamic/YchmUB_ecVsW.js:4:1905)\\n at new t (https://sqlazureextension.hosting.portal.azure.net/SqlAzureExtension/Content/Dynamic/YchmUB_ecVsW.js:4:2582)\\n at t.length.i.Base.Net2.ajaxExtended.then.i.Base.Diagnostics.Telemetry.trace.action (https://sqlazureextension.hosting.portal.azure.net/SqlAzureExtension/Content/Dynamic/yKgN18J6iOIm.js:1:6603)\\n at h (https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:8536)\\n at https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:8823\\n at t.f.promiseDispatch (https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:2946)\\n at https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:1680\\n at MessagePort.t (https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:6267)\",\"httpStatusCode\":503}}\r\n_sourceErrorLevel: undefined\r\nbaseTypes: [\"MsPortalFx.Errors.FetchDataError\",\"MsPortalFx.Errors.DataError\",\"MsPortalFx.Errors.Error\"]\r\ncode: undefined\r\ndata: undefined\r\ndataSetName: DataCache:121:2\r\nerrorLevel: 2\r\nextension: SqlAzureExtension\r\nhandled: undefined\r\ninnerErrors: []\r\nmessage: \r\nname: Error\r\nsource: DataCache:121:2\r\nstack: Error\n at t.i (https://portal.azure.com/Content/Dynamic/2dLd3nZ3cXG9.js:15:790)\n at t (https://portal.azure.com/Content/Dynamic/2dLd3nZ3cXG9.js:15:1563)\n at new t (https://portal.azure.com/Content/Dynamic/2dLd3nZ3cXG9.js:15:1736)\n at wt (https://portal.azure.com/Content/Dynamic/2dLd3nZ3cXG9.js:106:680)\n at https://portal.azure.com/Content/Dynamic/2dLd3nZ3cXG9.js:106:6541\n at c (https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:8629)\n at https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:8871\n at t.when (https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:3859)\n at t.f.promiseDispatch (https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:2902)\n at https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:1680\r\ntimestamp: 30748.499999999694\r\ntype: MsPortalFx.Errors.FetchDataError\r\n"]
message: Part's onInputsSet promise failed.(id: SqlAzureExtension-fx-010-002)
name: Error
source: undefined
stack: Error: Part's onInputsSet promise failed.(id: SqlAzureExtension-fx-010-002)
at new i (https://portal.azure.com/Content/Dynamic/2dLd3nZ3cXG9.js:15:790)
at https://portal.azure.com/Content/Dynamic/2dLd3nZ3cXG9.js:71:2633
at c (https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:8629)
at https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:8871
at t.when (https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:3859)
at t.f.promiseDispatch (https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:2902)
at https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:1680
at MessagePort.t (https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:6267)
timestamp: 30758.699999999408
type: MsPortalFx.Errors.Error
第二个错误基本上显示了几乎相同的内容,但功能不同
[SqlAzureExtension] 10:53:11 PM MySqlServerFirewallRulesDiscardChangesCommand:onInputsSet MySqlServerFirewallRulesDiscardChangesCommand:onInputsSet: {
"message": "Unspecified error.",
"stack": "Error: Unspecified error.\n at Function.n.entryToMessage (https://sqlazureextension.hosting.portal.azure.net/SqlAzureExtension/Content/Dynamic/YchmUB_ecVsW.js:2:949)\n at Function.n.error (https://sqlazureextension.hosting.portal.azure.net/SqlAzureExtension/Content/Dynamic/YchmUB_ecVsW.js:2:386)\n at https://sqlazureextension.hosting.portal.azure.net/SqlAzureExtension/Content/Dynamic/E7oAaBffNKZy.js:7:705\n at Object.<anonymous> (https://portal.azure.com/Content/Dynamic/2dLd3nZ3cXG9.js:22:984)\n at Object.<anonymous> (https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:45:40329)\n at c (https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:45:39003)\n at Object.fireWith [as rejectWith] (https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:45:39771)\n at Object.<anonymous> (https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:45:40460)\n at c (https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:45:39003)\n at Object.fireWith [as rejectWith] (https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:45:39771)"
}
第三名
[SqlAzureExtension] 10:53:11 PM MySqlServerFirewallRulesAddClientIpCommand.onInputsSet MySqlServerFirewallRulesAddClientIpCommand.onInputsSet: {
"message": "Unspecified error.",
"stack": "Error: Unspecified error.\n at Function.n.entryToMessage (https://sqlazureextension.hosting.portal.azure.net/SqlAzureExtension/Content/Dynamic/YchmUB_ecVsW.js:2:949)\n at Function.n.error (https://sqlazureextension.hosting.portal.azure.net/SqlAzureExtension/Content/Dynamic/YchmUB_ecVsW.js:2:386)\n at https://sqlazureextension.hosting.portal.azure.net/SqlAzureExtension/Content/Dynamic/E7oAaBffNKZy.js:3:666\n at c (https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:8629)\n at https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:8871\n at t.when (https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:3859)\n at t.f.promiseDispatch (https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:2902)\n at https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:1680\n at MessagePort.t (https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:6267)"
}
来回
[SqlAzureExtension] 10:53:11 PM MySqlServerFirewallRulesBladeViewModel:onInputsSet MySqlServerFirewallRulesBladeViewModel:onInputsSet: {
"message": "Unspecified error.",
"stack": "Error: Unspecified error.\n at Function.n.entryToMessage (https://sqlazureextension.hosting.portal.azure.net/SqlAzureExtension/Content/Dynamic/YchmUB_ecVsW.js:2:949)\n at Function.n.error (https://sqlazureextension.hosting.portal.azure.net/SqlAzureExtension/Content/Dynamic/YchmUB_ecVsW.js:2:386)\n at https://sqlazureextension.hosting.portal.azure.net/SqlAzureExtension/Content/Dynamic/E7oAaBffNKZy.js:9:3981\n at c (https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:8629)\n at https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:8871\n at t.when (https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:3859)\n at t.f.promiseDispatch (https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:2902)\n at https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:1680\n at MessagePort.t (https://portal.azure.com/Content/Dynamic/BUbKUXDk0t3l.js:30:6267)"
}
除了还原SQL数据库外,我没有做任何“密集”操作。