instance goes into power state "paused" after nova-boot command

Asked by Miroslav Olajec on 2016-06-07

Hello,
I would like to ask you one question, about power state of VM after nova boot command was executed. I installed openstack mitaka on centos 7, and I want boot up instance with nova boot command but every time when I booted up instance it goes into power state "paused" how you can see below.

I tried modification of nova boot command also, some reboot, soft reboot, lock unlock or unpause of instance but it is still with same result. I looked into all logs (nova …, neutron …, messages…) on controller and compute but I can’t found reason why VM is in paused state. When I tried to boot other VMs also were going into “paused” power state.

Could you please help me solved this issue, or get some hints how to fix?

Thank you,
mirec

[root@bavptb01-controller log(keystone_admin)]# nova --debug boot --image srosVmImage-Dut1Dut2 --flavor OAMAVMFlavor --nic net-id=$(neutron net-list | grep 'DutManagementNetwork' | awk '{print $2}') --config-driv e=true --user-data /root/_Dut1OAMAvmg --security-groups mgSecurityGroup --block-device-mapping vdb=$(cinder list | grep 'Dut1OAMA-cf1' | awk '{print $2}') --availability-zone nova:bavptb01-compute-1 Dut1OAMAvmg
DEBUG (extension:157) found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token')
DEBUG (extension:157) found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken')
DEBUG (extension:157) found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode')
DEBUG (extension:157) found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password')
DEBUG (extension:157) found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password')
DEBUG (extension:157) found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword')
DEBUG (extension:157) found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token')
DEBUG (extension:157) found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token')
DEBUG (extension:157) found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password')
DEBUG (extension:157) found extension EntryPoint.parse('gnocchi-noauth = gnocchiclient.noauth:GnocchiNoAuthLoader')
DEBUG (extension:157) found extension EntryPoint.parse('password-ceilometer-legacy = ceilometer.keystone_client:LegacyCeilometerKeystoneLoader')
DEBUG (extension:157) found extension EntryPoint.parse('password-aodh-legacy = aodh.keystone_client:LegacyAodhKeystoneLoader')
DEBUG (session:248) REQ: curl -g -i -X GET http://172.23.22.130:5000/v2.0 -H "Accept: application/json" -H "User-Agent: keystoneauth1/2.3.0 python-requests/2.9.1 CPython/2.7.5"
INFO (connectionpool:213) Starting new HTTP connection (1): 172.23.22.130
DEBUG (connectionpool:393) "GET /v2.0 HTTP/1.1" 200 229
DEBUG (session:277) RESP: [200] Content-Length: 229 Content-Encoding: gzip Vary: X-Auth-Token,Accept-Encoding Server: Apache/2.4.6 (CentOS) Connection: close Date: Tue, 07 Jun 2016 07:50:59 GMT Content-Type: appl ication/json x-openstack-request-id: req-c381abb6-d617-4b46-9110-196afefa46df
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href ": "http://172.23.22.130:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}}

DEBUG (v2:63) Making authentication request to http://172.23.22.130:5000/v2.0/tokens
INFO (connectionpool:248) Resetting dropped connection: 172.23.22.130
DEBUG (connectionpool:393) "POST /v2.0/tokens HTTP/1.1" 200 1153
DEBUG (session:248) REQ: curl -g -i -X GET http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}9884bc9cad4c6eab0c 2b6488c710905e6aedeade"
INFO (connectionpool:213) Starting new HTTP connection (1): 172.23.22.130
DEBUG (connectionpool:393) "GET /v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee HTTP/1.1" 404 52
DEBUG (session:277) RESP: [404] Date: Tue, 07 Jun 2016 07:50:59 GMT Connection: keep-alive Content-Type: text/plain; charset=UTF-8 Content-Length: 52 X-Compute-Request-Id: req-4f555491-0347-4446-a9b1-232e926ab98a
RESP BODY: 404 Not Found

The resource could not be found.

DEBUG (session:248) REQ: curl -g -i -X GET http://172.23.22.130:8774/v2/ -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}9884bc9cad4c6eab0c2b6488c710905e6aedeade"
DEBUG (connectionpool:393) "GET /v2/ HTTP/1.1" 200 378
DEBUG (session:277) RESP: [200] Date: Tue, 07 Jun 2016 07:50:59 GMT Connection: keep-alive Content-Type: application/json Content-Length: 378 X-Compute-Request-Id: req-440c7de7-4070-4ac8-97b6-77c0ea4afffb
RESP BODY: {"version": {"status": "SUPPORTED", "updated": "2011-01-21T11:33:21Z", "links": [{"href": "http://172.23.22.130:8774/v2/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "r el": "describedby"}], "min_version": "", "version": "", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2"}], "id": "v2.0"}}

DEBUG (extension:157) found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token')
DEBUG (extension:157) found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken')
DEBUG (extension:157) found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode')
DEBUG (extension:157) found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password')
DEBUG (extension:157) found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password')
DEBUG (extension:157) found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword')
DEBUG (extension:157) found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token')
DEBUG (extension:157) found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token')
DEBUG (extension:157) found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password')
DEBUG (extension:157) found extension EntryPoint.parse('gnocchi-noauth = gnocchiclient.noauth:GnocchiNoAuthLoader')
DEBUG (extension:157) found extension EntryPoint.parse('password-ceilometer-legacy = ceilometer.keystone_client:LegacyCeilometerKeystoneLoader')
DEBUG (extension:157) found extension EntryPoint.parse('password-aodh-legacy = aodh.keystone_client:LegacyAodhKeystoneLoader')
DEBUG (session:248) REQ: curl -g -i -X GET http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/images -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}9884bc9cad4 c6eab0c2b6488c710905e6aedeade"
DEBUG (connectionpool:393) "GET /v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/images HTTP/1.1" 200 1519
DEBUG (session:277) RESP: [200] Date: Tue, 07 Jun 2016 07:51:00 GMT Connection: keep-alive Content-Type: application/json Content-Length: 1519 X-Compute-Request-Id: req-69a7cd1e-caca-44f2-958c-43268c395e3c
RESP BODY: {"images": [{"id": "5c92c2ce-5df9-46e1-af5f-a2f375647c86", "links": [{"href": "http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/images/5c92c2ce-5df9-46e1-af5f-a2f375647c86", "rel": "self"} , {"href": "http://172.23.22.130:8774/4e7ac72bfbcb45658e4d5e2abdf1b9ee/images/5c92c2ce-5df9-46e1-af5f-a2f375647c86", "rel": "bookmark"}, {"href": "http://172.23.22.130:9292/images/5c92c2ce-5df9-46e1-af5f-a2f37564 7c86", "type": "application/vnd.openstack.image", "rel": "alternate"}], "name": "srosVmImage-b1-250"}, {"id": "e7365059-d780-4883-8a35-287cbbbf7785", "links": [{"href": "http://172.23.22.130:8774/v2/4e7ac72bfbcb4 5658e4d5e2abdf1b9ee/images/e7365059-d780-4883-8a35-287cbbbf7785", "rel": "self"}, {"href": "http://172.23.22.130:8774/4e7ac72bfbcb45658e4d5e2abdf1b9ee/images/e7365059-d780-4883-8a35-287cbbbf7785", "rel": "bookmar k"}, {"href": "http://172.23.22.130:9292/images/e7365059-d780-4883-8a35-287cbbbf7785", "type": "application/vnd.openstack.image", "rel": "alternate"}], "name": "RedHat-root"}, {"id": "8af05d3f-c390-4eb7-81e3-0822 73d4a8f7", "links": [{"href": "http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/images/8af05d3f-c390-4eb7-81e3-082273d4a8f7", "rel": "self"}, {"href": "http://172.23.22.130:8774/4e7ac72bfbcb45658e4d5 e2abdf1b9ee/images/8af05d3f-c390-4eb7-81e3-082273d4a8f7", "rel": "bookmark"}, {"href": "http://172.23.22.130:9292/images/8af05d3f-c390-4eb7-81e3-082273d4a8f7", "type": "application/vnd.openstack.image", "rel": "a lternate"}], "name": "srosVmImage-Dut1Dut2"}]}

DEBUG (session:248) REQ: curl -g -i -X GET http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/images/8af05d3f-c390-4eb7-81e3-082273d4a8f7 -H "User-Agent: python-novaclient" -H "Accept: application/json " -H "X-Auth-Token: {SHA1}9884bc9cad4c6eab0c2b6488c710905e6aedeade"
DEBUG (connectionpool:393) "GET /v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/images/8af05d3f-c390-4eb7-81e3-082273d4a8f7 HTTP/1.1" 200 700
DEBUG (session:277) RESP: [200] Date: Tue, 07 Jun 2016 07:51:00 GMT Connection: keep-alive Content-Type: application/json Content-Length: 700 X-Compute-Request-Id: req-88be7e0c-56b8-40ef-ace4-0004c8a8cdac
RESP BODY: {"image": {"status": "ACTIVE", "updated": "2016-06-01T12:48:36Z", "links": [{"href": "http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/images/8af05d3f-c390-4eb7-81e3-082273d4a8f7", "rel": "self"}, {"href": "http://172.23.22.130:8774/4e7ac72bfbcb45658e4d5e2abdf1b9ee/images/8af05d3f-c390-4eb7-81e3-082273d4a8f7", "rel": "bookmark"}, {"href": "http://172.23.22.130:9292/images/8af05d3f-c390-4eb7-81e3-0 82273d4a8f7", "type": "application/vnd.openstack.image", "rel": "alternate"}], "id": "8af05d3f-c390-4eb7-81e3-082273d4a8f7", "OS-EXT-IMG-SIZE:size": 225181696, "name": "srosVmImage-Dut1Dut2", "created": "2016-06- 01T12:48:35Z", "minDisk": 0, "progress": 100, "minRam": 0, "metadata": {}}}

DEBUG (session:248) REQ: curl -g -i -X GET http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/OAMAVMFlavor -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SH A1}9884bc9cad4c6eab0c2b6488c710905e6aedeade"
DEBUG (connectionpool:393) "GET /v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/OAMAVMFlavor HTTP/1.1" 404 85
DEBUG (session:277) RESP: [404] Date: Tue, 07 Jun 2016 07:51:00 GMT Connection: keep-alive Content-Type: application/json; charset=UTF-8 Content-Length: 85 X-Compute-Request-Id: req-2b2ec112-5ab4-4e53-916b-765ff6 cee308
RESP BODY: {"itemNotFound": {"message": "Flavor OAMAVMFlavor could not be found.", "code": 404}}

DEBUG (session:248) REQ: curl -g -i -X GET http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors?is_public=None -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: { SHA1}9884bc9cad4c6eab0c2b6488c710905e6aedeade"
DEBUG (connectionpool:393) "GET /v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors?is_public=None HTTP/1.1" 200 2757
DEBUG (session:277) RESP: [200] Date: Tue, 07 Jun 2016 07:51:00 GMT Connection: keep-alive Content-Type: application/json Content-Length: 2757 X-Compute-Request-Id: req-3763ad70-fd9c-4ca0-bb29-4f5a6655a764
RESP BODY: {"flavors": [{"id": "1", "links": [{"href": "http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/1", "rel": "self"}, {"href": "http://172.23.22.130:8774/4e7ac72bfbcb45658e4d5e2abdf1b9 ee/flavors/1", "rel": "bookmark"}], "name": "m1.tiny"}, {"id": "101", "links": [{"href": "http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/101", "rel": "self"}, {"href": "http://172.23.22.130 :8774/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/101", "rel": "bookmark"}], "name": "LBVMFlavor"}, {"id": "102", "links": [{"href": "http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/102", "rel" : "self"}, {"href": "http://172.23.22.130:8774/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/102", "rel": "bookmark"}], "name": "MGVMFlavor"}, {"id": "110", "links": [{"href": "http://172.23.22.130:8774/v2/4e7ac72bfbc b45658e4d5e2abdf1b9ee/flavors/110", "rel": "self"}, {"href": "http://172.23.22.130:8774/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/110", "rel": "bookmark"}], "name": "OAMAVMFlavor"}, {"id": "111", "links": [{"href" : "http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/111", "rel": "self"}, {"href": "http://172.23.22.130:8774/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/111", "rel": "bookmark"}], "name": "OAMB VMFlavor"}, {"id": "115", "links": [{"href": "http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/115", "rel": "self"}, {"href": "http://172.23.22.130:8774/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavo rs/115", "rel": "bookmark"}], "name": "OAMA"}, {"id": "120", "links": [{"href": "http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/120", "rel": "self"}, {"href": "http://172.23.22.130:8774/4e7 ac72bfbcb45658e4d5e2abdf1b9ee/flavors/120", "rel": "bookmark"}], "name": "RedHatFlavor"}, {"id": "2", "links": [{"href": "http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/2", "rel": "self"}, {"href": "http://172.23.22.130:8774/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/2", "rel": "bookmark"}], "name": "m1.small"}, {"id": "3", "links": [{"href": "http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1 b9ee/flavors/3", "rel": "self"}, {"href": "http://172.23.22.130:8774/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/3", "rel": "bookmark"}], "name": "m1.medium"}, {"id": "4", "links": [{"href": "http://172.23.22.130:87 74/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/4", "rel": "self"}, {"href": "http://172.23.22.130:8774/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/4", "rel": "bookmark"}], "name": "m1.large"}, {"id": "5", "links": [ {"href": "http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/5", "rel": "self"}, {"href": "http://172.23.22.130:8774/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/5", "rel": "bookmark"}], "name": "m 1.xlarge"}]}

DEBUG (session:248) REQ: curl -g -i -X GET http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/110 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}9884bc 9cad4c6eab0c2b6488c710905e6aedeade"
DEBUG (connectionpool:393) "GET /v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/110 HTTP/1.1" 200 435
DEBUG (session:277) RESP: [200] Date: Tue, 07 Jun 2016 07:51:00 GMT Connection: keep-alive Content-Type: application/json Content-Length: 435 X-Compute-Request-Id: req-d8bc173a-ab03-40c5-9f8b-8ed903d183b3
RESP BODY: {"flavor": {"name": "OAMAVMFlavor", "links": [{"href": "http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/110", "rel": "self"}, {"href": "http://172.23.22.130:8774/4e7ac72bfbcb45658 e4d5e2abdf1b9ee/flavors/110", "rel": "bookmark"}], "ram": 16, "OS-FLV-DISABLED:disabled": false, "vcpus": 4, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "di sk": 10, "id": "110"}}

DEBUG (session:248) REQ: curl -g -i -X POST http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/os-volumes_boot -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: applica tion/json" -H "X-Auth-Token: {SHA1}9884bc9cad4c6eab0c2b6488c710905e6aedeade" -d '{"server": {"name": "Dut1OAMAvmg", "imageRef": "8af05d3f-c390-4eb7-81e3-082273d4a8f7", "availability_zone": "nova:bavptb01-compute- 1", "flavorRef": "110", "block_device_mapping": [{"volume_id": "fd44c315-08ab-455f-a1a8-8aa5a90b01af", "device_name": "vdb"}], "user_data": "VGlNT1M6IHNsb3Q9QSBjaGFzc2lzPVZTUiBjYXJkPWNwbS12IGFkZHJlc3M9Ni42LjYuMTA vMjRAYWN0aXZlIGFkZHJlc3M9Ni42LjYuMTEvMjRAc3RhbmRieSBzdGF0aWMtcm91dGU9MTI4LjAuMC4wLzFANi42LjYuMSBzdGF0aWMtcm91dGU9MC4wLjAuMC8xQDYuNi42LjEgcHJpbWFyeS1jb25maWc9ZnRwOi8vcm9vdDp0aWdyaXNANi42LjYuMTovcm9vdC9EdXQxLUR1dDI tQUFBLVBDUkYvdmVQREcuY2ZnIGxpY2Vuc2UtZmlsZT1mdHA6Ly9yb290OnRpZ3Jpc0A2LjYuNi4xOi9yb290L0R1dDEtRHV0Mi1BQUEtUENSRi9saWNlbnNlLWZvcl9WTUcxCg==", "max_count": 1, "min_count": 1, "networks": [{"uuid": "e5bb3afd-ac88-42c 4-9ccd-68fccb7f5e00"}], "security_groups": [{"name": "mgSecurityGroup"}], "config_drive": true}}'
DEBUG (connectionpool:393) "POST /v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/os-volumes_boot HTTP/1.1" 202 450
DEBUG (session:277) RESP: [202] Content-Length: 450 X-Compute-Request-Id: req-c825916e-38a0-4d67-8987-9e949606dcd2 Connection: keep-alive Location: http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/se rvers/643b2204-093b-459d-a0c5-ddb83c72bf3b Date: Tue, 07 Jun 2016 07:51:02 GMT Content-Type: application/json
RESP BODY: {"server": {"security_groups": [{"name": "mgSecurityGroup"}], "OS-DCF:diskConfig": "MANUAL", "id": "643b2204-093b-459d-a0c5-ddb83c72bf3b", "links": [{"href": "http://172.23.22.130:8774/v2/4e7ac72bfbcb4 5658e4d5e2abdf1b9ee/servers/643b2204-093b-459d-a0c5-ddb83c72bf3b", "rel": "self"}, {"href": "http://172.23.22.130:8774/4e7ac72bfbcb45658e4d5e2abdf1b9ee/servers/643b2204-093b-459d-a0c5-ddb83c72bf3b", "rel": "bookm ark"}], "adminPass": "pNvhFq4W5q7a"}}

DEBUG (session:248) REQ: curl -g -i -X GET http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/servers/643b2204-093b-459d-a0c5-ddb83c72bf3b -H "User-Agent: python-novaclient" -H "Accept: application/jso n" -H "X-Auth-Token: {SHA1}9884bc9cad4c6eab0c2b6488c710905e6aedeade"
DEBUG (connectionpool:393) "GET /v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/servers/643b2204-093b-459d-a0c5-ddb83c72bf3b HTTP/1.1" 200 1488
DEBUG (session:277) RESP: [200] Date: Tue, 07 Jun 2016 07:51:02 GMT Connection: keep-alive Content-Type: application/json Content-Length: 1488 X-Compute-Request-Id: req-c9fe2e01-be32-405f-9640-c46ab7efbc74
RESP BODY: {"server": {"status": "BUILD", "updated": "2016-06-07T07:51:02Z", "hostId": "", "OS-EXT-SRV-ATTR:host": null, "addresses": {}, "links": [{"href": "http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2ab df1b9ee/servers/643b2204-093b-459d-a0c5-ddb83c72bf3b", "rel": "self"}, {"href": "http://172.23.22.130:8774/4e7ac72bfbcb45658e4d5e2abdf1b9ee/servers/643b2204-093b-459d-a0c5-ddb83c72bf3b", "rel": "bookmark"}], "key _name": null, "image": {"id": "8af05d3f-c390-4eb7-81e3-082273d4a8f7", "links": [{"href": "http://172.23.22.130:8774/4e7ac72bfbcb45658e4d5e2abdf1b9ee/images/8af05d3f-c390-4eb7-81e3-082273d4a8f7", "rel": "bookmark" }]}, "OS-EXT-STS:task_state": "scheduling", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00000015", "OS-SRV-USG:launched_at": null, "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "f lavor": {"id": "110", "links": [{"href": "http://172.23.22.130:8774/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/110", "rel": "bookmark"}]}, "id": "643b2204-093b-459d-a0c5-ddb83c72bf3b", "OS-SRV-USG:terminated_at": n ull, "OS-EXT-AZ:availability_zone": "nova", "user_id": "59fd3dbe2c76461eb14464ee0ae11cbb", "name": "Dut1OAMAvmg", "created": "2016-06-07T07:51:01Z", "tenant_id": "4e7ac72bfbcb45658e4d5e2abdf1b9ee", "OS-DCF:diskCo nfig": "MANUAL", "os-extended-volumes:volumes_attached": [{"id": "fd44c315-08ab-455f-a1a8-8aa5a90b01af"}], "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 0, "config_drive": "True", " metadata": {}}}

DEBUG (session:248) REQ: curl -g -i -X GET http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/110 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}9884bc 9cad4c6eab0c2b6488c710905e6aedeade"
DEBUG (connectionpool:393) "GET /v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/110 HTTP/1.1" 200 435
DEBUG (session:277) RESP: [200] Date: Tue, 07 Jun 2016 07:51:02 GMT Connection: keep-alive Content-Type: application/json Content-Length: 435 X-Compute-Request-Id: req-6c8b04f4-455f-4584-af75-2956bdfe1a65
RESP BODY: {"flavor": {"name": "OAMAVMFlavor", "links": [{"href": "http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/flavors/110", "rel": "self"}, {"href": "http://172.23.22.130:8774/4e7ac72bfbcb45658 e4d5e2abdf1b9ee/flavors/110", "rel": "bookmark"}], "ram": 16, "OS-FLV-DISABLED:disabled": false, "vcpus": 4, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "di sk": 10, "id": "110"}}

DEBUG (session:248) REQ: curl -g -i -X GET http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/images/8af05d3f-c390-4eb7-81e3-082273d4a8f7 -H "User-Agent: python-novaclient" -H "Accept: application/json " -H "X-Auth-Token: {SHA1}9884bc9cad4c6eab0c2b6488c710905e6aedeade"
DEBUG (connectionpool:393) "GET /v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/images/8af05d3f-c390-4eb7-81e3-082273d4a8f7 HTTP/1.1" 200 700
DEBUG (session:277) RESP: [200] Date: Tue, 07 Jun 2016 07:51:02 GMT Connection: keep-alive Content-Type: application/json Content-Length: 700 X-Compute-Request-Id: req-4158a57b-255f-4247-ba7d-30c38232435f
RESP BODY: {"image": {"status": "ACTIVE", "updated": "2016-06-01T12:48:36Z", "links": [{"href": "http://172.23.22.130:8774/v2/4e7ac72bfbcb45658e4d5e2abdf1b9ee/images/8af05d3f-c390-4eb7-81e3-082273d4a8f7", "rel": "self"}, {"href": "http://172.23.22.130:8774/4e7ac72bfbcb45658e4d5e2abdf1b9ee/images/8af05d3f-c390-4eb7-81e3-082273d4a8f7", "rel": "bookmark"}, {"href": "http://172.23.22.130:9292/images/8af05d3f-c390-4eb7-81e3-0 82273d4a8f7", "type": "application/vnd.openstack.image", "rel": "alternate"}], "id": "8af05d3f-c390-4eb7-81e3-082273d4a8f7", "OS-EXT-IMG-SIZE:size": 225181696, "name": "srosVmImage-Dut1Dut2", "created": "2016-06- 01T12:48:35Z", "minDisk": 0, "progress": 100, "minRam": 0, "metadata": {}}}

+--------------------------------------+-------------------------------------------------------------+
| Property | Value |
+--------------------------------------+-------------------------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | - |
| OS-EXT-SRV-ATTR:hypervisor_hostname | - |
| OS-EXT-SRV-ATTR:instance_name | instance-00000015 |
| 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 | pNvhFq4W5q7a |
| config_drive | True |
| created | 2016-06-07T07:51:01Z |
| flavor | OAMAVMFlavor (110) |
| hostId | |
| id | 643b2204-093b-459d-a0c5-ddb83c72bf3b |
| image | srosVmImage-Dut1Dut2 (8af05d3f-c390-4eb7-81e3-082273d4a8f7) |
| key_name | - |
| metadata | {} |
| name | Dut1OAMAvmg |
| os-extended-volumes:volumes_attached | [{"id": "fd44c315-08ab-455f-a1a8-8aa5a90b01af"}] |
| progress | 0 |
| security_groups | mgSecurityGroup |
| status | BUILD |
| tenant_id | 4e7ac72bfbcb45658e4d5e2abdf1b9ee |
| updated | 2016-06-07T07:51:02Z |
| user_id | 59fd3dbe2c76461eb14464ee0ae11cbb |
+--------------------------------------+-------------------------------------------------------------+
[root@bavptb01-controller log(keystone_admin)]#
[root@bavptb01-controller log(keystone_admin)]# nova list
+--------------------------------------+-------------+--------+------------+-------------+-------------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+-------------+--------+------------+-------------+-------------------------------+
| 643b2204-093b-459d-a0c5-ddb83c72bf3b | Dut1OAMAvmg | ACTIVE | - | Paused | DutManagementNetwork=6.6.6.22 |
+--------------------------------------+-------------+--------+------------+-------------+-------------------------------+
[root@bavptb01-controller log(keystone_admin)]#

[root@bavptb01-controller log(keystone_admin)]# nova unpause 643b2204-093b-459d-a0c5-ddb83c72bf3b
ERROR (Conflict): Cannot 'unpause' instance 643b2204-093b-459d-a0c5-ddb83c72bf3b while it is in vm_state active (HTTP 409) (Request-ID: req-76579ae7-8ab5-4aca-84a1-ab1c8aa9e3a4)
[root@bavptb01-controller log(keystone_admin)]#

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Core Infrastructure Edit question
Assignee:
No assignee Edit question
Last query:
2016-06-07
Last reply:
2017-06-20

are you facing this issue on all compute node or selected one.
try to launch 3-5 instances at a time and also try different image

alaludan (3131806-6) said : #2

Are you fix this issue?
I met as the same issue on Newton?
I try to boot a lot of instances and with different image but all instance's power status is Paused

Can you help with this problem?

Provide an answer of your own, or ask Miroslav Olajec for more information if necessary.

To post a message you must log in.