Bug 1111705

Summary: Packstack requires PasswordAuthentication even for --allinone
Product: Red Hat OpenStack Reporter: Lars Kellogg-Stedman <lars>
Component: openstack-packstackAssignee: Lars Kellogg-Stedman <lars>
Status: CLOSED ERRATA QA Contact: Ido Ovadia <iovadia>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.0 (RHEL 7)CC: aortega, derekh, ichavero, mmagr, sgordon, slong, yeylon
Target Milestone: rc   
Target Release: 5.0 (RHEL 7)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-packstack-2014.1.1-0.27.dev1184.el7ost Doc Type: Enhancement
Doc Text:
Previously, PackStack required password authentication even when the root user was running an all-in-one installation. With this release, the root user is no longer required to authenticate for all-in-one installations.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-24 17:24:59 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 Lars Kellogg-Stedman 2014-06-20 18:59:43 UTC
Packstack distributes ssh keys via ssh connections.  In the absence of existing ssh key-based credentials, this requires that sshd be running with 'PasswordAuthentication yes'.  It is very common for PasswordAuthentication to be *disabled* on servers, which means that this step is very likely to fail. This is especially frustrating for people attempting to install via 'packstack --allinone', since they may not anticipate this requirement.

- In the event of failures due to ssh authentication, I think our error message should make it clear that packstack requires PasswordAuthentication to be enabled in order to initially provision ssh keys.

- For --allinone installations, or perhaps when the target host is equal to the local hostname, we should consider running the key provisioning commands locally.  This will permit --allinone installations to proceed.

Comment 2 Lars Kellogg-Stedman 2014-06-20 20:32:42 UTC
I've proposed a fix to this at:

https://review.openstack.org/#/c/101649/

Comment 3 Ivan Chavero 2014-06-20 21:32:18 UTC
Fix seems ok, testing...

Comment 6 Ido Ovadia 2014-07-20 15:07:01 UTC
Verified
========
openstack-packstack-puppet-2014.1.1-0.35.dev1220.el6ost.noarch
openstack-packstack-2014.1.1-0.35.dev1220.el6ost.noarch

Comment 8 errata-xmlrpc 2014-07-24 17:24:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0930.html