Re: [Puppet Users] Puppet apply err: Could not prefetch keystone_user provider ''keystone''

Dan Bode
Thu, 09 Aug 2012 20:35:35 -0000

On Thu, Aug 9, 2012 at 12:13 PM, Shannon McFarland
<shmcfarl@gmail.com>wrote:

> On a new puppet master node I get this error on a puppet apply for an
> OpenStack multi-node setup.  This is a new one I have never seen before.
>  Tips?
>

This is pretty specific to the puppet/openstack integration. There is
currently a separate mailing list where questions related to that
implementation can be directed.

puppet-openstack@puppetlabs.com

The keystone native types parse the admin_token out of the keystone config
file.

Can you verify if that file exists and if it specifies an admin_token?

are you running this command on a node that is not being configured as a
keystone server?

It is also possible that this error has occurred b/c you are running puppet
2.6.x. Although, 2.6.x is not 100% verified to work with these modules, a
patch was recently merged to resolve this issue.

https://github.com/puppetlabs/puppetlabs-keystone/commit/de7ab2dbe8ff38d5789f0a1a23664c6f54a62341


> debug: Prefetching keystone resources for keystone_user
> err: Could not prefetch keystone_user provider
''keystone'': File:
> /etc/keystone/keystone.conf does not contain a section DEFAULT with the
> admin_token specified. Keystone types will not work if keystone is not
> correctly configured
> err: /Stage[main]/Swift::Keystone::Auth/Keystone_user[swift]: Could not
> evaluate: File: /etc/keystone/keystone.conf does not contain a section
> DEFAULT with the admin_token specified. Keystone types will not work if
> keystone is not correctly configured
> debug: Prefetching keystone resources for keystone_user_role
> err: Could not prefetch keystone_user_role provider
''keystone'': File:
> /etc/keystone/keystone.conf does not contain a section DEFAULT with the
> admin_token specified. Keystone types will not work if keystone is not
> correctly configured
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/HlwhMV6LriEJ.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>