I was unable to get swift-proxy started. The init script reported no errors. It just appeared to start and immediately die off. running `swift-init proxy start` gave me this: Starting proxy-server...(/etc/swift/proxy-server.conf) Error trying to load config /etc/swift/proxy-server.conf: xattr>=0.4 The file /usr/lib/python2.7/site-packages/swift-1.7.6-py2.7.egg-info/requires.txt has the line xattr>=0.4 I changed it to pyxattr>=0.4 and it starts normally. Is this an upstream bug? Reproducible: Always Steps to Reproduce: 1. emerge sys-cluster/swift with USE="proxy" 2. swift-init proxy start 3. Actual Results: Starting proxy-server...(/etc/swift/proxy-server.conf) Error trying to load config /etc/swift/proxy-server.conf: xattr>=0.4 Expected Results: Starting proxy-server...(/etc/swift/proxy-server.conf)
can you run the function tests to make sure all is good?
unittest work (succeed). running into a issue on the account server (SAIO install) that is causing issues for the rest of the test, need to troubleshoot and fix before I can finish functests and probetests
all working, just need to add a dep to net-misc/rsync[xattr] cd ~/swift; ./.unittests ..............................................................................................................SSSSSSSS...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Name Stmts Miss Cover Missing ------------------------------------------------------------------------ swift.account 0 0 100% swift.account.auditor 75 60 20% 34-48, 51-75, 79-94, 99-105, 114-129 swift.account.reaper 225 179 20% 78-80, 84-86, 90-92, 100-107, 116-131, 146-174, 218-271, 309-384, 407-443 swift.account.replicator 7 0 100% swift.account.server 232 24 90% 129, 272-287, 334-338, 342, 354, 362-364 swift.common 0 0 100% swift.common.bench 306 249 19% 41-45, 51-60, 66, 80-82, 85, 88, 91-95, 98-100, 106-107, 110, 123-125, 128-166, 172-212, 218-219, 227-240, 243-253, 256, 286-299, 302-320, 324-342, 348-353, 356-365, 368, 371-382, 388-391, 394-411, 417-420, 423-440, 446-450, 453-486 swift.common.bufferedhttp 63 9 86% 70-74, 99, 131-133 swift.common.constraints 90 0 100% swift.common.daemon 46 5 89% 48-50, 92, 96 swift.common.db 803 126 84% 135-136, 231, 242, 260, 279, 289-293, 317-321, 347-350, 385-391, 403-405, 456-458, 474, 519-523, 526-534, 549, 578-584, 596, 631, 643, 646, 700, 783-785, 801, 815-816, 823-825, 853-856, 888, 894, 896, 919-921, 928, 949-951, 973, 976-979, 998, 1020-1026, 1071-1073, 1098, 1194, 1328, 1344-1345, 1352-1354, 1364-1366, 1399-1402, 1431, 1437, 1439, 1459-1473, 1487-1489, 1516-1518, 1545-1547, 1569, 1630 swift.common.db_replicator 400 125 69% 63, 257, 285-290, 294-299, 308, 364-366, 373, 375-377, 379, 387-394, 421, 430-431, 435-436, 458-459, 482, 498, 509-510, 512-523, 526, 536-545, 560-580, 583-630, 641-649, 655-666 swift.common.direct_client 203 182 10% 36-38, 59-90, 107-126, 148-179, 184-196, 220-239, 259-290, 316-349, 367-376, 400-412, 435-469 swift.common.exceptions 52 2 96% 26, 112 swift.common.http 77 0 100% swift.common.internal_client 193 2 99% 218, 220 swift.common.manager 329 2 99% 340-341 swift.common.memcached 221 23 90% 101-105, 121, 217-218, 241, 260-262, 290, 306-307, 342-343, 354-355, 378-381, 395-396 swift.common.middleware 0 0 100% swift.common.middleware.account_quotas 32 4 88% 68, 100-102 swift.common.middleware.acl 47 0 100% swift.common.middleware.bulk 208 1 99% 384 swift.common.middleware.catch_errors 39 5 87% 76-81 swift.common.middleware.cname_lookup 67 57 15% 32-33, 38, 73-82, 85-146 swift.common.middleware.container_quotas 43 6 86% 68-69, 86, 105-107 swift.common.middleware.crossdomain 21 5 76% 85-90 swift.common.middleware.domain_remap 58 5 91% 127-132 swift.common.middleware.formpost 251 11 96% 219, 353-354, 413-414, 428-429, 453-454, 491-492 swift.common.middleware.healthcheck 28 2 93% 54-56 swift.common.middleware.keystoneauth 135 0 100% swift.common.middleware.list_endpoints 53 0 100% swift.common.middleware.memcache 37 9 76% 41-42, 48-49, 69-75 swift.common.middleware.name_check 55 3 95% 65, 82, 104 swift.common.middleware.proxy_logging 115 1 99% 197 swift.common.middleware.ratelimit 125 1 99% 179 swift.common.middleware.recon 211 39 82% 134, 138-142, 153, 157-158, 181, 213-228, 261-263, 267-271, 329-334 swift.common.middleware.slo 137 0 100% swift.common.middleware.staticweb 202 5 98% 123, 240, 363-365, 469 swift.common.middleware.tempauth 276 50 82% 207, 213, 216-234, 246-248, 339, 341-346, 359-361, 366-367, 399-401, 427, 439-440, 444, 450-456, 465-467 swift.common.middleware.tempurl 185 6 97% 278-279, 281-283, 368-369 swift.common.ring 3 0 100% swift.common.ring.builder 493 20 96% 98-99, 115-126, 182, 421, 450, 659, 675, 1082 swift.common.ring.ring 165 4 98% 75, 113-114, 139 swift.common.ring.utils 15 0 100% swift.common.swob 573 7 99% 212, 257, 288, 558, 637, 804, 852 swift.common.utils 872 92 89% 38-39, 85-86, 212, 232, 252, 297, 429, 518-519, 696, 779, 824-826, 830, 832, 856-858, 903-904, 981-982, 1046-1049, 1069-1070, 1081-1084, 1089-1090, 1092, 1118-1122, 1149-1164, 1175-1181, 1315-1317, 1353-1356, 1364, 1374, 1442, 1513-1515, 1528, 1536-1539, 1638-1648 swift.common.wsgi 214 97 55% 88, 115-116, 119-121, 133-223, 241-264, 300, 313-316, 407 swift.container 0 0 100% swift.container.auditor 74 59 20% 34-48, 51-74, 78-93, 98-104, 113-128 swift.container.replicator 12 0 100% swift.container.server 318 35 89% 147, 149, 164, 202, 205, 228, 251, 267, 324-328, 448-463, 520-524, 536, 544-546 swift.container.sync 213 2 99% 296, 397 swift.container.updater 176 49 72% 81-82, 92, 109-111, 113-122, 124, 127-132, 135-139, 154-163, 211, 213, 249, 254-255, 280-294 swift.obj 0 0 100% swift.obj.auditor 130 4 97% 155-156, 219-220 swift.obj.expirer 83 0 100% swift.obj.replicator 413 102 75% 68, 88, 103, 207-208, 220, 290-293, 298-303, 305, 308, 329, 343, 379, 389-391, 398-407, 423-484, 525-529, 538, 548-551, 567-568, 575, 596-597, 632-633, 635-637, 644-646, 669-684 swift.obj.server 569 24 96% 239-240, 307-308, 415-416, 608, 615, 656, 763, 845, 887, 930-931, 934, 949, 962-966, 979, 985, 991-993 swift.obj.updater 156 48 69% 65-107, 118-121, 145, 150, 153-158, 181-188, 203, 219 swift.proxy 0 0 100% swift.proxy.controllers 5 0 100% swift.proxy.controllers.account 78 6 92% 56-59, 125-128 swift.proxy.controllers.base 469 20 96% 56, 185, 213, 242, 458, 489, 518, 560, 595, 692-696, 732, 738-741, 753, 806, 843 swift.proxy.controllers.container 114 2 98% 97, 200 swift.proxy.controllers.obj 687 94 86% 233, 271-272, 285-292, 329-330, 336, 360-365, 431, 434, 471-476, 495, 556, 565, 722-724, 729-737, 762-785, 802, 828, 904, 908, 915, 917-921, 931-934, 936-940, 964-965, 969-971, 1011-1017, 1036-1055, 1057-1059, 1069-1070, 1090 swift.proxy.server 160 12 93% 120-121, 126, 161, 165, 198-200, 207, 292-294 ------------------------------------------------------------------------ TOTAL 11639 1875 84% ---------------------------------------------------------------------- Ran 1276 tests in 91.492s OK (SKIP=8) /home/saio/swift cd ~/swift; ./.functests ........................................................................................................................................................... ---------------------------------------------------------------------- Ran 155 tests in 259.064s OK /home/saio/swift .................... ---------------------------------------------------------------------- Ran 20 tests in 30.789s OK /home/saio/swift cd ~/swift; ./.probetests ........ ---------------------------------------------------------------------- Ran 8 tests in 122.625s OK /home/saio/swift
so, to summarize, I need to do the following. change the requires.txt to pyxattr>=0.4 upstream bug to have it be an either or (dunno how well that'll go over). add the rsync[xattr] dep
Upstream will not allow for both xattr and pyxattr (licensing is a concern). This was kinda expected :( other than that the latest in tree should be good.