*** m_kazuhiro has joined #swift3 | 00:52 | |
*** ahmad has joined #swift3 | 05:40 | |
*** Ahmad_ has joined #swift3 | 05:41 | |
*** Ahmad_ has left #swift3 | 05:46 | |
*** ahmad has quit IRC | 05:47 | |
*** m_kazuhiro has quit IRC | 10:09 | |
*** cschwede has quit IRC | 15:34 | |
*** cschwede has joined #swift3 | 15:42 | |
*** tdasilva has quit IRC | 16:21 | |
*** tdasilva has joined #swift3 | 16:26 | |
*** gmmaha has quit IRC | 17:28 | |
*** gmmaha has joined #swift3 | 17:51 | |
*** Razva has joined #swift3 | 18:28 | |
Razva | can you please tel me an s3curl command that will...do anything? I want to see if I can connect to the Swift machine | 18:30 |
---|---|---|
Razva | all I get is <html><h1>Not Found</h1><p>The resource could not be found.</p></html> | 18:31 |
timburke | try creating a new bucket. if it was an existing bucket, you might need to turn on the allow_no_owner option: https://github.com/openstack/swift3/blob/v1.9/etc/proxy-server.conf-sample#L28-L37 | 18:31 |
timburke | alternatively, you may want to try turning off dns_compliant_bucket_names (https://github.com/openstack/swift3/blob/v1.9/etc/proxy-server.conf-sample#L44-L46); when it's on, any non-conformant pre-existing names are inaccessible | 18:33 |
Razva | ./s3curl.pl --id 'tralala' --key 'tralala' -- -s -v -x 217.19.1.3:8080 http://217.19.1.3:8080 | 18:37 |
Razva | this should list all buckets, right? | 18:37 |
Razva | if I'm using localhost I get: | 18:39 |
Razva | Failed connect to localhost:8080; Connection refused | 18:39 |
Razva | if I use the IP I get: | 18:40 |
Razva | HTTP/1.1 404 Not Found | 18:40 |
Razva | I'm 100% sure that it contains buckets and files: http://217.19.1.3:8080/v1/AUTH_23eba19369104be595361d882da4d1a8/video | 18:40 |
timburke | i'm not sure about the -x option, but i'm also not terribly familiar with s3curl...let me dig around a bit... | 18:45 |
timburke | so i'm still not entirely sure how http proxies work, but i'm fairly convinced that you just want to try ./s3curl.pl --id 'tralala' --key 'tralala' -- -s -v http://217.19.1.3:8080 | 19:16 |
timburke | playing around with just the normal swift api, i'd get 404s with a similar -x in my curl, and 200s without it | 19:17 |
Razva | timburke I just did and I get this: http://pastebin.com/WQ4yikNf | 19:31 |
Razva | I have no idea what's wrong... Did it at least pass the authentication? | 19:32 |
timburke | do you have access to look at the proxy logs? if so, try grepping for the transaction id; that should tell us a bit more about what's going on | 19:41 |
Razva | sure, I have full root access | 19:45 |
Razva | I suppose they are in /var/logs ? | 19:45 |
Razva | that would be /log | 19:45 |
Razva | no idea in what subdir... :D | 19:46 |
timburke | yeah; depending on config it could be in /var/log/swift/something or just thrown in /var/log/syslog | 19:46 |
Razva | swift.log | 19:46 |
timburke | love it | 19:46 |
Razva | nope, nothing there | 19:47 |
Razva | it was like...no change | 19:47 |
timburke | hrm. but we definitely got a transaction id out of it...maybe check syslog anyway? | 19:48 |
Razva | except the usual "replicating...bla bla...0 failures...no_chate..." | 19:48 |
Razva | http://pastebin.com/WcsWVhrE | 19:49 |
Razva | ^ that's all I got while s3curl-ing | 19:49 |
timburke | so nothing from proxy-server? is there maybe a proxy-access.log or something like that? | 19:51 |
Razva | that's all what I have with "proxy" and "log": http://pastebin.com/L7VVAUWP | 20:01 |
timburke | mind trying this? grep tx996e166855de4cb48451d /var/log/syslog | 20:09 |
Razva | grep: /var/log/syslog: No such file or directory | 20:10 |
timburke | does swift.log have anything from the proxy-server? even just curl http://217.19.1.3:8080/info should cause it to log *something* | 20:14 |
Razva | {"formpost": {}, "bulk_delete": {"max_failed_deletes": 1000, "max_deletes_per_request": 10000}, "container_quotas": {}, | 20:17 |
Razva | yup it does Jan 27 22:18:21 controller1 proxy-server: Deferring reject downstream | 20:18 |
timburke | right, that'll be the response you get out of curl; did we see the request in the log? | 20:18 |
timburke | good! but nothing gets logged when trying with s3curl? | 20:18 |
Razva | let me try again... | 20:19 |
Razva | btw error when doing swift-init: http://pastebin.com/X7jPkaJ6 | 20:19 |
Razva | is this "normal"? | 20:19 |
Razva | got this when s3curl-ing: Jan 27 22:21:17 controller1 proxy-server: Deferring reject downstream | 20:21 |
Razva | is this a user/pass thing? | 20:22 |
Razva | because that's the original issue, I have no idea what are the s3 credentials. I got them from the .sh file (via OpenStack) | 20:22 |
timburke | the swift-init error implies that a process was already listening on 8080, which seems curious. but we know we're contacting the swift proxy-server, so i guess i'm not too worried. it may still be a user/pass thing...not sure offhand | 20:49 |
Razva | [root@controller1 ~]# swift-init proxy stop | 20:57 |
Razva | Signal proxy-server pid: 14469 signal: 15 | 20:57 |
Razva | No proxy-server running | 20:57 |
Razva | so...is it running...or not? | 20:57 |
timburke | try curling /info again | 20:59 |
Razva | proxy-server: Deferring reject downstream | 21:07 |
Razva | any idea what is the best choice in my case? I have some small budget for an OpenStack cloud. my first choice was to hire a sysadmin and set it up. the guy was ok with, at this point, he tells me that he has no experience in s3 so...pam pam. should I go with Mirantis, Ubuntu Cloud...? or do you know anybody who can offer paid support at decent pricing? my experience is fairly limited (OpenVZ, | 21:08 |
Razva | Proxmox), I understand "things", but I'm not able to manage/learn everything. | 21:08 |
*** Razva has quit IRC | 21:20 | |
*** bill_az has joined #swift3 | 21:21 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!