Wednesday, 2016-01-27

*** m_kazuhiro has joined #swift300:52
*** ahmad has joined #swift305:40
*** Ahmad_ has joined #swift305:41
*** Ahmad_ has left #swift305:46
*** ahmad has quit IRC05:47
*** m_kazuhiro has quit IRC10:09
*** cschwede has quit IRC15:34
*** cschwede has joined #swift315:42
*** tdasilva has quit IRC16:21
*** tdasilva has joined #swift316:26
*** gmmaha has quit IRC17:28
*** gmmaha has joined #swift317:51
*** Razva has joined #swift318:28
Razvacan you please tel me an s3curl command that will...do anything? I want to see if I can connect to the Swift machine18:30
Razvaall I get is <html><h1>Not Found</h1><p>The resource could not be found.</p></html>18:31
timburketry 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-L3718:31
timburkealternatively, 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 inaccessible18:33
Razva./s3curl.pl --id 'tralala' --key 'tralala' -- -s -v -x 217.19.1.3:8080 http://217.19.1.3:808018:37
Razvathis should list all buckets, right?18:37
Razvaif I'm using localhost I get:18:39
RazvaFailed connect to localhost:8080; Connection refused18:39
Razvaif I use the IP I get:18:40
RazvaHTTP/1.1 404 Not Found18:40
RazvaI'm 100% sure that it contains buckets and files: http://217.19.1.3:8080/v1/AUTH_23eba19369104be595361d882da4d1a8/video18:40
timburkei'm not sure about the -x option, but i'm also not terribly familiar with s3curl...let me dig around a bit...18:45
timburkeso 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:808019:16
timburkeplaying around with just the normal swift api, i'd get 404s with a similar -x in my curl, and 200s without it19:17
Razvatimburke I just did and I get this: http://pastebin.com/WQ4yikNf19:31
RazvaI have no idea what's wrong... Did it at least pass the authentication?19:32
timburkedo 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 on19:41
Razvasure, I have full root access19:45
RazvaI suppose they are in /var/logs ?19:45
Razvathat would be /log19:45
Razvano idea in what subdir... :D19:46
timburkeyeah; depending on config it could be in /var/log/swift/something or just thrown in /var/log/syslog19:46
Razvaswift.log19:46
timburkelove it19:46
Razvanope, nothing there19:47
Razvait was like...no change19:47
timburkehrm. but we definitely got a transaction id out of it...maybe check syslog anyway?19:48
Razvaexcept the usual "replicating...bla bla...0 failures...no_chate..."19:48
Razvahttp://pastebin.com/WcsWVhrE19:49
Razva^ that's all I got while s3curl-ing19:49
timburkeso nothing from proxy-server? is there maybe a proxy-access.log or something like that?19:51
Razvathat's all what I have with "proxy" and "log": http://pastebin.com/L7VVAUWP20:01
timburkemind trying this? grep tx996e166855de4cb48451d /var/log/syslog20:09
Razvagrep: /var/log/syslog: No such file or directory20:10
timburkedoes 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
Razvayup it does Jan 27 22:18:21 controller1 proxy-server: Deferring reject downstream20:18
timburkeright, that'll be the response you get out of curl; did we see the request in the log?20:18
timburkegood! but nothing gets logged when trying with s3curl?20:18
Razvalet me try again...20:19
Razvabtw error when doing swift-init: http://pastebin.com/X7jPkaJ620:19
Razvais this "normal"?20:19
Razvagot this when s3curl-ing: Jan 27 22:21:17 controller1 proxy-server: Deferring reject downstream20:21
Razvais this a user/pass thing?20:22
Razvabecause 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
timburkethe 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 offhand20:49
Razva[root@controller1 ~]# swift-init proxy stop20:57
RazvaSignal proxy-server  pid: 14469  signal: 1520:57
RazvaNo proxy-server running20:57
Razvaso...is it running...or not?20:57
timburketry curling /info again20:59
Razvaproxy-server: Deferring reject downstream21:07
Razvaany 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
RazvaProxmox), I understand "things", but I'm not able to manage/learn everything.21:08
*** Razva has quit IRC21:20
*** bill_az has joined #swift321:21

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!