{"body":"DEBUG:keystoneauth.session:REQ: curl -g -i -X PATCH http://glance.openstack.svc.cluster.local:80/v2/images/6e6ddf0a-93f2-4817-aa42-cdbb75ae76a1 -H \"b'Content-Type': b'application/openstack-images-v2.1-json-patch'\" -H \"X-Auth-Token: {SHA1}08b6214cead980e419374e72fb456a8762513365\" -H \"User-Agent: python-glanceclient\" -d '[{\"op\": \"add\", \"path\": \"/locations/-\", \"value\": {\"url\": \"cinder://f647b442-076c-4b1c-85c1-a778717e4024\", \"metadata\": {}}}]'\nDEBUG:urllib3.connectionpool:Starting new HTTP connection (1): glance.openstack.svc.cluster.local\nDEBUG:urllib3.connectionpool:http://glance.openstack.svc.cluster.local:80 \"PATCH /v2/images/6e6ddf0a-93f2-4817-aa42-cdbb75ae76a1 HTTP/1.1\" 500 228\nDEBUG:keystoneauth.session:RESP: [500] Server: nginx/1.15.5 Date: Mon, 09 Sep 2019 12:24:05 GMT Content-Type: text/html; charset=UTF-8 Content-Length: 228 Connection: keep-alive X-Openstack-Request-Id: req-82b8c7fa-0775-4750-8e78-7a665059322e\nRESP BODY: Omitted, Content-Type is set to text/html; charset=UTF-8. Only application/json responses have their bodies logged.\n\nDEBUG:keystoneauth.session:PATCH call to image for http://glance.openstack.svc.cluster.local:80/v2/images/6e6ddf0a-93f2-4817-aa42-cdbb75ae76a1 used request id req-82b8c7fa-0775-4750-8e78-7a665059322e\nRequest returned failure status 500.\nDEBUG:glanceclient.common.http:Request returned failure status 500.\nTraceback (most recent call last):\n  File \"/usr/lib/python3/dist-packages/glanceclient/shell.py\", line 699, in main\n    OpenStackImagesShell().main(argv)\n  File \"/usr/lib/python3/dist-packages/glanceclient/shell.py\", line 603, in main\n    args.func(client, args)\n  File \"/usr/lib/python3/dist-packages/glanceclient/v2/shell.py\", line 519, in do_location_add\n    image = gc.images.add_location(args.id, args.url, metadata)\n  File \"/usr/lib/python3/dist-packages/glanceclient/v2/images.py\", line 370, in add_location\n    response = self._send_image_update_request(image_id, add_patch)\n  File \"/usr/lib/python3/dist-packages/glanceclient/common/utils.py\", line 545, in inner\n    return RequestIdProxy(wrapped(*args, **kwargs))\n  File \"/usr/lib/python3/dist-packages/glanceclient/v2/images.py\", line 354, in _send_image_update_request\n    data=json.dumps(patch_body))\n  File \"/usr/lib/python3/dist-packages/keystoneauth1/adapter.py\", line 316, in patch\n    return self.request(url, 'PATCH', **kwargs)\n  File \"/usr/lib/python3/dist-packages/glanceclient/common/http.py\", line 349, in request\n    return self._handle_response(resp)\n  File \"/usr/lib/python3/dist-packages/glanceclient/common/http.py\", line 98, in _handle_response\n    raise exc.from_response(resp, resp.content)\nglanceclient.exc.HTTPInternalServerError: 500 Internal Server Error: The server has either erred or is incapable of performing the requested operation. (HTTP 500)\n500 Internal Server Error: The server has either erred or is incapable of performing the requested operation. (HTTP 500)\n","name":"","extension":"txt","url":"https://www.irccloud.com/pastebin/xIKvnUmd","modified":1568032893,"id":"xIKvnUmd","size":2922,"lines":30,"own_paste":false,"theme":"","date":1568032893}