Search code examples
openstackopenstack-swift

Does POST request to /v1/<account-name> in OpenStack Swift create that account?


I'm having trouble interpreting this page: http://docs.openstack.org/api/openstack-object-storage/1.0/content/POST_updateAccountMeta__v1__account__storage_account_services.html

It says that the POST request to account/ should update that account's metadata. It looks like it means that an account is not created, if there is a POST request to a non-existent account/. Right?

However, observing network traffic in SAIO (swift all in one), I see that the first thing that SAIO functional tests do is issue this request:

POST /v1/6fa5758df0d5463283c1fae5d1b32b27

I am pretty sure that this account does not exist. Is Swift looking to create that account with that POST request?


Solution

  • The documentation for the OpenStack Object Storage API v1 does not describe a method for creating an account through that service. Accounts are created through one of the following API methods, depending on the authentication service being used: