Public bug reported:

There is an error record in my nova_api database so I use nova-manage cell_v2 
update_cell --name cell0 --database_connection XXX ,then the I found it tired 
to modify the value of transport-url according to the config file.However, the 
value should be "none:///",right?
I checked the source code ,it is found that when the modification of 'enable' 
or 'disable' operation is performed, it will be verified whether it is 
operation to cell0, but updating of database_connection will not check.
code:
 if disable and enable:
            print(_('Cell cannot be disabled and enabled at the same time.'))
            return 4
        if disable or enable:
            if cell_mapping.is_cell0():

** 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/1888927

Title:
  cell_v2 update_cell cell0 get transport_url from config file

Status in OpenStack Compute (nova):
  New

Bug description:
  There is an error record in my nova_api database so I use nova-manage cell_v2 
update_cell --name cell0 --database_connection XXX ,then the I found it tired 
to modify the value of transport-url according to the config file.However, the 
value should be "none:///",right?
  I checked the source code ,it is found that when the modification of 'enable' 
or 'disable' operation is performed, it will be verified whether it is 
operation to cell0, but updating of database_connection will not check.
  code:
   if disable and enable:
              print(_('Cell cannot be disabled and enabled at the same time.'))
              return 4
          if disable or enable:
              if cell_mapping.is_cell0():

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to