[Openstack-operators] SWIFT: how to deactivate container sync for a particular container?

Judd Maltin openstack at newgoliath.com
Wed Jan 4 22:53:37 UTC 2012


Hey everyone!

How can I shut down container sync for just this container?


root at proxy02-c01:/etc/swift# curl -i -XPOST -H 'x-auth-token:
AUTH_tk39cf30deaeb04ff4a83d02544bc8edb5' -H 'X-Container-Sync-To: ""'
-H 'X-Container-Sync-Key: secret'
https://example.net:8080/v1/AUTH_2c96271e-cf06-4eec-80a8-9441e3d1cf40/aaa
HTTP/1.1 400 Bad Request
Content-Type: text/html; charset=UTF-8
Date: Wed, 04 Jan 2012 22:32:45 GMT
X-Trans-Id: tx3c142fabff79437ab382dc47eb67e2cb
Connection: close
Content-Length: 187

400 Bad Request

The server could not comply with the request since it is either
malformed or otherwise incorrect.

 Invalid scheme '' in X-Container-Sync-To, must be "http" or "https".
root at proxy02-c01:/etc/swift#

Thanks!
-judd



More information about the Openstack-operators mailing list