cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Luc Dion (JIRA)" <>
Subject [jira] [Assigned] (CLOUDSTACK-489) Document how to use userdata feature for user vms
Date Sun, 08 Mar 2015 01:58:38 GMT


Pierre-Luc Dion reassigned CLOUDSTACK-489:

    Assignee: Pierre-Luc Dion

> Document how to use userdata feature for user vms
> -------------------------------------------------
>                 Key: CLOUDSTACK-489
>                 URL:
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Doc
>    Affects Versions: pre-4.0.0
>         Environment: KVM, Xen, VMWare etc.
>            Reporter: Rohit Yadav
>            Assignee: Pierre-Luc Dion
>             Fix For: Future
> The userdata should be a base64 encoded string upto 2KB which is put on domr's html directory
and using HTTP GET the userdata information can be obtained from the domr. The operation does
not require the VM to be in stopped state, though it is     advised to stop and call this
api in case the user vm has a script which gets  the userdata information from domr while
> It is fixed with 4c86b1545dda53b74c534d479133692331e12a28. We need to document it, how
to use userdata, for example, this script can be used to fetch the data:
>     server_ip=$(grep dhcp-server-identifier /var/lib/dhclient-eth0.leases | tail -1 |
awk '{print $NF}' | tr '\;' ' ')
>     wget http://${server_ip}/latest/user-data
> This feature can be useful, for example to use into puppet facts [1], or to do automation
and horizontal scaling etc. based on userdata.
>     [0]
>     [1]

This message was sent by Atlassian JIRA

View raw message