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
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_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.
 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():

Revision history for this message
Balazs Gibizer (balazs-gibizer) wrote :
tags: added: cells nova-manage
Changed in nova:
status: New → Confirmed
importance: Undecided → Low
tags: added: low-hanging-fruit
Revision history for this message
Daniel de Oliveira Pereira (danielpereira01) wrote :

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
Revision history for this message
Daniel de Oliveira Pereira (danielpereira01) wrote :


I have submitted a patch for this bug: https://review.opendev.org/#/c/762433/5

Could you please help review it?


To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.