conflicting commands between horizon and cli can cause object to be uploaded with no container
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I uploaded a file to a container in cli while at the same time deleting the container in horizon
I can see the container exists in horizon but fail to retrieve object list.
when I run swift list in horizon I can see a container but cannot delete it:
[root@nott-vdsa tmp(keystone_
bla
[root@nott-vdsa tmp(keystone_
Container 'bla' not found
[root@nott-vdsa tmp(keystone_
way to reproduce:
create a container with no objects.
log in to horizon and press the delete container
press the OK for delete while at the same time run upload to a file in cli:
[root@nott-vdsa tmp(keystone_
packstack-
[root@nott-vdsa tmp(keystone_
bla
[root@nott-vdsa tmp(keystone_
Container 'bla' not found
result:
we can see a container but cannot remove it in cli and we cannot retrieve objects from horizon.
Can you confirm the object-updater and container- replicator have run - I would expect the object create would have recreated the container?
The container-updater will correct the account listing.