incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kishan Kavala <Kishan.Kav...@citrix.com>
Subject RE: Internal db. id in VM instance/disk names
Date Fri, 25 Jan 2013 08:41:47 GMT
Internal Ids are visible only to the admin. Other users only see UUID, instance_name is not
visible. 


Admin:
<listvirtualmachinesresponse cloudstack-version="4.1.0-SNAPSHOT">
<count>1</count>
<virtualmachine>
<id>dfbcada9-9c03-484a-8c3f-c102475cc724</id>
<name>dfbcada9-9c03-484a-8c3f-c102475cc724</name>
......
......
<hypervisor>XenServer</hypervisor>
<instancename>i-3-12-VM</instancename>
<jobstatus>0</jobstatus></virtualmachine></listvirtualmachinesresponse>

Regular user:
<listvirtualmachinesresponse cloudstack-version="4.1.0-SNAPSHOT">
<count>1</count>
<virtualmachine>
<id>dfbcada9-9c03-484a-8c3f-c102475cc724</id>
<name>dfbcada9-9c03-484a-8c3f-c102475cc724</name>
.........
..........
<hypervisor>XenServer</hypervisor>
<jobstatus>0</jobstatus></virtualmachine>
</listvirtualmachinesresponse>

~kishan

> -----Original Message-----
> From: prasanna [mailto:srivatsav.prasanna@gmail.com] On Behalf Of
> Prasanna Santhanam
> Sent: Friday, 25 January 2013 11:41 AM
> To: cloudstack-dev@incubator.apache.org
> Subject: Re: Internal db. id in VM instance/disk names
> 
> On Fri, Jan 25, 2013 at 11:17:10AM +0530, Koushik Das wrote:
> > Recently there were changes made in CS to replace internal ids with
> > uuid. The reason was to obfuscate the increasing id sequences with
> > something random. But if you look at the vm instance name format
> > i-<account_id>-<vm_instance_id>-VM, it still has the internal ids in
> > them. Should there be changes in the VM names as well to use uuids?
> >
> 
> Do you mean the hostname within the VM? I'm pretty sure we assign uuid to
> the hostnames for XenServer and KVM. Not sure about VmWare. Only
> administrators can see the internal name and there is no trace of it within
> user vms.
> 
> --
> Prasanna.,

Mime
View raw message