Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1076172 - puppet-heat requires heat update for domain users
puppet-heat requires heat update for domain users
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-puppet-modules (Show other bugs)
5.0 (RHEL 7)
Unspecified Unspecified
high Severity high
: rc
: 5.0 (RHEL 7)
Assigned To: Martin Magr
Amit Ugol
:
Depends On: 1104709
Blocks: 1076611
  Show dependency treegraph
 
Reported: 2014-03-13 13:34 EDT by Steven Hardy
Modified: 2018-02-08 05:13 EST (History)
8 users (show)

See Also:
Fixed In Version: openstack-puppet-modules-2014.1-14.2.el7ost
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1076611 (view as bug list)
Environment:
Last Closed: 2014-07-08 11:37:52 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
OpenStack gerrit 103127 None None None Never
OpenStack gerrit 98155 None None None Never
Red Hat Product Errata RHEA-2014:0846 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement - Packstack 2014-07-08 15:23:14 EDT

  None (edit)
Description Steven Hardy 2014-03-13 13:34:56 EDT
Description of problem:
Some functionality has landed upstream for Icehouse which requires creating a domain, and a domain admin user, then setting details of both in the heat configuration file.

Heat will still work without these settings, but will still be affected by https://bugs.launchpad.net/heat/+bug/1089261

I've raised https://bugs.launchpad.net/puppet-heat/+bug/1288880 to track getting the required changes into the puppet manfifests used by packstack.
Comment 1 Steven Hardy 2014-03-13 13:37:21 EDT
Cut/paste details from upstream puppet-heat bug.  Note new dependency on python-openstackclient.

--
Recent changes landed under the instance-users BP require some updates to the heat installation procedure, specifically:

1. Create a keystone domain and set the id in heat.conf (stack_user_domain)
2. Create a keystone user, and make them a domain admin (admin role in the domain created above)
3. Update heat.conf with the username and password of the domain-admin user (stack_domain_admin and stack_domain_admin_password)

This is the BP:
https://blueprints.launchpad.net/heat/+spec/instance-users

These are the commits which added the options, and include python-openstack commands to create the domain/user:
https://review.openstack.org/#/c/73978/
https://review.openstack.org/#/c/76035/

These are the associated devstack changes (now merged):
https://review.openstack.org/#/c/73324/
https://review.openstack.org/#/c/75424/
https://review.openstack.org/#/c/76036/

Note this introduces a dependency on python-openstackclient, because the "keystone" CLI tool provided by python-keystoneclient is deprecated and does not support the v3 keystone API, ref this discussion:
http://lists.openstack.org/pipermail/openstack-dev/2014-January/025629.html

In the event python-openstackclient is not available, heat provides a helper script which can be used to create the domain/user, but it's probably preferable to use openstackclient like devstack if available:
https://review.openstack.org/#/c/78048/
Comment 3 Steven Dake 2014-03-13 14:03:11 EDT
Padraig,

Is python-openstackclient planned for packaging in Fedora/RDO?

If it isn't, could you add it to the queue?  Sounds like heat will not support domain functionality without it.
Comment 4 Steven Hardy 2014-03-14 13:08:00 EDT
sdake: Looks like there is a package for RDO:

https://bugzilla.redhat.com/show_bug.cgi?id=1024885
Comment 13 Martin Magr 2014-06-06 10:39:43 EDT
Packstack support implemented in openstack-packstack-2014.1.1-0.21.dev1116.el7ost.
Comment 20 Amit Ugol 2014-06-22 08:40:23 EDT
tested in openstack-puppet-modules-2014.1-16.2.el7ost.noarch.

example from my current heat.conf:

#stack_user_domain=<None>
stack_user_domain=58d2ba15c5bf493b9f64a68c4c745d79

#stack_domain_admin=<None>
stack_domain_admin=heat_admin

#stack_domain_admin_password=<None>
stack_domain_admin_password=6fd1f3828fa14ea1

last part (password) was not been generated at all during installation. seems to be working well now. The scripts are doing what they should.
Comment 21 Martin Magr 2014-06-27 09:32:58 EDT
Patch submitted to upstream puppet-heat.
Comment 23 errata-xmlrpc 2014-07-08 11:37:52 EDT
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/RHEA-2014-0846.html

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