xen: live-migration without '--block-migrate" failed with "No sql_connection parameter is established" (cells v2 aggregate up-call in superconductor mode)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Triaged
|
High
|
Unassigned |
Bug Description
The test in on XenServer.
nova live-migration <VM>
If we run the live-migration without the option of "--block-migrate", it will failed with error as:
RemoteError: Remote error: RemoteError Remote error: CantStartEngine
- The trace for nova-conductor:
Aug 09 10:12:55 DevStackOSDomU nova-conductor[
File "/usr/lib/
File "/usr/local/
File "/usr/lib/
File "/usr/local/
File "/usr/local/
File "/usr/local/
File "/usr/local/
- The trace from nova-compute:
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
Aug 09 03:26:17 DevStackOSDomU nova-compute[1762]: ERROR oslo_messaging.
tags: | added: cellsv2 xenserver |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → High |
tags: | added: pike-rc-potential |
tags: | removed: pike-rc-potential |
summary: |
live-migration without '--block-migrate" failed with "No sql_connection - parameter is established" + parameter is established" (cells v2 aggregate up-call in superconductor + mode) |
summary: |
- live-migration without '--block-migrate" failed with "No sql_connection - parameter is established" (cells v2 aggregate up-call in superconductor - mode) + xen: live-migration without '--block-migrate" failed with "No + sql_connection parameter is established" (cells v2 aggregate up-call in + superconductor mode) |
I have no idea why the connection is None when trying to query AggregateList: AggregateList. get_by_ host(context, CONF.host)
rpc.server aggregate_list = objects.
stack@DevStackO SDomU:~ /tempest$ nova-manage cell_v2 list_cells -+----- ------- ------- ------- ------- -----+- ------- ------- ------- ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ---+ -+----- ------- ------- ------- ------- -----+- ------- ------- ------- ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ---+ 0000-0000- 0000-0000000000 00 | none:/ | mysql+pymysql: //root: ****@127. 0.0.1/nova_ cell0?charset= utf8 | 91a0-4869- 9549-b237d6e17c f6 | rabbit: //stackrabbit: ****@10. 62.34.3: 5672/nova_ cell1 | mysql+pymysql: //root: ****@127. 0.0.1/nova_ cell1?charset= utf8 | -+----- ------- ------- ------- ------- -----+- ------- ------- ------- ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ---+
+------
| Name | UUID | Transport URL | Database Connection |
+------
| cell0 | 00000000-
| cell1 | f057988d-
+------
- The data configure in /etc/nova/ nova_cell1. conf: //root: citrix@ 127.0.0. 1/nova_ cell1?charset= utf8
[database]
connection = mysql+pymysql:
- The database configure in /etc/nova/ nova.conf: //root: citrix@ 127.0.0. 1/nova_ cell0?charset= utf8
connection = mysql+pymysql: