Hi All
I’m trying to get the Chef bootstrapping working in Azure. I have it working fine on 2012 R2 but for some reason it fails to deploy properly in 2008 R2.
The commands in use are:
$BootStrap = ‘{“chef_node_name”:"’ + $vmName + ‘"}’
Set-AzureRMVMChefExtension -ResourceGroupName $RGPName -VMName $vmName -ValidationPem ‘E:\Program Files\Server Build\New_Azure\Pem\win.self.bootstrap.pem’ -ClientRB ‘E:\Program Files\Server Build\New_Azure\ClientRB\client.rb’ -BootstrapOptions $BootStrap -RunList $Runlist -ChefServerURL ‘https://chef.company.net/organizations/company’ -ValidationClientName “win.self.bootstrap” -ChefServiceInterval ‘60’ -Windows
Without fail I get this:
Set-AzureRMVMChefExtension : Long running operation failed with status
’Failed’.
At line:1 char:1
- Set-AzureRMVMChefExtension -ResourceGroupName $RGPName -VMName $vmNam …
-
+ CategoryInfo : CloseError: (:) [Set-AzureRmVMChefExtension], Cl oudException + FullyQualifiedErrorId : Microsoft.Azure.Commands.Compute.Extension.Chef. SetAzureVMChefExtensionCommand
Under extensions we see:
NAME TYPE VERSION STATUS
ChefClient Chef.Bootstrap.WindowsAzure.ChefClient 1210.* (unavailable)
Often the Chef client will show under programs but the much of the actual folder structure is missing.
Has anyone else seen this? MS just said “we don’t support 3rd party extensions”… helpful.
Thanks
Cam