azure_arc
azure_arc copied to clipboard
VM has reported a failure when processing extension 'Bootstrap' (publisher 'Microsoft.Compute' and type 'CustomScriptExtension')
Is your issue related to a Jumpstart scenario, HCIBox
Describe the issue or the bug
To Reproduce
Environment summary
azure-cli 2.56.0 *
core 2.56.0 * telemetry 1.1.0
Extensions: init 0.1.0
Dependencies: msal 1.24.0b2 azure-mgmt-resource 23.1.0b2
Have you looked at the Troubleshooting and Logs section?
Screenshots
Additional context
can you share more information, screenshots on the error ? Have you tried a redeployment ?
Yes, I have tried the redeployment its failed with same error.
this looks like a problem with the service principal credentials. Please double check that you have provided the right SPN credentials with the right permissions. If all looks good please RDP into the machine and share the bootstrap.log
I tried to build the HCIBox from the begging as a fresh deployment. Again its failed with same error. This time I made sure provided the SPN ID and details.
VM has deployed and I don't see the Bootstrap log under this location: C:\HCIBox\Logs\Bootstrap.log
can you share your parameters file with obfuscating the secrets ?
When did you clone the repo? I assume it's an old copy since there are some parameters not available in your file. Also please double check in the main.bicep
file that the githubAccount
is set to microsoft and githubBranch
is set to main. If that's the case, please perform a new clone
I deleted older clone and created the new clone. Tried to redeploy and its failed with below error.
Here is the latest json file.
This is on Azure portal:
have you changed the property imageReference
in the host.bicep file ?
No, I haven't touched that.
@dkirby-ms any thoughts on this ?
@potejasw you need to revoke/rotate your SPN secret immediately if you havent already.
Yes, Wiped out all RG and starting the new build.
Hello @potejasw , what is your current status?
@sebassem, Thank you for the follow up.
In the last week, I have wiped out and build the HCI box couple of times and that worked. Now I have stable lab deployed. I have to build the cluster now.
Thanks for the update, glad you got it working. Will close the issue now as resolved.