cell_v2 update_cell cell0 get transport_url from config file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| OpenStack Compute (nova) |
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.
Balazs Gibizer (balazs-gibizer) wrote : | #1 |
tags: | added: cells nova-manage |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Low |
tags: | added: low-hanging-fruit |
Hi, I'm a new contributor and would like to take this one.
Changed in nova: | |
assignee: | nobody → Daniel de Oliveira Pereira (danielpereira01) |
Changed in nova: | |
status: | Confirmed → In Progress |
Hi,
I have submitted a patch for this bug: https:/
Could you please help review it?
Thanks!
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