puppetlabs-toy-chest / puppetlabs-openstack

Puppet Labs Reference and Testing Deployment Module for OpenStack (master tracks Kilo)
Apache License 2.0
90 stars 107 forks source link

Puppet seems to use Keystone v3 API, fails to create Neutron user #225

Open kaazoo opened 9 years ago

kaazoo commented 9 years ago

I get this error in the Puppet output:

Error: /Stage[main]/Neutron::Keystone::Auth/Keystone::Resource::Service_identity[neutron]/Keystone_user[neutron]: 
Could not evaluate: Execution of '/usr/bin/openstack token issue --format value' returned 1:
ERROR: openstack The resource could not be found. (HTTP 404) (Request-ID: req-a48a5073-baac-447f-8c3d-ad5168e0a177)

When I source /root/openrc (Keystone v2 API), the command /usr/bin/openstack token issue --format value works.

Is there a way to make Puppet use the Keystone v2 API? Any ideas to debug this further?

kaazoo commented 9 years ago

Sourcing /root/openrc and setting OS_AUTH_URL=http://SERVER:5000/v3 seems to be a wordaround.

karmab commented 9 years ago

same issue here...