RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 968310 - Live Migration fails when openstack installed via packstack puppet script.
Summary: Live Migration fails when openstack installed via packstack puppet script.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: RDO
Classification: Community
Component: openstack-packstack
Version: unspecified
Hardware: x86_64
OS: Other
unspecified
medium
Target Milestone: ---
: Icehouse
Assignee: Martin Magr
QA Contact: Ami Jeain
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-29 12:38 UTC by Nehal J Wani
Modified: 2015-06-04 21:51 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-19 01:11:39 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.