[Openstack-operators] OpenStack Puppet module Keystone Juno

Emilien Macchi emilien at redhat.com
Wed Nov 25 08:22:27 UTC 2015


I did the following:

http://paste.openstack.org/show/22eIJep6zMn1RCEvbmYh/

I don't see any reference to 'openstack domain' CLI in our provider in
stable/juno.

Now in Kilo:
http://paste.openstack.org/show/FU4Sz8QarxYKc5vuQAd9/

You can see the domain has been implemented in Kilo.
Moreover, it's written in release note:
https://github.com/openstack/puppet-keystone/blob/master/CHANGELOG.md#features-2

(see Keystone v3 support == we started 'domains')

On 11/25/2015 12:14 AM, Russell Cecala wrote:
> I am pretty sure I am using the right puppet-keystone branch for stable
> juno ...
> 
> [root at puppet-centos-001 keystone]# pwd
> 
> /etc/puppetlabs/puppet/environments/production/modules/keystone
> 
> [root at puppet-centos-001 keystone]# git status
> 
> # On branch stable/juno
> 
> # Changes not staged for commit:
> 
> #   (use "git add <file>..." to update what will be committed)
> 
> #   (use "git checkout -- <file>..." to discard changes in working
> directory)
> 
> #
> 
> #modified:   manifests/roles/admin.pp
> 
> #
> 
> no changes added to commit (use "git add" and/or "git commit -a")
> 
> 
> On Tue, Nov 24, 2015 at 3:04 PM, Emilien Macchi <emilien at redhat.com
> <mailto:emilien at redhat.com>> wrote:
> 
> 
> 
>     On 11/25/2015 12:00 AM, Russell Cecala wrote:
>     > Wonderful Emilien.  I was feeling pretty along there ;)
>     >
>     > I believe this is the openstack client RPM's I am using:
>     >
>     > [root at mgmt-centos-001 ~]# rpm -qa | grep openstack
>     >
>     > *openstack*-keystone-2014.2.2-1.el7.noarch
>     >
>     > python-*openstack*client-1.0.1-1.el7.centos.noarch
>     >
>     >
>     > On Tue, Nov 24, 2015 at 2:38 PM, Emilien Macchi <emilien at redhat.com <mailto:emilien at redhat.com>
>     > <mailto:emilien at redhat.com <mailto:emilien at redhat.com>>> wrote:
>     >
>     >
>     >
>     >     On 11/24/2015 11:21 PM, Russell Cecala wrote:
>     >     > I am trying to use the OpenStack community puppet modules.  Here's the
>     >     > keystone module I am using:  https://github.com/openstack/puppet-keystone
>     >     > I am using the stable juno branch.  I have in my puppet manifest for my
>     >     > controller nodes this resource definition:
>     >     >
>     >     >     class { '::keystone::roles::admin':
>     >     >         admin        => $keystone_admin_user,
>     >     >         email        => $keystone_admin_email,
>     >     >         password     => $keystone_admin_password,
>     >     >     } ->
>     >     >
>     >     > And when puppet runs that code I get this error:
>     >     >
>     >     >     Error:
>     >     > /Stage[main]/Keystone::Roles::Admin/Keystone_user_role[keystone_admin_user at openstack]:
>     >     > Could not evaluate: Execution of '/usr/bin/openstack domain show
>     >     > --format shell' returned 2: usage: openstack domain show [-h] [-f
>     >     > {shell,table,value}] [-c COLUMN]
>     >     >                                  [--max-width <integer>] [--prefix PREFIX]
>     >     >                                  <domain>
>     >     >     openstack domain show: error: too few arguments
> 
>     I don't know how it's possible you're using stable/juno, there is domain
>     support at all in puppet-keystone / stable-juno.
>     Domains have been implemented in stable/kilo.
> 
>     Are you sure it's puppet-keystone stable/juno?
>     Is it a fork or a custom backport?
> 
>     >
>     >     Sounds like an issue with your version of openstackclient, can you
>     >     provide it?
>     >
>     >     >
>     >     > Can anyone help me?  Are these Puppet modules still being
>     supported?
>     >
>     >     Yes :-)
>     >
>     >     > Does anyone use them?  Thanks!
>     >
>     >     Double yes.
>     >     --
>     >     Emilien Macchi
>     >
>     >
> 
>     --
>     Emilien Macchi
> 
> 

-- 
Emilien Macchi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20151125/87c48554/attachment.pgp>


More information about the OpenStack-operators mailing list