← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1720130] [NEW] nova-manage map_instances is not using the cells info from the API database

 

Public bug reported:

In order to map instances, nova-manage takes the DB info of the cells
from the config file (so by default this points to cell0 in nova.conf)
and so for every new cell created, in order to do the map_instances, the
correct config file has to be specified in addition to the --cell_uuid
option that is provided i.e like this :

nova-manage --config-file /etc/nova/nova_cell2.conf cell_v2
map_instances --cell_uuid ""

So it is better if this info is taken from the cell_mappings table
inside the API database.

** Affects: nova
     Importance: Wishlist
     Assignee: Surya Seetharaman (tssurya)
         Status: New


** Tags: cells nova-manage

** Description changed:

- nova-manage map instances takes the DB info from the config file and so
- for every new cell created, in order to do the map_instances, the
+ In order to map instances, nova-manage takes the DB info of the cells
+ from the config file (so by default this points to cell0 in nova.conf)
+ and so for every new cell created, in order to do the map_instances, the
  correct config file has to be specified in addition to the --cell_uuid
- option that is provided.
+ option that is provided i.e like this :
+ 
+ nova-manage --config-file /etc/nova/nova_cell2.conf cell_v2
+ map_instances --cell_uuid ""
  
  So it is better if this info is taken from the cell_mappings table
  inside the API database.

-- 
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/1720130

Title:
  nova-manage map_instances is not using the cells info from the API
  database

Status in OpenStack Compute (nova):
  New

Bug description:
  In order to map instances, nova-manage takes the DB info of the cells
  from the config file (so by default this points to cell0 in nova.conf)
  and so for every new cell created, in order to do the map_instances,
  the correct config file has to be specified in addition to the
  --cell_uuid option that is provided i.e like this :

  nova-manage --config-file /etc/nova/nova_cell2.conf cell_v2
  map_instances --cell_uuid ""

  So it is better if this info is taken from the cell_mappings table
  inside the API database.

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


Follow ups