[rhos-list] Swift validation error

Pete Zaitcev zaitcev at redhat.com
Thu Jul 11 17:42:24 UTC 2013


On Thu, 11 Jul 2013 17:09:14 +0000
"Chen, Hao" <Hao.Chen at NRCan-RNCan.gc.ca> wrote:

> Thanks Pete. The document is Red Hat OpenStack Red Hat OpenStack 3.0 (Grizzly) Preview Installation and Configuration Guide.

Thanks. I verified that it has the correct syntax for --publicurl.
However, I used the currently published version, because it appears
we may be reading different versions.

> (1) When running "swift-ring-builder /etc/swift/object_builder_file create part_power replica_count min_part_hours", the name of "object_builder_file" has to be "object", same as "account" and "container". Any different names will cause openstack-swift-proxy stop working. 

Okay, this sounds about correct, if perhaps needlessly complex.
However, I do not see any such phraseology in this document:
 https://access.redhat.com/site/documentation/en-US/Red_Hat_OpenStack_Preview/3/html/Installation_and_Configuration_Guide/Building_Object_Storage_Ring_Files.html

What is the URL where you got your version, or if that is not
available, what is the version? It has to say something like
"Revision 3-29" at the very end of the document.

> (2) When running "swift-ring-builder /etc/swift/account_builder_file add zX-node_ip_address:600Y/device_mountpoint partition_count", if using a different IP address other than 127.0.0.1, "bind_ip" in account-server.conf/container-server.conf/object-server.conf has to be changes accordingly.

True. Well, default is actually 0.0.0.0, but you need to verify
that Packstack or other tool didn't overwrite bind_ip with 127.0.0.1.

> (3) An error occurred when 
> [root at cloud1 ~(keystone_admin)]# head -c 1024 /dev/urandom > data.file ; swift upload cotainer data.file
> Error trying to create container 'cotainer': 503 Internal Server Error: <html><h1>Service Unavailable</h1><p>The server is currently
> Object PUT failed: http://10.2.0.196:8080/v2.0/AUTH_35caeda3b4d84d1582e675c2f871a00c/cotainer/data.file 503 Service Unavailable  [first 60 chars of response] <html><h1>Service Unavailable</h1><p>The server is currently

Wait a moment, this can't possibly be right, because prefix is "/v2.0"
instead of "/v1" as proper for Swift. Authentication has various versions
there, but Swift does not, at least not yet.

The authenticated account pattern looks good.

> But "c1" has been created. It was able to create the container but failed to load the file to the container.

Not sure how that happened. Perhaps it stayed there before changes
in Keystone.

-- Pete




More information about the rhos-list mailing list