Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/

Bug 968310

Summary: Live Migration fails when openstack installed via packstack puppet script.
Product: [Community] RDO Reporter: Nehal J Wani <nehaljw.kkd1>
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED WONTFIX QA Contact: Ami Jeain <ajeain>
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aortega, derekh, ichavero, jkt, mmagr, wenxin1234114, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: Icehouse   
Hardware: x86_64   
OS: Other   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-19 01:11:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nehal J Wani 2013-05-29 12:38:44 UTC
Description of problem:
Operation System: CentOS
packstack installs without any problem

Version-Release number of selected component (if applicable):


How reproducible:
easily

Steps to Reproduce:
1. Install openstack-packstack and and run the script with the option --allinone
2. Add a nova-compute node
3. Perform Live Migration via horizon dashboard

Actual results:
Live Migration Fails.

Expected results:
Live Migration should succedd

Additional info:
Error:
TRACE nova.openstack.common.rpc.amqp Stdout: ''
2013-05-29 16:52:35.233 18605 TRACE nova.openstack.common.rpc.amqp Stderr: 'Host key verification failed.\r\n'
2013-05-29 16:52:35.233 18605 TRACE nova.openstack.

So I created the host keys for nova user with the command: ssh-keygen -f nova and then renamed them to id_rsa and id_rsa.pub and then put them to ~nova/.ssh/

Also, I copied the files /root/.ssh/known_hosts and /root/.ssh/authorized_keys to ~nova/.ssh/ on both machines

Then I changed the file permissions to nova:nova

Then comes the error:This account is currently not available.\n

So I edited the file /etc/passwd on both the machines and then changed the line

nova:x:162:162:OpenStack Nova Daemons:/var/lib/nova:/sbin/nologin

to

nova:x:162:162:OpenStack Nova Daemons:/var/lib/nova:/bin/bash

Now migration works.. But his is a tedious task.

Comment 1 wenxin1234114 2013-11-27 04:42:57 UTC
I also have this problem .

Comment 2 Ivan Chavero 2014-03-19 01:11:39 UTC
packstack is not suppoused to manage addition of components. even trhough it can be done this is not a supported feature.