*** sdague has quit IRC | 00:19 | |
*** rajathagasthya has quit IRC | 00:32 | |
*** lewdnudist has joined #openstack-sdks | 00:38 | |
*** LindaWang has joined #openstack-sdks | 00:47 | |
*** lewdnudist has left #openstack-sdks | 01:38 | |
*** markvoelker has joined #openstack-sdks | 01:47 | |
*** zacksh has quit IRC | 02:20 | |
*** markvoelker has quit IRC | 02:21 | |
*** thingee has quit IRC | 02:22 | |
*** zacksh has joined #openstack-sdks | 02:22 | |
*** thingee has joined #openstack-sdks | 02:23 | |
*** madorn has quit IRC | 02:34 | |
*** madorn has joined #openstack-sdks | 02:35 | |
*** dave-mccowan has quit IRC | 02:41 | |
openstackgerrit | Lin Yang proposed openstack/python-openstackclient master: Add python-rsdclient into plugin list https://review.openstack.org/511683 | 02:44 |
---|---|---|
*** rajathagasthya has joined #openstack-sdks | 02:49 | |
*** ragasthya has joined #openstack-sdks | 02:58 | |
*** rajathagasthya has quit IRC | 03:00 | |
*** annp has joined #openstack-sdks | 03:00 | |
*** bobh has quit IRC | 03:03 | |
openstackgerrit | Lin Yang proposed openstack/python-openstackclient master: Add python-rsdclient into plugin list https://review.openstack.org/511683 | 03:14 |
*** markvoelker has joined #openstack-sdks | 03:18 | |
*** edmondsw has joined #openstack-sdks | 03:38 | |
*** edmondsw has quit IRC | 03:45 | |
*** markvoelker has quit IRC | 03:51 | |
*** hoangcx has quit IRC | 04:00 | |
*** hoangcx has joined #openstack-sdks | 04:01 | |
*** shu-mutou-AWAY is now known as shu-mutou | 04:04 | |
*** gildub has quit IRC | 04:20 | |
*** markvoelker has joined #openstack-sdks | 04:49 | |
*** bobh has joined #openstack-sdks | 04:54 | |
*** bobh has quit IRC | 04:58 | |
*** ragasthya has quit IRC | 05:04 | |
*** rajathagasthya has joined #openstack-sdks | 05:10 | |
*** chlong has joined #openstack-sdks | 05:20 | |
*** markvoelker has quit IRC | 05:22 | |
*** gouthamr has quit IRC | 05:24 | |
*** edmondsw has joined #openstack-sdks | 05:27 | |
*** edmondsw has quit IRC | 05:32 | |
*** nikhil_k has quit IRC | 05:46 | |
*** dfflanders has joined #openstack-sdks | 06:08 | |
*** markvoelker has joined #openstack-sdks | 06:19 | |
*** e0ne has joined #openstack-sdks | 06:32 | |
*** ragasthya has joined #openstack-sdks | 06:35 | |
*** e0ne has quit IRC | 06:35 | |
*** e0ne has joined #openstack-sdks | 06:35 | |
*** rajathagasthya has quit IRC | 06:37 | |
*** markvoelker has quit IRC | 06:52 | |
*** dfflanders has quit IRC | 06:52 | |
*** edmondsw has joined #openstack-sdks | 07:15 | |
*** edmondsw has quit IRC | 07:20 | |
*** dtantsur|afk has quit IRC | 07:26 | |
*** dtantsur has joined #openstack-sdks | 07:31 | |
*** ragasthya has quit IRC | 07:32 | |
*** e0ne has quit IRC | 07:33 | |
*** markvoelker has joined #openstack-sdks | 07:50 | |
*** jpich has joined #openstack-sdks | 07:55 | |
*** markvoelker has quit IRC | 08:23 | |
*** ralonsoh has joined #openstack-sdks | 08:32 | |
*** e0ne has joined #openstack-sdks | 08:41 | |
*** dtantsur has quit IRC | 08:57 | |
*** dtantsur has joined #openstack-sdks | 08:58 | |
*** edmondsw has joined #openstack-sdks | 09:04 | |
*** edmondsw has quit IRC | 09:08 | |
*** markvoelker has joined #openstack-sdks | 09:20 | |
openstackgerrit | Duong Ha-Quang proposed openstack/cliff master: Move legacy jobs to project https://review.openstack.org/510418 | 09:28 |
*** chlong has quit IRC | 09:40 | |
*** shu-mutou is now known as shu-mutou-AWAY | 09:47 | |
*** markvoelker has quit IRC | 09:53 | |
*** annp has quit IRC | 10:22 | |
*** sdague has joined #openstack-sdks | 10:24 | |
*** hoangcx has quit IRC | 10:44 | |
*** cdent has joined #openstack-sdks | 10:50 | |
*** markvoelker has joined #openstack-sdks | 10:50 | |
*** edmondsw has joined #openstack-sdks | 11:20 | |
*** markvoelker has quit IRC | 11:23 | |
*** erlon has joined #openstack-sdks | 11:23 | |
*** Qiming has quit IRC | 11:26 | |
*** Qiming has joined #openstack-sdks | 11:28 | |
*** LindaWang has quit IRC | 12:06 | |
*** bobh has joined #openstack-sdks | 12:13 | |
*** markvoelker has joined #openstack-sdks | 12:15 | |
*** LindaWang has joined #openstack-sdks | 12:24 | |
*** efried is now known as fried_rice | 12:26 | |
kuzko | good day y'all | 12:34 |
kuzko | just a heads up mordred : delete_server asks for a name and ID and doesn't allow for passing python server objects, is it intended | 12:35 |
*** Qiming has quit IRC | 12:41 | |
*** Qiming has joined #openstack-sdks | 12:42 | |
mordred | kuzko: hrm. that's strange - nope, it's not intended | 12:42 |
*** dave-mccowan has joined #openstack-sdks | 12:42 | |
mordred | kuzko: I'll look in to that- btw - 1.24.0 should be released today with the other fixes in it | 12:44 |
*** dave-mccowan has quit IRC | 12:47 | |
*** edleafe is now known as figleaf | 13:02 | |
*** cdent has quit IRC | 13:13 | |
*** nikhil_k has joined #openstack-sdks | 13:30 | |
*** Qiming has quit IRC | 13:31 | |
*** chlong has joined #openstack-sdks | 13:32 | |
*** slaweq has quit IRC | 13:33 | |
*** Qiming has joined #openstack-sdks | 13:33 | |
*** dave-mccowan has joined #openstack-sdks | 13:48 | |
*** d0ugal has quit IRC | 13:48 | |
*** gouthamr has joined #openstack-sdks | 13:49 | |
*** reedip has quit IRC | 13:50 | |
*** gouthamr has quit IRC | 13:51 | |
*** gouthamr has joined #openstack-sdks | 13:51 | |
*** cdent has joined #openstack-sdks | 13:54 | |
*** dave-mcc_ has joined #openstack-sdks | 13:55 | |
*** fzdarsky has joined #openstack-sdks | 13:57 | |
*** dave-mccowan has quit IRC | 13:57 | |
*** reedip has joined #openstack-sdks | 14:02 | |
*** d0ugal has joined #openstack-sdks | 14:03 | |
*** Qiming has quit IRC | 14:19 | |
*** Qiming has joined #openstack-sdks | 14:19 | |
openstackgerrit | Merged openstack/python-openstackclient master: Avoid default mutable values in arguments https://review.openstack.org/510876 | 14:23 |
*** Dinesh_Bhor has quit IRC | 14:34 | |
*** dave-mcc_ is now known as dave-mccowan | 14:35 | |
openstackgerrit | Merged openstack/cliff master: Generate demoapp CLI refernece https://review.openstack.org/483134 | 14:42 |
*** LindaWang has quit IRC | 14:45 | |
*** LindaWang has joined #openstack-sdks | 14:46 | |
*** e0ne has quit IRC | 14:47 | |
*** bobh has quit IRC | 14:48 | |
*** reedip has quit IRC | 14:53 | |
*** reedip has joined #openstack-sdks | 15:05 | |
*** LindaWang1 has joined #openstack-sdks | 15:20 | |
*** rajathagasthya has joined #openstack-sdks | 15:21 | |
*** LindaWang has quit IRC | 15:22 | |
*** alex_xu has quit IRC | 15:22 | |
*** LindaWang1 is now known as LindaWang | 15:22 | |
*** LindaWang has quit IRC | 15:26 | |
*** LindaWang has joined #openstack-sdks | 15:27 | |
*** Qiming has quit IRC | 15:29 | |
*** alex_xu has joined #openstack-sdks | 15:31 | |
*** Qiming has joined #openstack-sdks | 15:33 | |
*** dtantsur is now known as dtantsur|afk | 15:39 | |
*** bobh has joined #openstack-sdks | 15:47 | |
*** chlong has quit IRC | 15:53 | |
*** Qiming has quit IRC | 15:55 | |
*** LindaWang has quit IRC | 15:56 | |
*** Qiming has joined #openstack-sdks | 15:57 | |
*** jpich has quit IRC | 16:28 | |
*** fried_rice is now known as fried_rice_injer | 16:28 | |
*** fried_rice_injer is now known as friedrice_injera | 16:29 | |
*** e0ne has joined #openstack-sdks | 17:04 | |
*** e0ne has quit IRC | 17:37 | |
*** ragasthya has joined #openstack-sdks | 17:59 | |
*** ralonsoh has quit IRC | 18:01 | |
*** rajathagasthya has quit IRC | 18:01 | |
openstackgerrit | Merged openstack/python-openstackclient master: Optimize getting endpoint list https://review.openstack.org/507265 | 18:25 |
*** gouthamr has quit IRC | 18:47 | |
*** friedrice_injera is now known as fried_rice | 19:12 | |
*** cdent has quit IRC | 19:16 | |
*** gouthamr has joined #openstack-sdks | 19:22 | |
*** gouthamr_ has joined #openstack-sdks | 19:24 | |
*** gouthamr has quit IRC | 19:26 | |
*** cdent has joined #openstack-sdks | 20:08 | |
*** sdague has quit IRC | 20:13 | |
*** edmondsw has quit IRC | 20:45 | |
mordred | dtroyer: I just found the funnest thing in the WORLD in glance REST api ... | 20:48 |
dtroyer | oh I need a laugh | 20:49 |
mordred | dtroyer: in pagination, next links include the API version - so you get "next": "/v2/images?marker=bb15732f-e016-4544-a7e9-c73db58ce3e5" | 20:49 |
dtroyer | wheeee!!!!!!!!! | 20:49 |
mordred | dtroyer: which would be fine - except that the base catalog url is usually 'https://images.example.com/v2' | 20:50 |
dtroyer | to be fair, pagination is a general mess almost everywhere | 20:50 |
mordred | so 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-c73db58ce3e5 | 20:50 |
mordred | \o/ | 20:50 |
mordred | dtroyer: indeed | 20:50 |
dtroyer | but that one is special… | 20:51 |
mordred | yah. it's even internally inconsistent - that's what I really like about it | 20:51 |
mordred | I 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 surface | 20:52 |
mordred | dtroyer: anywho - I thought you'd enjoy that one :) | 20:53 |
dtroyer | glanceclient is, uh, well you know… | 20:54 |
cdent | mordred: is that a problem with the next link or the adapter? | 20:56 |
cdent | presumably the adapter should see an absolute link as an absolute link? | 20:56 |
cdent | I have a similar problem when dealing prefixes in gabbi, it’s a pain in the ass | 20:57 |
mordred | cdent: well... it's not always that simple | 20:57 |
cdent | there’s no great solution | 20:57 |
mordred | cdent: bcause of suburl services | 20:57 |
cdent | right, I know, that’s what I’m saying: adapters (not just ksa) need to have more brains | 20:57 |
cdent | which is a pain | 20:57 |
mordred | yah | 20:57 |
mordred | I'd say the bug is in the next link - because it should EITHER be 'images?marker=bb15732f-e016-4544-a7e9-c73db58ce3e5' | 20:58 |
mordred | in which case the correct behavior is easy to figure out | 20:58 |
mordred | or it shold be 'https://images.example.com/v2/images?marker=bb15732f-e016-4544-a7e9-c73db58ce3e5' | 20:58 |
mordred | in which case same thing | 20:58 |
cdent | would you accept ///images? | 20:58 |
cdent | or is it // (can’t remember) | 20:58 |
mordred | yah - 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 root | 20:59 |
cdent | sorry, that wasn’t I mean | 20:59 |
cdent | t | 20:59 |
cdent | /v2/images[…] or ///v2/images[…] (whichever is actually the magic fully qualify me as in the current context) | 21:00 |
mordred | yah- so ... we currently treat /v2/images as 'fully qualify me in the current context' ... | 21:00 |
cdent | I think the relative is probably better in the long run, but *shrug* | 21:01 |
mordred | it's just that the current context in this case is https://images.example.com/v2 - which is why it appends like that | 21:01 |
* mordred is probably saying at LEAST one wrong word here ... | 21:02 | |
cdent | sorry, 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 |
mordred | so - technically I think we're doing that join wrong | 21:03 |
cdent | yes | 21: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 |
cdent | yeah, I suspect urllib doesn’t speak browser magic | 21:04 |
mordred | yah - mainly - next links returning rooted/absolute urls is a thing we shold not do | 21:05 |
cdent | yah | 21:05 |
mordred | since that makes suburl deployments and version discovery roots both very ... confusing ... to deal with | 21:05 |
mordred | whereas if it was just 'next': 'images?marker=bb15732f-e016-4544-a7e9-c73db58ce3e5' | 21:06 |
mordred | then the joins will all work properly no matter what the setup is - and it's not unclear what it's relative to | 21:06 |
cdent | yah | 21:06 |
* cdent blames requests for introducing mountpounts to http | 21:07 | |
cdent | such typing. wow. | 21:07 |
cdent | I think I should exit this establishment in favor of some relaxation. Good night all. | 21:08 |
*** cdent has quit IRC | 21:08 | |
*** ragasthya has quit IRC | 21:31 | |
*** dave-mccowan has quit IRC | 21:34 | |
*** bobh has quit IRC | 22:07 | |
openstackgerrit | Dean Troyer proposed openstack/cliff master: Add a --errexit option to exit the comamnd loop on command errors https://review.openstack.org/511971 | 22:10 |
openstackgerrit | Merged openstack/cliff master: doc: Cleanup of demoapp doc https://review.openstack.org/510802 | 22:19 |
*** gouthamr_ has quit IRC | 22:23 | |
*** figleaf is now known as edleafe | 22:36 | |
*** rajathagasthya has joined #openstack-sdks | 22:49 | |
*** rajathagasthya has quit IRC | 23:19 | |
*** rajathagasthya has joined #openstack-sdks | 23:19 | |
*** fried_rice is now known as efried | 23:23 | |
*** shu-mutou-AWAY has quit IRC | 23:23 | |
*** gouthamr has joined #openstack-sdks | 23:29 | |
*** bobh has joined #openstack-sdks | 23:37 | |
*** gouthamr_ has joined #openstack-sdks | 23:42 | |
*** gouthamr has quit IRC | 23:46 | |
*** markvoelker has quit IRC | 23:49 | |
*** gouthamr_ has quit IRC | 23:57 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!