Friday, 2017-10-13

*** sdague has quit IRC00:19
*** rajathagasthya has quit IRC00:32
*** lewdnudist has joined #openstack-sdks00:38
*** LindaWang has joined #openstack-sdks00:47
*** lewdnudist has left #openstack-sdks01:38
*** markvoelker has joined #openstack-sdks01:47
*** zacksh has quit IRC02:20
*** markvoelker has quit IRC02:21
*** thingee has quit IRC02:22
*** zacksh has joined #openstack-sdks02:22
*** thingee has joined #openstack-sdks02:23
*** madorn has quit IRC02:34
*** madorn has joined #openstack-sdks02:35
*** dave-mccowan has quit IRC02:41
openstackgerritLin Yang proposed openstack/python-openstackclient master: Add python-rsdclient into plugin list  https://review.openstack.org/51168302:44
*** rajathagasthya has joined #openstack-sdks02:49
*** ragasthya has joined #openstack-sdks02:58
*** rajathagasthya has quit IRC03:00
*** annp has joined #openstack-sdks03:00
*** bobh has quit IRC03:03
openstackgerritLin Yang proposed openstack/python-openstackclient master: Add python-rsdclient into plugin list  https://review.openstack.org/51168303:14
*** markvoelker has joined #openstack-sdks03:18
*** edmondsw has joined #openstack-sdks03:38
*** edmondsw has quit IRC03:45
*** markvoelker has quit IRC03:51
*** hoangcx has quit IRC04:00
*** hoangcx has joined #openstack-sdks04:01
*** shu-mutou-AWAY is now known as shu-mutou04:04
*** gildub has quit IRC04:20
*** markvoelker has joined #openstack-sdks04:49
*** bobh has joined #openstack-sdks04:54
*** bobh has quit IRC04:58
*** ragasthya has quit IRC05:04
*** rajathagasthya has joined #openstack-sdks05:10
*** chlong has joined #openstack-sdks05:20
*** markvoelker has quit IRC05:22
*** gouthamr has quit IRC05:24
*** edmondsw has joined #openstack-sdks05:27
*** edmondsw has quit IRC05:32
*** nikhil_k has quit IRC05:46
*** dfflanders has joined #openstack-sdks06:08
*** markvoelker has joined #openstack-sdks06:19
*** e0ne has joined #openstack-sdks06:32
*** ragasthya has joined #openstack-sdks06:35
*** e0ne has quit IRC06:35
*** e0ne has joined #openstack-sdks06:35
*** rajathagasthya has quit IRC06:37
*** markvoelker has quit IRC06:52
*** dfflanders has quit IRC06:52
*** edmondsw has joined #openstack-sdks07:15
*** edmondsw has quit IRC07:20
*** dtantsur|afk has quit IRC07:26
*** dtantsur has joined #openstack-sdks07:31
*** ragasthya has quit IRC07:32
*** e0ne has quit IRC07:33
*** markvoelker has joined #openstack-sdks07:50
*** jpich has joined #openstack-sdks07:55
*** markvoelker has quit IRC08:23
*** ralonsoh has joined #openstack-sdks08:32
*** e0ne has joined #openstack-sdks08:41
*** dtantsur has quit IRC08:57
*** dtantsur has joined #openstack-sdks08:58
*** edmondsw has joined #openstack-sdks09:04
*** edmondsw has quit IRC09:08
*** markvoelker has joined #openstack-sdks09:20
openstackgerritDuong Ha-Quang proposed openstack/cliff master: Move legacy jobs to project  https://review.openstack.org/51041809:28
*** chlong has quit IRC09:40
*** shu-mutou is now known as shu-mutou-AWAY09:47
*** markvoelker has quit IRC09:53
*** annp has quit IRC10:22
*** sdague has joined #openstack-sdks10:24
*** hoangcx has quit IRC10:44
*** cdent has joined #openstack-sdks10:50
*** markvoelker has joined #openstack-sdks10:50
*** edmondsw has joined #openstack-sdks11:20
*** markvoelker has quit IRC11:23
*** erlon has joined #openstack-sdks11:23
*** Qiming has quit IRC11:26
*** Qiming has joined #openstack-sdks11:28
*** LindaWang has quit IRC12:06
*** bobh has joined #openstack-sdks12:13
*** markvoelker has joined #openstack-sdks12:15
*** LindaWang has joined #openstack-sdks12:24
*** efried is now known as fried_rice12:26
kuzkogood day y'all12:34
kuzkojust a heads up mordred : delete_server asks for a name and ID and doesn't allow for passing python server objects, is it intended12:35
*** Qiming has quit IRC12:41
*** Qiming has joined #openstack-sdks12:42
mordredkuzko: hrm. that's strange - nope, it's not intended12:42
*** dave-mccowan has joined #openstack-sdks12:42
mordredkuzko: I'll look in to that- btw - 1.24.0 should be released today with the other fixes in it12:44
*** dave-mccowan has quit IRC12:47
*** edleafe is now known as figleaf13:02
*** cdent has quit IRC13:13
*** nikhil_k has joined #openstack-sdks13:30
*** Qiming has quit IRC13:31
*** chlong has joined #openstack-sdks13:32
*** slaweq has quit IRC13:33
*** Qiming has joined #openstack-sdks13:33
*** dave-mccowan has joined #openstack-sdks13:48
*** d0ugal has quit IRC13:48
*** gouthamr has joined #openstack-sdks13:49
*** reedip has quit IRC13:50
*** gouthamr has quit IRC13:51
*** gouthamr has joined #openstack-sdks13:51
*** cdent has joined #openstack-sdks13:54
*** dave-mcc_ has joined #openstack-sdks13:55
*** fzdarsky has joined #openstack-sdks13:57
*** dave-mccowan has quit IRC13:57
*** reedip has joined #openstack-sdks14:02
*** d0ugal has joined #openstack-sdks14:03
*** Qiming has quit IRC14:19
*** Qiming has joined #openstack-sdks14:19
openstackgerritMerged openstack/python-openstackclient master: Avoid default mutable values in arguments  https://review.openstack.org/51087614:23
*** Dinesh_Bhor has quit IRC14:34
*** dave-mcc_ is now known as dave-mccowan14:35
openstackgerritMerged openstack/cliff master: Generate demoapp CLI refernece  https://review.openstack.org/48313414:42
*** LindaWang has quit IRC14:45
*** LindaWang has joined #openstack-sdks14:46
*** e0ne has quit IRC14:47
*** bobh has quit IRC14:48
*** reedip has quit IRC14:53
*** reedip has joined #openstack-sdks15:05
*** LindaWang1 has joined #openstack-sdks15:20
*** rajathagasthya has joined #openstack-sdks15:21
*** LindaWang has quit IRC15:22
*** alex_xu has quit IRC15:22
*** LindaWang1 is now known as LindaWang15:22
*** LindaWang has quit IRC15:26
*** LindaWang has joined #openstack-sdks15:27
*** Qiming has quit IRC15:29
*** alex_xu has joined #openstack-sdks15:31
*** Qiming has joined #openstack-sdks15:33
*** dtantsur is now known as dtantsur|afk15:39
*** bobh has joined #openstack-sdks15:47
*** chlong has quit IRC15:53
*** Qiming has quit IRC15:55
*** LindaWang has quit IRC15:56
*** Qiming has joined #openstack-sdks15:57
*** jpich has quit IRC16:28
*** fried_rice is now known as fried_rice_injer16:28
*** fried_rice_injer is now known as friedrice_injera16:29
*** e0ne has joined #openstack-sdks17:04
*** e0ne has quit IRC17:37
*** ragasthya has joined #openstack-sdks17:59
*** ralonsoh has quit IRC18:01
*** rajathagasthya has quit IRC18:01
openstackgerritMerged openstack/python-openstackclient master: Optimize getting endpoint list  https://review.openstack.org/50726518:25
*** gouthamr has quit IRC18:47
*** friedrice_injera is now known as fried_rice19:12
*** cdent has quit IRC19:16
*** gouthamr has joined #openstack-sdks19:22
*** gouthamr_ has joined #openstack-sdks19:24
*** gouthamr has quit IRC19:26
*** cdent has joined #openstack-sdks20:08
*** sdague has quit IRC20:13
*** edmondsw has quit IRC20:45
mordreddtroyer: I just found the funnest thing in the WORLD in glance REST api ...20:48
dtroyeroh I need a laugh20:49
mordreddtroyer: in pagination, next links include the API version - so you get "next": "/v2/images?marker=bb15732f-e016-4544-a7e9-c73db58ce3e5"20:49
dtroyerwheeee!!!!!!!!!20:49
mordreddtroyer: which would be fine - except that the base catalog url is usually 'https://images.example.com/v2'20:50
dtroyerto be fair, pagination is a general mess almost everywhere20:50
mordredso if youhave an Adapter on https://images.example.com/v2 and you follow the next link ... you get https://images.example.com/v2/v2/images?marker=bb15732f-e016-4544-a7e9-c73db58ce3e520:50
mordred\o/20:50
mordreddtroyer: indeed20:50
dtroyerbut that one is special…20:51
mordredyah. it's even internally inconsistent - that's what I really like about it20:51
mordredI believe part of the issue is that glanceclient strips the version suffix from the catalog and stores the url internally as https://images.example.com - then makes all of its REST calls as 'GET /v2/images' ... so for glanceclient the dissonance doesn't surface20:52
mordreddtroyer: anywho - I thought you'd enjoy that one :)20:53
dtroyerglanceclient is, uh, well you know…20:54
cdentmordred: is that a problem with the next link or the adapter?20:56
cdentpresumably the adapter should see an absolute link as an absolute link?20:56
cdentI have a similar problem when dealing prefixes in gabbi, it’s a pain in the ass20:57
mordredcdent: well... it's not always that simple20:57
cdentthere’s no great solution20:57
mordredcdent: bcause of suburl services20:57
cdentright, I know, that’s what I’m saying: adapters (not just ksa) need to have more brains20:57
cdentwhich is a pain20:57
mordredyah20:57
mordredI'd say the bug is in the next link - because it should EITHER be 'images?marker=bb15732f-e016-4544-a7e9-c73db58ce3e5'20:58
mordredin which case the correct behavior is easy to figure out20:58
mordredor it shold be 'https://images.example.com/v2/images?marker=bb15732f-e016-4544-a7e9-c73db58ce3e5'20:58
mordredin which case same thing20:58
cdentwould you accept ///images?20:58
cdentor is it // (can’t remember)20:58
mordredyah - ksa adapter would do the right thing with that ... but i'm not sure it's correct for glance to return that - because glance might or might not be deployed at a url root20:59
cdentsorry, that wasn’t I mean20:59
cdentt20:59
cdent/v2/images[…] or ///v2/images[…] (whichever is actually the magic fully qualify me as in the current context)21:00
mordredyah- so ... we currently treat /v2/images as 'fully qualify me in the current context' ...21:00
cdentI think the relative is probably better in the long run, but *shrug*21:01
mordredit's just that the current context in this case is https://images.example.com/v2 - which is why it appends like that21:01
* mordred is probably saying at LEAST one wrong word here ...21:02
cdentsorry, I’m talking a browser thing where // (or /// can’t remember) means off root of whatever the scheme and host is of “this page”21:03
mordredso - technically I think we're doing that join wrong21:03
cdentyes21:03
mordred>>> urllib.parse.urljoin('https://images.example.com/images/v2', '/v2/images')21:04
mordred'https://images.example.com/v2/images'21:04
mordred>>> urllib.parse.urljoin('https://images.example.com/images/v2', '//v2/images')21:04
mordred'https://v2/images'21:04
cdentyeah, I suspect urllib doesn’t speak browser magic21:04
mordredyah - mainly - next links returning rooted/absolute urls is a thing we shold not do21:05
cdentyah21:05
mordredsince that makes suburl deployments and version discovery roots both very ... confusing ... to deal with21:05
mordredwhereas if it was just 'next': 'images?marker=bb15732f-e016-4544-a7e9-c73db58ce3e5'21:06
mordredthen the joins will all work properly no matter what the setup is - and it's not unclear what it's relative to21:06
cdentyah21:06
* cdent blames requests for introducing mountpounts to http21:07
cdentsuch typing. wow.21:07
cdentI think I should exit this establishment in favor of some relaxation. Good night all.21:08
*** cdent has quit IRC21:08
*** ragasthya has quit IRC21:31
*** dave-mccowan has quit IRC21:34
*** bobh has quit IRC22:07
openstackgerritDean Troyer proposed openstack/cliff master: Add a --errexit option to exit the comamnd loop on command errors  https://review.openstack.org/51197122:10
openstackgerritMerged openstack/cliff master: doc: Cleanup of demoapp doc  https://review.openstack.org/51080222:19
*** gouthamr_ has quit IRC22:23
*** figleaf is now known as edleafe22:36
*** rajathagasthya has joined #openstack-sdks22:49
*** rajathagasthya has quit IRC23:19
*** rajathagasthya has joined #openstack-sdks23:19
*** fried_rice is now known as efried23:23
*** shu-mutou-AWAY has quit IRC23:23
*** gouthamr has joined #openstack-sdks23:29
*** bobh has joined #openstack-sdks23:37
*** gouthamr_ has joined #openstack-sdks23:42
*** gouthamr has quit IRC23:46
*** markvoelker has quit IRC23:49
*** gouthamr_ has quit IRC23:57

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