Puppet apply err: Could not prefetch keystone_user provider 'keystone'

189 views
Skip to first unread message

Shannon McFarland

unread,
Aug 9, 2012, 3:13:51 PM8/9/12
to puppet...@googlegroups.com
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?

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

Dan Bode

unread,
Aug 9, 2012, 4:35:35 PM8/9/12
to puppet...@googlegroups.com, puppet-openstack
On Thu, Aug 9, 2012 at 12:13 PM, Shannon McFarland <shmc...@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.


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.



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...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Shannon McFarland

unread,
Aug 9, 2012, 4:53:15 PM8/9/12
to puppet...@googlegroups.com
I am running 2.7.11 and the error shows up on the puppet master during the puppet apply and also any agent on the polling update (except the openstack controller).  I will email the other alias so we track this appropriately.

Thanks,
Shannon
Reply all
Reply to author
Forward
0 new messages