Ask Your Question

suropatz's profile - activity

2015-08-04 12:56:08 -0500 answered a question Deploy an application tha already exist

Hi, As you launch the VM instance using CLI, you can also pass user-data in yaml format. This can help you install the jdk, eclipse packages and then start the application of your choice - so that you do not have any manual steps after the instance comes up, and your service is ready! You may even choose to set ssh-keys, sudo etc. for your choice of user on the VM instance using cloud-init user-data.

The user-data is passed in form of config-drive, and cloud-init is the software, in Linux distro, which processes the yaml file and act onto that.

For further information on cloud-init please check, link text
link text

2015-07-21 02:41:18 -0500 received badge  Nice Answer (source)
2015-07-20 14:06:00 -0500 answered a question Compute-node communicate/ping vms run on it

Hi, Compute-node to VM communication over IP may not be a safe/secure approach - as normally they are segmented by network. Using hypervisor->VM communication, e.g. using guestfish on libvirt, is a standard technique. If you are allowed to put an agent/client on VM, why not sending the meter to a common IP reachable service-endpoint, instead of the compute-node for aggregation?

HTH, suro

2015-07-20 13:53:37 -0500 received badge  Supporter (source)
2015-06-03 13:06:37 -0500 received badge  Nice Answer (source)
2015-03-12 02:13:35 -0500 received badge  Necromancer (source)
2015-03-12 02:13:35 -0500 received badge  Teacher (source)
2015-03-06 15:53:26 -0500 answered a question How can you list hosts on which VMs created by a tenant?

Hi Sudheesh, You can use the following tiny bash function for the same (

do the following - 1. source 2. suro_novawrap_list_vm_with_hv

Feel free to taylor, as per your use -

for iid in nova list | grep ACTIVE | awk '{print $2}'; do hv=nova show $iid | grep hypervisor_hostname | awk '{print $4}' name=nova show $iid | grep "^| name" | awk '{print $4}' hostname=nova show $iid | grep "^| hostname" | awk '{print $4}' tenantid=nova show $iid | grep "^| tenant_id" | awk '{print $4}' # echo $name, $hostname, $hv, $tenantid printf "Host:%-32s, HV: %-32s, Tenant-Id: %s, Name: %s\n" $hostname $hv $tenantid $name done