What's the right course of action when I hit this ...
# azure
b
What's the right course of action when I hit this perpetually?
Copy code
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
Anything in the activity log of the resource group?
b
nothing of value.. the "create or update" event gives nothing other than "started"
t
There is a “failed” on top. Does it have no detail?
b
and the error event:
Copy code
"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
Right… Open a support ticket?
b
That's my thought too 🙂 I presume that the PUT url from the verbose log can be passed as the instruction yeah?
Copy code
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
the log shows the raw payload as the ARM API accepts
b
Righto - i'll try 🙂