You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by Markos Gogoulos <mg...@mist.io> on 2014/11/27 22:00:56 UTC
[dev] vCloud deployment of Linux VMs
Hi all,
I'm experimenting with vCloud's driver (vCloud 1.5) and haven't managed
so far to successfully deploy Linux VMs with ssh keys. I know there are
some nice examples on
http://ci.apache.org/projects/libcloud/docs/compute/examples.html but
would appreciate further tips and advice on how you manage your vCloud
VMs deployments.
create_node does create a VM for me, but I never get a password (there's
no AdminPassword field on vCloud's response for the VM). On vCloud 0.8
driver I see that password is specified on create_node, but for 1.5
there's no mention on the password. Also the username is root, or can I
specify another one as well?
Then ex_vm_script parameter for create_node, does this expect to be a
bash script or commands?
Thanks for any help.
Cheers,
Markos
Re: [dev] vCloud deployment of Linux VMs
Posted by sebgoa <ru...@gmail.com>.
On Nov 27, 2014, at 10:50 PM, philip.kershaw@stfc.ac.uk wrote:
> Hi Markos,
>
> I’ve been working with libcloud with vCloud 5.5. I found that I need to make a few changes to support v5.5 including patches to the VM script handling. I’ve put these here:
>
> https://github.com/cedadev/libcloud/blob/trunk/libcloud/compute/drivers/vcloud.py
>
> The changes are pretty much complete but I haven’t submitted a pull request yet.
Don't hesitate to do so when you are ready,
> We have successfully tested passing shell scripts through the ex_vm_script keyword e.g. setting up an ssh key for an account on a Linux VM.
>
> I’ve not really looked at the admin password feature so can’t really comment on that.
>
> Cheers,
> Phil
>
>> On 27 Nov 2014, at 21:00, Markos Gogoulos <mg...@mist.io> wrote:
>>
>>
>>
>> Hi all,
>>
>> I'm experimenting with vCloud's driver (vCloud 1.5) and haven't managed
>> so far to successfully deploy Linux VMs with ssh keys. I know there are
>> some nice examples on
>> http://ci.apache.org/projects/libcloud/docs/compute/examples.html but
>> would appreciate further tips and advice on how you manage your vCloud
>> VMs deployments.
>>
>> create_node does create a VM for me, but I never get a password (there's
>> no AdminPassword field on vCloud's response for the VM). On vCloud 0.8
>> driver I see that password is specified on create_node, but for 1.5
>> there's no mention on the password. Also the username is root, or can I
>> specify another one as well?
>>
>> Then ex_vm_script parameter for create_node, does this expect to be a
>> bash script or commands?
>>
>> Thanks for any help.
>>
>> Cheers,
>> Markos
>
Re: [dev] vCloud deployment of Linux VMs
Posted by ph...@stfc.ac.uk.
Hi Markos,
I’ve been working with libcloud with vCloud 5.5. I found that I need to make a few changes to support v5.5 including patches to the VM script handling. I’ve put these here:
https://github.com/cedadev/libcloud/blob/trunk/libcloud/compute/drivers/vcloud.py
The changes are pretty much complete but I haven’t submitted a pull request yet. We have successfully tested passing shell scripts through the ex_vm_script keyword e.g. setting up an ssh key for an account on a Linux VM.
I’ve not really looked at the admin password feature so can’t really comment on that.
Cheers,
Phil
> On 27 Nov 2014, at 21:00, Markos Gogoulos <mg...@mist.io> wrote:
>
>
>
> Hi all,
>
> I'm experimenting with vCloud's driver (vCloud 1.5) and haven't managed
> so far to successfully deploy Linux VMs with ssh keys. I know there are
> some nice examples on
> http://ci.apache.org/projects/libcloud/docs/compute/examples.html but
> would appreciate further tips and advice on how you manage your vCloud
> VMs deployments.
>
> create_node does create a VM for me, but I never get a password (there's
> no AdminPassword field on vCloud's response for the VM). On vCloud 0.8
> driver I see that password is specified on create_node, but for 1.5
> there's no mention on the password. Also the username is root, or can I
> specify another one as well?
>
> Then ex_vm_script parameter for create_node, does this expect to be a
> bash script or commands?
>
> Thanks for any help.
>
> Cheers,
> Markos