← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1374326] [NEW] instance name is different between aip-cell and nova-compute node

 

Public bug reported:

In api-cell the instance_name by 'nova show' command is 'instance-00000062', but in the compute node it is 'instance-0000005b'. This is because the instance record in nova database between api-cell and child-cell. 
In api-cell:
| 2014-09-26 03:32:55 | 2014-09-26 03:33:08 | NULL                | 98 |        NULL | e2b117abece5456f8f508042b824fa55 | 49dd085bd0814a8595c923c4fa22e156 | 9e2fcd1f-f6d2-415f-a3ed-7a5cef782dd7 |           |            |            0 | NULL     | NULL     |           1 | active   |      2048 |     2 | training-test                           | SBCR_1_1_3 | NULL      | r-nfmu0e2p     | 2014-09-26 03:32:56 | 2014-09-26 03:33:08 | NULL                | training_test                                                                | training_test       | NULL              |      0 | NULL    | SBCR_1_1_3  |               13 | NULL    | 15791c49-7b0c-4290-81f5-71490cf98560 | NULL         | /dev/vda         | NULL         | NULL         |              | NULL       | NULL                     | NULL                |        0 |                1 |                  0 |                 0 |      20 |            0 | api-cell0!child-cell0 | SBCR_1_1_3 |       0 | NULL      |       0 | NULL               |

the instance id  is 98(0x62) uuid is
15791c49-7b0c-4290-81f5-71490cf98560

In child-cell:
| 2014-09-26 03:32:55 | 2014-09-26 03:33:08 | NULL                | 91 |        NULL | e2b117abece5456f8f508042b824fa55 | 49dd085bd0814a8595c923c4fa22e156 | 9e2fcd1f-f6d2-415f-a3ed-7a5cef782dd7 |           |            |            0 | NULL     | NULL     |           1 | active   |      2048 |     2 | training-test                           | SBCR_1_1_3 | NULL      | r-nfmu0e2p     | 2014-09-26 03:32:56 | 2014-09-26 03:33:08 | NULL                | training_test                                                                | training_test       | NULL              |      0 | NULL    | SBCR_1_1_3  |               13 | NULL    | 15791c49-7b0c-4290-81f5-71490cf98560 | NULL         | /dev/vda         | NULL         | NULL         |              | NULL       | NULL                     | NULL                |        0 |                1 |                  0 |                 0 |      20 |            0 | NULL      | SBCR_1_1_3 |       0 | NULL      |       0 | NULL               |

the instance id  is 91(0x5b) uuid is
15791c49-7b0c-4290-81f5-71490cf98560

In  compute node, the result of dumpxml is
# virsh dumpxml instance-0000005b
<domain type='kvm' id='13'>
  <name>instance-0000005b</name>
  <uuid>15791c49-7b0c-4290-81f5-71490cf98560</uuid>

In api-cell, the result of nova show
| OS-EXT-SRV-ATTR:instance_name        | instance-00000062                                        |

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1374326

Title:
  instance name is different between aip-cell and nova-compute node

Status in OpenStack Compute (Nova):
  New

Bug description:
  In api-cell the instance_name by 'nova show' command is 'instance-00000062', but in the compute node it is 'instance-0000005b'. This is because the instance record in nova database between api-cell and child-cell. 
  In api-cell:
  | 2014-09-26 03:32:55 | 2014-09-26 03:33:08 | NULL                | 98 |        NULL | e2b117abece5456f8f508042b824fa55 | 49dd085bd0814a8595c923c4fa22e156 | 9e2fcd1f-f6d2-415f-a3ed-7a5cef782dd7 |           |            |            0 | NULL     | NULL     |           1 | active   |      2048 |     2 | training-test                           | SBCR_1_1_3 | NULL      | r-nfmu0e2p     | 2014-09-26 03:32:56 | 2014-09-26 03:33:08 | NULL                | training_test                                                                | training_test       | NULL              |      0 | NULL    | SBCR_1_1_3  |               13 | NULL    | 15791c49-7b0c-4290-81f5-71490cf98560 | NULL         | /dev/vda         | NULL         | NULL         |              | NULL       | NULL                     | NULL                |        0 |                1 |                  0 |                 0 |      20 |            0 | api-cell0!child-cell0 | SBCR_1_1_3 |       0 | NULL      |       0 | NULL               |

  the instance id  is 98(0x62) uuid is
  15791c49-7b0c-4290-81f5-71490cf98560

  In child-cell:
  | 2014-09-26 03:32:55 | 2014-09-26 03:33:08 | NULL                | 91 |        NULL | e2b117abece5456f8f508042b824fa55 | 49dd085bd0814a8595c923c4fa22e156 | 9e2fcd1f-f6d2-415f-a3ed-7a5cef782dd7 |           |            |            0 | NULL     | NULL     |           1 | active   |      2048 |     2 | training-test                           | SBCR_1_1_3 | NULL      | r-nfmu0e2p     | 2014-09-26 03:32:56 | 2014-09-26 03:33:08 | NULL                | training_test                                                                | training_test       | NULL              |      0 | NULL    | SBCR_1_1_3  |               13 | NULL    | 15791c49-7b0c-4290-81f5-71490cf98560 | NULL         | /dev/vda         | NULL         | NULL         |              | NULL       | NULL                     | NULL                |        0 |                1 |                  0 |                 0 |      20 |            0 | NULL      | SBCR_1_1_3 |       0 | NULL      |       0 | NULL               |

  the instance id  is 91(0x5b) uuid is
  15791c49-7b0c-4290-81f5-71490cf98560

  In  compute node, the result of dumpxml is
  # virsh dumpxml instance-0000005b
  <domain type='kvm' id='13'>
    <name>instance-0000005b</name>
    <uuid>15791c49-7b0c-4290-81f5-71490cf98560</uuid>

  In api-cell, the result of nova show
  | OS-EXT-SRV-ATTR:instance_name        | instance-00000062                                        |

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1374326/+subscriptions


Follow ups

References