Why would the vm and task state still be set when the instance is in cell0? Shouldn't it be in ERROR vm_state with task_state=None? Might indicate something about why the instance mapping isn't updated to have a cell mapping:
mysql> select * from nova_api.instance_mappings where instance_uuid='4f59f9f3-27a1-4340-9341-d162a3b66bc3'\G
*************************** 1. row ***************************
created_at: 2018-06-08 03:54:22
updated_at: NULL
id: 18073
instance_uuid: 4f59f9f3-27a1-4340-9341-d162a3b66bc3
cell_id: NULL
project_id: 9c28d07207a54c78848fd7b4f85779d5
1 row in set (0.00 sec)
Because when it's put in cell0, the instance mapping should be updated to point at cell0.
Why would the vm and task state still be set when the instance is in cell0? Shouldn't it be in ERROR vm_state with task_state=None? Might indicate something about why the instance mapping isn't updated to have a cell mapping:
mysql> select * from nova_api. instance_ mappings where instance_ uuid='4f59f9f3- 27a1-4340- 9341-d162a3b66b c3'\G ******* ******* ****** 1. row ******* ******* ******* ****** 27a1-4340- 9341-d162a3b66b c3 8848fd7b4f85779 d5
*******
created_at: 2018-06-08 03:54:22
updated_at: NULL
id: 18073
instance_uuid: 4f59f9f3-
cell_id: NULL
project_id: 9c28d07207a54c7
1 row in set (0.00 sec)
Because when it's put in cell0, the instance mapping should be updated to point at cell0.