OpenStack Object Storage (Swift)

minimal swift does not give results

Asked by dubi on 2012-05-29

1)
  I installed swift with minimal config (key, mysql,swift) . finished ok . keystone responds but running exercise/swift.sh
   returns (at the end ) the following :

  + swift stat
 Account not found
+ swift post ex-swift
 Container PUT failed: http://9.148.4.71:8080/v1/AUTH_846e22303caf41bb8d8fddceb7854634/ex-swift 403 Forbidden [first 60 chars of response] <html><head><title>Apache Tomcat/6.0.32 - Error report</titl
+ swift upload ex-swift /etc/issue
 Error trying to create container 'ex-swift': 403 Forbidden: <html><head><title>Apache Tomcat/6.0.32 - Error report</titl
 Object PUT failed: http://9.148.4.71:8080/v1/AUTH_846e22303caf41bb8d8fddceb7854634/ex-swift/etc/issue 403
 Forbidden [first 60 chars of response] <html><head><title>Apache Tomcat/6.0.32 - Error report</titl
+ swift list ex-swift
 Container 'ex-swift' not found
+ swift delete ex-swift
 Container 'ex-swift' not found

 /etc/swift/proxy-server.conf has :

[DEFAULT]
bind_port = 8080
user = stack
swift_dir = /etc/swift
workers = 1
log_name = swift
log_facility = LOG_LOCAL1
log_level = DEBUG

[app:proxy-server]
use = egg:swift#proxy
allow_account_management = true
account_autocreate = true

Q: why account was not formed automatically .
    why user = stack and not admin OR swift

2) So I tried to reboot and now kwystone is not operational . when I run 'keystone catalog' I get :

  No handlers could be found for logger "keystoneclient.client"
Authorization Failed: Unable to communicate with identity service: [Errno 111] Connection refused. (HTTP 400)

  running /opt/stack/keystone/bin/kesystone-all hangs

Any idea ?

thanks

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Solved by:
dubi
Solved:
2012-05-30
Last query:
2012-05-30
Last reply:
dubi (dubi-il) said : #1

solved