Microsoft Azure - база данных Azure для MySQL Server - параметры безопасности подключения и сервера не отображаются в Azure Portal и Azure CLI
Я развернул один экземпляр, оптимизированный для памяти, с процессором 2vCores, 600 ГБ Premium SSD и его локально избыточным. Я восстановил почти 250 ГБ дампов SQL в новом экземпляре. Я заметил, что на полпути столбцы безопасности соединения и параметров сервера исчезают. После отладки через браузер и клиентскую систему я обнаружил, что в ресурсах AzureMySQL есть несколько ошибок. Я понятия не имею, как решить это.
Посмотрев на изображение выше, загрузочное сообщение осталось там навсегда! Аналогично части "Параметры сервера".
Сообщения об ошибках показаны ниже. Да, я заметил, что есть ошибки с SqlExtension для функции MySqlServerDatabasesListPartViewModelMySql. Но похоже также, что 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.