Bug 1111705 - Packstack requires PasswordAuthentication even for --allinone
Summary: Packstack requires PasswordAuthentication even for --allinone
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 5.0 (RHEL 7)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: 5.0 (RHEL 7)
Assignee: Lars Kellogg-Stedman
QA Contact: Ido Ovadia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-20 18:59 UTC by Lars Kellogg-Stedman
Modified: 2014-09-08 05:43 UTC (History)
7 users (show)

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.
Clone Of:
Environment:
Last Closed: 2014-07-24 17:24:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 101649 0 None None None Never
Red Hat Product Errata RHBA-2014:0930 0 normal SHIPPED_LIVE openstack-packstack and openstack-puppet-modules bug-fix advisory 2014-07-24 21:22:40 UTC

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


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