<div dir="ltr">Hi,<br><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 18, 2014 at 12:27 AM, Clay Gerrard <span dir="ltr"><<a href="mailto:clay.gerrard@gmail.com" target="_blank">clay.gerrard@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">401 seems to indicate the token you're getting from keystone isn't able to be validated by the swift proxy.<div><br></div><div>Maybe the proxy logs or keystone logs will indicate if keystone thinks <span style="font-size:12.7273px;font-family:arial,sans-serif">AUTH_</span><span style="font-size:12.7273px;font-family:arial,sans-serif">ca382398c06749f483d4adfa6cecd8</span><span style="font-size:12.7273px;font-family:arial,sans-serif">68 is a valid token?</span></div><div><span style="font-size:12.7273px;font-family:arial,sans-serif"><br></span></div><div><span style="font-size:12.7273px;font-family:arial,sans-serif">-Clay</span></div></div><div class="gmail_extra"><br></div></blockquote><div> </div><div><br></div><div>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.<br><br></div><div>I also recreated the rings <br><br>swift-ring-builder account.builder create 10 3 1<br>swift-ring-builder account.builder add r1z1-single_node_controller_ip_address:6002/swift 100<br>swift-ring-builder account.builder<br>swift-ring-builder account.builder rebalance<br><br>swift-ring-builder container.builder create 10 3 1<br>swift-ring-builder container.builder add r1z1-single_node_controller_ip_address:6001/swift 100<br>swift-ring-builder container.builder<br>swift-ring-builder container.builder rebalance<br><br>swift-ring-builder object.builder create 10 3 1<br>swift-ring-builder object.builder add r1z1-single_node_controller_ip_address:6000/swift 100<br>swift-ring-builder object.builder<br>swift-ring-builder object.builder rebalance<br><br></div><div>I am able to get the following output for swift stat.<br></div><div><br>root@juno-14:~# swift stat<br> Account: AUTH_ca382398c06749f483d4adfa6cecd868<br> Containers: 2<br> Objects: 1<br> Bytes: 306<br>Objects in policy "policy-0": 1<br> Bytes in policy "policy-0": 306<br> X-Timestamp: 1416841903.34267<br> X-Trans-Id: tx8318107dd43140238a5f9-00547410e4<br> Content-Type: text/plain; charset=utf-8<br> Accept-Ranges: bytes<br>root@juno-14:~#<br><br></div><div><br>I created 2 containers 'test1' which is private and 'public-container' which is public.<br><br>'swift list' is able to list both containers. <br></div><div><br>root@juno-14:~# swift list<br>public-container<br>test1<br>root@juno-14:~#<br><br><br></div><div>I am also able to download the files from the containers.<br><br></div><div>Thanks to the community for the pointers.<br></div><div><br></div><div><br>Regards,<br></div></div>-- <br><div class="gmail_signature">Vivek Varghese Cherian<br></div>
</div></div></div>