Hide Forgot
Description of problem: ======================= Horizon displays two contradictory Messages when a user deletes a non empty swift container. In addition to that, The Swift container is not really deleted. Version-Release number of selected component (if applicable): ============================================================= Grizzly sync Puddle: 2013-08-15.1 python-django-horizon-2013.1.3-1.el6ost.noarch How reproducible: ================= Always Steps to Reproduce: =================== 1. Login and Browse to: http://<HOST_FQDN>/dashboard/project/containers/ 2. Create a Swift container via Horizon. 3. Upload an object to that container. 4. Click Delete Container. Actual results: =============== Both messages: Warning: The container cannot be deleted since it's not empty. Success: Deleted Container: test_container Expected results: ================= I'm not sure what is the expected result here, Meaning whether the container should be deleted or not. According to: https://bugs.launchpad.net/horizon/+bug/1096084/comments/6 , the container content should be deleted recursively.
Created attachment 788774 [details] screen shot
jpichon mentioned that this reproduces in Havana
The bug comment referenced mentions 2 options, and the path followed in the patch was to display a warning message (option #1). We definitely shouldn't have both a warning message and a success message though.
Committed upstream in Icehouse 1 (commit 52957cc7d9).
This was merged during upstream Icehouse and should already be available in our packages.
Verified on python-django-horizon-2014.1-7.el7ost.noarch, trying to delete a non empty container will only show the not empty error.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2014-0855.html