Need clarification X-Container-Write header's Value to make Container Public Writable
Issue is,
While Trying to Make container public-writable, and create object anonymously, e.g. without using credentials/with another user credentials 401 and 403 are being raised.
Header provided in the request to make container public writable is as below
cont_headers = {'X-Container-
By doing the above container metadata is updated with X-Container-Write header
Now trying to create an object in the above container
A. Without auth token
headers1 = {'Content-Type': 'application/json',
B. With another user's auth token
headers2 = {'Content-Type': 'application/json',
Below are response results in nosetests for the respective headers to create an object
=======
FAIL: Make container public-writable, and create object
-------
Traceback (most recent call last):
File "/home/
" creds raised exception is %s" % e)
AssertionError: Failed to create public writable object without using creds raised exception is Unauthorized
-------
tempest.
tempest.
tempest.
tempest.
-------
=======
FAIL: Make container public-writable, and create object
-------
Traceback (most recent call last):
File "/home/
" user creds raised exception is %s" % e)
AssertionError: Failed to create public writable object with another user creds raised exception is Unauthorized
-------
tempest.
tempest.
tempest.
tempest.
-------
-------
Here can anybody please clarify on proper header to be used to make container public Writeable / Can this be done actually ?
Thanks in advance,
Harika
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Ravikumar Venkatesan
- Solved:
- Last query:
- Last reply: