Community

Discussions  |  Feature Requests  |  Tips and Tricks

Setting UUID on VM startup

#1Feb. 6, 2013 02:14:51

Enterprise Archicture Group
Registered: 2012-08-29
Posts: 3

Setting UUID on VM startup

Our VMs hosted in nimbula do not seem to have a UUID as shown here:

[root@10-90-5-158 ~]# dmidecode |grep -i UUID
UUID: Not Settable
[root@10-90-5-158 ~]

Searching online for a solution I found some suggestion on using the --uuid parameter to specify the UUID on startup with the kvm command. I was wondering if there is an option in nimbula to set this parameter to either a generated value or specify the value in the launch plan.

Any insight into this is greatly appreciated.
 

#2Feb. 6, 2013 02:44:51

Peter Juritz
Registered: 2011-06-20
Posts: 1

Setting UUID on VM startup

Hi,

One way for an instance to find it's UUID is to query the metadata url. There are different ways to do this.

From inside an instance run:
curl 192.0.0.192/name

This will return the instance UUID.
Alternatively, you can query:

curl 169.254.169.254/latest/meta-data/instance-id

from inside an instance.
This will return the full name of the instance.

Peter Juritz
 

#3Feb. 6, 2013 20:04:54

Enterprise Archicture Group
Registered: 2012-08-29
Posts: 3

Setting UUID on VM startup

My problem is that we are planning on installing a management package which requires the UUID in the usual place and accessible via:

dmidecode |grep -i UUID

or something to the same effect.
 

#4Feb. 7, 2013 00:50:50

Bryn Divey
Registered: 2010-09-29
Posts: 1

Setting UUID on VM startup

Hi,

Unfortunately we are not currently able to set the UUID field in KVM invocation, but we have opened a feature ticket to do so. I've attached the ticket number to the related support request.

Regards,
Bryn
 

#5Feb. 7, 2013 01:23:32

Enterprise Archicture Group
Registered: 2012-08-29
Posts: 3

Setting UUID on VM startup

Any change you could send me a link to the support request. For some reason I am no longer able to find it under either open or closed section.
 

#6Feb. 7, 2013 08:36:01

Jeremy Bar
Registered: 2011-01-05
Posts: 30

Setting UUID on VM startup

eag@thunderhead.com
Any change you could send me a link to the support request. For some reason I am no longer able to find it under either open or closed section.


I e-mailed Yuri the link privately.