Friday, 2018-02-23

*** slaweq has joined #openstack-sdks00:04
*** slaweq has quit IRC00:09
*** cmurphy has quit IRC00:17
*** cmurphy has joined #openstack-sdks00:17
mordredadriant: WOOT - found it00:21
adriantmordred: what was it? :P00:22
mordredadriant: the code in oi is passing in an authenticated session, which is a different codepath than I was using in that test. (that's why I didn't get a failure) the underlying issue is that in session codepath the normalize_keys function is not getting called - which is where the stringificatoin of the values happens00:23
*** lbragstad has quit IRC00:23
adriantah! that makes sense, and further useful fixes to the session codepath (which I do care about ;))00:24
*** slaweq has joined #openstack-sdks00:25
mordred++00:29
*** slaweq has quit IRC00:29
*** edmondsw has quit IRC00:31
mordredadriant: https://review.openstack.org/547225 Run normalize_keys on config for session codepath <-- that should fix it00:39
adriantwoo!00:42
*** slaweq has joined #openstack-sdks00:46
*** slaweq has quit IRC00:50
*** chenyb4 has joined #openstack-sdks00:52
*** slaweq has joined #openstack-sdks01:06
*** slaweq has quit IRC01:11
*** slaweq has joined #openstack-sdks01:27
*** slaweq has quit IRC01:32
*** pzchen has joined #openstack-sdks01:34
*** slaweq has joined #openstack-sdks01:48
*** huangtianhua has joined #openstack-sdks01:49
*** tiantian has quit IRC01:52
*** slaweq has quit IRC01:53
*** shu-mutou-AWAY is now known as shu-mutou02:00
*** slaweq has joined #openstack-sdks02:09
*** slaweq_ has joined #openstack-sdks02:09
*** slaweq_ has quit IRC02:14
*** slaweq has quit IRC02:14
*** edmondsw has joined #openstack-sdks02:17
*** edmondsw has quit IRC02:22
*** slaweq has joined #openstack-sdks02:30
*** slaweq has quit IRC02:35
*** gildub has joined #openstack-sdks02:43
*** slaweq has joined #openstack-sdks02:46
*** salv-orl_ has joined #openstack-sdks02:46
*** salv-orlando has quit IRC02:49
*** annp has joined #openstack-sdks02:49
*** slaweq has quit IRC02:51
*** slaweq has joined #openstack-sdks02:51
*** ldl has joined #openstack-sdks02:51
*** slaweq has quit IRC02:55
*** slaweq has joined #openstack-sdks03:10
*** Faster-Fanboi_ has quit IRC03:10
*** slaweq_ has joined #openstack-sdks03:12
*** Faster-Fanboi has joined #openstack-sdks03:12
*** slaweq has quit IRC03:15
*** slaweq_ has quit IRC03:16
*** slaweq has joined #openstack-sdks03:28
*** slaweq has quit IRC03:32
*** slaweq has joined #openstack-sdks03:43
*** slaweq has quit IRC03:48
*** huangtianhua has quit IRC03:49
*** huangtianhua has joined #openstack-sdks03:49
*** slaweq has joined #openstack-sdks03:59
*** slaweq has quit IRC04:04
*** edmondsw has joined #openstack-sdks04:06
*** edmondsw has quit IRC04:11
*** slaweq has joined #openstack-sdks04:23
*** slaweq has quit IRC04:29
*** slaweq has joined #openstack-sdks04:31
*** slaweq has quit IRC04:35
*** Faster-Fanboi has quit IRC04:46
*** slaweq has joined #openstack-sdks04:47
*** slaweq has quit IRC04:51
*** Faster-Fanboi has joined #openstack-sdks04:52
*** slaweq has joined #openstack-sdks05:02
*** slaweq has quit IRC05:07
*** Faster-Fanboi has quit IRC05:14
*** liuyulong has joined #openstack-sdks05:16
*** slaweq has joined #openstack-sdks05:18
*** Faster-Fanboi has joined #openstack-sdks05:20
*** slaweq has quit IRC05:23
*** slaweq has joined #openstack-sdks05:34
*** gildub has quit IRC05:34
*** slaweq has quit IRC05:39
*** slaweq has joined #openstack-sdks05:41
*** slaweq has quit IRC05:46
*** slaweq has joined #openstack-sdks05:50
*** slaweq has quit IRC05:54
*** edmondsw has joined #openstack-sdks05:55
*** edmondsw has quit IRC05:59
*** slaweq has joined #openstack-sdks06:05
*** slaweq has quit IRC06:10
*** slaweq has joined #openstack-sdks06:11
*** annp has quit IRC06:16
*** slaweq has quit IRC06:16
*** annp has joined #openstack-sdks06:16
*** slaweq has joined #openstack-sdks06:21
*** slaweq has quit IRC06:26
*** slaweq has joined #openstack-sdks06:37
*** slaweq has quit IRC06:42
*** slaweq has joined #openstack-sdks06:47
*** slaweq has quit IRC06:52
*** slaweq has joined #openstack-sdks07:23
*** slaweq has quit IRC07:27
*** vdrok has quit IRC07:30
*** tobberydberg has quit IRC07:30
*** Tek___ has quit IRC07:31
*** spredzy has quit IRC07:31
*** Shrews has quit IRC07:31
*** dgonzalez has quit IRC07:31
*** ebbex has quit IRC07:31
*** e0ne has joined #openstack-sdks07:31
*** christi3k has quit IRC07:33
*** christi3k has joined #openstack-sdks07:36
*** slaweq has joined #openstack-sdks07:37
*** slaweq has quit IRC07:42
*** slaweq has joined #openstack-sdks07:42
*** edmondsw has joined #openstack-sdks07:43
*** slaweq has quit IRC07:44
*** slaweq has joined #openstack-sdks07:44
*** edmondsw has quit IRC07:48
*** Tek___ has joined #openstack-sdks07:53
*** spredzy has joined #openstack-sdks07:53
*** Shrews has joined #openstack-sdks07:53
*** dgonzalez has joined #openstack-sdks07:53
*** ebbex has joined #openstack-sdks07:53
*** Artem has joined #openstack-sdks07:54
*** vdrok has joined #openstack-sdks07:57
*** tobberydberg has joined #openstack-sdks07:57
openstackgerritDongcan Ye proposed openstack/python-openstackclient master: Network: Add tag support for floating ip  https://review.openstack.org/54731608:04
*** vdrok has quit IRC08:11
*** tobberydberg has quit IRC08:11
*** Tek___ has quit IRC08:11
*** spredzy has quit IRC08:11
*** Shrews has quit IRC08:11
*** dgonzalez has quit IRC08:11
*** ebbex has quit IRC08:11
*** jpena|off is now known as jpena08:16
*** dgonzalez has joined #openstack-sdks08:22
*** ebbex has joined #openstack-sdks08:22
*** spredzy has joined #openstack-sdks08:22
*** Tek___ has joined #openstack-sdks08:22
*** Shrews has joined #openstack-sdks08:22
*** edmondsw has joined #openstack-sdks08:28
*** shu-mutou is now known as shu-mutou-AWAY08:30
*** shu-mutou-AWAY is now known as shu-mutou-PTG08:30
*** Artem has quit IRC08:31
*** tobberydberg has joined #openstack-sdks08:33
*** vdrok has joined #openstack-sdks08:33
*** slaweq_ has joined #openstack-sdks08:48
*** slaweq_ has quit IRC08:53
*** jpich has joined #openstack-sdks08:55
*** slaweq_ has joined #openstack-sdks08:58
*** liuyulong has quit IRC09:01
openstackgerritJose Castro Leon proposed openstack/python-openstackclient master: Add support for endpoint group commands  https://review.openstack.org/52062709:01
*** slaweq_ has quit IRC09:09
*** slaweq_ has joined #openstack-sdks09:10
*** slaweq_ has quit IRC09:14
spredzy.close09:33
*** spredzy has left #openstack-sdks09:33
*** gildub has joined #openstack-sdks09:35
*** liuyulong has joined #openstack-sdks09:35
*** liuyulong has quit IRC09:47
*** chenyb4 has quit IRC10:04
*** pzchen has quit IRC10:05
*** liuyulong has joined #openstack-sdks10:06
*** e0ne has quit IRC10:27
*** mardim has joined #openstack-sdks10:32
*** mardim has left #openstack-sdks10:32
openstackgerritDongcan Ye proposed openstack/python-openstacksdk master: Network: Add tag support for floating ip  https://review.openstack.org/54736610:37
*** e0ne has joined #openstack-sdks10:38
*** ioggstream has joined #openstack-sdks10:45
*** e0ne has quit IRC10:47
openstackgerritDongcan Ye proposed openstack/python-openstacksdk master: Network: Add tag support for security group  https://review.openstack.org/54736910:48
*** mardim has joined #openstack-sdks10:52
mardimhello10:52
mardimis this the channel of openstack shade project10:52
mardim?10:52
openstackgerritDongcan Ye proposed openstack/python-openstacksdk master: Network: Add tag support for QoS policy  https://review.openstack.org/54737210:57
mardimmordred, Hello I think I am hitting a bug here what do you think : https://github.com/openstack-infra/shade/blob/master/shade/openstackcloud.py#L131710:58
mardimmordred, the error is TypeError: unsupported operand type(s) for //: 'NoneType' and 'int'10:59
*** kmy has quit IRC11:08
*** kmy has joined #openstack-sdks11:09
*** pooja_jadhav has quit IRC11:09
*** annp has quit IRC11:11
*** iogg has joined #openstack-sdks11:15
*** ioggstream has quit IRC11:16
openstackgerritJens Harbott (frickler) proposed openstack/python-openstacksdk master: Add support for dns-domain  https://review.openstack.org/50066011:39
*** dtantsur|afk is now known as dtantsur11:40
*** liuyulong has quit IRC11:41
*** ldl has quit IRC11:42
*** ldl has joined #openstack-sdks11:43
*** ldl has quit IRC11:47
*** thrash|g0ne is now known as thrash11:50
openstackgerritJens Harbott (frickler) proposed openstack/python-openstackclient master: Add support for "--dns-domain" argument  https://review.openstack.org/50045011:52
*** d0ugal has quit IRC11:52
*** d0ugal has joined #openstack-sdks11:58
*** edmondsw has quit IRC12:18
openstackgerritJens Harbott (frickler) proposed openstack/python-openstackclient master: Add dns-domain support to Network object  https://review.openstack.org/51670112:18
*** gildub has quit IRC12:22
fricklermardim: are you explicitly setting "timeout=None" in your call? otherwise I don't see how this could happen12:22
mardimfrickler, hello I think is typo I opened a bug : https://bugs.launchpad.net/python-openstacksdk/+bug/175125112:28
openstackLaunchpad bug 1751251 in OpenStack SDK "Openstack-infra Shade project TypeError" [Undecided,New]12:28
mardimfrickler, Maybe this helps you to understand what I mean ^12:28
*** fabian has joined #openstack-sdks12:33
*** iogg has quit IRC12:35
*** fabian has quit IRC12:39
fricklermardim: can you please add detailed steps how to reproduce the exception?12:44
*** jpena is now known as jpena|lunch12:55
*** iogg has joined #openstack-sdks12:57
*** ldl has joined #openstack-sdks13:08
*** edmondsw has joined #openstack-sdks13:10
*** ldl has quit IRC13:13
mardimfrickler, To be honest I am not sure how to reproduce the error because I am meeting this bug when I execute some yardstick testcases and that's because OPNFV yardstick13:16
mardimproject uses the Shade to create heat Stacks13:16
mardimBut I think in general if you find a way yo call the create_stack function the you will hit the error13:18
mardimbecause when I deleted the '// 60 ' by hand in the code evreything worked13:18
mardimso I think this is the problem13:18
fricklermardim: well, changing the code masks the issue but changes the effect of the timeout parameter in an incompatible way. the "//" is a valid operator on integers and the timeout parameter is explicitly specified as being an int, so the exception you are showing very likely is caused by an illegal caller13:26
fricklermardim: the default value for timeout is 3600, too13:27
mardimfrickler, hmm ok let me check something13:28
Shrewswell, yes, the error seems to be with the caller, but in other API calls, we let timeout=None mean forever, so i think mardim has found a valid issue we should fix13:32
*** fabian has joined #openstack-sdks13:38
*** edleafe is now known as figleaf13:50
*** jpena|lunch is now known as jpena13:54
mardimfrickler, Shrews Guys you were right the problem is on the caller13:57
mardimyou can delete the bug report if you want13:57
Shrewsmardim: i think we should still allow for None values13:58
openstackgerritDavid Shrewsbury proposed openstack-infra/shade master: Fix for timeout=None in orchestration API calls  https://review.openstack.org/54743013:58
Shrewssee ^^^13:58
Shrewsjust trying to confirm that None means "no timeout"13:58
Shrewsin heat13:58
Shrewsi don't know heat at all, so waiting for a response from one of the devs13:59
mardimShrews, I am not expert of Heat either but nevertheless I agree with your patch14:00
mardimI will +114:00
Shrewsi still need a release note for it14:01
mardimShrews, I agree yes14:01
openstackgerritDavid Shrewsbury proposed openstack-infra/shade master: Fix for timeout=None in orchestration API calls  https://review.openstack.org/54743014:11
*** fabian has quit IRC14:14
openstackgerritDavid Shrewsbury proposed openstack-infra/shade master: Fix for timeout=None in orchestration API calls  https://review.openstack.org/54743014:37
Shrewsseems there is no heat equivalent to "no timeout"14:37
ShrewsNone just uses the heat default value14:37
*** lbragstad has joined #openstack-sdks14:37
mordredShrews: that patch lgtm14:49
Shrewsw00t14:49
*** edmondsw has quit IRC15:00
*** edmondsw has joined #openstack-sdks15:00
*** e0ne has joined #openstack-sdks15:03
*** edmondsw has quit IRC15:05
*** dave-mccowan has joined #openstack-sdks15:23
*** dave-mccowan has quit IRC15:27
*** dave-mccowan has joined #openstack-sdks15:29
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Run normalize_keys on config for session codepath  https://review.openstack.org/54715915:36
*** jpena is now known as jpena|brb15:39
*** slaweq has quit IRC15:54
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Remove the need for OpenStackConfig in CloudRegion  https://review.openstack.org/54748815:55
*** slaweq has joined #openstack-sdks15:55
*** slaweq_ has joined #openstack-sdks15:57
*** slaweq_ has quit IRC15:57
*** slaweq_ has joined #openstack-sdks15:58
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Shift tag resource definition to TagMixin  https://review.openstack.org/54748915:59
*** slaweq_ has quit IRC15:59
*** slaweq_ has joined #openstack-sdks16:00
*** slaweq_ has quit IRC16:00
*** slaweq_ has joined #openstack-sdks16:00
mordredslaweq, Qiming_, Shrews : ^^ that patch is inspired by https://review.openstack.org/#/c/547372 ... what do you think?16:01
mordredslaweq, rods_: also, https://review.openstack.org/#/c/547430/ from Shrews is an easy +A16:02
Shrewsmordred: ++ to any code de-dupe16:05
*** slaweq_ has quit IRC16:05
*** jpena|brb is now known as jpena16:23
*** e0ne has quit IRC16:26
*** openstackgerrit has quit IRC16:33
*** fzdarsky has joined #openstack-sdks16:43
*** slaweq_ has joined #openstack-sdks16:48
*** fzdarsky is now known as fzdarsky|afk16:49
*** slaweq_ has quit IRC16:56
*** fzdarsky|afk has quit IRC16:59
*** jpena is now known as jpena|off17:15
*** dave-mccowan has quit IRC17:15
*** dave-mccowan has joined #openstack-sdks17:16
*** edmondsw has joined #openstack-sdks17:18
*** slaweq_ has joined #openstack-sdks17:30
*** jpich has quit IRC17:33
*** iogg has quit IRC17:42
*** d0ugal has quit IRC17:46
*** d0ugal has joined #openstack-sdks17:54
*** thrash is now known as thrash|biab17:56
*** dtantsur is now known as dtantsur|afk17:58
*** rm_work has quit IRC18:06
*** Klumben has quit IRC18:06
*** dayou has quit IRC18:17
*** salv-orl_ has quit IRC18:18
*** salv-orlando has joined #openstack-sdks18:18
*** openstackgerrit has joined #openstack-sdks18:21
openstackgerritOpenStack Release Bot proposed openstack/keystoneauth master: Update reno for stable/newton  https://review.openstack.org/54759518:21
*** salv-orlando has quit IRC18:22
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Shift tag resource definition to TagMixin  https://review.openstack.org/54748918:24
mordredShrews, slaweq, rods_, SamYaple: if you get a sec, https://review.openstack.org/#/c/547159 fixes an issue that adriant uncovered18:26
*** lbragstad has quit IRC18:31
*** vdrok_ has joined #openstack-sdks18:37
*** gus_ has joined #openstack-sdks18:38
slaweq_mordred: done18:39
mordredslaweq_: thanks!18:39
*** cmurphy_ has joined #openstack-sdks18:40
mordredslaweq_: oh - good catch18:40
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Run normalize_keys on config for session codepath  https://review.openstack.org/54715918:43
mordredslaweq_: fixed18:43
*** jamielennox_ has joined #openstack-sdks18:43
slaweq_mordred: no problem, +2 already, thx18:44
*** vdrok has quit IRC18:44
*** tobberydberg has quit IRC18:44
*** cmurphy has quit IRC18:44
*** gus has quit IRC18:44
*** jamielennox has quit IRC18:44
*** vdrok_ is now known as vdrok18:44
*** jamielennox_ is now known as jamielennox18:44
*** Qiming_ has quit IRC18:47
*** tobberydberg has joined #openstack-sdks18:48
*** Qiming has joined #openstack-sdks18:49
*** rm_work has joined #openstack-sdks18:51
*** rm_work has joined #openstack-sdks18:51
*** thrash|biab is now known as thrash18:55
*** lbragstad has joined #openstack-sdks18:57
*** dayou has joined #openstack-sdks19:11
*** salv-orlando has joined #openstack-sdks19:19
Shrewsmordred: left a question19:21
mordredShrews: good question - left response (tl;dr yes, intentional. normalize gets run on the config parameter in the CloudRegion constructor now)19:22
*** salv-orlando has quit IRC19:23
*** SpamapS has joined #openstack-sdks19:29
*** SpamapS has joined #openstack-sdks19:29
*** SpamapS has quit IRC19:31
*** e0ne has joined #openstack-sdks19:46
*** figleaf is now known as edleafe20:08
*** salv-orlando has joined #openstack-sdks20:20
*** Klumben has joined #openstack-sdks20:20
*** salv-orlando has quit IRC20:24
openstackgerritDean Troyer proposed openstack/python-openstackclient master: Add project tags functionality  https://review.openstack.org/48128420:27
openstackgerritDean Troyer proposed openstack/python-openstackclient master: Add support for "--dns-domain" argument  https://review.openstack.org/50045020:30
openstackgerritDean Troyer proposed openstack/python-openstackclient master: Add support for endpoint group commands  https://review.openstack.org/52062720:37
*** e0ne has quit IRC20:46
*** slaweq_ has quit IRC20:50
*** slaweq_ has joined #openstack-sdks20:51
*** slaweq_ has quit IRC20:55
*** cmurphy_ is now known as cmurphy21:13
*** salv-orlando has joined #openstack-sdks21:20
*** salv-orlando has quit IRC21:22
*** salv-orlando has joined #openstack-sdks21:25
openstackgerritBrianna Poulos proposed openstack/python-openstackclient master: Update help text for encryption provider  https://review.openstack.org/54545921:29
*** dave-mcc_ has joined #openstack-sdks21:34
*** dave-mccowan has quit IRC21:36
*** edmondsw has quit IRC21:40
*** slaweq has quit IRC22:09
*** salv-orlando has quit IRC22:21
adriantmordred: not a bug, but something we should do a sweep for at some stage, a bunch of resources are missing query options. I know I just got hit by some of that with Nova servers.22:21
*** salv-orlando has joined #openstack-sdks22:21
adriantas painful as it sounds, we should go through the API refs.... and then update he resources based on the serverside query options22:22
adriantthe*22:22
adriantand we're missing stuff like https://developer.openstack.org/api-ref/compute/#list-hypervisor-servers22:23
*** e0ne has joined #openstack-sdks22:25
*** salv-orlando has quit IRC22:25
*** e0ne has quit IRC22:26
adriantalthough that latter one I can't even seem to find in the novaclient22:27
adriantfor context, i'm trying to list servers on a given hypervisor. filter by host with sdk doesn't work, nor with novaclient, but I can filter by 'node' with nova client, which the sdk doesn't have as a valid filter. Chances are the old version of nova I'm testing against is missing queries, but it's still odd.22:31
*** dave-mcc_ has quit IRC22:34
adriantyeah, if I add 'node' as a query option to the server model it works22:41
*** salv-orlando has joined #openstack-sdks22:43
adriantmordred: I feel like I'm always coming to you with problems :P22:46
*** dave-mccowan has joined #openstack-sdks22:48
adrianti'll submit some patches for the missing nova query params at least hopefully in the next day or two, and depending on my time I may start comparing our query params to the api refs and see what we've missed.22:48
*** dave-mccowan has quit IRC23:11
*** e0ne has joined #openstack-sdks23:14
*** e0ne has quit IRC23:15
*** slaweq has joined #openstack-sdks23:30
*** slaweq has quit IRC23:35
*** salv-orlando has quit IRC23:39
*** salv-orlando has joined #openstack-sdks23:39
*** salv-orlando has quit IRC23:44
adriantoh, ok, so yes those servers and search paths for hypervisors are deprecated, and now you can do that with extra query values on list and get. which we don't have in the SDK yet.23:52

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