Closed raycharlesman closed 10 years ago
Provisioning of virtual machine in a existing virtual network is not support by 1.1.0. We have just released version 1.1.1 which supports provisioning vm in existing virtual network. here is sample command for this
puppet azure_vm create --management-certificate ~/certs/azuremanagement.pem --location 'west us' --image b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-13_10-amd64-server-20130925-beta2-en-us-30GB --azure-subscription-id=my-subscription-id --vm-name testvm --vm-user admin --storage-account-name easuse --virtual-network-name test --virtual-network-subnet subnet-2
And regarding second issue It seems that you are trying to deploy more than one virtual machine in one cloud service. which is not supported by azure 0.6.0. We are in process to release next version of azure which will provide support for adding multiple role in given cloud service.
@raycharlesman you can use msopentech/windowsazure v1.1.1 for deployment of vm in any virtual network.
Hi-
Was able to try the v1.1.1 and was successful with provisioning a VM into the selected virtual_network. The first attempt ran into an issue with receiving the client certificate. Felt like a DNS issue. I put a CNAME for my puppet master host into my zone file and then tried a second attempt. That time the certificate was received and the newly provisioned host made a node request to the puppet master which I could approve and join to the pool of VMs managed by the puppet master.
Will continue to watch for additional functionality.
Thanks-
Is this functionality of adding multiples roles in one cloud service supported now ? Could you please post the link for it ?
I am trying to add multiple roles(VM's) to the same cloud service and i keep getting the error "ConflictError : Windows Azure is currently performing an operation on this deployment that requires exclusive access." i gave a delay of one minute between each VM creation and it worked. Is it possible to create multiple VMs in the same cloud service parallelly (without giving delays)?
As of 1.1.0 I've been able to get a new linux vm provisioned to Azure. It comes up and installs the puppet client but I have not been successful getting the vm to be provisioned in to a currently existing virtual_network or the currently existing storage_account.
Here is the command I run = puppet azure_vm create --image=5112500ae3b842c8b9c604889f8753c3__OpenLogic-CentOS-63APR20130415 --vm-user=azureuser --password=F00b4r10 --vm-name=devplotter --storage-account-name=devmodeblobstore --cloud-service-name=devmodpuma --virtual-network-name=devmodenet --virtual-network-subnet=devmodesub1 --puppet-master-ip=137.135.42.228 --affinity-group-name=agdevmodenet --location='West US' --management-certificate /var/lib/peadmin/.azure/managementCertificate.pem --azure-subscription-id=valid-subscription-id
And the error I receive. Cloud service devmodpuma already exists. Skipped... Storage Account devmodeblobstore already exists. Skipped... Deployment in progress... ConflictError : The specified deployment slot Production is occupied.
Current set up on Puppet master peadmin@devmodepm:~$ puppet module list --tree /var/lib/peadmin/.puppet/modules └── msopentech-windowsazure (v1.1.0) peadmin@devmodepm:~$
-Thanks-