Ah. Yes I had another version/release of puppet-keystone on to my puppet master and I thought I could get rid of by doing ...
# pwd /etc/puppetlabs/puppet/environments/production/modules # mv keystone keystone-incorrect ... and then copying the correct (stable/Juno) release to /etc/puppetlabs/puppet/environments/production/modules/keystone I it looks like puppet remember parts of the incorrect keystone. I had to "rm -rf keystone-incorrect" and run puppet agent -t everywhere. Now I am getting a different error: *Error: /Stage[main]/Keystone::Roles::Admin/Keystone_tenant[services]: Could not evaluate: super: no superclass method `request' for Keystone_tenant[services](provider=openstack):Puppet::Type::Keystone_tenant::ProviderOpenstack* But I believe that to be a step in the right direction. Thanks for helping me out Emilien! On Wed, Nov 25, 2015 at 12:22 AM, Emilien Macchi <[email protected]> wrote: > 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@puppet-centos-001 keystone]# pwd > > > > /etc/puppetlabs/puppet/environments/production/modules/keystone > > > > [root@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 <[email protected] > > <mailto:[email protected]>> 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@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 < > [email protected] <mailto:[email protected]> > > > <mailto:[email protected] <mailto:[email protected]>>> 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@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 > >
_______________________________________________ OpenStack-operators mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
