Hi,

On Tue, Nov 18, 2014 at 12:27 AM, Clay Gerrard <clay.gerr...@gmail.com>
wrote:

> 401 seems to indicate the token you're getting from keystone isn't able to
> be validated by the swift proxy.
>
> Maybe the proxy logs or keystone logs will indicate if keystone thinks
> AUTH_ca382398c06749f483d4adfa6cecd868 is a valid token?
>
> -Clay
>
>

My issue is resolved, I had to provide the bind_ip = 0.0.0.0 in the files
account-server.conf, container-server.conf, object-server.conf in the
/etc/swift directory.

I also recreated the rings

swift-ring-builder account.builder create 10 3 1
swift-ring-builder account.builder add
r1z1-single_node_controller_ip_address:6002/swift 100
swift-ring-builder account.builder
swift-ring-builder account.builder rebalance

swift-ring-builder container.builder create 10 3 1
swift-ring-builder container.builder add
r1z1-single_node_controller_ip_address:6001/swift 100
swift-ring-builder container.builder
swift-ring-builder container.builder rebalance

swift-ring-builder object.builder create 10 3 1
swift-ring-builder object.builder add
r1z1-single_node_controller_ip_address:6000/swift 100
swift-ring-builder object.builder
swift-ring-builder object.builder rebalance

I am able to get the following output for swift stat.

root@juno-14:~# swift stat
                     Account: AUTH_ca382398c06749f483d4adfa6cecd868
                  Containers: 2
                     Objects: 1
                       Bytes: 306
Objects in policy "policy-0": 1
  Bytes in policy "policy-0": 306
                 X-Timestamp: 1416841903.34267
                  X-Trans-Id: tx8318107dd43140238a5f9-00547410e4
                Content-Type: text/plain; charset=utf-8
               Accept-Ranges: bytes
root@juno-14:~#


I created 2 containers 'test1' which is private and 'public-container'
which is public.

'swift list' is able to list both containers.

root@juno-14:~# swift list
public-container
test1
root@juno-14:~#


I am also able to download the files from the containers.

Thanks to the community for the pointers.


Regards,
-- 
Vivek Varghese Cherian
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to