keystone::client should install python-openstackclient

Bug #1479317 reported by Matthew Mosesohn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Ivan Berezovskiy
puppet-keystone
Fix Released
Medium
Matthew Mosesohn

Bug Description

If I'm deploying Cinder on a host without Keystone service, I should include keystone::client class. However, since Kilo, the cinder::keystone::auth calls keystone::resource::service_identity, which needs python-openstackclient.
Refs:
https://github.com/openstack/puppet-cinder/blob/master/manifests/keystone/auth.pp#L282
https://github.com/openstack/puppet-keystone/blob/master/manifests/client.pp

Changed in fuel:
milestone: none → 7.0
assignee: nobody → Matthew Mosesohn (raytrac3r)
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Emilien Macchi (emilienm) wrote :

In fact, openstackclient is installed with https://github.com/openstack/puppet-keystone/blob/master/manifests/init.pp#L541-L547

We might need to:

1/ add the code to keystone::client
2/ use ensure_resource to avoid resource duplication.

Changed in puppet-keystone:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/209965

Changed in puppet-keystone:
assignee: nobody → Matthew Mosesohn (raytrac3r)
status: Confirmed → In Progress
Changed in fuel:
importance: High → Medium
milestone: 7.0 → 8.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-keystone (master)

Reviewed: https://review.openstack.org/209965
Committed: https://git.openstack.org/cgit/openstack/puppet-keystone/commit/?id=ff89c950a059b51419fd7c015416987a5d86fe7c
Submitter: Jenkins
Branch: master

commit ff89c950a059b51419fd7c015416987a5d86fe7c
Author: Matthew Mosesohn <email address hidden>
Date: Thu Aug 6 17:41:01 2015 +0300

    Move openstackclient install to keystone::client

    Openstackclient should be installed in the client
    class, not the main class. It should be possible
    to use keystone as a client without the main class.
    For example, it may be necessary to create cinder
    keystone endpoints on a Cinder node, but not
    require all of Keystone.

    Change-Id: Ic9e688d698adffb24f99e9d75a8754391940a7b4
    Partial-Bug: #1479317

Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

8.0 task is just backport https://review.openstack.org/209965

Changed in puppet-keystone:
status: In Progress → Fix Released
Changed in fuel:
status: Confirmed → Triaged
assignee: Matthew Mosesohn (raytrac3r) → MOS Puppet Team (mos-puppet)
tags: added: low-hanging-fruit
Dmitry Pyzhov (dpyzhov)
tags: added: area-mos
Revision history for this message
Ivan Berezovskiy (iberezovskiy) wrote :

This patch is already here (after switching on librarian https://review.openstack.org/#/c/226290/)

Changed in fuel:
status: Triaged → Fix Committed
assignee: MOS Puppet Team (mos-puppet) → Ivan Berezovskiy (iberezovskiy)
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Now we have OpenStack client in 8.0 environments.
Marked as Fix Released for 8.0

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.