rendered paste body nova --debug boot --flavor m1.medium --image trusty --nic net-id=1ab828e5-405a-4442-9a5b-cdc682ff6d9e --security-group default --key-name mykey myinstance
DEBUG (session:198) REQ: curl -g -i -X GET http://xcontroller-1:5000/v3 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
INFO (connectionpool:213) Starting new HTTP connection (1): xcontroller-1
DEBUG (connectionpool:393) "GET /v3 HTTP/1.1" 200 252
DEBUG (session:215) RESP: [200] Content-Length: 252 Vary: X-Auth-Token Keep-Alive: timeout=5, max=100 Server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 Connection: Keep-Alive Date: Wed, 08 Jun 2016 07:42:52 GMT Content-Type: application/json x-openstack-request-id: req-52a34637-4eab-4add-abdf-37754f8ea9d7
RESP BODY: {"version": {"status": "stable", "updated": "2015-03-30T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.4", "links": [{"href": "http://xcontroller-1:5000/v3/", "rel": "self"}]}}
DEBUG (base:188) Making authentication request to http://xcontroller-1:5000/v3/auth/tokens
DEBUG (connectionpool:393) "POST /v3/auth/tokens HTTP/1.1" 201 2922
DEBUG (session:198) REQ: curl -g -i -X GET http://xcontroller-1:8774/v2/ -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}a81f09298f78dca6a1844e6382a53ee042a5565a"
INFO (connectionpool:213) Starting new HTTP connection (1): xcontroller-1
DEBUG (connectionpool:393) "GET /v2/ HTTP/1.1" 200 378
DEBUG (session:215) RESP: [200] Date: Wed, 08 Jun 2016 07:42:52 GMT Connection: keep-alive Content-Type: application/json Content-Length: 378 X-Compute-Request-Id: req-58f73398-9f5f-44ff-abe2-68e490acd038
RESP BODY: {"version": {"status": "SUPPORTED", "updated": "2011-01-21T11:33:21Z", "links": [{"href": "http://xcontroller-1:8774/v2/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}], "min_version": "", "version": "", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2"}], "id": "v2.0"}}
DEBUG (session:198) REQ: curl -g -i -X GET http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/images -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}a81f09298f78dca6a1844e6382a53ee042a5565a"
DEBUG (connectionpool:393) "GET /v2/a0807f370ec64102be9ad2f837d9a462/images HTTP/1.1" 200 1976
DEBUG (session:215) RESP: [200] Date: Wed, 08 Jun 2016 07:42:52 GMT Connection: keep-alive Content-Type: application/json Content-Length: 1976 X-Compute-Request-Id: req-90049c1c-af68-4c33-9feb-c5dd9f777c1e
RESP BODY: {"images": [{"id": "e7566f0e-969c-4658-bce4-7cef7de43bff", "links": [{"href": "http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/images/e7566f0e-969c-4658-bce4-7cef7de43bff", "rel": "self"}, {"href": "http://xcontroller-1:8774/a0807f370ec64102be9ad2f837d9a462/images/e7566f0e-969c-4658-bce4-7cef7de43bff", "rel": "bookmark"}, {"href": "http://xstorage-1:9292/images/e7566f0e-969c-4658-bce4-7cef7de43bff", "type": "application/vnd.openstack.image", "rel": "alternate"}], "name": "trusty"}, {"id": "9822ec1a-ad0b-47f7-b07f-881dfe7efdc2", "links": [{"href": "http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/images/9822ec1a-ad0b-47f7-b07f-881dfe7efdc2", "rel": "self"}, {"href": "http://xcontroller-1:8774/a0807f370ec64102be9ad2f837d9a462/images/9822ec1a-ad0b-47f7-b07f-881dfe7efdc2", "rel": "bookmark"}, {"href": "http://xstorage-1:9292/images/9822ec1a-ad0b-47f7-b07f-881dfe7efdc2", "type": "application/vnd.openstack.image", "rel": "alternate"}], "name": "cirros-3"}, {"id": "1ef4e032-af45-4aff-a6c3-f3b110872b7a", "links": [{"href": "http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/images/1ef4e032-af45-4aff-a6c3-f3b110872b7a", "rel": "self"}, {"href": "http://xcontroller-1:8774/a0807f370ec64102be9ad2f837d9a462/images/1ef4e032-af45-4aff-a6c3-f3b110872b7a", "rel": "bookmark"}, {"href": "http://xstorage-1:9292/images/1ef4e032-af45-4aff-a6c3-f3b110872b7a", "type": "application/vnd.openstack.image", "rel": "alternate"}], "name": "cirros-devel"}, {"id": "bccb2f0d-c47d-4e0b-a0b6-90b60f31a7de", "links": [{"href": "http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/images/bccb2f0d-c47d-4e0b-a0b6-90b60f31a7de", "rel": "self"}, {"href": "http://xcontroller-1:8774/a0807f370ec64102be9ad2f837d9a462/images/bccb2f0d-c47d-4e0b-a0b6-90b60f31a7de", "rel": "bookmark"}, {"href": "http://xstorage-1:9292/images/bccb2f0d-c47d-4e0b-a0b6-90b60f31a7de", "type": "application/vnd.openstack.image", "rel": "alternate"}], "name": "cirros"}]}
DEBUG (session:198) REQ: curl -g -i -X GET http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/images/e7566f0e-969c-4658-bce4-7cef7de43bff -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}a81f09298f78dca6a1844e6382a53ee042a5565a"
DEBUG (connectionpool:393) "GET /v2/a0807f370ec64102be9ad2f837d9a462/images/e7566f0e-969c-4658-bce4-7cef7de43bff HTTP/1.1" 200 683
DEBUG (session:215) RESP: [200] Date: Wed, 08 Jun 2016 07:42:52 GMT Connection: keep-alive Content-Type: application/json Content-Length: 683 X-Compute-Request-Id: req-f2b736f2-e56d-496d-b312-445509d42eba
RESP BODY: {"image": {"status": "ACTIVE", "updated": "2016-06-07T15:45:04Z", "links": [{"href": "http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/images/e7566f0e-969c-4658-bce4-7cef7de43bff", "rel": "self"}, {"href": "http://xcontroller-1:8774/a0807f370ec64102be9ad2f837d9a462/images/e7566f0e-969c-4658-bce4-7cef7de43bff", "rel": "bookmark"}, {"href": "http://xstorage-1:9292/images/e7566f0e-969c-4658-bce4-7cef7de43bff", "type": "application/vnd.openstack.image", "rel": "alternate"}], "id": "e7566f0e-969c-4658-bce4-7cef7de43bff", "OS-EXT-IMG-SIZE:size": 259785216, "name": "trusty", "created": "2016-06-07T15:45:01Z", "minDisk": 0, "progress": 100, "minRam": 0, "metadata": {}}}
DEBUG (session:198) REQ: curl -g -i -X GET http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/flavors/m1.medium -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}a81f09298f78dca6a1844e6382a53ee042a5565a"
DEBUG (connectionpool:393) "GET /v2/a0807f370ec64102be9ad2f837d9a462/flavors/m1.medium HTTP/1.1" 404 82
DEBUG (session:215) RESP: [404] Date: Wed, 08 Jun 2016 07:42:52 GMT Connection: keep-alive Content-Type: application/json; charset=UTF-8 Content-Length: 82 X-Compute-Request-Id: req-4af9de0a-a1ed-4905-a1c5-c2997f3ccd55
RESP BODY: {"itemNotFound": {"message": "Flavor m1.medium could not be found.", "code": 404}}
DEBUG (session:198) REQ: curl -g -i -X GET http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/flavors?is_public=None -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}a81f09298f78dca6a1844e6382a53ee042a5565a"
DEBUG (connectionpool:393) "GET /v2/a0807f370ec64102be9ad2f837d9a462/flavors?is_public=None HTTP/1.1" 200 1239
DEBUG (session:215) RESP: [200] Date: Wed, 08 Jun 2016 07:42:52 GMT Connection: keep-alive Content-Type: application/json Content-Length: 1239 X-Compute-Request-Id: req-0b1d6a81-e78d-4fe4-b7c1-32b3e6ee7bfd
RESP BODY: {"flavors": [{"id": "1", "links": [{"href": "http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/flavors/1", "rel": "self"}, {"href": "http://xcontroller-1:8774/a0807f370ec64102be9ad2f837d9a462/flavors/1", "rel": "bookmark"}], "name": "m1.tiny"}, {"id": "2", "links": [{"href": "http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/flavors/2", "rel": "self"}, {"href": "http://xcontroller-1:8774/a0807f370ec64102be9ad2f837d9a462/flavors/2", "rel": "bookmark"}], "name": "m1.small"}, {"id": "3", "links": [{"href": "http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/flavors/3", "rel": "self"}, {"href": "http://xcontroller-1:8774/a0807f370ec64102be9ad2f837d9a462/flavors/3", "rel": "bookmark"}], "name": "m1.medium"}, {"id": "4", "links": [{"href": "http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/flavors/4", "rel": "self"}, {"href": "http://xcontroller-1:8774/a0807f370ec64102be9ad2f837d9a462/flavors/4", "rel": "bookmark"}], "name": "m1.large"}, {"id": "5", "links": [{"href": "http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/flavors/5", "rel": "self"}, {"href": "http://xcontroller-1:8774/a0807f370ec64102be9ad2f837d9a462/flavors/5", "rel": "bookmark"}], "name": "m1.xlarge"}]}
DEBUG (session:198) REQ: curl -g -i -X GET http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/flavors/3 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}a81f09298f78dca6a1844e6382a53ee042a5565a"
DEBUG (connectionpool:393) "GET /v2/a0807f370ec64102be9ad2f837d9a462/flavors/3 HTTP/1.1" 200 428
DEBUG (session:215) RESP: [200] Date: Wed, 08 Jun 2016 07:42:52 GMT Connection: keep-alive Content-Type: application/json Content-Length: 428 X-Compute-Request-Id: req-e5c8a45c-c8a9-4279-b0f0-089fc045f736
RESP BODY: {"flavor": {"name": "m1.medium", "links": [{"href": "http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/flavors/3", "rel": "self"}, {"href": "http://xcontroller-1:8774/a0807f370ec64102be9ad2f837d9a462/flavors/3", "rel": "bookmark"}], "ram": 4096, "OS-FLV-DISABLED:disabled": false, "vcpus": 2, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 40, "id": "3"}}
DEBUG (session:198) REQ: curl -g -i -X POST http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/servers -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}a81f09298f78dca6a1844e6382a53ee042a5565a" -d '{"server": {"name": "myinstance", "imageRef": "e7566f0e-969c-4658-bce4-7cef7de43bff", "key_name": "mykey", "flavorRef": "3", "max_count": 1, "min_count": 1, "networks": [{"uuid": "1ab828e5-405a-4442-9a5b-cdc682ff6d9e"}], "security_groups": [{"name": "default"}]}}'
DEBUG (connectionpool:393) "POST /v2/a0807f370ec64102be9ad2f837d9a462/servers HTTP/1.1" 202 442
DEBUG (session:215) RESP: [202] Content-Length: 442 X-Compute-Request-Id: req-1bb616e7-a521-4a2b-8395-6985c7753a03 Connection: keep-alive Location: http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/servers/a74df532-8a76-4053-95be-e0c971c79f91 Date: Wed, 08 Jun 2016 07:42:52 GMT Content-Type: application/json
RESP BODY: {"server": {"security_groups": [{"name": "default"}], "OS-DCF:diskConfig": "MANUAL", "id": "a74df532-8a76-4053-95be-e0c971c79f91", "links": [{"href": "http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/servers/a74df532-8a76-4053-95be-e0c971c79f91", "rel": "self"}, {"href": "http://xcontroller-1:8774/a0807f370ec64102be9ad2f837d9a462/servers/a74df532-8a76-4053-95be-e0c971c79f91", "rel": "bookmark"}], "adminPass": "***"}}
DEBUG (session:198) REQ: curl -g -i -X GET http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/servers/a74df532-8a76-4053-95be-e0c971c79f91 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}a81f09298f78dca6a1844e6382a53ee042a5565a"
DEBUG (connectionpool:393) "GET /v2/a0807f370ec64102be9ad2f837d9a462/servers/a74df532-8a76-4053-95be-e0c971c79f91 HTTP/1.1" 200 1303
DEBUG (session:215) RESP: [200] Date: Wed, 08 Jun 2016 07:42:53 GMT Connection: keep-alive Content-Type: application/json Content-Length: 1303 X-Compute-Request-Id: req-3abd178f-7826-4dc7-b18a-12866e11f3a9
RESP BODY: {"server": {"status": "BUILD", "updated": "2016-06-08T07:42:52Z", "hostId": "", "addresses": {}, "links": [{"href": "http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/servers/a74df532-8a76-4053-95be-e0c971c79f91", "rel": "self"}, {"href": "http://xcontroller-1:8774/a0807f370ec64102be9ad2f837d9a462/servers/a74df532-8a76-4053-95be-e0c971c79f91", "rel": "bookmark"}], "key_name": "mykey", "image": {"id": "e7566f0e-969c-4658-bce4-7cef7de43bff", "links": [{"href": "http://xcontroller-1:8774/a0807f370ec64102be9ad2f837d9a462/images/e7566f0e-969c-4658-bce4-7cef7de43bff", "rel": "bookmark"}]}, "OS-EXT-STS:task_state": "scheduling", "OS-EXT-STS:vm_state": "building", "OS-SRV-USG:launched_at": null, "flavor": {"id": "3", "links": [{"href": "http://xcontroller-1:8774/a0807f370ec64102be9ad2f837d9a462/flavors/3", "rel": "bookmark"}]}, "id": "a74df532-8a76-4053-95be-e0c971c79f91", "OS-SRV-USG:terminated_at": null, "OS-EXT-AZ:availability_zone": "", "user_id": "5c8c042ea39348e79ed4ef6aee0f49aa", "name": "myinstance", "created": "2016-06-08T07:42:52Z", "tenant_id": "a0807f370ec64102be9ad2f837d9a462", "OS-DCF:diskConfig": "MANUAL", "os-extended-volumes:volumes_attached": [], "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 0, "config_drive": "", "metadata": {}}}
DEBUG (session:198) REQ: curl -g -i -X GET http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/flavors/3 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}a81f09298f78dca6a1844e6382a53ee042a5565a"
DEBUG (connectionpool:393) "GET /v2/a0807f370ec64102be9ad2f837d9a462/flavors/3 HTTP/1.1" 200 428
DEBUG (session:215) RESP: [200] Date: Wed, 08 Jun 2016 07:42:53 GMT Connection: keep-alive Content-Type: application/json Content-Length: 428 X-Compute-Request-Id: req-0658f700-8b49-4c7f-a448-4286ff22a927
RESP BODY: {"flavor": {"name": "m1.medium", "links": [{"href": "http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/flavors/3", "rel": "self"}, {"href": "http://xcontroller-1:8774/a0807f370ec64102be9ad2f837d9a462/flavors/3", "rel": "bookmark"}], "ram": 4096, "OS-FLV-DISABLED:disabled": false, "vcpus": 2, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 40, "id": "3"}}
DEBUG (session:198) REQ: curl -g -i -X GET http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/images/e7566f0e-969c-4658-bce4-7cef7de43bff -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}a81f09298f78dca6a1844e6382a53ee042a5565a"
DEBUG (connectionpool:393) "GET /v2/a0807f370ec64102be9ad2f837d9a462/images/e7566f0e-969c-4658-bce4-7cef7de43bff HTTP/1.1" 200 683
DEBUG (session:215) RESP: [200] Date: Wed, 08 Jun 2016 07:42:53 GMT Connection: keep-alive Content-Type: application/json Content-Length: 683 X-Compute-Request-Id: req-b88acda6-02e5-4120-8553-7369aeb8c118
RESP BODY: {"image": {"status": "ACTIVE", "updated": "2016-06-07T15:45:04Z", "links": [{"href": "http://xcontroller-1:8774/v2/a0807f370ec64102be9ad2f837d9a462/images/e7566f0e-969c-4658-bce4-7cef7de43bff", "rel": "self"}, {"href": "http://xcontroller-1:8774/a0807f370ec64102be9ad2f837d9a462/images/e7566f0e-969c-4658-bce4-7cef7de43bff", "rel": "bookmark"}, {"href": "http://xstorage-1:9292/images/e7566f0e-969c-4658-bce4-7cef7de43bff", "type": "application/vnd.openstack.image", "rel": "alternate"}], "id": "e7566f0e-969c-4658-bce4-7cef7de43bff", "OS-EXT-IMG-SIZE:size": 259785216, "name": "trusty", "created": "2016-06-07T15:45:01Z", "minDisk": 0, "progress": 100, "minRam": 0, "metadata": {}}}
+--------------------------------------+-----------------------------------------------+
| Property | Value |
+--------------------------------------+-----------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | |
| OS-EXT-STS:power_state | 0 |
| OS-EXT-STS:task_state | scheduling |
| OS-EXT-STS:vm_state | building |
| OS-SRV-USG:launched_at | - |
| OS-SRV-USG:terminated_at | - |
| accessIPv4 | |
| accessIPv6 | |
| adminPass | XSH4LJfyfRLB |
| config_drive | |
| created | 2016-06-08T07:42:52Z |
| flavor | m1.medium (3) |
| hostId | |
| id | a74df532-8a76-4053-95be-e0c971c79f91 |
| image | trusty (e7566f0e-969c-4658-bce4-7cef7de43bff) |
| key_name | mykey |
| metadata | {} |
| name | myinstance |
| os-extended-volumes:volumes_attached | [] |
| progress | 0 |
| security_groups | default |
| status | BUILD |
| tenant_id | a0807f370ec64102be9ad2f837d9a462 |
| updated | 2016-06-08T07:42:52Z |
| user_id | 5c8c042ea39348e79ed4ef6aee0f49aa |
+--------------------------------------+-----------------------------------------------+
nova list
+--------------------------------------+------------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------------+--------+------------+-------------+----------+
| a74df532-8a76-4053-95be-e0c971c79f91 | myinstance | ERROR | - | NOSTATE | |
+--------------------------------------+------------+--------+------------+-------------+----------+
nova show myinstance
+--------------------------------------+-------------------------------------------------------------------------------------------------------------------------------+
| Property | Value |
+--------------------------------------+-------------------------------------------------------------------------------------------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | |
| OS-EXT-STS:power_state | 0 |
| OS-EXT-STS:task_state | - |
| OS-EXT-STS:vm_state | error |
| OS-SRV-USG:launched_at | - |
| OS-SRV-USG:terminated_at | - |
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2016-06-08T07:42:52Z |
| fault | {"message": "No valid host was found. There are not enough hosts available.", "code": 500, "created": "2016-06-08T07:42:52Z"} |
| flavor | m1.medium (3) |
| hostId | |
| id | a74df532-8a76-4053-95be-e0c971c79f91 |
| image | trusty (e7566f0e-969c-4658-bce4-7cef7de43bff) |
| key_name | mykey |
| metadata | {} |
| name | myinstance |
| os-extended-volumes:volumes_attached | [] |
| status | ERROR |
| tenant_id | a0807f370ec64102be9ad2f837d9a462 |
| updated | 2016-06-08T07:42:52Z |
| user_id | 5c8c042ea39348e79ed4ef6aee0f49aa |
+--------------------------------------+-------------------------------------------------------------------------------------------------------------------------------+