Public bug reported: Description =========== I updated existed cell with '--transport-url' only. Then the 'database_connection' changed to value same as cell0.
Steps to reproduce ================== * I created one cell nova-manage cell_v2 create_cell --name cell2 --database_connection mysql+pymysql://nova:[email protected]/nova --transport-url rabbit://openstack:[email protected]:5672/ * I updated cell2 nova-manage cell_v2 update_cell --cell_uuid 53c5c34d-b3c2-496f-986f-166e1d4d3845 --transport-url rabbit://openstack:[email protected]:5672/ * Check cells nova-manage cell_v2 list_cells Expected result =============== +-------+--------------------------------------+-------------------------------------------+--------------------------------------------------+ | Name | UUID | Transport URL | Database Connection | +-------+--------------------------------------+-------------------------------------------+--------------------------------------------------+ | cell0 | 00000000-0000-0000-0000-000000000000 | none:/ | mysql+pymysql://nova:****@172.16.1.14/nova_cell0 | | cell2 | 53c5c34d-b3c2-496f-986f-166e1d4d3845 | rabbit://openstack:****@172.16.1.19:5672/ | mysql+pymysql://nova:****@172.16.1.20/nova | +-------+--------------------------------------+-------------------------------------------+--------------------------------------------------+ Actual result ============= +-------+--------------------------------------+-------------------------------------------+--------------------------------------------------+ | Name | UUID | Transport URL | Database Connection | +-------+--------------------------------------+-------------------------------------------+--------------------------------------------------+ | cell0 | 00000000-0000-0000-0000-000000000000 | none:/ | mysql+pymysql://nova:****@172.16.1.14/nova_cell0 | | cell2 | 53c5c34d-b3c2-496f-986f-166e1d4d3845 | rabbit://openstack:****@172.16.1.19:5672/ | mysql+pymysql://nova:****@172.16.1.14/nova | +-------+--------------------------------------+-------------------------------------------+--------------------------------------------------+ Environment =========== # apt list --installed | grep nova ... python-nova/unknown,unknown,now 2:17.0.7-6~u16.01 all [installed,automatic] ** 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/1829852 Title: '--database_connection' changes when update cell with '--transport- url' only Status in OpenStack Compute (nova): New Bug description: Description =========== I updated existed cell with '--transport-url' only. Then the 'database_connection' changed to value same as cell0. Steps to reproduce ================== * I created one cell nova-manage cell_v2 create_cell --name cell2 --database_connection mysql+pymysql://nova:[email protected]/nova --transport-url rabbit://openstack:[email protected]:5672/ * I updated cell2 nova-manage cell_v2 update_cell --cell_uuid 53c5c34d-b3c2-496f-986f-166e1d4d3845 --transport-url rabbit://openstack:[email protected]:5672/ * Check cells nova-manage cell_v2 list_cells Expected result =============== +-------+--------------------------------------+-------------------------------------------+--------------------------------------------------+ | Name | UUID | Transport URL | Database Connection | +-------+--------------------------------------+-------------------------------------------+--------------------------------------------------+ | cell0 | 00000000-0000-0000-0000-000000000000 | none:/ | mysql+pymysql://nova:****@172.16.1.14/nova_cell0 | | cell2 | 53c5c34d-b3c2-496f-986f-166e1d4d3845 | rabbit://openstack:****@172.16.1.19:5672/ | mysql+pymysql://nova:****@172.16.1.20/nova | +-------+--------------------------------------+-------------------------------------------+--------------------------------------------------+ Actual result ============= +-------+--------------------------------------+-------------------------------------------+--------------------------------------------------+ | Name | UUID | Transport URL | Database Connection | +-------+--------------------------------------+-------------------------------------------+--------------------------------------------------+ | cell0 | 00000000-0000-0000-0000-000000000000 | none:/ | mysql+pymysql://nova:****@172.16.1.14/nova_cell0 | | cell2 | 53c5c34d-b3c2-496f-986f-166e1d4d3845 | rabbit://openstack:****@172.16.1.19:5672/ | mysql+pymysql://nova:****@172.16.1.14/nova | +-------+--------------------------------------+-------------------------------------------+--------------------------------------------------+ Environment =========== # apt list --installed | grep nova ... python-nova/unknown,unknown,now 2:17.0.7-6~u16.01 all [installed,automatic] To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1829852/+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

