Internal Server Error 500+503 / Object-Store - Essex
Okay so I'm currently having a problem with swift after installing it. I'm testing in a VMWare environment right now and I made a separate VM specifically for running Swift. Installed and configured and I went through the installation with no problem, ( swift-account, swift-object, swift-container, proxy, remakerings etc etc.)
First problem I noticed is when I did:
#sudo service swift-object restart
stop: Unknown instance: [OK]
start: Job failed to start
That was my first uh oh moment. Then I ran a swift test after restarting everything,
I tried to ignore the problem but it seemed to only get worse when I added swift to my Keystone Identity service (including endpoint), everything went downhill from there..
root@ubuntu:# swift -V 2.0 -A http://
Auth GET failed: http://
Here are some of the things you might find helpful in helping me
*******
remake rings bash
root@ubuntu:
root@ubuntu:
Device z1-127.
Device z2-127.
Device z3-127.
Device z4-127.
Reassigned 262144 (100.00%) partitions. Balance is now 0.00.
Device z1-127.
Device z2-127.
Device z3-127.
Device z4-127.
Reassigned 262144 (100.00%) partitions. Balance is now 0.00.
Device z1-127.
Device z2-127.
Device z3-127.
Device z4-127.
Reassigned 262144 (100.00%) partitions. Balance is now 0.00.
*******
authtoken
root@ubuntu:
* About to connect() to 127.0.0.1 port 8080 (#0)
* Trying 127.0.0.1... connected
> GET /auth/v1.0 HTTP/1.1
> User-Agent: curl/7.22.0 (x86_64-
> Host: 127.0.0.1:8080
> Accept: */*
> X-Storage-User: test:tester
> X-Storage-Pass: testing
>
< HTTP/1.1 200 OK
< X-Storage-Url: http://
< X-Storage-Token: AUTH_tk38b27e0f
< X-Auth-Token: AUTH_tk38b27e0f
< Content-Length: 0
< Date: Tue, 20 Nov 2012 16:31:25 GMT
<
* Connection #0 to host 127.0.0.1 left intact
* Closing connection #0
root@ubuntu:
* About to connect() to 127.0.0.1 port 8080 (#0)
* Trying 127.0.0.1... connected
> GET /v1/AUTH_test HTTP/1.1
> User-Agent: curl/7.22.0 (x86_64-
> Host: 127.0.0.1:8080
> Accept: */*
> X-Auth-Token: AUTH_tk38b27e0f
>
< HTTP/1.1 503 Internal Server Error
< Content-Type: text/html; charset=UTF-8
< Content-Length: 0
< Date: Tue, 20 Nov 2012 16:32:56 GMT
<
* Connection #0 to host 127.0.0.1 left intact
* Closing connection #0
*******
CONFIG FILES
*******
object-server.conf
[DEFAULT]
bind_ip = 0.0.0.0
workers = 2
[pipeline:main]
pipeline = object-server
[app:object-server]
use = egg:swift#object
[object-replicator]
[object-updater]
[object-auditor]
*******
/etc/swift/
[DEFAULT]
devices = /srv/1/node
mount_check = false
bind_port = 6010
user = swift
log_facility = LOG_LOCAL2
[pipeline]
pipeline = object-server
[app:object-server]
use = egg:swift#object
[object-replicator]
vm_test_mode = yes
[object-updater]
[object-auditor]
*******
/etc/swift/
[DEFAULT]
devices = /srv/1/node
mount_check = false
bind_port = 6012
user = swift
log_facility = LOG_LOCAL2
[pipeline:main]
pipeline = account-server
[account-
vm_test_mode = yes
[account-auditor]
[account-reaper]
*******
/etc/swift/
[DEFAULT]
devices = /src/1/node
mount_check = false
bind_port = 6011
user = swift
log_facility = LOG_LOCAL2
[pipeline:main]
pipeline = container-server
[app:container-
use = egg:swift#container
[account-
vm_test_mode = yes
[account-updater]
[account-auditor]
[account-sync]
*******
/etc/swift/
[DEFAULT]
bind_port = 443
cert_file = /etc/swift/cert.crt
key_file = /etc/swift/cert.key
user = swift
log_facility = LOG_LOGICAL1
[pipeline:main]
pipeline = catch_errors healthcheck cache authtoken keystone proxy-server
[app:proxy-server]
use = egg:swift#proxy
account_autocreate = true
[filter:
use = egg:swift#
[filter:cache]
use = egg:swift#memcache
[filter:keystone]
paste.filter_
operator_roles = Member, admin
[filter:authtoken]
paste.filter_
service_port = 5000
service_host = 172.16.0.1
auth_port = 35357
auth_host = 172.16.0.1
auth_protocol = http
auth_token = ADMIN
admin_token = ADMIN
admin_tenant_name = service
admin_user = swift
admin_password = swift
cache = swift.cache
[filter:
use = egg:swift#
[filter:swift3]
use = egg:swift#swift3
*******
Everything had been going smooth until the swift test, I don't know if I misconfigured anything
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Tatenda Mupaso
- Solved:
- Last query:
- Last reply: