Thanks Chris and Jay for your help.
On 23 April 2014 13:04, Jay Lau <jay.lau....@gmail.com> wrote: > Chris is right, please take a look at > [1] > https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/models.py#L177 > [2] https://github.com/openstack/nova/blob/master/nova/db/api.py#L43 > > > 2014-04-23 16:16 GMT+08:00 Chris Behrens <cbehr...@codestud.com>: > > 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.b2...@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 <cbehr...@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.b2...@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@lists.openstack.org >>> Unsubscribe : >>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >>> >>> >> >> _______________________________________________ >> Mailing list: >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> Post to : openstack@lists.openstack.org >> Unsubscribe : >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> >> > > > -- > Thanks, > > Jay >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack