Creating existing container - swift client
Bug #1493810 reported by
cooldharma06
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-swiftclient |
New
|
Undecided
|
Unassigned |
Bug Description
i have my swift in my VM. i installed python-swiftclient by pip.
and its version 2.6.0
i created one contianer with name 'sample'. in that container i uploaded some objects .
then again i tired to create a new container with same name (sample). it shows with different xtransid. still i have my old container 'sample'.
it doesn't asking the user to overwrite or create; not showing any error messages.
i tried with both python-swiftclient & python-
To post a comment you must log in.
I don't yet see a bug here - the transid is just a record of the API request transaction id. "Creating" the same container name twice should only result in one container. There is no "overwrite" of an existing container.
How did you create your container? if you use:
swift post sample
then sample is created if it does not already exist, see:
swift post -h
If you use
swift upload sampler obj
then the container is also only created if it did not yet exist.