https://pulumi.com logo
Title
b

better-shampoo-48884

03/21/2021, 1:55 PM
What's the right course of action when I hit this perpetually?
azure-native:compute:VirtualMachineScaleSet (xxxxx-scaleset-linuxagents):
    error: Code="InternalOperationError" Message="An internal error occurred in the operation."
Essentially trying to create a scaleset from a vhd in a blob with disk-encryption enabled (and ephemeral disks). I'm happy to get an error message - but running
pulumi up -y --suppress-outputs -v=9 --debug --logflow --logtostderr 1> scaleSetCreate.log 2>&1
just repeats the same issue without any context - the log shows my config (correct) going out, then it takes ~3.5m before azure responds with 500: internal error.. each time.
t

tall-librarian-49374

03/21/2021, 5:36 PM
Anything in the activity log of the resource group?
b

better-shampoo-48884

03/21/2021, 8:57 PM
nothing of value.. the "create or update" event gives nothing other than "started"
t

tall-librarian-49374

03/21/2021, 8:58 PM
There is a “failed” on top. Does it have no detail?
b

better-shampoo-48884

03/21/2021, 8:58 PM
and the error event:
"status": {
        "value": "Failed",
        "localizedValue": "Failed"
    },
    "subStatus": {
        "value": "InternalServerError",
        "localizedValue": "Internal Server Error (HTTP Status Code: 500)"
    },
...
"properties": {
        "statusCode": "InternalServerError",
        "serviceRequestId": "3cf24d16-3e7f-46e5-b9b1-f0b6cf45d992",
        "statusMessage": "{\"error\":{\"code\":\"InternalOperationError\",\"message\":\"An internal error occurred in the operation.\"}}",
        "responseBody": "{\"error\":{\"code\":\"InternalOperationError\",\"message\":\"An internal error occurred in the operation.\"}}",
        "eventCategory": "Administrative",
t

tall-librarian-49374

03/21/2021, 8:59 PM
Right… Open a support ticket?
b

better-shampoo-48884

03/21/2021, 9:00 PM
That's my thought too 🙂 I presume that the PUT url from the verbose log can be passed as the instruction yeah?
I0321 14:52:59.229312    9612 eventsink.go:78] eventSink::Infoerr(<{%reset%}>===================================================== HTTP Request End PUT <https://management.azure.com/subscriptions/xxxx/resourceGroups/yyyyy/providers/Microsoft.Compute/virtualMachineScaleSets/xxxxxx-scaleset-linuxagents?api-version=2020-12-01>
<{%reset%}>)
    pulumi:pulumi:Stack modularity-modular running Host: <http://management.azure.com|management.azure.com>
    pulumi:pulumi:Stack modularity-modular running User-Agent: Go/go1.15.8 (amd64-windows) go-autorest/v14.2.1 pulumi-azure-native/v0.7.1 pid-a90539d8-a7a6-5826-95c4-1fbef22d4b22
    pulumi:pulumi:Stack modularity-modular running Content-Length: 1624
    pulumi:pulumi:Stack modularity-modular running Authorization: Bearer the token.
    pulumi:pulumi:Stack modularity-modular running Content-Type: application/json; charset=utf-8
    pulumi:pulumi:Stack modularity-modular running {"identity":{"type":"SystemAssigned"},"location":"westeurope","properties":{"overprovision":false,"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual"},"virtualMachineProfile":{"evictionPolicy":"Deallocate","networkProfile":{"networkInterfaceConfigurations":[{"name":" et cetera...... trimmed
    pulumi:pulumi:Stack modularity-modular running ===================================================== HTTP Request End PUT <https://management.azure.com/subscriptions/xxxx/resourceGroups/yyyyy/providers/Microsoft.Compute/virtualMachineScaleSets/xxxxxx-scaleset-linuxagents?api-version=2020-12-01>
I0321 14:53:02.365255    9612 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0321 14:53:02.365069   23580 provider.go:1717] HTTP Response Begin PUT [<https://management.azure.com/subscriptions/xxxx/resourceGroups/yyyyy/providers/Microsoft.Compute/virtualMachineScaleSets/xxxxxx-scaleset-linuxagents?api-version=2020-12-01> ===================================================
<{%reset%}>)
so basically the json payload = msft understandable right?
though looking at it.. it does seem very much like the pulumi object rather than the ARM representation
t

tall-librarian-49374

03/21/2021, 9:23 PM
the log shows the raw payload as the ARM API accepts
b

better-shampoo-48884

03/21/2021, 9:30 PM
Righto - i'll try 🙂