---
driver:
name: openstack
openstack_username: david.schlenk
openstack_api_key: XXXXXXX
openstack_auth_url: http://172.17.20.2:5000/v2.0/tokens
require_chef_omnibus: latest
image_ref: CentOS 6.5 x86_64
flavor_ref: m1.small
private_key_path: ~/.ssh/david-schlenk.pem
username: ec2-user
openstack_tenant: DevOps
floating_ip_pool: prov_flat_net
network_ref: 6fc730d8-8a81-4289-b1f2-8046b93b3938
-----> Starting Kitchen (v1.2.1)
-----> Creating <default-centos-64>...
>>>>>> Create failed on instance <default-centos-64>.
>>>>>> Please see .kitchen/logs/default-centos-64.log for more details
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: Expected([200, 202]) <=> Actual(400 Bad Request)
response => #<Excon::Response:0x000000030bd2d8 @data={:body=>"{\"badRequest\": {\"message\": \"Multiple possible networks found, use a Network ID to be more specific.\", \"code\": 400}}", :headers=>{"Content-Length"=>"115", "Content-Type"=>"application/json; charset=UTF-8", "X-Compute-Request-Id"=>"req-131e095d-eb3c-4796-a240-c165dae60075", "Date"=>"Mon, 03 Mar 2014 20:37:06 GMT"}, :status=>400, :remote_ip=>"172.17.20.2"}, @body="{\"badRequest\": {\"message\": \"Multiple possible networks found, use a Network ID to be more specific.\", \"code\": 400}}", @headers={"Content-Length"=>"115", "Content-Type"=>"application/json; charset=UTF-8", "X-Compute-Request-Id"=>"req-131e095d-eb3c-4796-a240-c165dae60075", "Date"=>"Mon, 03 Mar 2014 20:37:06 GMT"}, @status=400, @remote_ip="172.17.20.2">
My .kitchen.yml includes
But attempting to run kitchen create results in:
I've also tried specifying
network_refby name and also usingopenstack_network_nameinstead ofnetwork_refas well as not defining a network at all which all gave a similar error. Fresh install of kitchen-openstack via gem today. Ideas?