Ask Your Question

shade34321's profile - activity

2014-08-08 16:47:06 -0500 received badge  Famous Question (source)
2014-08-03 19:27:23 -0500 received badge  Student (source)
2014-07-19 22:46:30 -0500 received badge  Notable Question (source)
2014-07-19 22:46:30 -0500 received badge  Famous Question (source)
2014-06-18 23:11:11 -0500 received badge  Notable Question (source)
2014-06-13 02:32:51 -0500 received badge  Famous Question (source)
2014-06-05 11:37:55 -0500 received badge  Notable Question (source)
2014-05-28 07:36:00 -0500 received badge  Popular Question (source)
2014-05-21 15:39:34 -0500 answered a question Insufficient Storage on swift storage nodes

Got it figured out. I switched the mount point to /srv/node. Also I didn't see the devices option for container-server.conf or object-server.conf so adding those should have fixed it at least.

2014-05-21 08:53:59 -0500 asked a question Insufficient Storage on swift storage nodes

I have a three node set up, one node is the controller and has swift proxy installed and it also acts as another swift storage node. My two other systems are just storage nodes. I am able to run swift stat to get information and use swift post -m to add meta data as seen below.

root@xp:/etc/swift# swift stat
       Account: AUTH_dded688dc7894082b59c0b12a86d21ff
    Containers: 0
       Objects: 0
         Bytes: 0
    Meta Color: blue
   X-Timestamp: 1400619750.24388
    X-Trans-Id: txcc71cd5b54a24996bc42b-00537cab48
  Content-Type: text/plain; charset=utf-8
 Accept-Ranges: bytes

When I run

swift post python

I am getting several Insufficient Storage errors in my logs and the command is returning with a 503 error.

root@xp:/etc/swift# swift post python
Container POST failed: http://xp:8080:8080/v1/AUTH_dded688dc7894082b59c0b12a86d21ff/python 503 Internal Server Error  [first 60 chars of response] <html><h1>Service Unavailable</h1><p>The server is currently

Here is what syslog is saying

May 21 13:27:55 xp container-server: 172.16.103.90 - - [21/May/2014:13:27:55 +0000] "POST /data/14/AUTH_dded688dc7894082b59c0b12a86d21ff/python" 507 - "tx5ff7d0f1b71d40e7a6151-00537ca9db" "POST http://xp:8080/v1/AUTH_dded688dc7894082b59c0b12a86d21ff/python" "proxy-server 3475" 0.0003
May 21 13:27:55 xp proxy-server: ERROR Insufficient Storage 172.16.103.91:6001/data (txn: tx5ff7d0f1b71d40e7a6151-00537ca9db)
May 21 13:27:55 xp proxy-server: ERROR Insufficient Storage 172.16.103.92:6001/data (txn: tx5ff7d0f1b71d40e7a6151-00537ca9db)
May 21 13:27:55 xp proxy-server: ERROR Insufficient Storage 172.16.103.90:6001/data (txn: tx5ff7d0f1b71d40e7a6151-00537ca9db)
May 21 13:27:55 xp proxy-server: Container POST returning 503 for (503, 503, 503) (txn: tx5ff7d0f1b71d40e7a6151-00537ca9db)
May 21 13:27:56 xp container-server: 172.16.103.90 - - [21/May/2014:13:27:56 +0000] "POST /data/14/AUTH_dded688dc7894082b59c0b12a86d21ff/python" 507 - "txc5db40495c3c4cde9ef76-00537ca9dc" "POST http://xp:8080/v1/AUTH_dded688dc7894082b59c0b12a86d21ff/python" "proxy-server 3476" 0.0004
May 21 13:27:56 xp proxy-server: ERROR Insufficient Storage 172.16.103.90:6001/data (txn: txc5db40495c3c4cde9ef76-00537ca9dc)
May 21 13:27:56 xp proxy-server: ERROR Insufficient Storage 172.16.103.92:6001/data (txn: txc5db40495c3c4cde9ef76-00537ca9dc) (client_ip: 172.16.103.90)
May 21 13:27:56 xp proxy-server: ERROR Insufficient Storage 172.16.103.91:6001/data (txn: txc5db40495c3c4cde9ef76-00537ca9dc) (client_ip: 172.16.103.90)
May 21 13:27:56 xp proxy-server: Container POST returning 503 for (503, 503, 503) (txn: txc5db40495c3c4cde9ef76-00537ca9dc) (client_ip: 172.16.103.90)
May 21 13:27:58 xp proxy-server: Container POST returning 503 for (503, 503, 503) (txn: tx7b8cdae99a494f5f842b4-00537ca9de) (client_ip: 172.16.103.90)
May 21 13:28:02 xp proxy-server: Container POST returning 503 for (503, 503, 503) (txn: tx1d8eaef7be8d4cc89600e-00537ca9e2) (client_ip: 172.16.103.90)
May 21 13:28:10 xp proxy-server: Container POST returning 503 for (503, 503, 503) (txn: tx7da1e69e191a452c91c8c-00537ca9ea) (client_ip: 172.16.103.90)

I am getting these messages in the two other storage nodes

May 21 13:35:35 vista container-server: 172.16.103.90 - - [21/May/2014:13:35:35 +0000] "POST /data/14/AUTH_dded688dc7894082b59c0b12a86d21ff/python" 507 - "txef7814c787b2437f97fa8-00537caba7" "POST http://xp:8080/v1/AUTH_dded688dc7894082b59c0b12a86d21ff/python" "proxy-server 3475" 0.0002
May 21 13:35:36 vista ...
(more)
2014-05-20 15:20:36 -0500 received badge  Popular Question (source)
2014-05-20 08:07:37 -0500 received badge  Popular Question (source)
2014-05-20 08:07:23 -0500 received badge  Scholar (source)
2014-05-20 08:07:21 -0500 commented answer Swift client pulling two ports

Oh, thought you were saying it should look like that. Thanks for the help!

2014-05-20 08:06:40 -0500 received badge  Enthusiast
2014-05-19 17:13:40 -0500 received badge  Supporter (source)
2014-05-19 17:13:38 -0500 commented answer Swift client pulling two ports

I actually had all of those in my proxy-server.conf file. But you did lead me to part of my problem. My auth_host name was wrong. I forgot to change it from controller to xp. So you inadvertently fixed part of my issue:) Thanks!

2014-05-16 17:03:53 -0500 asked a question Swift client pulling two ports

I've installed openstack on three computers. I have one computer, xp, set as the controller and swift proxy and two more storage nodes, vista and seven. XP is also a storage node. I followed the openstack documentation on how to install everything and so far everything but swift is working. Which coincidentally happens to be the one thing I need to work, I installed glance, nova, keystone, and the dashboard. Nova and glance were insalled just for the dashboard access.

After setting up swift I went to verify it worked and ran

swift stat

From there I get this error -

Account HEAD failed: http:// xp:8080:8080/v1/AUTH_dded688dc7894082b59c0b12a86d21ff 401 Unauthorized

I can't figure out where it's getting the extra 8080 from. There is only one config file I can find that has that port in it and it states to have it in there. I did find another question similar to mine but their suggestions don't work. All of my *-server.conf files are set to IP 0.0.0.0 which should be all interfaces. So now I'm not sure what to look for. Here are various important http://paste.openstack.org/show/80643/ (config files) you guys can view. If you need more just let me know. I am also using Ubuntu 14.04 if you were curious. Thanks!

2014-05-07 20:39:16 -0500 received badge  Editor (source)
2014-05-07 16:52:18 -0500 asked a question Swift Unit Test Failing - Permission denied

I'm installing openstack following these instructions on Ubuntu 14.04 server. I've set it up using root:root as my user, yes I am aware of the security problems but it is mainly for me to test an application. The test is failing at

FAIL: test_os_error (test.unit.common.test_container_sync_realms.TestUtils)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/swift/test/unit/common/test_container_sync_realms.py", line 51, in test_os_error
    "'%s'" % (fpath, fpath)]})
AssertionError: defaultdict(<type 'list'>, {}) != {'error': ["Could not load '/tmp/tmpn6LVrX/container-sync-realms.conf': [Errno 13] Permission denied: '/tmp/tmpn6LVrX/container-sync-realms.conf'"]}

I'm not quite sure why it is not able to access it since it is running as root. I probably missed a step but can't seem to figure out which one. Any suggestions? Thanks!

Below is the full output for the unit tests.

    ======================================================================
    FAIL: test_os_error (test.unit.common.test_container_sync_realms.TestUtils)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/root/swift/test/unit/common/test_container_sync_realms.py", line 51, in test_os_error
        "'%s'" % (fpath, fpath)]})
    AssertionError: defaultdict(<type 'list'>, {}) != {'error': ["Could not load '/tmp/tmpn6LVrX/container-sync-realms.conf': [Errno 13] Permission denied: '/tmp/tmpn6LVrX/container-sync-realms.conf'"]}

    Name                                       Stmts   Miss Branch BrMiss  Cover   Missing
    --------------------------------------------------------------------------------------
    swift                                         14      6      0      0    57%   28-34, 41
    swift.account                                  0      0      0      0   100%
    swift.account.auditor                         72     11     10      4    82%   57-70, 84-89
    swift.account.backend                        163      7     71      8    94%   48, 210, 216, 218, 313, 330, 385
    swift.account.reaper                         234     40     98     32    78%   82-84, 88-90, 94-96, 109-111, 131-132, 152, 156, 160, 164, 168, 243-248, 250-253, 255, 257, 259, 262, 264, 267, 270-273, 279, 352-353
    swift.account.server                         199     21     76      6    90%   120-121, 150, 230-240, 288-292, 301, 309-311
    swift.account.utils                           45      0     20      0   100%
    swift.cli                                      0      0      0      0   100%
    swift.cli.info                               111      1     44      1    99%   177
    swift.cli.recon                              602    483    294    265    17%   27-28, 58, 87, 91, 96, 139, 148, 170-176, 203-224, 241, 250-252, 264-276, 285-308, 317-336, 345-401, 410-456, 465-482, 491-529, 542-547, 556-622, 631-650, 659-678, 687-711, 720-794, 800-941, 945-949, 953
    swift.cli.ringbuilder                        530    316    254    157    40%   51, 74-75, 78-79, 95, 99-100, 108-110, 113-118, 126-128, 138-160, 163-165, 178-181, 184-186, 195-201, 207-208, 219-220, 227, 237-279, 286-315, 327-350, 374-375, 380, 384-387, 405-408, 416-419, 421-427, 452-455, 470-476, 484-505, 516, 519-522, 524-530, 542-545, 564-567, 572-574, 576-582, 586-598, 611-672, 679-680, 690-701, 711-747, 750-752, 762-763, 781-782, 787-790, 793-794, 808, 811-829, 836-837, 844, 847, 851-856, 862
    swift.common                                   0      0      0      0   100%
    swift.common.bufferedhttp                     70     11     20      6    81%   73-79, 120, 151-154
    swift.common.constraints                     108      1     43      0    99%   75
    swift.common.container_sync_realms            96      1     26      4    96%   58
    swift.common.daemon                           48      5     10      3    86%   49-51, 93, 97
    swift.common.db                              394     43    116     28    86%   54-56, 92, 100, 173-174, 279, 306, 336, 339, 365-366, 393-396, 431-437, 512, 533, 540-541, 548-550, 559-561, 569, 609-611, 637, 668-674, 708-711, 745
    swift.common.db_replicator                   413     30    143     23    90%   64, 260, 297-302, 311, 438, 447-448, 452-453, 476-477, 500, 555-564, 611, 614, 621, 631, 637, 646
    swift.common.direct_client                   208     47 ...
(more)