My setup:
+----------------+---------------------+ | Host | Groups | +----------------+---------------------+ | 10.196.244.201 | [control,storage] | | 10.196.244.202 | [control,storage] | | 10.196.244.203 | [control,cephstore] | | 10.196.244.204 | [compute,cephstore] | | 10.196.244.205 | [compute] | | 10.196.244.206 | [compute,cephstore] | | 10.196.244.207 | [network,database] | | 10.196.244.208 | [database] | | 10.196.244.209 | [network] | | 10.196.244.211 | [storage] | +----------------+---------------------+
instance starts on 10.196.244.206, right after migrate command it fails with:
| fault | {u'message': u"Conflict updating instance dfad1511-daf4-4b4b-8c6d-ae9edead7d8f. Expected: {'task_state': [u'resize_prep']}. Actual: {'task_state': None}", u'code': 500, u'details': u' File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 202, in decorated_function\n return function(self, context, *args, **kwargs)\n File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 4242, in resize_instance\n self._revert_allocation(context, instance, migration)\n File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__\n self.force_reraise()\n File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise\n six.reraise(self.type_, self.value, self.tb)\n File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 4239, in resize_instance\n instance_type, clean_shutdown)\n File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 4256, in _resize_instance\n instance.save(expected_task_state=task_states.RESIZE_PREP)\n File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 210, in wrapper\n ctxt, self, fn.__name__, args, kwargs)\n File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/conductor/rpcapi.py", line 245, in object_action\n objmethod=objmethod, args=args, kwargs=kwargs)\n File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 174, in call\n retry=self.retry)\n File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/transport.py", line 131, in _send\n timeout=timeout, retry=retry)\n File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 559, in send\n retry=retry)\n File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 550, in _send\n raise result\n', u'created': u'2018-06-22T10:25:51Z'}
This is kolla based environment,
(nova-compute)[nova@compute5 /]$ pip freeze | grep nova nova==13.0.0.0rc4.dev10675 python-novaclient==10.1.0
My setup:
+------ ------- ---+--- ------- ------- ----+ ------- ---+--- ------- ------- ----+ ------- ---+--- ------- ------- ----+
| Host | Groups |
+------
| 10.196.244.201 | [control,storage] |
| 10.196.244.202 | [control,storage] |
| 10.196.244.203 | [control,cephstore] |
| 10.196.244.204 | [compute,cephstore] |
| 10.196.244.205 | [compute] |
| 10.196.244.206 | [compute,cephstore] |
| 10.196.244.207 | [network,database] |
| 10.196.244.208 | [database] |
| 10.196.244.209 | [network] |
| 10.196.244.211 | [storage] |
+------
instance starts on 10.196.244.206, right after migrate command it fails with:
| fault | {u'message': u"Conflict updating instance dfad1511- daf4-4b4b- 8c6d-ae9edead7d 8f. Expected: {'task_state': [u'resize_prep']}. Actual: {'task_state': None}", u'code': 500, u'details': u' File "/var/lib/ kolla/venv/ lib/python2. 7/site- packages/ nova/compute/ manager. py", line 202, in decorated_ function\ n return function(self, context, *args, **kwargs)\n File "/var/lib/ kolla/venv/ lib/python2. 7/site- packages/ nova/compute/ manager. py", line 4242, in resize_instance\n self._revert_ allocation( context, instance, migration)\n File "/var/lib/ kolla/venv/ lib/python2. 7/site- packages/ oslo_utils/ excutils. py", line 220, in __exit__\n self.force_ reraise( )\n File "/var/lib/ kolla/venv/ lib/python2. 7/site- packages/ oslo_utils/ excutils. py", line 196, in force_reraise\n six.reraise( self.type_ , self.value, self.tb)\n File "/var/lib/ kolla/venv/ lib/python2. 7/site- packages/ nova/compute/ manager. py", line 4239, in resize_instance\n instance_type, clean_shutdown)\n File "/var/lib/ kolla/venv/ lib/python2. 7/site- packages/ nova/compute/ manager. py", line 4256, in _resize_instance\n instance. save(expected_ task_state= task_states. RESIZE_ PREP)\n File "/var/lib/ kolla/venv/ lib/python2. 7/site- packages/ oslo_versionedo bjects/ base.py" , line 210, in wrapper\n ctxt, self, fn.__name__, args, kwargs)\n File "/var/lib/ kolla/venv/ lib/python2. 7/site- packages/ nova/conductor/ rpcapi. py", line 245, in object_action\n objmethod= objmethod, args=args, kwargs=kwargs)\n File "/var/lib/ kolla/venv/ lib/python2. 7/site- packages/ oslo_messaging/ rpc/client. py", line 174, in call\n retry=self.retry)\n File "/var/lib/ kolla/venv/ lib/python2. 7/site- packages/ oslo_messaging/ transport. py", line 131, in _send\n timeout=timeout, retry=retry)\n File "/var/lib/ kolla/venv/ lib/python2. 7/site- packages/ oslo_messaging/ _drivers/ amqpdriver. py", line 559, in send\n retry=retry)\n File "/var/lib/ kolla/venv/ lib/python2. 7/site- packages/ oslo_messaging/ _drivers/ amqpdriver. py", line 550, in _send\n raise result\n', u'created': u'2018- 06-22T10: 25:51Z' }
This is kolla based environment,
(nova-compute) [nova@compute5 /]$ pip freeze | grep nova 0.0.0rc4. dev10675 novaclient= =10.1.0
nova==13.
python-