Skip to content

Create failed on instance <default-cirros> 400 #73

@ghost

Description

I'm getting 400 error.
host centos 7 , deployed devstack all in one
using admin/password I'm able to login/access dashboard

followed https://github.com/test-kitchen/kitchen-openstack for kitchen installation

[root@cstack ~]# kitchen create
-----> Starting Kitchen (v1.3.1)
-----> Creating ...

Create failed on instance .
Please see .kitchen/logs/default-cirros.log for more details
------Exception-------
Class: Kitchen::ActionFailed
Message: Expected([200, 204]) <=> Actual(400 Bad Request)
excon.error.response
:body => "{"error": {"message": "get_version_v2() got an unexpected keyword argument 'auth'", "code": 400, "title": "Bad Request"}}"
:headers => {
"Content-Length" => "121"
"Content-Type" => "application/json"
"Date" => "Wed, 11 Feb 2015 10:45:18 GMT"
"Vary" => "X-Auth-Token"
}
:local_address => "172.27.59.16"
:local_port => 51731
:remote_ip => "172.27.59.33"
:status => 400

cat .kitchen.yml

driver:
name: openstack
openstack_username: admin
openstack_api_key: password
openstack_auth_url: http://172.27.59.33:35357/v2.0/
#require_chef_omnibus: true
image_ref: cirros-0.3.1-x86_64
flavor_ref: m1.tiny
openstack_tenant: admin
server_name: Tcir003001
network_ref: public
public_key_path: /opt/stack/.ssh/id_rsa.pub
private_key_path: /opt/stack/.ssh/id_rsa
username: cirros

provisioner:
name: chef_solo

platforms:

  • name: cirros

suites:

  • name: default

[root@cstack ~]# diff .kitchen.yml .kitchen/default-cirros.yml
[root@cstack ~]#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions