Shannon McFarland
2012-Aug-09 19:13 UTC
[Puppet Users] Puppet apply err: Could not prefetch keystone_user provider ''keystone''
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 -- 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.
Dan Bode
2012-Aug-09 20:35 UTC
Re: [Puppet Users] Puppet apply err: Could not prefetch keystone_user provider ''keystone''
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. >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. 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.
Shannon McFarland
2012-Aug-09 20:53 UTC
[Puppet Users] Re: Puppet apply err: Could not prefetch keystone_user provider ''keystone''
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 On Thursday, August 9, 2012 1:13:51 PM UTC-6, Shannon McFarland 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? > > 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/-/dGLDQHPFcgEJ. 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.
Apparently Analagous Threads
- puppetlabs-nova puppetlabs-keystone modules got the following error
- custom type definition failing (for me) in puppetlabs-keystone module
- Keystone VB6 - 18 cd's - all levels 1 to 17 for 60$us for the rest on year 2001
- New version of UFO - is there a new HOWTO?
- libvirt/dnsmasq is not adhering to static DHCP assignments