Director 7.1, RHEL-OSP 7.0.2 When doing a nova resize, it fails with the following error 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher return function(self, context, *args, **kwargs) 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/comput e/manager.py", line 294, in decorated_function 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher migration.instance_uuid, exc_info=True) 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_utils/ excutils.py", line 85, in __exit__ 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb) 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/comput e/manager.py", line 277, in decorated_function 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher return function(self, context, *args, **kwargs) 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/comput e/manager.py", line 363, in decorated_function 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher kwargs['instance'], e, sys.exc_info()) 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_utils/ excutils.py", line 85, in __exit__ 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb) 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/comput e/manager.py", line 351, in decorated_function 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher return function(self, context, *args, **kwargs) 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/comput e/manager.py", line 4076, in resize_instance 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher self.instance_events.clear_events_for_instance(i nstance) 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib64/python2.7/contextlib.py", line 35 , in __exit__ 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher self.gen.throw(type, value, traceback) 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/comput e/manager.py", line 6455, in _error_out_instance_on_exception 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher raise error.inner_exception 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher ResizeError: Resize error: not able to execute ssh c ommand: Unexpected error while running command. 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher Command: ssh 10.9.38.70 mkdir -p /var/lib/nova/insta nces/ee73d3e2-fcff-4e18-bd86-7e2e699e15bb 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher Exit code: 255 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher Stdout: u'' 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher Stderr: u'Host key verification failed.\r\n' 2015-12-02 01:01:21.422 4409 TRACE oslo_messaging.rpc.dispatcher Looking in /var/lib/nova/.ssh, it seems that no ssh keys are setup for the nova user, and also there is no .ssh/config file with the following contents Host * StrictHostKeyChecking no Both of these will be needed for resize to work Regards, Graeme
Hello, Is there any additional info we need for this bug?
This bug did not make the OSP 8.0 release. It is being deferred to OSP 10.
This bugzilla has been removed from the release and needs to be reviewed and Triaged for another Target Release.
This would fall under the work being planned under https://bugzilla.redhat.com/show_bug.cgi?id=1404294 for cold migration scenarios. *** This bug has been marked as a duplicate of bug 1404294 ***
Dup -- QE will decide about automating the original