'--database_connection' changes when update cell with '--transport-url' only
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Medium
|
Unassigned |
Bug Description
Description
===========
I updated existed cell with '--transport-url' only.
Then the 'database_
Steps to reproduce
==================
* I created one cell
nova-manage cell_v2 create_cell --name cell2 --database_
* I updated cell2
nova-manage cell_v2 update_cell --cell_uuid 53c5c34d-
* Check cells
nova-manage cell_v2 list_cells
Expected result
===============
+------
| Name | UUID | Transport URL | Database Connection |
+------
| cell0 | 00000000-
| cell2 | 53c5c34d-
+------
Actual result
=============
+------
| Name | UUID | Transport URL | Database Connection |
+------
| cell0 | 00000000-
| cell2 | 53c5c34d-
+------
Environment
===========
# apt list --installed | grep nova
...
python-
tags: | added: cells nova-manage |
Changed in nova: | |
assignee: | Takashi Natsume (natsume-takashi) → nobody |
I tried it at master (commit 6e4ab9714cc0ca1 47f61997aa7b68f 88185ade5c) .
The following message was shown.
stack@devstack- master: /opt/devstack$ nova-manage cell_v2 update_cell --cell_uuid b97750a1- 6fee-4a8b- a675-f4b3184ade 71 --transport-url rabbit: //openstack: XXX@172. 16.1.19: 5672/ 0000-0000- 0000-0000000000 00.
The specified transport_url and/or database_connection combination already exists for another cell with uuid 00000000-
But the transport url should be updated in this case.