Friday, 2017-07-07

*** rajathagasthya has quit IRC00:39
*** gildub has joined #openstack-sdks00:44
*** gildub has quit IRC00:52
*** gildub has joined #openstack-sdks00:54
*** tovin07_ has joined #openstack-sdks01:05
*** jkilpatr has quit IRC01:08
*** chenyb4 has joined #openstack-sdks01:18
dtroyermordred: I am queueing up some lib releases (will be out of town for a few days), https://review.openstack.org/481355 is for o-c-c.  +/-1 it as needed, I don't think there is a rush (yet).01:49
*** fzdarsky_ has joined #openstack-sdks01:55
*** fzdarsky|afk has quit IRC01:58
*** annp has joined #openstack-sdks02:14
openstackgerritMerged openstack/cliff master: Run hooks for DisplayCommandBase  https://review.openstack.org/47915702:58
openstackgerritMerged openstack/cliff master: add tests for display command classes and hooks  https://review.openstack.org/48119203:06
*** chlong_ has quit IRC03:08
*** chlong_ has joined #openstack-sdks03:09
*** chlong_ has quit IRC03:17
*** chlong_ has joined #openstack-sdks03:18
openstackgerritlihaijing proposed openstack/python-openstackclient master: Replace six.iteritems() with .items()  https://review.openstack.org/48140704:02
*** shu-mutou-AWAY is now known as shu-mutou04:56
*** markvoelker has quit IRC05:50
*** markvoelker has joined #openstack-sdks05:51
*** markvoelker has quit IRC05:55
openstackgerritlihaijing proposed openstack/python-openstackclient master: Replace six.iteritems() with .items()  https://review.openstack.org/48140706:07
*** e0ne has joined #openstack-sdks06:13
*** mvpnitesh has joined #openstack-sdks06:35
*** timburke has quit IRC06:37
*** charz has quit IRC06:38
*** timburke has joined #openstack-sdks06:38
*** charz has joined #openstack-sdks06:39
*** gouthamr has quit IRC06:47
*** e0ne has quit IRC06:53
*** gildub has quit IRC07:01
*** GrineBloude is now known as GreenBlood07:06
*** jpich has joined #openstack-sdks07:41
*** ralonsoh has joined #openstack-sdks07:48
*** rajathagasthya has joined #openstack-sdks07:51
*** markvoelker has joined #openstack-sdks07:51
*** fzdarsky_ is now known as fzdarsky08:01
*** mvpnitesh has quit IRC08:13
*** e0ne has joined #openstack-sdks08:14
*** mvpnitesh has joined #openstack-sdks08:14
*** mvpnitesh has quit IRC08:20
*** markvoelker has quit IRC08:26
*** mvpnitesh has joined #openstack-sdks08:39
*** purplerbot has quit IRC08:44
*** purplerbot has joined #openstack-sdks08:44
*** cdent has joined #openstack-sdks08:49
*** markvoelker has joined #openstack-sdks09:23
*** e0ne has quit IRC09:23
*** reedip has quit IRC09:25
*** e0ne has joined #openstack-sdks09:29
*** reedip has joined #openstack-sdks09:39
*** rajathagasthya has quit IRC09:39
*** gildub has joined #openstack-sdks09:41
*** openstackgerrit has quit IRC09:48
*** e0ne has quit IRC09:48
*** ZZelle has joined #openstack-sdks09:51
*** markvoelker has quit IRC09:56
*** tovin07_ has quit IRC10:07
*** markvoelker has joined #openstack-sdks10:53
*** mvpnitesh has quit IRC11:04
*** mvpnitesh has joined #openstack-sdks11:04
*** annp has quit IRC11:08
*** markvoelker has quit IRC11:26
*** sdague has joined #openstack-sdks11:36
*** markvoelker has joined #openstack-sdks11:44
*** madorn has quit IRC11:47
*** madorn has joined #openstack-sdks11:50
*** gildub has quit IRC12:22
*** e0ne has joined #openstack-sdks12:35
*** openstackgerrit has joined #openstack-sdks12:40
openstackgerritM V P Nitesh proposed openstack/python-openstackclient master: List images with --tags for 'openstack image list'  https://review.openstack.org/48161512:40
*** chlong_ has quit IRC12:43
*** mvpnitesh has quit IRC12:45
*** edleafe is now known as figleaf12:59
*** chenyb4_ has joined #openstack-sdks13:07
*** bobh has joined #openstack-sdks13:15
*** bobh has quit IRC13:28
*** Dinesh_Bhor has quit IRC13:32
*** sdague has quit IRC13:39
openstackgerritMerged openstack/python-openstackclient master: Use openstackdocstheme in release note  https://review.openstack.org/48117313:51
*** efried is now known as fried_rice13:56
*** bobh has joined #openstack-sdks14:04
*** chlong_ has joined #openstack-sdks14:08
*** amotoki is now known as amotoki_away14:09
*** gouthamr has joined #openstack-sdks14:19
*** chenyb4_ has quit IRC14:35
*** bobh has quit IRC14:35
*** chenyb4_ has joined #openstack-sdks14:39
*** sdague has joined #openstack-sdks14:44
*** bobh has joined #openstack-sdks14:44
*** bobh has quit IRC14:53
*** bobh has joined #openstack-sdks14:55
GreenBloodSomebody using the Shade lib/client able to confirm that listing the images omits the shared ones ?15:00
*** bobh has quit IRC15:02
GreenBloodListing images with glanceclient.images.list() and with the Shade wrapper does not give me the same results it seems15:04
*** bobh has joined #openstack-sdks15:08
GreenBlood(Altho judging by the API calls they look very much the same so I don't understand). There is only "is_public=None" and "limit=20" in the glanceclient call,  and no argument on the Shade call ([endpoint]/v2/images)15:10
*** bobh has quit IRC15:19
*** bobh has joined #openstack-sdks15:21
mordredGreenBlood: there is a potential behavioral difference depending on how new the glance service is15:24
mordredGreenBlood: gimme a few minutes and I'll go dig up what the deal is15:24
mordredactually - that's a silly thing to say15:25
GreenBloodYeah but the service is the same wether I use the glanceclient or shade/openstackclient nah ?15:26
*** cdent has quit IRC15:27
GreenBloodOh wait I think I noticed something15:27
GreenBloodI think our glanceclient uses v1 and shade uses v215:27
GreenBloodthat would make sense15:28
mordredah - that'll definitely do it - however, it's possible also that we're not sending somehting we need to to get shared images returned15:29
GreenBloodJudging by the HTTP debug, shade sends "GET /v2/images " and our code using glanceclient sends "GET /v1/images/detail?limit=20&is_public=None"15:29
mordredkk. so - you can force shade to use v1 by setting image_api_version=1 in your clouds.yaml file - also - for v2, there is this note:15:31
mordred"If you omit this parameter (visibility ), the response shows public, private, and those shared images with a member status of accepted."15:31
mordredso images in v2 default to "shared" if you don't set any other status, and 'shared' images will only show up for a user in v2 by default if that user has "accepted" the image15:32
mordredGreenBlood: so - list_images in v2 with no other parameters omitting shared by not accepted images is 'correct' behavior - although it might be surprising15:33
GreenBloodYeah well the user has accepted, I can see it in Horizon and stuff.15:33
GreenBloodI'll try using v1 api but yeah its a bit wierd imho15:33
mordredah! well, that seems like a whole different bug15:33
mordredin fact, that is a glance behavior that does not match the docs15:34
GreenBloodOh15:34
mordredso - fwiw, the way to get shade to show you shared-but-not-accepted images is to do search_images(filters=dict(member_status='all')) ... that's not super friendly - so I think we should add a flag to the api to make it easy to opt-in to seeing _ALL_ images including unaccepted shared images15:35
*** amotoki_away is now known as amotoki15:39
GreenBloodGood to know15:41
*** bobh has quit IRC15:41
GreenBloodBut it's really bugging me this listing issue thingy15:42
GreenBloodthat would be really wierd to have shared images on v1 and not v2 no ?15:42
*** bobh has joined #openstack-sdks15:43
*** e0ne has quit IRC15:47
GreenBloodUsing "image_api_version: 1" in the cloud config file solves the issue15:48
*** amotoki is now known as amotoki_away15:49
GreenBloodbtw this tool, Shade, is really awesome15:53
GreenBloodI discovered it the other day and I'm amazed15:53
mordredGreenBlood: yay! I'm glad you like it!15:56
mordredGreenBlood: yah - it was a behavior change in the v2 api - v1 doesn't understand shared at all, so it doesn't filter anything15:56
GreenBloodYeah but search with member_status='all' doesnt change the result I think15:57
GreenBloodor maybe i'm just blind15:57
GreenBloodwhich would be sad, really16:07
*** rajathagasthya has joined #openstack-sdks16:14
GreenBloodEven with the CLI, doing "glance --os-image-api-version 1 image list" and without specifying the version, the shared images appears or disappears. I'll send a mail to my cloud provider :)16:21
GreenBloodThank you -again- for your help16:21
*** jpich has quit IRC16:37
openstackgerritEric Fried proposed openstack/keystoneauth master: normalize_version_number([1]) => (1, 0) and docs  https://review.openstack.org/48130916:38
fried_ricemordred ^16:38
*** amotoki_away is now known as amotoki16:40
*** amotoki is now known as amotoki_away16:49
openstackgerritMerged openstack/keystoneauth master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47919116:59
*** ralonsoh has quit IRC17:03
*** sdague has quit IRC17:09
*** hoangcx has quit IRC17:10
mordredGreenBlood: https://review.openstack.org/481702 made a patch to add a show_all flag17:12
GreenBloodoooh17:14
GreenBloodnice17:14
GreenBloodok i tested it and the behaviour does not changes, so it must be an issue on the provider's side17:21
GreenBloodwait no i'm just dumb17:22
GreenBloodGah17:22
GreenBloodI'll test it monday17:22
*** dave-mccowan has joined #openstack-sdks17:24
*** hoangcx has joined #openstack-sdks17:26
*** amotoki_away is now known as amotoki17:40
*** amotoki is now known as amotoki_away17:50
openstackgerritMonty Taylor proposed openstack/service-types-authority master: Stop publishing yaml file  https://review.openstack.org/48130518:04
openstackgerritMonty Taylor proposed openstack/service-types-authority master: Add api_reference_project field  https://review.openstack.org/48072118:05
*** bit_lySLH2uSZHed has joined #openstack-sdks18:09
*** dtantsur|afk has quit IRC18:10
*** bit_lySLH2uSZHed has left #openstack-sdks18:11
*** dtantsur has joined #openstack-sdks18:13
*** e0ne has joined #openstack-sdks18:14
openstackgerritEric Fried proposed openstack/service-types-authority master: add types for freezer and monasca-log-api  https://review.openstack.org/48071818:17
*** chlong_ has quit IRC18:40
*** amotoki_away is now known as amotoki18:41
*** chenyb4_ has quit IRC18:48
*** chenyb4_ has joined #openstack-sdks18:49
*** amotoki is now known as amotoki_away18:51
*** chenyb4_ has quit IRC18:53
*** e0ne has quit IRC19:14
*** amotoki_away is now known as amotoki19:42
*** dtantsur has quit IRC19:45
*** sdague has joined #openstack-sdks19:46
*** bobh has quit IRC19:47
*** bobh has joined #openstack-sdks19:49
*** dtantsur has joined #openstack-sdks19:50
*** amotoki is now known as amotoki_away19:52
*** dtantsur has quit IRC19:57
*** dtantsur has joined #openstack-sdks20:02
openstackgerritEric Fried proposed openstack/keystoneauth master: normalize_version_number([1]) => (1, 0) and docs  https://review.openstack.org/48130920:23
fried_ricemordred ^ after much frustration with docstring formats.  Where can I find out wtf it's expecting?  Cause it doesn't seem to be standard RST.20:25
*** markvoelker has quit IRC20:27
*** markvoelker has joined #openstack-sdks20:27
*** bobh has quit IRC20:29
*** bobh has joined #openstack-sdks20:32
*** bobh has quit IRC20:37
openstackgerritEric Fried proposed openstack/keystoneauth master: Fix _run_discovery caching; misc cleanup  https://review.openstack.org/48175420:39
*** amotoki_away is now known as amotoki20:43
fried_ricemordred ^ needs to go in before we cut the next release, else it's bogus (changes sig of at least one public method, but that method hasn't been released yet AFAICT).20:43
*** bobh has joined #openstack-sdks20:44
fried_ricemordred Also, forget what I said yesterday about Discover.versioned_data_for() returning an EndpointData. The contents seem to be quite different - though I'm still trying to understand why and where each applies.20:44
*** amotoki is now known as amotoki_away20:52
*** dave-mccowan has quit IRC21:41
*** amotoki_away is now known as amotoki21:43
*** openstackgerrit has quit IRC21:47
*** amotoki is now known as amotoki_away21:53
*** openstackstatus has quit IRC21:56
*** openstack has joined #openstack-sdks22:00
*** figleaf is now known as edleafe22:10
*** edleafe- has joined #openstack-sdks22:15
*** edleafe has quit IRC22:16
*** edleafe- is now known as edleafe22:25
*** bobh has quit IRC22:26
*** amotoki_away is now known as amotoki22:44
*** sdague has quit IRC22:47
*** amotoki is now known as amotoki_away22:54
*** rajathagasthya has quit IRC23:26
*** amotoki_away is now known as amotoki23:45
*** amotoki is now known as amotoki_away23:55

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