<div dir="ltr">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 ...<div><br></div><div>
<p class=""># pwd</p>
<p class="">/etc/puppetlabs/puppet/environments/production/modules<br></p></div><div># mv keystone keystone-incorrect</div><div><br></div><div>... and then copying the correct (stable/Juno) release to /etc/puppetlabs/puppet/environments/production/modules/keystone</div><div>I it looks like puppet remember parts of the incorrect keystone. I had to "rm -rf keystone-incorrect" and run puppet agent -t everywhere.</div><div>Now I am getting a different error:</div><div><br></div>
<div><b>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</b></div><div><br></div><div>But I believe that to be a step in the right direction. Thanks for helping me out Emilien!</div><div><br></div><div> </div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 25, 2015 at 12:22 AM, Emilien Macchi <span dir="ltr"><<a href="mailto:emilien@redhat.com" target="_blank">emilien@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I did the following:<br>
<br>
<a href="http://paste.openstack.org/show/22eIJep6zMn1RCEvbmYh/" rel="noreferrer" target="_blank">http://paste.openstack.org/show/22eIJep6zMn1RCEvbmYh/</a><br>
<br>
I don't see any reference to 'openstack domain' CLI in our provider in<br>
stable/juno.<br>
<br>
Now in Kilo:<br>
<a href="http://paste.openstack.org/show/FU4Sz8QarxYKc5vuQAd9/" rel="noreferrer" target="_blank">http://paste.openstack.org/show/FU4Sz8QarxYKc5vuQAd9/</a><br>
<br>
You can see the domain has been implemented in Kilo.<br>
Moreover, it's written in release note:<br>
<a href="https://github.com/openstack/puppet-keystone/blob/master/CHANGELOG.md#features-2" rel="noreferrer" target="_blank">https://github.com/openstack/puppet-keystone/blob/master/CHANGELOG.md#features-2</a><br>
<br>
(see Keystone v3 support == we started 'domains')<br>
<span class=""><br>
On 11/25/2015 12:14 AM, Russell Cecala wrote:<br>
> I am pretty sure I am using the right puppet-keystone branch for stable<br>
> juno ...<br>
><br>
> [root@puppet-centos-001 keystone]# pwd<br>
><br>
> /etc/puppetlabs/puppet/environments/production/modules/keystone<br>
><br>
> [root@puppet-centos-001 keystone]# git status<br>
><br>
> # On branch stable/juno<br>
><br>
> # Changes not staged for commit:<br>
><br>
> # (use "git add <file>..." to update what will be committed)<br>
><br>
> # (use "git checkout -- <file>..." to discard changes in working<br>
> directory)<br>
><br>
> #<br>
><br>
</span>> #modified: manifests/roles/admin.pp<br>
<span class="im HOEnZb">><br>
> #<br>
><br>
> no changes added to commit (use "git add" and/or "git commit -a")<br>
><br>
><br>
> On Tue, Nov 24, 2015 at 3:04 PM, Emilien Macchi <<a href="mailto:emilien@redhat.com">emilien@redhat.com</a><br>
</span><span class="im HOEnZb">> <mailto:<a href="mailto:emilien@redhat.com">emilien@redhat.com</a>>> wrote:<br>
><br>
><br>
><br>
> On 11/25/2015 12:00 AM, Russell Cecala wrote:<br>
> > Wonderful Emilien. I was feeling pretty along there ;)<br>
> ><br>
> > I believe this is the openstack client RPM's I am using:<br>
> ><br>
> > [root@mgmt-centos-001 ~]# rpm -qa | grep openstack<br>
> ><br>
> > *openstack*-keystone-2014.2.2-1.el7.noarch<br>
> ><br>
> > python-*openstack*client-1.0.1-1.el7.centos.noarch<br>
> ><br>
> ><br>
> > On Tue, Nov 24, 2015 at 2:38 PM, Emilien Macchi <<a href="mailto:emilien@redhat.com">emilien@redhat.com</a> <mailto:<a href="mailto:emilien@redhat.com">emilien@redhat.com</a>><br>
</span><div class="HOEnZb"><div class="h5">> > <mailto:<a href="mailto:emilien@redhat.com">emilien@redhat.com</a> <mailto:<a href="mailto:emilien@redhat.com">emilien@redhat.com</a>>>> wrote:<br>
> ><br>
> ><br>
> ><br>
> > On 11/24/2015 11:21 PM, Russell Cecala wrote:<br>
> > > I am trying to use the OpenStack community puppet modules. Here's the<br>
> > > keystone module I am using: <a href="https://github.com/openstack/puppet-keystone" rel="noreferrer" target="_blank">https://github.com/openstack/puppet-keystone</a><br>
> > > I am using the stable juno branch. I have in my puppet manifest for my<br>
> > > controller nodes this resource definition:<br>
> > ><br>
> > > class { '::keystone::roles::admin':<br>
> > > admin => $keystone_admin_user,<br>
> > > email => $keystone_admin_email,<br>
> > > password => $keystone_admin_password,<br>
> > > } -><br>
> > ><br>
> > > And when puppet runs that code I get this error:<br>
> > ><br>
> > > Error:<br>
> > > /Stage[main]/Keystone::Roles::Admin/Keystone_user_role[keystone_admin_user@openstack]:<br>
> > > Could not evaluate: Execution of '/usr/bin/openstack domain show<br>
> > > --format shell' returned 2: usage: openstack domain show [-h] [-f<br>
> > > {shell,table,value}] [-c COLUMN]<br>
> > > [--max-width <integer>] [--prefix PREFIX]<br>
> > > <domain><br>
> > > openstack domain show: error: too few arguments<br>
><br>
> I don't know how it's possible you're using stable/juno, there is domain<br>
> support at all in puppet-keystone / stable-juno.<br>
> Domains have been implemented in stable/kilo.<br>
><br>
> Are you sure it's puppet-keystone stable/juno?<br>
> Is it a fork or a custom backport?<br>
><br>
> ><br>
> > Sounds like an issue with your version of openstackclient, can you<br>
> > provide it?<br>
> ><br>
> > ><br>
> > > Can anyone help me? Are these Puppet modules still being<br>
> supported?<br>
> ><br>
> > Yes :-)<br>
> ><br>
> > > Does anyone use them? Thanks!<br>
> ><br>
> > Double yes.<br>
> > --<br>
> > Emilien Macchi<br>
> ><br>
> ><br>
><br>
> --<br>
> Emilien Macchi<br>
><br>
><br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Emilien Macchi<br>
<br>
</font></span></blockquote></div><br></div>