When going to glare_artifact_blobs (after more than 12 hours) we can find blob in "saving" status, and NULL values for url, sha1, key_name, sha256.
When Trying to delete the artifact we get 409 (as expected):
{"explanation": "There was a conflict when trying to complete your request.", "code": 409, "error": {"message": "You cannot change artifact status if it has uploading blobs.", "type": "Conflict"}, "title": "Conflict"}
ERROR (app) HTTPConflict (HTTP 409)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
result = cmd.run(parsed_args)
File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
return super(Command, self).run(parsed_args)
File "/usr/lib/python2.7/site-packages/cliff/command.py", line 137, in run
return_code = self.take_action(parsed_args) or 0
File "/usr/lib/python2.7/site-packages/glareclient/osc/v1/artifacts.py", line 344, in take_action
type_name=parsed_args.type_name)
File "/usr/lib/python2.7/site-packages/glareclient/v1/artifacts.py", line 239, in delete
self.http_client.delete(url)
File "/usr/lib/python2.7/site-packages/glareclient/common/http.py", line 275, in delete
return self.request(url, "DELETE", **kwargs)
File "/usr/lib/python2.7/site-packages/glareclient/common/http.py", line 227, in request
raise exc.from_response(resp)
HTTPConflict: HTTPConflict (HTTP 409)
Traceback (most recent call last):
File "/usr/bin/glare", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/site-packages/glareclient/shell.py", line 336, in main
return GlareShell().run(argv)
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 279, in run
result = self.run_subcommand(remainder)
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
result = cmd.run(parsed_args)
File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
return super(Command, self).run(parsed_args)
File "/usr/lib/python2.7/site-packages/cliff/command.py", line 137, in run
return_code = self.take_action(parsed_args) or 0
File "/usr/lib/python2.7/site-packages/glareclient/osc/v1/artifacts.py", line 344, in take_action
type_name=parsed_args.type_name)
File "/usr/lib/python2.7/site-packages/glareclient/v1/artifacts.py", line 239, in delete
self.http_client.delete(url)
File "/usr/lib/python2.7/site-packages/glareclient/common/http.py", line 275, in delete
return self.request(url, "DELETE", **kwargs)
File "/usr/lib/python2.7/site-packages/glareclient/common/http.py", line 227, in request
raise exc.from_response(resp)
glareclient.exc.HTTPConflict: HTTPConflict (HTTP 409)
blob become stuck with saving status.
glare upload results with: INFO - ERROR (app) HTTPConflict (HTTP 409)
When going to glare_artifact_ blobs (after more than 12 hours) we can find blob in "saving" status, and NULL values for url, sha1, key_name, sha256.
When Trying to delete the artifact we get 409 (as expected):
{"explanation": "There was a conflict when trying to complete your request.", "code": 409, "error": {"message": "You cannot change artifact status if it has uploading blobs.", "type": "Conflict"}, "title": "Conflict"}
ERROR (app) HTTPConflict (HTTP 409) python2. 7/site- packages/ cliff/app. py", line 400, in run_subcommand parsed_ args) python2. 7/site- packages/ osc_lib/ command/ command. py", line 41, in run parsed_ args) python2. 7/site- packages/ cliff/command. py", line 137, in run action( parsed_ args) or 0 python2. 7/site- packages/ glareclient/ osc/v1/ artifacts. py", line 344, in take_action name=parsed_ args.type_ name) python2. 7/site- packages/ glareclient/ v1/artifacts. py", line 239, in delete http_client. delete( url) python2. 7/site- packages/ glareclient/ common/ http.py" , line 275, in delete python2. 7/site- packages/ glareclient/ common/ http.py" , line 227, in request response( resp) exit(main( )) python2. 7/site- packages/ glareclient/ shell.py" , line 336, in main ).run(argv) python2. 7/site- packages/ cliff/app. py", line 279, in run subcommand( remainder) python2. 7/site- packages/ cliff/app. py", line 400, in run_subcommand parsed_ args) python2. 7/site- packages/ osc_lib/ command/ command. py", line 41, in run parsed_ args) python2. 7/site- packages/ cliff/command. py", line 137, in run action( parsed_ args) or 0 python2. 7/site- packages/ glareclient/ osc/v1/ artifacts. py", line 344, in take_action name=parsed_ args.type_ name) python2. 7/site- packages/ glareclient/ v1/artifacts. py", line 239, in delete http_client. delete( url) python2. 7/site- packages/ glareclient/ common/ http.py" , line 275, in delete python2. 7/site- packages/ glareclient/ common/ http.py" , line 227, in request response( resp) exc.HTTPConflic t: HTTPConflict (HTTP 409)
Traceback (most recent call last):
File "/usr/lib/
result = cmd.run(
File "/usr/lib/
return super(Command, self).run(
File "/usr/lib/
return_code = self.take_
File "/usr/lib/
type_
File "/usr/lib/
self.
File "/usr/lib/
return self.request(url, "DELETE", **kwargs)
File "/usr/lib/
raise exc.from_
HTTPConflict: HTTPConflict (HTTP 409)
Traceback (most recent call last):
File "/usr/bin/glare", line 10, in <module>
sys.
File "/usr/lib/
return GlareShell(
File "/usr/lib/
result = self.run_
File "/usr/lib/
result = cmd.run(
File "/usr/lib/
return super(Command, self).run(
File "/usr/lib/
return_code = self.take_
File "/usr/lib/
type_
File "/usr/lib/
self.
File "/usr/lib/
return self.request(url, "DELETE", **kwargs)
File "/usr/lib/
raise exc.from_
glareclient.