Re: [Openstack] Swift + Keystone integration problem

2013-02-04 Thread Chmouel Boudjnah
you need to add the proxy-logging middleware, see swift's default proxy-server.conf https://github.com/openstack/swift/blob/master/etc/proxy-server.conf-sample Chmouel. On Mon, Feb 4, 2013 at 10:37 AM, Andrey V. Romanchev < andrey.romanc...@gmail.com> wrote: > [pipeline:main] > pipeline = catch

Re: [Openstack] Swift + Keystone integration problem

2013-02-04 Thread Chmouel Boudjnah
you seem to use ssl with a http:// url. Chmouel. On Mon, Feb 4, 2013 at 10:38 AM, Andrey V. Romanchev < andrey.romanc...@gmail.com> wrote: > Of course. > > # cat /etc/swift/proxy-server.conf > [DEFAULT] > cert_file = /etc/swift/cert.crt > key_file = /etc/swift/cert.key > bind_port = > bind

Re: [Openstack] Swift + Keystone integration problem

2013-02-04 Thread Andrey V. Romanchev
Of course. # cat /etc/swift/proxy-server.conf [DEFAULT] cert_file = /etc/swift/cert.crt key_file = /etc/swift/cert.key bind_port = bind_ip = workers = 8 user = swift log_facility = LOG_LOCAL1 log_level = DEBUG [pipeline:main] pipeline = catch_errors healthcheck cache authtoken keystone prox

Re: [Openstack] Swift + Keystone integration problem

2013-02-04 Thread Andrey V. Romanchev
[pipeline:main] pipeline = catch_errors healthcheck cache authtoken keystone proxy-server How to add log messages to middleware components? 2013/2/1 David Goetz > I'm sorry- I didn't read that part about the proxy restart :) The proxy > may not log if it gets hung up in some middleware. What

Re: [Openstack] Swift + Keystone integration problem

2013-02-01 Thread Chmouel Boudjnah
You probably want to past your proxy-server.conf this may be helpful for us to help you. Chmouel. On Fri, Feb 1, 2013 at 8:49 PM, David Goetz wrote: > I'm sorry- I didn't read that part about the proxy restart :) The proxy > may not log if it gets hung up in some middleware. What middleware do

Re: [Openstack] Swift + Keystone integration problem

2013-02-01 Thread David Goetz
I'm sorry- I didn't read that part about the proxy restart :) The proxy may not log if it gets hung up in some middleware. What middleware do you have running? You can try adding in some log messages into the middleware you have running to find out where. On Feb 1, 2013, at 1:37 PM, David G

Re: [Openstack] Swift + Keystone integration problem

2013-02-01 Thread David Goetz
Sounds like swift isn't listening on that port. What is the bind_port in your proxy-server.conf? On Feb 1, 2013, at 12:53 PM, Andrey V. Romanchev wrote: > Hello! > I've installed swift + keystone and have incomprehensible problem > > First of all I get auth tokens > curl -d '{"auth": {"tenantN

[Openstack] Swift + Keystone integration problem

2013-02-01 Thread Andrey V. Romanchev
Hello! I've installed swift + keystone and have incomprehensible problem First of all I get auth tokens curl -d '{"auth": {"tenantName": "service", "passwordCredentials":{"username": "swift", "password": "swiftpass"}}}' -H "Content-type: application/json" http://:5000/v2.0/tokens | python -mjson.t

Re: [Openstack] Swift + keystone integration

2012-08-13 Thread Miguel Alejandro González
hey guys thanks it worked, i had a different address saved in the keystone endpoint for swift, but I still get the same error on the dashboard. here's the command that worked and the output: swift -v -V 2.0 -A http://10.17.12.163:5000/v2.0/ -U admin:admin -K admin stat StorageURL: http://10.17.13

Re: [Openstack] Swift + keystone integration

2012-08-11 Thread Kuo Hugo
I used to debug via curl for separating the AUTH section(Keystone) and Data Section(Swift-proxy) . #>curl -v -d {%json%} http://keystone_ip:port/v2.0 #>curl -H "X-AUTH-TOKEN: %TOKEN%" http://swift_ip:port/v1/AUTH_%account% And monitor the log on both keystone and swift. Several Steps you can

Re: [Openstack] Swift + keystone integration

2012-08-11 Thread John Dickinson
Make sure that the endpoint stored in keystone is returning the right hostname/domain name and port (8080 based on your config). --John On Aug 11, 2012, at 12:58 PM, Miguel Alejandro González wrote: > Hello > > I have 3 nodes with ubuntu 12.04 server and installed openstack with packages >

[Openstack] Swift + keystone integration

2012-08-11 Thread Miguel Alejandro González
Hello I have 3 nodes with ubuntu 12.04 server and installed openstack with packages from the ubuntu repos - controller (where keystone is installed) - compute - swift I'm trying to configure Swift with Keystone but I'm having some problems, here's my proxy-server.conf [DEFAULT] bind_po