GitHub user SudharmaJain opened a pull request:
https://github.com/apache/cloudstack/pull/1738
CLOUDSTACK-9566 instance-id metadata for baremetal VM returns ID
There is difference in instance-id metadata across baremetal and other
hypervisors.
On Baremetal
[root@ip-172-17-0-144 ~]# curl
http://8.37.203.221/latest/meta-data/instance-id
6021
on Xen
[root@ip-172-17-2-103 ~]# curl
http://172.17.0.252/latest/meta-data/instance-id
cbeb517a-e833-4a0c-b1e8-9ed70200fbbf
In both cases it should be vm's uuid.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/SudharmaJain/cloudstack cs-9566
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1738.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1738
----
commit 759a92d2516a99b90b59dc096f23e2e903d0673b
Author: Sudharma Jain <[email protected]>
Date: 2016-10-27T08:20:39Z
CLOUDSTACK-9566 instance-id metadata for baremetal VM returns ID
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---