Ask Your Question
0

Swift installation failed

asked 2011-04-28 17:01:39 -0500

Hi everyone today i tried to install Swift using the guide at http://swift.openstack.org/development_saio.html (http://swift.openstack.org/developmen...) , When i run the test "cd ~/swift/trunk; ./.unittests" this is what is put out

root@ACRS-HVM1:~/bin# cd ~/swift/trunk; ./.unittests ..........................................SSSSSSSS..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/eventlet/hubs/hub.py", line 329, in fire_timers timer() File "/usr/lib/pymodules/python2.6/eventlet/hubs/timer.py", line 56, in __call__ cb(args, *kw) TypeError: exceptions must be classes, or instances, not str

EF............................................................................................

ERROR: test_acc_or_con_missing_returns_404 (test.unit.proxy.test_server.TestObjectController)

Traceback (most recent call last): File "/root/swift/trunk/test/unit/proxy/test_server.py", line 1329, in test_acc_or_con_missing_returns_404 resp = getattr(controller, 'DELETE')(req) File "/root/swift/trunk/swift/proxy/server.py", line 81, in wrapped return func(a, *kw) File "/root/swift/trunk/swift/proxy/server.py", line 97, in wrapped return func(a, *kw) File "/root/swift/trunk/swift/proxy/server.py", line 1115, in DELETE partition, 'DELETE', req.path_info, headers) File "/root/swift/trunk/swift/proxy/server.py", line 531, in make_requests response = [resp for resp in pile if resp] File "/usr/lib/pymodules/python2.6/eventlet/greenpool.py", line 218, in next return self.waiters.get().wait() File "/usr/lib/pymodules/python2.6/eventlet/greenthread.py", line 166, in wait return self._exit_event.wait() File "/usr/lib/pymodules/python2.6/eventlet/event.py", line 116, in wait return hubs.get_hub().switch() File "/usr/lib/pymodules/python2.6/eventlet/hubs/hub.py", line 172, in switch return self.greenlet.switch() MessageTimeout: 42 seconds: my error message

======================================================================

FAIL: test_bad_metadata (test.unit.proxy.test_server.TestObjectController)

Traceback (most recent call last): File "/root/swift/trunk/test/unit/proxy/test_server.py", line 1427, in test_bad_metadata self.assertEquals(resp.status_int, 201) AssertionError: 503 != 201

Name Stmts Exec Cover Missing

swift 3 3 100% swift.account 0 0 100% swift.account.auditor 57 12 21% 30-37, 41-62, 66-84, 93-103 swift.account.reaper 204 23 11% 55-74, 78-82, 86-90, 94-98, 106-113, 122-132, 147-174, 213-266, 304-364, 387-415 swift.account.replicator 8 8 100% swift.account.server 215 171 79% 62-63, 66, 69, 82-83, 86, 114, 137-138, 141, 156-158, 172, 255-269, 275-276, 280, 283, 286, 301, 307-311, 315, 327, 335-337 swift.common 0 0 100% swift.common.bench 177 31 17% 32-33, 36, 42-78, 83-84, 91-104, 107-116, 119, 125-129, 132-139, 145-148, 151-157, 161-177, 183-186, 189-205, 211-218, 222-248 swift.common.bufferedhttp 64 46 71% 64-65, 122, 124, 155-169 swift.common.client 428 327 76% 28-29, 33-34, 39-43, 82, 124, 129, 134, 188-191, 217-225, 229, 231, 233, 249, 293-302, 332-344, 349, 351, 353, 355, 370, 399-402, 447-457, 520-533, 562-565, 599, 601, 603, 605, 616-627, 750, 754, 775, 797 swift.common.compressing_file_reader 31 31 100% swift.common.constraints 73 73 100% swift.common.daemon 38 35 92% 46-48 swift.common.db 730 631 86% 134-135, 230, 241, 298-301, 336-342, 354-356, 407-409, 425, 466, 472-474, 498-501, 529-535, 547, 582, 594, 597, 651, 732-734, 750, 762-763, 770-772, 800-803, 835, 841, 843, 866-868 ... (more)

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2011-04-30 06:24:47 -0500

Thanks David Goetz, that solved my question.

edit flag offensive delete link more
0

answered 2011-04-29 19:52:27 -0500

david-goetz gravatar image

This is a bug with one of the unit tests where a MessageTimeout(42) seconds is created. Basically it sets a timer to throw an exception in 42 seconds. We haven't come across it before because most of the time the unit tests finish before 42 seconds have passed. This does not mean that anything is wrong with your SAIO. I'll file a bug report. Thanks for finding the bug,

David

edit flag offensive delete link more
0

answered 2011-04-28 18:29:46 -0500

root@ACRS-HVM1:~/swift/trunk# cd ~/swift/trunk; ./.unittests ..........................................SSSSSSSS.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/eventlet/hubs/hub.py", line 329, in fire_timers timer() File "/usr/lib/pymodules/python2.6/eventlet/hubs/timer.py", line 56, in __call__ cb(args, *kw) TypeError: exceptions must be classes, or instances, not str

E..................................................................................

ERROR: test_chunked_put_lobjects (test.unit.proxy.test_server.TestObjectController)

Traceback (most recent call last): File "/root/swift/trunk/test/unit/proxy/test_server.py", line 2226, in test_chunked_put_lobjects headers = readuntil2crlfs(fd) File "/root/swift/trunk/test/unit/__init__.py", line 16, in readuntil2crlfs c = fd.read(1) File "/usr/lib/python2.6/socket.py", line 353, in read data = self._sock.recv(left) File "/usr/lib/pymodules/python2.6/eventlet/greenio.py", line 228, in recv timeout_exc=socket.timeout("timed out")) File "/usr/lib/pymodules/python2.6/eventlet/hubs/__init__.py", line 121, in trampoline return hub.switch() File "/usr/lib/pymodules/python2.6/eventlet/hubs/hub.py", line 172, in switch return self.greenlet.switch() MessageTimeout: 42 seconds: my error message -------------------- >> begin captured logging << -------------------- root: DEBUG: HTTP PERF: 0.02986 seconds to HEAD 127.0.0.1:43757 /sda1/0/a) root: DEBUG: HTTP PERF: 0.11260 seconds to PUT 127.0.0.1:52214 /sdb1/0/a/segmented) root: DEBUG: HTTP PERF: 0.08216 seconds to PUT 127.0.0.1:43757 /sda1/0/a/segmented) root: DEBUG: HTTP PERF: 0.18216 seconds to PUT 127.0.0.1:37564 /sdb1/1/a/segmented) root: DEBUG: HTTP PERF: 0.18708 seconds to PUT 127.0.0.1:38779 /sda1/1/a/segmented) root: DEBUG: HTTP PERF: 0.04385 seconds to HEAD 127.0.0.1:43757 /sda1/0/a) root: DEBUG: HTTP PERF: 0.03022 seconds to HEAD 127.0.0.1:37564 /sdb1/1/a/segmented) root: DEBUG: HTTP PERF: 0.05142 seconds to PUT 127.0.0.1:37564 /sdb1/1/a/segmented/name/0) root: DEBUG: HTTP PERF: 0.06027 seconds to PUT 127.0.0.1:38779 /sda1/1/a/segmented/name/0) root: DEBUG: HTTP PERF: 0.14660 seconds to PUT 127.0.0.1:43241 /sda1/0/a/segmented/name/0) root: DEBUG: HTTP PERF: 0.15407 seconds to PUT 127.0.0.1:40254 /sdb1/0/a/segmented/name/0) root: DEBUG: HTTP PERF: 0.03083 seconds to HEAD 127.0.0.1:43757 /sda1/0/a) root: DEBUG: HTTP PERF: 0.04245 seconds to HEAD 127.0.0.1:37564 /sdb1/1/a/segmented) root: DEBUG: HTTP PERF: 0.05871 seconds to PUT 127.0.0.1:37564 /sdb1/1/a/segmented/name/1) root: DEBUG: HTTP PERF: 0.06297 seconds to PUT 127.0.0.1:38779 /sda1/1/a/segmented/name/1) root: DEBUG: HTTP PERF: 0.15525 seconds to PUT 127.0.0.1:43241 /sda1/2/a/segmented/name/1) root: DEBUG: HTTP PERF: 0.15922 seconds to PUT 127.0.0.1:40254 /sdb1/2/a/segmented/name/1) root: DEBUG: HTTP ... (more)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-04-28 17:01:39 -0500

Seen: 52 times

Last updated: Apr 30 '11