Ask Your Question
0

nova image-create fails for taking snapshot

asked 2016-09-02 05:48:17 -0500

shan2k6 gravatar image

updated 2016-09-02 23:48:48 -0500

sunnyarora gravatar image

Open stack Version Kilo

OS RHEL

Issue with both command line as well as dashboard

#  nova --debug image-create --poll test123 test123snap

 DEBUG (session:195) REQ: curl -g -i -X GET http://auth:5000/v3 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
INFO (connectionpool:203) Starting new HTTP connection (1): auth
DEBUG (connectionpool:383) "GET /v3 HTTP/1.1" 200 245
DEBUG (session:224) RESP: [200] content-length: 245 vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.6 (Red Hat Enterprise Linux) mod_wsgi/3.4 Python/2.7.5 connection: Keep-Alive date: Fri, 02 Sep 2016 10:25:37 GMT content-type: application/json x-openstack-request-id: req-18f190bf-932a-4e0e-8a8c-b6376240b9db
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://auth:5000/v3/", "rel": "self"}]}}

DEBUG (base:171) Making authentication request to http://auth:5000/v3/auth/tokens
DEBUG (connectionpool:383) "POST /v3/auth/tokens HTTP/1.1" 201 13122
DEBUG (session:195) REQ: curl -g -i -X GET http://proxy:8774/v2/513056986b69432880c9fa829983b46d/servers?name=test123 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}4b97bd307851c6602ccfc4594cbe69b4119ebef1"
INFO (connectionpool:203) Starting new HTTP connection (1): proxy
DEBUG (connectionpool:383) "GET /v2/513056986b69432880c9fa829983b46d/servers?name=test123 HTTP/1.1" 200 386
DEBUG (session:224) RESP: [200] date: Fri, 02 Sep 2016 10:25:37 GMT connection: keep-alive content-type: application/json content-length: 386 x-compute-request-id: req-a394a3d4-574c-47f0-b242-0dc5bfec34dc
RESP BODY: {"servers": [{"id": "92c2fd37-8ea2-46a5-ac4a-bf6b2a82f5e6", "links": [{"href": "http://proxy:8774/v2/513056986b69432880c9fa829983b46d/servers/92c2fd37-8ea2-46a5-ac4a-bf6b2a82f5e6", "rel": "self"}, {"href": "http://proxy:8774/513056986b69432880c9fa829983b46d/servers/92c2fd37-8ea2-46a5-ac4a-bf6b2a82f5e6", "rel": "bookmark"}], "name": "test123"}]}

DEBUG (session:195) REQ: curl -g -i -X GET http://proxy:8774/v2/513056986b69432880c9fa829983b46d/servers/92c2fd37-8ea2-46a5-ac4a-bf6b2a82f5e6 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}4b97bd307851c6602ccfc4594cbe69b4119ebef1"
DEBUG (connectionpool:383) "GET /v2/513056986b69432880c9fa829983b46d/servers/92c2fd37-8ea2-46a5-ac4a-bf6b2a82f5e6 HTTP/1.1" 200 1743
DEBUG (session:224) RESP: [200] date: Fri, 02 Sep 2016 10:25:38 GMT connection: keep-alive content-type: application/json content-length: 1743 x-compute-request-id: req-e54b5335-cdae-487e-b000-c770097bfa39
RESP BODY: {"server": {"status": "ACTIVE", "updated": "2016-09-02T10:19:31Z", "hostId": "34ad73e9f940b02c9aee24b832cfd4112536e7217e4590e7c24357c1", "addresses": {"ext-relay": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:b3:1a:af", "version": 4, "addr": "192.0.0.22", "OS-EXT-IPS:type": "fixed"}], "pub-relay": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:34:18:c4", "version": 4, "addr": "172.16.0.8", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://proxy:8774/v2/513056986b69432880c9fa829983b46d/servers/92c2fd37-8ea2-46a5-ac4a-bf6b2a82f5e6", "rel": "self"}, {"href": "http://proxy:8774/513056986b69432880c9fa829983b46d/servers/92c2fd37-8ea2-46a5-ac4a-bf6b2a82f5e6", "rel": "bookmark"}], "key_name": "dalauth", "image": {"id": "9722a9aa-d8c2-4dfa-8e2f-57a5a2124a2d", "links": [{"href": "http://proxy:8774/513056986b69432880c9fa829983b46d/images/9722a9aa-d8c2-4dfa-8e2f-57a5a2124a2d", "rel": "bookmark"}]}, "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state": "active", "OS-SRV-USG:launched_at": "2016-09-01T10:58:28.000000", "flavor": {"id": "1", "links": [{"href": "http://proxy:8774/513056986b69432880c9fa829983b46d/flavors/1", "rel": "bookmark"}]}, "id": "92c2fd37-8ea2-46a5-ac4a-bf6b2a82f5e6", "security_groups": [{"name": "default"}, {"name": "default"}], "OS-SRV-USG:terminated_at": null, "OS-EXT-AZ:availability_zone": "dal10", "user_id": "116af8b9592f48e68b7e992c7784c39c", "name": "test123", "created": "2016-09-01T10:58:12Z", "tenant_id": "513056986b69432880c9fa829983b46d", "OS-DCF:diskConfig": "AUTO", "os-extended-volumes:volumes_attached": [], "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "config_drive": "", "metadata": {}}}

DEBUG (session:195) REQ: curl -g -i -X POST http://proxy:8774/v2/513056986b69432880c9fa829983b46d/servers/92c2fd37-8ea2-46a5-ac4a-bf6b2a82f5e6/action -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-09-03 12:27:47 -0500

shan2k6 gravatar image

updated 2016-09-06 08:15:55 -0500

I have found few more logs from the compute node

2016-09-02 06:48:08.027 4418 INFO nova.compute.manager [req-5002d099-1043-4bb1-a7db-7bcd9cade4cf 116af8b9592f48e68b7e992c7784c39c 513056986b69432880c9fa829983b46d - - -] [instance: 92c2fd37-8ea2-46a5-ac4a-bf6b2a82f5e6] instance snapshotting

2016-09-02 06:48:08.952 4418 INFO nova.scheduler.client.report [req-5002d099-1043-4bb1-a7db-7bcd9cade4cf 116af8b9592f48e68b7e992c7784c39c 513056986b69432880c9fa829983b46d - - -] Compute_service record updated for ('dalp-mpaascompute002.imi.local', 'dalp-mpaascompute002.imi.local')

2016-09-02 06:48:08.953 4418 ERROR oslo_messaging.rpc.dispatcher [req-5002d099-1043-4bb1-a7db-7bcd9cade4cf 116af8b9592f48e68b7e992c7784c39c 513056986b69432880c9fa829983b46d - - -] Exception during message handling: id

2016-09-02 06:48:08.953 4418 TRACE oslo_messaging.rpc.dispatcher Traceback (most recent call last): 2016-09-02 06:48:08.953 4418 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply 2016-09-02 06:48:08.953 4418 TRACE oslo_messaging.rpc.dispatcher executor_callback)) 2016-09-02 06:48:08.953 4418 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch 2016-09-02 06:48:08.953 4418 TRACE oslo_messaging.rpc.dispatcher executor_callback) 2016-09-02 06:48:08.953 4418 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 130, in _do_dispatch 2016-09-02 06:48:08.953 4418 TRACE oslo_messaging.rpc.dispatcher result = func(ctxt, *new_args) 2016-09-02 06:48:08.953 4418 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 6933, in snapshot_instance 2016-09-02 06:48:08.953 4418 TRACE oslo_messaging.rpc.dispatcher return self.manager.snapshot_instance(ctxt, image_id, instance) 2016-09-02 06:48:08.953 4418 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/exception.py", line 88, in wrapped 2016-09-02 06:48:08.953 4418 TRACE oslo_messaging.rpc.dispatcher payload) 2016-09-02 06:48:08.953 4418 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 85, in __exit__ 2016-09-02 06:48:08.953 4418 TRACE oslo_messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb) 2016-09-02 06:48:08.953 4418 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/exception.py", line 71, in wrapped 2016-09-02 06:48:08.953 4418 TRACE oslo_messaging.rpc.dispatcher return f(self, context, *args, *kw) 2016-09-02 06:48:08.953 4418 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 333, in decorated_function 2016-09-02 06:48:08.953 4418 TRACE oslo_messaging.rpc.dispatcher LOG.warning(msg, e, instance_uuid=instance_uuid) 2016-09-02 06:48:08.953 4418 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 85, in __exit__ 2016-09-02 06:48:08.953 4418 TRACE oslo_messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb) 2016-09-02 06:48:08.953 4418 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 304, in decorated_function 2016-09-02 06:48:08.953 4418 TRACE oslo_messaging.rpc.dispatcher return function(self, context, args, *kwargs) 2016-09-02 06:48:08.953 4418 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 361, in decorated_function 2016-09-02 06:48:08.953 4418 TRACE oslo_messaging ... (more)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-09-02 05:48:17 -0500

Seen: 168 times

Last updated: Sep 06 '16