Getting an Error after the host is created. I understand monitoring Azure is not supported. So went ahead creating an Azure VM Template, but the deployment fails with Error
Fri Feb 10 09:54:21 2017 [Z0][VMM][I]: /usr/local/share/gems/gems/azure-0.7.6/lib/azure/configurable.rb:184:in `rescue in management_certificate=’: Management certificate not valid. Error: PKCS12_parse: mac verify failure (ArgumentError)
I am not linux expert or Ruby. The question is before proceeding with cloud integration should i need to have the password less (SSH login) enabled?
The error you are experiencing refers to the management certificate not being correctly formed. Are you following the openssl commands to create the certificate? Could you share your /etc/one/az_driver.conf?
You don’t need password less SSH login working for the Azure integration.
I went ahead and recreated the VM and created the certificate again. The cluster host created still errors.
Can you provide me a sample Azure Template (full one including the context) that i could use?
The one i have deployed throws the following error message.
Error deploying virtual machine: Error creating directory /var/lib/one/datastores/0/0 at east-us: ssh: Could not resolve hostname east-us: Name or service not known
Before moving on to the creation of an Azure Template (you can find a functional sample in the documentation, you need to correctly add a configured Azure host in OpenNebula, and achieve the “on” state on it.
Let’s go step by step, please answer to the following:
Is the myCert.pem file readable by oneadmin?
Can you share the output of "onehost show -x ", where hid is the id of the host with name “east-us”