Ask Your Question
0

Cannot upload object to swift storage? [closed]

asked 2015-09-28 09:00:39 -0600

soumitrakarmakar gravatar image

Object PUT returning 503

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by soumitrakarmakar
close date 2015-09-30 05:08:35.618033

Comments

Check the log. Swift normally logs into the system log, but if you use devstack, you may have a separate log file /opt/stack/logs/s-proxy-blabla. Depends on your setup.

Bernd Bausch gravatar imageBernd Bausch ( 2015-09-28 21:35:09 -0600 )edit

I checked the logs in /var/log/swift/swift.log no error other than this.

soumitrakarmakar gravatar imagesoumitrakarmakar ( 2015-09-28 23:52:44 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-09-30 01:45:42 -0600

soumitrakarmakar gravatar image

swift-init all start command results in the below error

container-updater running (4196 - /etc/swift/container-server.conf) container-updater already started... account-auditor running (4197 - /etc/swift/account-server.conf) account-auditor already started... object-replicator running (4198 - /etc/swift/object-server.conf) object-replicator already started... Starting container-sync...(/etc/swift/container-server.conf) container-replicator running (4200 - /etc/swift/container-server.conf) container-replicator already started... object-auditor running (4201 - /etc/swift/object-server.conf) object-auditor already started... Starting object-expirer...(/etc/swift/object-expirer.conf) swift-object-expirer does not exist container-auditor running (4203 - /etc/swift/container-server.conf) container-auditor already started... Starting container-server...(/etc/swift/container-server.conf) object-reconstructor running (4205 - /etc/swift/object-server.conf) object-reconstructor already started... Starting object-server...(/etc/swift/object-server.conf) account-reaper running (4207 - /etc/swift/account-server.conf) account-reaper already started... Starting proxy-server...(/etc/swift/proxy-server.conf) swift-proxy-server does not exist account-replicator running (4208 - /etc/swift/account-server.conf) account-replicator already started... object-updater running (4209 - /etc/swift/object-server.conf) object-updater already started... Starting container-reconciler...(/etc/swift/container-reconciler.conf) swift-container-reconciler does not exist Starting account-server...(/etc/swift/account-server.conf) Traceback (most recent call last): File "/bin/swift-container-sync", line 23, in <module> run_daemon(ContainerSync, conf_file, *options) File "/usr/lib/python2.7/site-packages/swift/common/daemon.py", line 110, in run_daemon klass(conf).run(once=once, *kwargs) File "/usr/lib/python2.7/site-packages/swift/container/sync.py", line 225, in __init__ internal_client_conf, 'Swift Container Sync', request_tries) File "/usr/lib/python2.7/site-packages/swift/common/internal_client.py", line 141, in __init__ allow_modify_pipeline=allow_modify_pipeline) File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 382, in loadapp ctx = loadcontext(loadwsgi.APP, conf_file, global_conf=global_conf) File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 362, in loadcontext return uri.get_context(object_type, name, global_conf) File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 62, in get_context object_type, name=name, global_conf=global_conf) File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 450, in get_context global_additions=global_additions) File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 559, in _pipeline_app_context APP, pipeline[-1], global_conf) File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 62, in get_context object_type, name=name, global_conf=global_conf) File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 454, in get_context section) File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 476, in _context_from_use object_type, name=use, global_conf=global_conf) File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 62, in get_context object_type, name=name, global_conf=global_conf) File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 406, in get_context global_conf=global_conf) File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext global_conf=global_conf) File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 328, in _loadegg return loader.get_context(object_type, name, global_conf) File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 620, in get_context object_type, name=name) File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 646, in find_egg_entry_point possible.append((entry.load(), protocol, entry.name)) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260 ... (more)

edit flag offensive delete link more

Comments

The issue is resolved, it was due to the ring builder, had an port mis-configured.

soumitrakarmakar gravatar imagesoumitrakarmakar ( 2015-09-30 05:08:21 -0600 )edit

how you managed to upload an object? can you please briefly explain procedure?

Bhagyashri gravatar imageBhagyashri ( 2016-05-31 19:31:23 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-09-28 09:00:39 -0600

Seen: 245 times

Last updated: Sep 30 '15