cell_v2 update_cell cell0 get transport_url from config file
Bug #1888927 reported by
hanchl
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Low
|
Daniel de Oliveira Pereira |
Bug Description
There is an error record in my nova_api database so I use nova-manage cell_v2 update_cell --name cell0 --database_
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:
return 4
if disable or enable:
if cell_mapping.
Changed in nova: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Yeah, we could add a similar check for the transport_url update too. https:/ /github. com/openstack/ nova/blob/ 9a95288ef1dd693 c152f2a0eea362b cdc2b30067/ nova/cmd/ manage. py#L1374