yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #02628
[Bug 1096084] Re: Unclear error when deleting a Swift container that contains data
** Changed in: horizon
Status: Fix Committed => Fix Released
** Changed in: horizon
Milestone: None => havana-1
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1096084
Title:
Unclear error when deleting a Swift container that contains data
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
Apparently a Swift container needs to be empty before it can be
deleted. Currently in Horizon (devstack), it fails with an error 500
and a confusing message: "ClientException at /project/containers/
Container DELETE failed:
http://192.168.100.128:8080/v1/AUTH_be01f04af46546edb9a03a4daaa5c5f4/Test
409 Conflict [first 60 chars of response]
<html><h1>Conflict</h1><p>There was a conflict when trying t"
Maybe we could do a pre-check (like used to happen for Unicode copy)
to improve the user experience and prevent users from deleting non-
empty containers?
Traceback:
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/actions.py" in action
556. return self.delete(request, obj_id)
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/containers/tables.py" in delete
45. api.swift_delete_container(request, obj_id)
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/swift.py" in swift_delete_container
148. swift_api(request).delete_container(name)
File "/opt/stack/python-swiftclient/swiftclient/client.py" in delete_container
1065. return self._retry(None, delete_container, container)
File "/opt/stack/python-swiftclient/swiftclient/client.py" in _retry
1000. rv = func(self.url, self.token, *args, **kwargs)
File "/opt/stack/python-swiftclient/swiftclient/client.py" in delete_container
662. http_response_content=body)
Exception Type: ClientException at /project/containers/
Exception Value: Container DELETE failed: http://192.168.100.128:8080/v1/AUTH_be01f04af46546edb9a03a4daaa5c5f4/Test 409 Conflict [first 60 chars of response] <html><h1>Conflict</h1><p>There was a conflict when trying t
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1096084/+subscriptions