Friday, 2018-02-16

*** salv-orlando has quit IRC00:06
*** salv-orlando has joined #openstack-sdks00:07
*** salv-orlando has quit IRC00:12
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Work around discovery being a bit messy for cinder  https://review.openstack.org/54517400:22
openstackgerritDaniel Speichert proposed openstack/python-openstacksdk master: Strip API version from subsequent paginated links  https://review.openstack.org/54303500:26
openstackgerritDaniel Speichert proposed openstack/python-openstacksdk master: It seems to be working as expected for glance pagination.  https://review.openstack.org/54517500:39
*** bobh has joined #openstack-sdks00:48
*** bobh has quit IRC00:52
*** salv-orlando has joined #openstack-sdks01:08
*** salv-orlando has quit IRC01:12
*** salv-orlando has joined #openstack-sdks02:08
*** fzdarsky__ has joined #openstack-sdks02:11
*** salv-orlando has quit IRC02:13
*** fzdarsky_ has quit IRC02:15
openstackgerritOpenStack Proposal Bot proposed openstack/openstackclient master: Updated from global requirements  https://review.openstack.org/52190202:36
*** slaweq has joined #openstack-sdks02:46
openstackgerritOpenStack Proposal Bot proposed openstack/python-openstackclient master: Updated from global requirements  https://review.openstack.org/54422202:49
*** slaweq has quit IRC02:50
*** dave-mccowan has joined #openstack-sdks03:01
*** salv-orlando has joined #openstack-sdks03:09
*** dave-mcc_ has joined #openstack-sdks03:14
*** salv-orlando has quit IRC03:14
*** dave-mccowan has quit IRC03:15
*** harlowja_ has quit IRC03:23
*** dave-mcc_ has quit IRC03:41
*** gkadam has joined #openstack-sdks03:42
*** bobh has joined #openstack-sdks03:52
*** bobh has quit IRC03:57
*** salv-orlando has joined #openstack-sdks04:23
*** salv-orlando has quit IRC04:29
*** bobh has joined #openstack-sdks04:30
*** gildub has joined #openstack-sdks04:31
*** gildub has quit IRC04:39
*** harlowja has joined #openstack-sdks04:46
*** slaweq has joined #openstack-sdks04:46
*** slaweq has quit IRC04:51
*** harlowja has quit IRC04:59
*** bobh has quit IRC05:03
*** harlowja has joined #openstack-sdks05:19
*** salv-orlando has joined #openstack-sdks05:25
*** harlowja has quit IRC05:27
*** salv-orlando has quit IRC05:29
*** salv-orlando has joined #openstack-sdks06:25
*** openstackstatus has quit IRC06:27
*** openstack has joined #openstack-sdks06:31
*** ChanServ sets mode: +o openstack06:31
*** salv-orlando has joined #openstack-sdks06:32
*** gkadam has quit IRC07:04
*** halbbalda has joined #openstack-sdks07:09
*** gkadam has joined #openstack-sdks07:10
*** reedip has quit IRC07:10
*** halbbalda has quit IRC07:16
*** halbbalda has joined #openstack-sdks07:17
*** gkadam has quit IRC07:33
*** slaweq has joined #openstack-sdks07:44
*** dtantsur|afk is now known as dtantsur07:46
*** salv-orlando has quit IRC08:32
*** salv-orlando has joined #openstack-sdks08:32
*** e0ne has joined #openstack-sdks08:35
*** salv-orlando has quit IRC08:37
*** jpena|off is now known as jpena08:41
*** salv-orlando has joined #openstack-sdks08:45
*** slaweq_ has joined #openstack-sdks08:48
*** ralonsoh has joined #openstack-sdks08:51
*** slaweq_ has quit IRC08:53
*** e0ne has quit IRC08:54
*** jpich has joined #openstack-sdks08:54
*** salv-orlando has quit IRC09:04
*** salv-orlando has joined #openstack-sdks09:05
*** salv-orlando has quit IRC09:09
*** stephenfin is now known as finucannot09:35
*** umbSublime has joined #openstack-sdks09:45
*** openstackgerrit has quit IRC10:18
*** e0ne has joined #openstack-sdks10:34
*** cdent has joined #openstack-sdks10:46
*** kmy has quit IRC10:49
*** kmy has joined #openstack-sdks10:49
*** fzdarsky__ is now known as fzdarsky|afk10:50
*** e0ne has quit IRC11:12
*** e0ne has joined #openstack-sdks11:13
*** sdague has joined #openstack-sdks11:39
*** cdent has quit IRC12:08
*** salv-orlando has joined #openstack-sdks12:10
*** cdent has joined #openstack-sdks12:38
*** jpena is now known as jpena|lunch12:48
*** slaweq_ has joined #openstack-sdks12:50
*** slaweq_ has quit IRC12:54
*** dave-mccowan has joined #openstack-sdks13:09
*** zhongjun has quit IRC13:20
*** fzdarsky|afk is now known as fzdarsky13:30
*** dave-mccowan has quit IRC13:31
*** jpena|lunch is now known as jpena13:51
*** cdent has quit IRC14:00
*** ralonsoh_ has joined #openstack-sdks14:00
*** ralonsoh has quit IRC14:03
*** dave-mccowan has joined #openstack-sdks14:05
*** bobh has joined #openstack-sdks14:06
*** edleafe is now known as figleaf14:08
*** openstackgerrit has joined #openstack-sdks14:38
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Honor service type aliases from the catalog  https://review.openstack.org/54435614:38
*** salv-orl_ has joined #openstack-sdks14:55
*** salv-orlando has quit IRC14:58
*** pooja_jadhav has quit IRC15:00
*** lbragstad has quit IRC15:14
*** lbragstad has joined #openstack-sdks15:15
*** cdent has joined #openstack-sdks15:38
*** slaweq has quit IRC15:42
*** slaweq has joined #openstack-sdks15:42
*** e0ne_ has joined #openstack-sdks15:43
*** e0ne has quit IRC15:43
*** e0ne has joined #openstack-sdks15:45
*** slaweq has quit IRC15:45
*** slaweq has joined #openstack-sdks15:45
*** e0ne_ has quit IRC15:47
*** slaweq has quit IRC15:49
*** salv-orl_ has quit IRC16:00
*** salv-orlando has joined #openstack-sdks16:00
*** salv-orlando has quit IRC16:05
*** slaweq has joined #openstack-sdks16:06
*** finucannot is now known as stephenfin16:10
*** slaweq has quit IRC16:11
*** markvoelker has quit IRC16:23
*** markvoelker_ has joined #openstack-sdks16:27
*** slaweq has joined #openstack-sdks16:34
*** slaweq has quit IRC16:39
*** slaweq has joined #openstack-sdks17:04
*** e0ne has quit IRC17:06
*** jpich has quit IRC17:15
daspmordred: I updated https://review.openstack.org/#/c/543035/ and the fix works for Glance. Should I worry about failing tests? Do you think there's a way I can test pagination here? I'm not entirely sure what integration testing is in place but if there was a test with paginated image listing, we probably could have caught the issue.17:16
*** bobh has quit IRC17:40
*** harlowja has joined #openstack-sdks17:55
*** lbragstad has quit IRC17:55
*** lbragstad has joined #openstack-sdks17:56
*** jpena is now known as jpena|off18:09
*** salv-orlando has joined #openstack-sdks18:10
*** bobh has joined #openstack-sdks18:10
*** bobh has quit IRC18:15
*** bobh has joined #openstack-sdks18:24
*** ralonsoh_ has quit IRC18:26
*** dtantsur is now known as dtantsur|afk18:29
*** harlowja has quit IRC18:44
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Update base test case to use base from oslotest  https://review.openstack.org/54037218:45
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Update all test base classes to use base.TestCase  https://review.openstack.org/54037318:45
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Honor service type aliases from the catalog  https://review.openstack.org/54435618:45
mordreddasp: yeah - we should fix the tests, that's a real error. we've got functional tests in place ... but we'd need to get enough images loaded to cause pagination to be returned which I think would be hard on an 8G devstack18:46
mordreddasp: I think for now we should just add a couple of requests-mock tests that return pagination links in all of the combinations18:47
mordreddasp: I'll see if I can't knock up an example of that ...18:47
*** harlowja has joined #openstack-sdks18:48
daspmordred: makes sense. We can just create 200 fake image with random dd'ed payload of 1 MB each.18:49
daspmordred: not sure if you've seen my two other changes proposed but they're about properties. I'm not sure if the current approach of adding every possible property added in source as a "known" property is to be continued. There are countless options and metadata definition is really for that. So in one change I proposed adding a few and in another, I fixed loading properties property with "everything else", since Glance image object is18:51
daspflattened. Is there any established direction for what's the better approach?18:51
openstackgerritVladyslav Drok proposed openstack/osc-lib master: Allow to use the none auth plugin  https://review.openstack.org/51269918:57
*** cdent has quit IRC18:58
mordreddasp: I like the 200 fake images with 1M dd payload idea19:03
mordreddasp: will look at the properties patches next - in the shade layer we put everything we don't know about into a 'properties' dict (the flat image object in glance v2 is ... so much fun)19:07
mordreddasp: incidentally, http://paste.openstack.org/show/674819/ fixes the unit tests - but I think I may have been wrong about urljoin being good enough - and we may have to get more clever - so I think definitely getting some testing in place to make sure the right thing happens is going to be essential for this one19:07
*** harlowja has quit IRC19:10
mordreddasp: like- something more akin to your first version - but that just does: if uri.startswith('/v') and uri[2].isdigit(): uri = uri.split('/', 2)[2]19:11
mordreddasp: yeah, I like the idea in 544544 - haven't dug in to the impl details yet. also like 54404919:15
mordreddasp: in general I think we shold support reasonable/defined image properties like you did in 544049 - and have everything else go to properties19:16
daspmordred: awesome. Those were drafts to get the job done, so I expect some improvements may need to be applied but it worked for what I needed while writing a tool that uses it.19:17
mordreddasp: I'm tempted to say we should just adopt the shade approach globally and put unknown fields into a generic properties bucket for everything - bu tI haven't actually thought through the ramifications for that, so I think it's safer to do it on image first19:18
daspmordred: there's another bug that I haven't brought up yet - openstacksdk is sending properties as JSON booleans whenever they are booleans. Glance API is kindly throwing 400. It wants 'true' to be a string instead (I found that out tracing what openstackclient is doing). So whenever I declared  the property to be a bool, it's not working as expected due to Glance.19:19
daspmordred: Then, however, if I assign a string to a property declared as dict, it is actually sent to API as string, so I started to doubt if that type setting does anything at all.19:20
daspmordred: What I noticed openstackclient is doing is that it always asks for metadata catalog before updating images, then it probably validates client-side and figured out the type for every property.19:21
mordreddasp: I believe the type setting is only used when we're injesting values from remotely - so yeah, it's not going to coerce it if you just set it19:22
mordreddasp: hrm. we should maybe do the same thing as osc for glance and grab the metadata catalog for valdation/coercion19:23
mordreddasp: although now I'm also wanting to have the properties coerce things when you set them - and figure out a 'good' way to be able to specify split typing - like "treat this as a bool for sdk interactoins, but send it as a string please"19:24
daspmordred: it sounds like it may be needed, although I wish that Glance API could accept booleans/floats even if the property needs to be stored as string later on internally.19:26
*** bobh has quit IRC19:38
mordreddasp: ++19:41
mordreddasp: of course, the joy here in sdk land is that even if we got glance fixed, we'd still need to support older unfixed clouds. yay us!19:42
*** harlowja has joined #openstack-sdks19:50
*** bobh has joined #openstack-sdks20:01
*** salv-orlando has quit IRC20:03
*** salv-orlando has joined #openstack-sdks20:04
*** salv-orlando has quit IRC20:08
*** salv-orlando has joined #openstack-sdks20:34
*** markvoelker_ has quit IRC20:55
*** markvoelker has joined #openstack-sdks20:56
openstackgerritBrianna Poulos proposed openstack/python-openstackclient master: Update help text for encryption provider  https://review.openstack.org/54545921:21
*** edmondsw has quit IRC22:01
*** edmondsw has joined #openstack-sdks22:01
*** edmondsw has quit IRC22:06
*** slaweq has quit IRC22:15
*** kuzko has joined #openstack-sdks22:40
*** GreenBlood has joined #openstack-sdks22:40
*** bobh has quit IRC23:20
*** figleaf is now known as edleafe23:22
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Update base test case to use base from oslotest  https://review.openstack.org/54037223:23
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Update all test base classes to use base.TestCase  https://review.openstack.org/54037323:23
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Honor service type aliases from the catalog  https://review.openstack.org/54435623:23

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