[Openstack] Instance Name in DB

Chris Behrens cbehrens at codestud.com
Wed Apr 23 08:16:08 UTC 2014


Without looking at code, that's probably the magic name generated on the fly based on the instance_name_template config setting. It's not stored in the DB. It's built based on other attributes of the instance (by default I believe it's still the primary key (id) of that row in the DB).

> On Apr 23, 2014, at 1:10 AM, Reza Bakhshayeshi <reza.b2008 at gmail.com> wrote:
> 
> Thanks Chris for your reply, 
> but I meant the "OS-EXT-SRV-ATTR:instance_name" row in "nova show <instance uuid>" result.
> 
> 
>> On 23 April 2014 12:20, Chris Behrens <cbehrens at codestud.com> wrote:
>> In the DB, that should be the display_name column of instances table.
>> 
>> - Chris
>> 
>>> On Apr 22, 2014, at 11:56 PM, Reza Bakhshayeshi <reza.b2008 at gmail.com> wrote:
>>> 
>>> Hi,
>>> 
>>> How I can find the "instance_name" in database?
>>> (it appears in the result of nova show)
>>> I have checked the instances table in nova database but I couldn't find it.
>>> 
>>> Thanks,
>>> Reza
>>> _______________________________________________
>>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>> Post to     : openstack at lists.openstack.org
>>> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140423/ead129d7/attachment.html>


More information about the Openstack mailing list