2016-01-08 68 views
1

我使用ARM模板從BACPAC執行進口Azure的SQL數據庫文件存儲在我的存儲賬戶。Azure的資源管理器(ARM)導入數據庫(BACPAC)錯誤(關閉)

但是,我收到來自Azure的意外錯誤請求錯誤。 幾周前,相同的ARM模板一直運行正常。

當我嘗試手動在新的Azure門戶中執行導入數據庫時​​,我也從Azure中收到錯誤消息,但他們未指定錯誤詳細信息。

我曾嘗試過三個不同的地點:東南亞,北歐和中美洲,但都失敗了。

以下是我的ARM模板部分,用於數據庫服務器和數據庫導入。

{ 
    "type": "Microsoft.Sql/servers", 
    "apiVersion": "2014-04-01-preview", 
    "properties": { 
     "administratorLogin": "[parameters('dbLogin')]", 
     "administratorLoginPassword": "[parameters('dbPassword')]", 
     "version": "12.0" 
    }, 
    "name": "[parameters('sqlServerName')]", 
    "location": "[resourceGroup().location]", 
    "resources": [ 
    { 
     "type": "firewallrules", 
     "apiVersion": "2014-04-01-preview", 
     "properties": { 
      "endIpAddress": "0.0.0.0", 
      "startIpAddress": "0.0.0.0" 
     }, 
     "name": "AllowAllWindowsAzureIps", 
     "dependsOn": [ 
     "[resourceId('Microsoft.Sql/servers', parameters('sqlServerName'))]" 
     ] 
    }, 
    { 
     "type": "databases", 
     "apiVersion": "2014-04-01-preview", 
     "properties": { 
     "edition": "[parameters('databaseEdition')]", 
     "collation": "SQL_Latin1_General_CP1_CI_AS", 
     "maxSizeBytes": "[parameters('maxDatabaseSize')]", 
     "requestedServiceObjectiveId": "[parameters('dbServiceObjectiveLevel')]" 
     }, 
     "name": "[parameters('webDatabaseName')]", 
     "location": "[resourceGroup().location]", 
     "dependsOn": [ 
     "[resourceId('Microsoft.Sql/servers', parameters('sqlServerName'))]" 
     ], 
     "resources": [ 
     { 
      "type": "extensions", 
      "apiVersion": "2014-04-01-preview", 
      "properties": { 
      "operationMode": "Import", 
      "storageKey": "[parameters('bacpacStorageKey')]", 
      "storageKeyType": "Primary", 
      "administratorLogin": "[parameters('dbLogin')]", 
      "administratorLoginPassword": "[parameters('dbPassword')]", 
      "storageUri": "[parameters('webBacpacUrl')]" 
      }, 
      "name": "Import", 
      "location": "[resourceGroup().location]", 
      "dependsOn": [ 
      "[resourceId('Microsoft.Sql/servers/databases', parameters('sqlServerName'), parameters('webDatabaseName'))]" 
      ] 
     } 
     ] 
    }, 
    { 
     "type": "databases", 
     "apiVersion": "2014-04-01-preview", 
     "properties": { 
     "edition": "[parameters('databaseEdition')]", 
     "collation": "SQL_Latin1_General_CP1_CI_AS", 
     "maxSizeBytes": "[parameters('maxDatabaseSize')]", 
     "requestedServiceObjectiveId": "[parameters('dbServiceObjectiveLevel')]" 
     }, 
     "name": "[parameters('coreDatbaseName')]", 
     "location": "[resourceGroup().location]", 
     "dependsOn": [ 
     "[resourceId('Microsoft.Sql/servers', parameters('sqlServerName'))]" 
     ], 
     "resources": [ 
     { 
      "type": "extensions", 
      "apiVersion": "2014-04-01-preview", 
      "properties": { 
      "operationMode": "Import", 
      "storageKey": "[parameters('bacpacStorageKey')]", 
      "storageKeyType": "Primary", 
      "administratorLogin": "[parameters('dbLogin')]", 
      "administratorLoginPassword": "[parameters('dbPassword')]", 
      "storageUri": "[parameters('coreBacpacUrl')]" 
      }, 
      "name": "Import", 
      "dependsOn": [ 
      "[resourceId('Microsoft.Sql/servers/databases', parameters('sqlServerName'), parameters('coreDatbaseName'))]" 
      ] 
     } 
     ] 
    }, 
    { 
     "type": "databases", 
     "apiVersion": "2014-04-01-preview", 
     "properties": { 
     "edition": "[parameters('databaseEdition')]", 
     "collation": "SQL_Latin1_General_CP1_CI_AS", 
     "maxSizeBytes": "[parameters('maxDatabaseSize')]", 
     "requestedServiceObjectiveId": "[parameters('dbServiceObjectiveLevel')]" 
     }, 
     "name": "[parameters('mastrerDatabaseName')]", 
     "location": "[resourceGroup().location]", 
     "dependsOn": [ 
     "[resourceId('Microsoft.Sql/servers', parameters('sqlServerName'))]" 
     ], 
     "resources": [ 
     { 
      "type": "extensions", 
      "apiVersion": "2014-04-01-preview", 
      "properties": { 
      "operationMode": "Import", 
      "storageKey": "[parameters('bacpacStorageKey')]", 
      "storageKeyType": "Primary", 
      "administratorLogin": "[parameters('dbLogin')]", 
      "administratorLoginPassword": "[parameters('dbPassword')]", 
      "storageUri": "[parameters('masterBacpacUrl')]" 
      }, 
      "name": "Import", 
      "location": "[resourceGroup().location]", 
      "dependsOn": [ 
      "[resourceId('Microsoft.Sql/servers/databases', parameters('sqlServerName'), parameters('mastrerDatabaseName'))]" 
      ] 
     } 
     ] 
    } 
    ] 
} 

從Azure的門戶網站的錯誤我的手臂部署: enter image description here

任何幫助或建議表示讚賞!

注:我一直懷疑這可能是由於平臺的問題,但沒有報道這幾天上的位置問題,我試着基礎上, Azure status history

回答

1

與微軟的Azure支持驗證,他們證實了這一點是一個平臺問題。

更新: Microsoft解決與導入數據庫相關的平臺問題後,驗證問題得到解決。

相關問題