"openstack server backup" failure 404 Not Found: No image found

asked 2019-11-01 15:56:59 -0600

jamesopst gravatar image

can anyone spread some light onto this failure? I am doing some "openstack server backup create" commands. Most instances this works just fine for. On some instances I get this failure:

openstack server backup create --name "backup_loadtest2" --type daily --rotate 1 --wait 543a2b48-617c-410b-bdf8-30e62e5b1575
404 Not Found: No image found with ID 008a1235-f0bb-4c06-a516-474b533442a1 (HTTP 404)

008a1235-f0bb-4c06-a516-474b533442a1 is the uuid of the image that is being created during the backup command. I can see it "Queued" in Horizon but it is gone after the command fails.

below are some nova logs I pulled from the compute node this instance resides on. I see some qemu-img convert errors and also I notice that this instance must have been renamed at some point from "longloadtest2" to "loadtest2".
thanks!

2019-10-31T10:05:42.925239-04:00 node-128 nova-compute: 2019-10-31 10:05:42.924 30528 DEBUG glanceclient.common.http [req-65642fee-92e9-496b-8e46-4ff7c13696ca b531c96d3755453f9fb02480aeca9554 fef35b6062aa41048eadea494e4530fd - - -] curl -g -i -X GET -H 'X-Roles: admin' -H 'Accept-Encoding: gzip, deflate' -H 'Connection: keep-alive' -H 'Accept: */*' -H 'X-Auth-Token: {SHA1}7da05fdc874f401edc257d13456c25abd481800b' -H 'User-Agent: python-glanceclient' -H 'X-Tenant-Id: fef35b6062aa41048eadea494e4530fd' -H 'X-User-Id: b531c96d3755453f9fb02480aeca9554' -H 'X-Identity-Status: Confirmed' -H 'Content-Type: application/octet-stream' http://192.168.0.2:9292/v2/images/008a1235-f0bb-4c06-a516-474b533442a1 log_curl_request /usr/lib/python2.7/dist-packages/glanceclient/common/http.py:205
2019-10-31T10:05:42.948769-04:00 node-128 nova-compute: 2019-10-31 10:05:42.947 30528 DEBUG glanceclient.common.http [req-65642fee-92e9-496b-8e46-4ff7c13696ca b531c96d3755453f9fb02480aeca9554 fef35b6062aa41048eadea494e4530fd - - -] GET call to glance-api for http://192.168.0.2:9292/v2/images/008a1235-f0bb-4c06-a516-474b533442a1 used request id req-236eb150-b98e-4258-b175-571b5ad48ea9 _handle_response /usr/lib/python2.7/dist-packages/glanceclient/common/http.py:103
2019-10-31T10:05:42.949997-04:00 node-128 nova-compute: 2019-10-31 10:05:42.949 30528 DEBUG glanceclient.common.http [req-65642fee-92e9-496b-8e46-4ff7c13696ca b531c96d3755453f9fb02480aeca9554 fef35b6062aa41048eadea494e4530fd - - -]
HTTP/1.1 200 OK
Content-Length: 858
Content-Type: application/json; charset=UTF-8
X-Openstack-Request-Id: req-236eb150-b98e-4258-b175-571b5ad48ea9
Date: Thu, 31 Oct 2019 14:10:40 GMT
Connection: close
{"container_format": "bare", "min_ram": 0, "updated_at": "2019-10-31T14:10:40Z", "file": "/v2/images/008a1235-f0bb-4c06-a516-474b533442a1/file", "owner": "fef35b6062aa41048eadea494e4530fd", "base_image_ref": "8af81fbf-0441-44a2-82e6-8e23a5472295", "size": null, "user_id": "b531c96d3755453f9fb02480aeca9554", "image_type": "backup", "self": "/v2/images/008a1235-f0bb-4c06-a516-474b533442a1", "disk_format": "qcow2", "id": "008a1235-f0bb-4c06-a516-474b533442a1", "schema": "/v2/schemas/image", "status": "queued", "description": "Install XMS on this CentOS 7.4 image", "tags": [], "visibility": "private", "locations": [], "backup_type": "daily", "min_disk": 40, "virtual_size": null, "instance_uuid": "543a2b48-617c-410b-bdf8-30e62e5b1575", "name": "autobackup_toddw_xms_loadtest2", "checksum": null, "created_at": "2019-10-31T14:10:40Z", "protected": false}
 log_http_response /usr/lib/python2.7/dist-packages/glanceclient/common/http.py:219
2019-10-31T10:05:42.951140-04:00 node-128 nova-compute: 2019-10-31 10:05:42.950 30528 DEBUG glanceclient.common.http [req-65642fee-92e9-496b-8e46-4ff7c13696ca b531c96d3755453f9fb02480aeca9554 fef35b6062aa41048eadea494e4530fd - - -] curl -g -i -X GET -H 'X-Roles: admin' -H 'Accept-Encoding: gzip, deflate' -H 'Connection: keep-alive' -H 'Accept: */*' -H 'X-Auth-Token: {SHA1}7da05fdc874f401edc257d13456c25abd481800b' -H 'User-Agent: python-glanceclient' -H 'X-Tenant-Id: fef35b6062aa41048eadea494e4530fd' -H 'X-User-Id: b531c96d3755453f9fb02480aeca9554' -H 'X-Identity-Status: Confirmed' -H 'Content-Type: application/octet-stream' http://192.168.0.2:9292/v2/schemas/image log_curl_request /usr/lib/python2.7/dist-packages/glanceclient/common/http.py:205
2019-10-31T10:05:42.963879-04:00 node-128 nova-compute: 2019-10-31 10:05:42.963 30528 DEBUG glanceclient.common.http [req-65642fee-92e9-496b-8e46-4ff7c13696ca b531c96d3755453f9fb02480aeca9554 fef35b6062aa41048eadea494e4530fd - - -] GET call to glance-api for http://192.168.0.2:9292/v2/schemas/image used request id req-30015f43-c69c-4b84-9068-75c4d6e95614 _handle_response /usr/lib/python2.7/dist-packages/glanceclient/common/http.py:103 ...
(more)
edit retag flag offensive close merge delete

Comments

i wonder if the image disappears for some reason and then the "failure 404 Not Found" error message. or if the "failure 404 Not Found" error occurs and the the 'failed' image is removed.

jamesopst gravatar imagejamesopst ( 2019-11-06 16:08:09 -0600 )edit