Wednesday, 2014-10-15

*** annegent_ has joined #openstack-swift00:08
openstackgerritA change was merged to openstack/swift: Revert "Refactor object PUT to make EC easier to add"  https://review.openstack.org/12782000:13
*** annegent_ has quit IRC00:13
*** dmorita has joined #openstack-swift00:26
*** AlexN has left #openstack-swift00:34
*** kyles_ne has quit IRC00:35
*** NM has joined #openstack-swift00:38
*** evilkry has joined #openstack-swift00:39
evilkrythis might sound like an ignorant question.. but i'm curious on the documentation.. within the configuration files on the first time installing this it keeps referring to the (STORAGE_LOCAL_NET  and the   STORAGE_REPLICATION_NET_IP00:40
evilkryis this referring to the Ips that I set in my own net or is it pulling this from an exported setup that is referncing this as a variable that I am unware of?00:41
*** NM has quit IRC00:44
*** shakayumi has quit IRC00:45
*** addnull has joined #openstack-swift01:02
*** shri has quit IRC01:05
*** dave-mccowan has joined #openstack-swift01:05
*** exploreshaifali has quit IRC01:09
zaitcevevilkry: they are supposed to be substituted with your local values01:11
evilkryzaitcev: thank you!  I figured like I said forwarning *ignorant question*  but wanted to be sure before I start throwing togeather my network nodes :)01:11
openstackgerritSamuel Merritt proposed a change to openstack/swift: Allow sending object metadata after data  https://review.openstack.org/12849101:17
openstackgerritSamuel Merritt proposed a change to openstack/swift: Bump eventlet version  https://review.openstack.org/12849301:20
*** kota_ has joined #openstack-swift01:22
*** rmcall has quit IRC01:24
*** dduvall_ has quit IRC01:30
*** goodes_ has joined #openstack-swift01:32
*** nottrobin_ has joined #openstack-swift01:32
*** ipolyzos_ has joined #openstack-swift01:32
*** zhiyan|afk has joined #openstack-swift01:32
*** jdaggett_ has joined #openstack-swift01:32
*** ondergetekende_ has joined #openstack-swift01:32
*** sileht_ has joined #openstack-swift01:32
*** classics1 has joined #openstack-swift01:33
*** jdaggett has quit IRC01:33
*** wasmum has quit IRC01:33
*** theanalyst has quit IRC01:33
*** ipolyzos has quit IRC01:33
*** acoles_away has quit IRC01:33
*** ujjain has quit IRC01:33
*** nottrobin has quit IRC01:33
*** ondergetekende has quit IRC01:33
*** zhiyan has quit IRC01:33
*** goodes has quit IRC01:33
*** otoolee has quit IRC01:33
*** StevenK has quit IRC01:33
*** sileht has quit IRC01:33
*** classicsnail has quit IRC01:33
*** ujjain has joined #openstack-swift01:33
*** jdaggett_ is now known as jdaggett01:33
*** goodes_ is now known as goodes01:33
*** nottrobin_ is now known as nottrobin01:34
*** dduvall has joined #openstack-swift01:34
*** mahatic has joined #openstack-swift01:34
*** zhiyan|afk is now known as zhiyan01:34
*** theanalyst has joined #openstack-swift01:34
*** wasmum has joined #openstack-swift01:35
*** openstack has joined #openstack-swift01:43
*** byeager_away has joined #openstack-swift01:43
*** AbyssOne has joined #openstack-swift01:43
*** dmorita has joined #openstack-swift01:43
*** ujjain has joined #openstack-swift01:43
*** fifieldt has joined #openstack-swift01:52
*** haomai___ has quit IRC01:52
*** haomaiwang has joined #openstack-swift01:52
*** anteaya has joined #openstack-swift01:52
*** openstackgerrit has joined #openstack-swift01:52
*** nosnos has joined #openstack-swift01:52
*** mahatic has quit IRC01:52
*** theanalyst has joined #openstack-swift01:52
*** otoolee has joined #openstack-swift01:53
*** hpil has joined #openstack-swift01:53
*** Andrew_____ has joined #openstack-swift01:54
hpilCan anyone help me with some documentation on python-swiftclient 1.4.0, and if it will use TLS or SSL for API calls?01:54
*** haomai___ has joined #openstack-swift01:55
*** shakamunyi has joined #openstack-swift01:58
*** haomaiwang has quit IRC01:58
*** echevemaster has joined #openstack-swift02:00
*** acoles_away has joined #openstack-swift02:03
*** acoles_away is now known as acoles02:03
*** ChanServ sets mode: +v acoles02:03
*** haomai___ has quit IRC02:05
*** haomaiwang has joined #openstack-swift02:06
kota_hpil: Have you already read the help command message? (i.e. swift -help)02:07
kota_hpil: I think it includes a https access sample command.02:08
*** annegent_ has joined #openstack-swift02:09
hpilkota_: checked ... maybe I'm dense, but this is just function help, not detail like i'm curious about02:10
kota_hpil: umm... sorry I don't know where more documentation is but if you could tell me about your intereted thing, I might be able to answer.02:13
*** annegent_ has quit IRC02:14
*** haomaiw__ has joined #openstack-swift02:15
mattoliverauhpil: what exactly are you after, the help command shows that it used https and you can pass --insecure to turn off cert checking.02:15
mattoliverauhpil: http://docs.openstack.org/developer/python-swiftclient/ (but this is code-gererated documentation)02:16
kota_mattoliverau: Thanks :)02:16
*** hhuang has joined #openstack-swift02:17
*** haomaiwang has quit IRC02:18
hpilmattoliverau : that's for v2.x ... which uses requests apparently. I need info on v1.4.0 which uses urllib apparently02:19
hpiland ultimately I need to know how the API is going to handle it, not the CLI02:19
mattoliverauhpil: ahh I see, sorry02:22
*** dmsimard_away is now known as dmsimard02:23
*** shakayumi has joined #openstack-swift02:23
classics1ooh, that's a bit inefficient, deleting a 10G file stored on swift, has oc downloading the file to a spooling area then deleting it from the object store and the filesystem02:25
classics1wrong channel, heh, oops02:25
*** shakamunyi has quit IRC02:27
kota_hpil: I'm not sure that you mean acutually 'How', but v1.4.0 handles whether http or https from its URL resource so if "https://foo/bar" is given, the client creates HTTPSConnection02:31
mattoliverauhpil: version 1.40 supports SSL, you just need to specify the cert_file and key_file under [DEFAULT] section od the proxy server configuration.02:33
mattoliverauhpil: the configuration for that version is with the source. so you can git clone, then git checkout 1.4.002:34
mattoliverauhpil: you'll find the documentation under doc/source/ or more specifiycally when regarding ssl: doc/source/deployment_guide.rst02:34
*** dmsimard is now known as dmsimard_away02:45
*** dave-mccowan has quit IRC02:59
*** annegent_ has joined #openstack-swift03:10
swift_fanok, thanks! :)03:19
swift_fanYou all are awesome!03:19
*** annegent_ has quit IRC03:24
*** madhuri has joined #openstack-swift03:28
madhuriHi anyone there?03:29
madhuriI am facing an issue while starting swift services.03:29
madhurihttp://paste.openstack.org/show/121159/03:30
*** madhuri_ has joined #openstack-swift03:31
*** IgnacioCorderi has joined #openstack-swift03:32
*** X019 has quit IRC03:37
mattoliveraumadhuri: hi03:38
mattoliveraumadhuri: have you installed swift? It python setup.py develop (or install)?03:41
mattoliveraus/it/is/03:41
mattoliveraus/it/ie (damn auto correct)03:42
mattoliverauOr pip installed swift? (Depending on what your doing)03:42
*** X019 has joined #openstack-swift03:50
*** nosnos has quit IRC03:50
*** kota_ has quit IRC03:51
*** evilkry has quit IRC03:51
*** nosnos has joined #openstack-swift03:51
*** fifieldt_ has joined #openstack-swift03:52
*** annegent_ has joined #openstack-swift03:53
*** nosnos has quit IRC03:55
*** kota_ has joined #openstack-swift03:58
*** jamespage has quit IRC04:00
*** jamespage has joined #openstack-swift04:01
*** ktsuyuzaki has joined #openstack-swift04:03
*** echevemaster_ has joined #openstack-swift04:05
*** kota_ has quit IRC04:05
*** kota_ has joined #openstack-swift04:05
*** ktsuyuzaki has quit IRC04:07
*** ktsuyuzaki has joined #openstack-swift04:08
*** kota_ has quit IRC04:10
*** kota_ has joined #openstack-swift04:10
*** ktsuyuzaki has quit IRC04:12
*** ktsuyuzaki has joined #openstack-swift04:13
*** kota_ has quit IRC04:15
*** ktsuyuza_ has joined #openstack-swift04:15
*** ktsuyuzaki has quit IRC04:18
*** kota_ has joined #openstack-swift04:20
*** ktsuyuza_ has quit IRC04:22
*** ktsuyuzaki has joined #openstack-swift04:22
*** kota_ has quit IRC04:24
*** hhuang has quit IRC04:24
*** kota_ has joined #openstack-swift04:27
*** ktsuyuzaki has quit IRC04:29
mattoliveraukota_: are you having irc issues? :)04:29
*** ktsuyuzaki has joined #openstack-swift04:29
*** nosnos has joined #openstack-swift04:30
*** kota_ has quit IRC04:31
*** gyee has quit IRC04:34
*** kota_ has joined #openstack-swift04:34
madhurimattoliverau: I have run  python setup.py install04:35
madhuriI again run the above command04:36
*** ktsuyuzaki has quit IRC04:36
madhuriAnd it is working fine now04:36
madhuriThanks mattoliverau04:36
mattoliveraumadhuri: lol, your welcome, when in doubt... run it again :P04:37
madhuriOk :)04:37
madhurimattoliverau: One more question04:38
madhurihttps://review.openstack.org/#/c/91753/2/swift/common/manager.py04:38
madhuriYou have suggested here to make the method "sanitize_server_name" static04:39
madhuriBut how would I mock it in UT?04:39
madhuriI googled for it04:39
madhuriand found staticmethod can't be mocked.04:40
*** hhuang has joined #openstack-swift04:41
*** kyles_ne has joined #openstack-swift04:41
mattoliveraumadhuri: why do you need to mock it? doesn't do anything except modify the string coming in. (Well the sanitize method I suggested doesn't anyway). or are you mocking verify_server?04:43
*** bkopilov has quit IRC04:44
*** ktsuyuzaki has joined #openstack-swift04:45
*** kota_ has quit IRC04:46
madhuriRest of the test are failing because if the method04:47
*** kota_ has joined #openstack-swift04:47
madhuriSorry the method "verify_server"04:48
*** echevemaster_ has quit IRC04:49
*** ktsuyuzaki has quit IRC04:49
madhuriPaul luse have suggested to make it a staticmethod04:49
*** ktsuyuzaki has joined #openstack-swift04:52
*** ppai has joined #openstack-swift04:52
*** kota_ has quit IRC04:54
mattoliveraumadhuri: hmm, I guess the question is, do you need to mock it? or just pass is bad values to test it?04:55
*** kota_ has joined #openstack-swift04:56
*** ktsuyuzaki has quit IRC04:58
*** ktsuyuzaki has joined #openstack-swift04:58
madhuriI have tested it passing bad values, but the others test are failing as expected.04:59
madhuriNow some of the test cases are invalid now04:59
*** kota_ has quit IRC05:00
*** kota_ has joined #openstack-swift05:03
*** zaitcev has quit IRC05:03
mattoliveraumadhuri: so you are thinking about mocking the method out so it works in old tests?05:03
madhuriYes05:04
*** ktsuyuzaki has quit IRC05:05
mattoliveraumadhuri: now that you've modified the expected behavior, as a part of the change, you need to make sure other tests that were dependant on it are changed to match the expected behaviour. So if other tests now fail (correctly based off the new beviour you've added) then you need to modify those tests so they are correct, not mock what it used to look like, otherwise the tests are testing wrong behavior.05:07
*** kyles_ne has quit IRC05:07
mattoliveraudoes that make sense?05:07
madhuriYes05:08
*** ktsuyuzaki has joined #openstack-swift05:08
madhuriI have also done that05:08
madhuriThanks mattoliverau05:08
madhuriI will be submitting a fresh patch for it05:08
mattoliveraumadhuri: Anytime! And cool, I look forward to reviewing it :)05:08
*** kota_ has quit IRC05:09
*** kota_ has joined #openstack-swift05:12
*** jyoti-ranjan has joined #openstack-swift05:14
*** ktsuyuzaki has quit IRC05:14
*** ktsuyuzaki has joined #openstack-swift05:15
madhuriThanks mattoliverau :)05:15
*** kota_ has quit IRC05:17
*** kota_ has joined #openstack-swift05:19
*** echevemaster has quit IRC05:20
*** ktsuyuzaki has quit IRC05:21
*** SkyRocknRoll has joined #openstack-swift05:22
*** annegent_ has quit IRC05:24
*** annegent_ has joined #openstack-swift05:25
*** annegent_ has quit IRC05:27
*** ktsuyuzaki has joined #openstack-swift05:27
*** annegent_ has joined #openstack-swift05:29
*** kota_ has quit IRC05:30
*** kota_ has joined #openstack-swift05:32
*** annegent_ has quit IRC05:33
*** ktsuyuzaki has quit IRC05:34
*** fifieldt_ has quit IRC05:35
*** sileht_ is now known as sileht05:38
*** ktsuyuzaki has joined #openstack-swift05:38
*** sileht has joined #openstack-swift05:39
*** sileht has joined #openstack-swift05:39
*** kota_ has quit IRC05:40
*** ktsuyuzaki has quit IRC05:43
*** kota_ has joined #openstack-swift05:48
*** kopparam has joined #openstack-swift05:49
*** annegent_ has joined #openstack-swift05:58
*** ttrumm has joined #openstack-swift06:00
*** ho has joined #openstack-swift06:04
*** annegent_ has quit IRC06:04
*** zigo has joined #openstack-swift06:08
mattoliverauWell I'm calling it a day, night all.06:08
*** IgnacioCorderi has quit IRC06:18
*** d0m0reg00dthing has joined #openstack-swift06:39
*** d0m0reg00dthing has quit IRC06:40
*** foexle has joined #openstack-swift06:46
*** annegent_ has joined #openstack-swift06:58
*** annegent_ has quit IRC07:03
*** Guest86578 is now known as d0ugal07:04
*** d0ugal has quit IRC07:05
*** d0ugal has joined #openstack-swift07:05
*** clayg_ is now known as clayg07:23
openstackgerritPrashanth Pai proposed a change to openstack/swift: fsync() on directories  https://review.openstack.org/12692307:23
*** davidhadas_ has joined #openstack-swift07:50
*** annegent_ has joined #openstack-swift07:58
*** geaaru has joined #openstack-swift08:00
*** jistr has joined #openstack-swift08:02
*** annegent_ has quit IRC08:03
*** jamiehannaford has joined #openstack-swift08:12
*** davidhadas_ is now known as davidhadas08:14
*** kopparam has quit IRC08:30
*** kopparam has joined #openstack-swift08:31
openstackgerritAlistair Coles proposed a change to openstack/swift: Make in process functional tests use sample proxy-server.conf  https://review.openstack.org/12760708:32
*** aix has joined #openstack-swift08:42
*** ho has quit IRC08:52
*** mkerrin has quit IRC08:56
*** annegent_ has joined #openstack-swift08:58
*** dmorita has quit IRC09:02
*** kota_ has quit IRC09:04
*** annegent_ has quit IRC09:05
*** aix has quit IRC09:19
*** mkerrin has joined #openstack-swift09:20
*** nellysmitt has joined #openstack-swift09:23
*** jyoti-ranjan has quit IRC09:24
*** mkerrin has quit IRC09:26
*** hhuang has quit IRC09:35
*** jyoti-ranjan has joined #openstack-swift09:37
*** aix has joined #openstack-swift09:56
*** kbee has joined #openstack-swift09:58
*** annegent_ has joined #openstack-swift09:58
*** mkerrin has joined #openstack-swift10:00
*** annegent_ has quit IRC10:03
*** kbee has quit IRC10:20
*** kopparam has quit IRC10:42
*** kopparam has joined #openstack-swift10:43
*** dmsimard_away is now known as dmsimard10:44
*** dmsimard is now known as dmsimard_away10:45
*** kopparam has quit IRC10:47
*** dmsimard_away is now known as dmsimard10:50
*** ppai has quit IRC10:54
*** mkollaro has joined #openstack-swift10:54
*** ppai has joined #openstack-swift11:00
*** ppai has quit IRC11:01
*** ppai has joined #openstack-swift11:01
*** kopparam has joined #openstack-swift11:11
*** nshaikh has joined #openstack-swift11:17
*** marcusvrn_ has joined #openstack-swift11:21
*** miqui has quit IRC11:24
*** astellwag has joined #openstack-swift11:27
*** mahatic has joined #openstack-swift11:27
*** davidhadas__ has joined #openstack-swift11:31
*** davidhadas__ has quit IRC11:32
*** davidhadas has quit IRC11:34
*** davidhadas has joined #openstack-swift11:35
*** ppai has quit IRC11:39
*** tdasilva has joined #openstack-swift11:56
*** tdasilva has quit IRC11:57
*** addnull has quit IRC12:09
*** anna_ has joined #openstack-swift12:19
*** X019 has quit IRC12:22
*** dave-mccowan has joined #openstack-swift12:31
*** annegent_ has joined #openstack-swift12:31
*** annegent_ has quit IRC12:31
*** dave-mccowan has quit IRC12:40
*** kopparam has quit IRC12:40
*** dave-mccowan has joined #openstack-swift12:40
*** kopparam has joined #openstack-swift12:41
*** anna_ is now known as X01912:41
*** kopparam has quit IRC12:45
*** dave-mccowan_ has joined #openstack-swift12:47
*** dave-mccowan has quit IRC12:47
*** dave-mccowan_ is now known as dave-mccowan12:47
*** miqui has joined #openstack-swift12:49
*** elambert has quit IRC12:52
*** nshaikh has quit IRC12:52
*** elambert has joined #openstack-swift12:54
*** elambert has quit IRC12:56
*** elambert has joined #openstack-swift12:56
*** elambert has quit IRC12:56
*** tdasilva has joined #openstack-swift12:58
*** Dafna has quit IRC13:06
*** swift_fan has quit IRC13:09
*** swift_fan has joined #openstack-swift13:09
*** Dafna has joined #openstack-swift13:10
*** CaioBrentano has joined #openstack-swift13:17
*** ppai has joined #openstack-swift13:18
*** nshaikh has joined #openstack-swift13:29
*** CaioBrentano has quit IRC13:31
*** CaioBrentano has joined #openstack-swift13:32
*** jyoti-ranjan has quit IRC13:33
*** astellwag has quit IRC13:56
*** kopparam has joined #openstack-swift13:59
*** kopparam_ has joined #openstack-swift14:05
*** dave-mccowan has quit IRC14:06
*** portante_ is now known as portante14:07
*** ChanServ sets mode: +v portante14:07
*** kopparam has quit IRC14:08
*** SkyRocknRoll has quit IRC14:09
*** ttrumm has quit IRC14:11
*** shakayumi has quit IRC14:12
*** davidhadas__ has joined #openstack-swift14:25
*** davidhadas has quit IRC14:25
*** aix has quit IRC14:25
*** annegent_ has joined #openstack-swift14:28
*** kopparam_ has quit IRC14:33
*** dave-mccowan has joined #openstack-swift14:33
*** kopparam has joined #openstack-swift14:35
*** kopparam has quit IRC14:39
*** kopparam has joined #openstack-swift14:40
*** jergerber has joined #openstack-swift14:43
*** kopparam has quit IRC14:45
*** swift_fan has quit IRC14:52
*** swift_fan has joined #openstack-swift14:53
*** echevemaster has joined #openstack-swift14:59
*** mrsnivvel has joined #openstack-swift15:04
*** nshaikh has quit IRC15:05
*** mrsnivvel has quit IRC15:05
*** hpil has quit IRC15:12
*** annegent_ has quit IRC15:13
*** elambert has joined #openstack-swift15:18
*** nosnos has quit IRC15:27
*** kyles_ne has joined #openstack-swift15:30
*** elambert has quit IRC15:37
*** annegent_ has joined #openstack-swift15:44
*** annegent_ has quit IRC15:50
*** otoolee has quit IRC15:53
*** ppai has quit IRC15:58
*** exploreshaifali has joined #openstack-swift16:07
*** jistr has quit IRC16:14
*** otoolee has joined #openstack-swift16:15
*** acoles has quit IRC16:24
notmynamegood morning, world16:28
pelusegood morning16:28
*** acoles has joined #openstack-swift16:31
*** ChanServ sets mode: +v acoles16:31
*** annegent_ has joined #openstack-swift16:32
mahaticgood morning16:33
notmynamereminder that we have a meeting today in #openstack-meeting https://wiki.openstack.org/wiki/Meetings/Swift16:42
notmynameat 1900UTC16:42
*** dave-mccowan has quit IRC16:57
*** dave-mccowan has joined #openstack-swift17:00
*** exploreshaifali has quit IRC17:01
*** echevemaster has quit IRC17:03
*** zaitcev has joined #openstack-swift17:16
*** ChanServ sets mode: +v zaitcev17:16
notmynameFYI, as of right now, the 2.2.0-rc1 will be released tomorrow as-is as 2.2.0 in the integrated openstack release. I haven't seen anything reported that should prevent that from happening. if something comes up, let me know ASAP17:29
*** tkay has joined #openstack-swift17:30
*** geaaru has quit IRC17:32
tdasilvapeluse: Hi, I noticed you added a topic to the design summit, but I had already added that same topic there17:34
tdasilvapeluse: I updated the description to explain a little bit better17:35
openstackgerritSamuel Merritt proposed a change to openstack/swift: Allow sending object metadata after data  https://review.openstack.org/12849117:36
*** nshaikh has joined #openstack-swift17:39
*** Nadeem has joined #openstack-swift17:40
*** wer has quit IRC17:42
*** wer has joined #openstack-swift17:42
tdasilvaswifterdarrell: hi, i just started testing with ssbench, but i'm a little confused about the use of -c flag when running workers and the -u flag when running the master17:48
tdasilvaswifterdarrell: I guess my question would be is the -u flag what determines that number of requests that would be sent to the proxy server at a time? basically simulating the number of users?17:50
swifterdarrelltdasilva: i honestly haven't looked at it in a long time, but IIRC, that's the case17:54
*** jj-mirantis has joined #openstack-swift17:55
*** acoles is now known as acoles_away17:56
jj-mirantisPardon me: is there a place people can go to ask questions about Swift operations? (not contributing, not deployment, just user stuff)17:58
tdasilvaswifterdarrell: ok, thanks! i'll keep poking around18:00
torgomaticjj-mirantis: for IRC that's here; otherwise try ask.openstack.org18:01
*** jamiehannaford has quit IRC18:01
*** annegent_ has quit IRC18:01
zaitcevI wish openstack-operators list was more lively and that large standalone Swift operators had a presence there.18:02
*** acoles_away has quit IRC18:03
*** kopparam has joined #openstack-swift18:05
*** lpabon has joined #openstack-swift18:18
*** jergerber has quit IRC18:18
*** shri has joined #openstack-swift18:19
*** mkollaro has quit IRC18:20
*** Tyger has joined #openstack-swift18:28
*** Andrew_____ has quit IRC18:30
*** annegent_ has joined #openstack-swift18:32
jj-mirantisQuestion (Swift object store in the context of an Icehouse cloud deployed on hosted hardware) - If I create a container, make it Public, put a file in it, check via the CLI that Read ACL is indeed set to .r:*,.rlistings as expected, shouldn't I be able to access that object on the public net via https://<storage_url>/object_name ?18:32
notmynamejj-mirantis: yes, I'd expect so. but I'm also guessing you're asking because that's not what you're seeing18:33
jj-mirantisNu. I'm getting Authentication required on this and every other transaction to this cloud.18:33
jj-mirantisI can issue commands via the client in a terminal. That all seems to work.18:34
jj-mirantisAnd upload things via Horizon, etc.18:34
notmynamejj-mirantis: when trying to diagnose this sort of thing, I find it helpful to use curl so you know exactly the commands being used and you can see where the issue is. eg with the CLI one CLI command may end up doing multiple API commands, and you don't know where it's going wrong18:35
notmynamejj-mirantis: just to start with, you can use "--debug" with the CLI18:35
jj-mirantisThing is, commands given via the CLI are all executed fine, seems like.18:36
*** annegent_ has quit IRC18:36
*** gvernik has joined #openstack-swift18:37
*** gyee has joined #openstack-swift18:38
zaitcevThis stuff was always a kind of a dark corner of Swift for me too.18:39
*** davidhadas__ is now known as davidhadas18:39
zaitcevI think you might need staticweb in the proxy's pipeline for this to work at all.18:39
jj-mirantisAhhhh ...18:39
zaitcevwait, wait18:40
jj-mirantisSo then, I should go get an auth token and see if I can access a container that way? Or is staticweb required for any curl-type transaction?18:40
zaitcevgo go gadget  find swift -name '*.py'| xargs grep -i referrer18:40
jj-mirantisOMG ... you mean there's a permitted referrers list?18:40
*** otoolee has quit IRC18:41
zaitcevwell yeah, IIRC that's what .r:* is18:41
jj-mirantis(d'oh!)18:41
zaitcevfirst you tell it authenticate with referrer than permit any referrer18:41
zaitcevit really sounds ass-backwards, but hey18:41
jj-mirantisI thank you for this wisdom.18:41
zaitcevNo, don't thank me yet. I don't know if I'm right!18:42
jj-mirantisTesting18:42
jj-mirantisHey - it gives me that warm sense of possible relief for two minutes, anyway. That's worth a lot.18:42
zaitcevswift/common/middleware/acl.py:    ``.referrer : *``       ``.r:*``18:42
zaitcevswift/common/middleware/acl.py:    result = ','.join(groups + referrers)18:42
zaitcevlooks like it's in acl not staticweb18:43
notmynameno, staticweb isnt' required for public access18:44
zaitcevyeah, sorry18:44
zaitcevbut acl is, right?18:44
*** kyles_ne has quit IRC18:44
notmynameacl is a helper module used by some auth middleware. it's not something in your pipeline18:45
*** kyles_ne has joined #openstack-swift18:45
zaitcevhmmm...18:46
zaitcevswift/common/middleware/tempauth.py:        if referrer_allowed(req.referer, referrers):18:46
zaitcevokay18:46
zaitcevjj-mirantis: what is your authentication thing? Keystone?18:48
jj-mirantisYes18:48
zaitcevswift/common/middleware/keystoneauth.py:        if swift_acl.referrer_allowed(req.referer, referrers):18:48
zaitcevshould work... Hmm. I need to experiment locally.18:48
notmynamejj-mirantis: so you said that all the curl commands work?18:48
jj-mirantisThanks!18:48
jj-mirantisNo, the curl commands all don't work (against public targets, when issued without tokens)18:49
notmynamejj-mirantis: the ones returned via the "--debug" option to the CLI18:49
jj-mirantisi.e., I can create Public containers, it seems their Read ACL is set correctly, I can upload to them and download from them via Horizon and CLI18:49
jj-mirantisBut not via curl or straight URLs18:49
*** kyles_ne has quit IRC18:50
notmynamejj-mirantis: when you say "CLI" do you mean the swift CLI18:50
jj-mirantisYes, via the swift client, I guess. Commands like swift stat container work18:50
notmynameyeah. and then the --debug option there should show some curl commands18:51
notmynameit log to stdout18:51
jj-mirantisOkay, great. Thank you.18:51
*** mikehn has quit IRC18:52
*** mikehn_ has joined #openstack-swift18:52
*** evanjfraser has quit IRC18:53
notmynamejj-mirantis: I strongly suspect that the CLI and horizon are sending auth tokens, so your "success" isnt' actually doing what you think18:54
*** evanjfraser has joined #openstack-swift18:54
notmynamejj-mirantis: you've hinted that this is some public cloud. note that rackspace cloud files doesn't allow public access without the CDN (which has a different API thing)18:54
*** jeblair has quit IRC18:55
*** byeager_away has quit IRC18:55
zaitcevOkay. So I have tested this with TempAuth and it worked perfectly.18:56
*** jeblair has joined #openstack-swift18:56
*** xianghui has quit IRC18:57
*** kota_ has joined #openstack-swift18:57
jj-mirantisIt's actuall Mirantis OpenStack Express18:57
*** kopparam has quit IRC18:57
*** portante has quit IRC18:57
*** peluse has quit IRC18:57
zaitcev1. uploaded, 2. curl => 401, 3. swift post -r '.r:*' testcont, 4. curl18:57
zaitcevcurl -k -v https://rhev-a24c-01.mpc.lab.eng.bos.redhat.com/v1/AUTH_test/testcont/rin_shibuya_pixiv.jpg  -- works so good without tokens that I got a JPEG dumped into my terminal, completely forgot about that :-)18:58
jj-mirantisThat's the expected behavior. You set it to public, and then you can get it directly.18:58
*** xianghui has joined #openstack-swift18:59
*** peluse has joined #openstack-swift19:00
*** tkay has quit IRC19:00
notmynamemeeting time19:00
jj-mirantis--debug on the client shows nothing, meanwhile. The command swift download --debug DemoContainer image.png delivers an image to my terminal and no inline messages at all.19:00
notmynamein #openstack-meeting19:00
jj-mirantisThanks, everybody.19:00
*** keving has joined #openstack-swift19:00
zaitcevjj-mirantis: double-check your public URL in curl, or actually do "swift stat -v" to get it and then use it as a base onto which you tack container and object.19:01
*** keving has left #openstack-swift19:01
zaitcevjj-mirantis: You are steadfastly refusing to show us actual commands and their output, so I cannot guess where you typoed it, but it's one common mistake: people put /v1/account/container/object, but this can't work. Need to use /v1/AUTH_longasshexcode/container/obejct19:02
*** kopparam has joined #openstack-swift19:02
*** acoles_ has joined #openstack-swift19:02
*** ChanServ sets mode: +v acoles_19:02
*** byeager_away has joined #openstack-swift19:02
*** dmsimard is now known as dmsimard_away19:02
jj-mirantishttp://23.246.243.194:8080/v1/AUTH_5e306846b56740f3b22ecbbd58595f53/DemoContainer/image.png19:03
jj-mirantis(is the Storage Url, with container and object appended)19:03
zaitcevoh, okay. that looks about right19:03
*** portante has joined #openstack-swift19:03
*** ChanServ sets mode: +v portante19:03
torgomatichm, keystone... doesn't that need some sort of delay_auth_decision = on in the configs?19:05
torgomaticit's one of those settings where you need to change from the default so it works at all19:05
torgomaticwhich are great19:05
torgomatic /s19:05
zaitcevI'll look into testing that after meeting... I have a Keystone instance around.19:06
jj-mirantisOkay ... discovery. When I do curl -H "X-Auth-Token: (ugly hex token)" (the above URL) I get the file delivered to my browser as a beautiful cascade of unicode code points.19:07
jj-mirantisSo this works via curl with token authentication. Just not "without the token" in the prescribed Public manner19:08
*** tongli has joined #openstack-swift19:09
*** pberis has quit IRC19:10
*** kopparam has quit IRC19:14
openstackgerritanju Tiwari proposed a change to openstack/swift: Added a check for limit value  https://review.openstack.org/11818619:14
*** dave-mccowan has quit IRC19:18
* mattoliverau goes back to bed, be back in a few hours.19:19
*** kota_ has quit IRC19:21
*** gvernik has quit IRC19:23
*** bill_az has joined #openstack-swift19:25
*** annegent_ has joined #openstack-swift19:26
*** annegent_ has quit IRC19:26
*** otoolee has joined #openstack-swift19:28
*** cutforth has joined #openstack-swift19:30
*** mahatic has quit IRC19:30
*** cutforth has quit IRC19:43
*** kyles_ne has joined #openstack-swift19:49
*** acoles_ has quit IRC20:01
zaitcevjj-mirantis: sorry, mate, my Keystone coughed up a lung... TRACE keystone.common.wsgi OperationalError: (OperationalError) no such table:20:05
*** tongli has quit IRC20:10
*** tongli has joined #openstack-swift20:11
*** otoolee has quit IRC20:31
*** tkay has joined #openstack-swift20:33
*** tkay has quit IRC20:35
*** nellysmitt has quit IRC20:37
*** nellysmitt has joined #openstack-swift20:38
*** nellysmitt has quit IRC20:42
*** otoolee has joined #openstack-swift20:47
*** miqui has quit IRC20:50
*** nshaikh has left #openstack-swift20:53
*** dmsimard_away is now known as dmsimard20:55
*** fifieldt has quit IRC21:00
*** fifieldt has joined #openstack-swift21:00
*** dave-mccowan has joined #openstack-swift21:03
*** erlon_ has quit IRC21:09
*** tkay has joined #openstack-swift21:09
*** tkay has quit IRC21:10
mattoliverauMorning (again)21:11
*** tongli has quit IRC21:32
*** tkay has joined #openstack-swift21:39
*** foexle has quit IRC21:40
*** swift_fan has left #openstack-swift21:41
*** tkay has quit IRC21:42
*** dmsimard is now known as dmsimard_away21:43
*** lpabon has quit IRC21:44
*** tkay has joined #openstack-swift21:46
*** CaioBrentano has quit IRC21:47
*** dave-mccowan has quit IRC21:57
*** classics1 is now known as classicsnail22:05
*** tdasilva has quit IRC22:22
openstackgerritMatthew Oliver proposed a change to openstack/swift: Add concurrent reads option to proxy  https://review.openstack.org/11771022:46
*** tkay has quit IRC22:48
*** Nadeem has quit IRC23:06
*** echevemaster has joined #openstack-swift23:15
zaitcevokay, the problem of jj-mirantis happens here too. The .r:* works with TempAuth but not with Keystone.23:21
zaitcevjj-mirantis: However, everything works perfectly if delay_auth_decision=1 is added to authtoken, as suggested by Sam (and by the source code of keystonetoken).23:26
jj-mirantisOh wow23:31
*** dmsimard_away is now known as dmsimard23:38
*** dmsimard is now known as dmsimard_away23:42
openstackgerritOpenStack Proposal Bot proposed a change to openstack/swift: Updated from global requirements  https://review.openstack.org/8873623:47

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