Closed alex-w-k closed 5 years ago
Hello there. Did you find a resolution to this problem?
Sashi
:path => "/v3/tokens/v3/auth/tokens"
The /v3/tokens
is repeated in the path. I removed that and I got it fixed if I’m remembering it correctly. It was being added in the .kitchen.yml
and the gem added it as well.
Thanks Alex. I have got this in my kitchen.yml file but I still get a message saying:
ERROR -- Kitchen: Message: Failed to complete #create action: [Missing required arguments: openstack_auth_url].
Any idea's I feel it may be my syntax :-)
driver: openstack_username: <%= ENV['demo'] %> openstack_api_key: <%= ENV['xxxxxxxx'] %> openstack_auth_url: <%= ENV['http://192.168.1.100:5000/v3/auth/tokens'] %> image_ref: <%= ENV['centos8.final'] %> flavor_ref: <%= ENV['m1.medium'] %>
Hi there.
The fix is as per below and is working properly now driver: name: openstack openstack_auth_url: 'http://x.x.x.x:5000' openstack_project: demo openstack_project_name: demo openstack_domain_id: default openstack_username: demo openstack_api_key: xxxxx
One needs all the off the above to get to the correct URL
Thanks
Was troubleshooting an issue with test kitchen not connecting to openstack and giving very vague errors when I couldn't connect.
I would recieve:
Which made it basically impossible to troubleshoot until I downloaded the openstack CLI and attempted to connect to the server manually in which I got this error:
Not sure if through the APIs you are using it would be possible to add this error handling in, but that would be fantastic.