I have a feeling that the issue is with my swift setup. However, I’m rather 
stuck.

My auth pipeline is setup as such:
pipeline = healthcheck cache authtoken keystoneauth staticweb proxy-server

I only recently have setup staticweb, and I still cannot access the public 
facing URL for swift.

I can use the swift utilities.

Some Debug information:
Keystone service-list
| ea403f4f5bab475a8c9fbe8f0b837be3 |  swift   | object-store |   Object Storage 
Service  |

Keystone endpoint-list
| f77ffed647514ea19bda91e2b4354c1d | RegionOne | 
http://10.10.13.180:8080/v1/AUTH_$(tenant_id)s | 
http://10.10.13.180:8080/v1/AUTH_$(tenant_id)s |        
http://10.10.13.180:8080/v1        | ea403f4f5bab475a8c9fbe8f0b837be3 |

URL I tried:
http://10.10.13.180:8080/v1/AUTH_[Admin 
tenate]/juju-dist/v1/index.json<http://10.10.13.180:8080/v1/AUTH_%5bAdmin%20tenate%5d/juju-dist/v1/index.json>
http://10.10.13.180:8080/juju-dist/v1/index.json
All of these give me a 401 error.

I keep getting the error in Syslog, and I’m not sure how to get Debug level 
errors:

Aug 20 16:30:42 openstackdev01 proxy-server Unable to find authentication token 
in headers
Aug 20 16:30:42 openstackdev01 proxy-server Invalid user token - rejecting 
request
Aug 20 16:30:44 openstackdev01 proxy-server Unable to find authentication token 
in headers
Aug 20 16:30:44 openstackdev01 proxy-server Invalid user token - rejecting 
request
Aug 20 16:30:44 openstackdev01 proxy-server Unable to find authentication token 
in headers
Aug 20 16:30:44 openstackdev01 proxy-server Invalid user token - rejecting 
request
Aug 20 16:30:45 openstackdev01 proxy-server Unable to find authentication token 
in headers
Aug 20 16:30:45 openstackdev01 proxy-server Invalid user token - rejecting 
request
Aug 20 16:30:45 openstackdev01 proxy-server Unable to find authentication token 
in headers
Aug 20 16:30:45 openstackdev01 proxy-server Invalid user token - rejecting 
request

Any thoughts?

-Steven Hicks
  Solutions Engineer
  Avnet Services (formerly Seamless Technologies Inc.)
  Office: +1 773 639 4219
  Email: [email protected]

It's ok, juju will try some version of the files first (sjon stands for signed 
json I believe).

Ok, back to basics, I have no other ideas. See if you can get this to work:
swift post somecontainer
swift upload somecontainer/data/files somefile.txt
swift post -r ".r:*" somecontainer
wget <public-bucket-url>/somecontainer/data/files/somefile.txt

See if that wget gives you back the file you uploaded. This has to work. If 
not, then I suspect the public-bucket-url you are using is not the publicURL 
from the object-store service in the output of the "keystone catalog" command, 
or there is some misconfiguration in the swift service of your cloud.





CONFIDENTIALITY NOTICE: This email communication is intended only for the 
personal and confidential use of the recipient(s) designated above and may 
contain information which is subject to Federal and/or State privacy laws. In 
the event that you are not the intended recipient or the agent of the intended 
recipient, you are hereby notified that any review, disclosure, or use of the 
information contained herein is strictly prohibited. Do not copy or use the 
information contained within this communication, or allow it to be read, copied 
or utilized in any manner by any other person(s). If you have received this 
communication in error, please notify the sender immediately, either by 
response e-mail or by phone, and permanently delete the original e-mail, any 
attachment(s), and copies.

-- 
Juju mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to