Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 08-18-2018 08:33 AM
I'm using CloidBreak for deploying hdp clusters. However the requirement is to do it based on hardened image that follows CIS guidelines, so I wanted to use their CentOS 7 image from Azure Marketplace. I did all prerequisites (packer built me an image, I've added new image catalog etc). However, as you can already suspect, the deployment failed because of that:
{
"status": "Failed",
"error": {
"code": "ResourceDeploymentFailure",
"message": "The resource operation completed with terminal provisioning state 'Failed'.",
"details": [
{
"code": "VMMarketplaceInvalidInput",
"message": "Creating a virtual machine from Marketplace image requires Plan information in the request. VM: '/subscriptions/xxxx/resourceGroups/xxxx/providers/Microsoft.Compute/virtualMachines/xxxxxxxm1'."
}
]
}This is because ARM template does not have plan information, that is required when deploying VMs from marketplace. Unfortunately and super sadly I can't see a workaround for that unless I modify cloudbreak itself...
Created 08-22-2018 11:26 AM
Your use case is perfectly valid, but unfortunately Cloudbreak does not support it yet (it is in the roadmap though)
As a workaround, you can do the following:
export CB_JAVA_OPTS="-Dcb.arm.template.path=arm-v2.ftl"
After restart has completed, all the subsequent cluster launches are to use your new, customized ARM template!
Hope this helps!
Created 08-22-2018 11:26 AM
Your use case is perfectly valid, but unfortunately Cloudbreak does not support it yet (it is in the roadmap though)
As a workaround, you can do the following:
export CB_JAVA_OPTS="-Dcb.arm.template.path=arm-v2.ftl"
After restart has completed, all the subsequent cluster launches are to use your new, customized ARM template!
Hope this helps!
Created 09-08-2018 08:19 PM
Hi @pdarvasi
I confirm, this workaround did the job for me. Thanks again.
Also, I saw on github, there is work being done on 2.8 and even 2.9.
Can I read somewhere about new features etc and maybe test a lil bit?
Created 08-22-2018 02:26 PM
Wow, this is exactly what I was trying to achieve. When I have a time I'll test this and let you know as for now I went different route.
Thanks!