Friday, 2019-03-29

*** slaweq has joined #openstack-sdks00:00
*** tosky has quit IRC00:05
*** slaweq has quit IRC00:05
*** holser_ has quit IRC00:14
*** markvoelker has joined #openstack-sdks00:40
*** yolanda has quit IRC01:07
*** slaweq has joined #openstack-sdks01:11
*** yolanda has joined #openstack-sdks01:15
*** slaweq has quit IRC01:16
*** whoami-rajat has joined #openstack-sdks01:19
*** ricolin has joined #openstack-sdks01:21
*** slaweq has joined #openstack-sdks02:11
*** slaweq has quit IRC02:16
*** slaweq has joined #openstack-sdks03:11
*** slaweq has quit IRC03:16
*** slaweq has joined #openstack-sdks05:11
*** slaweq has quit IRC05:15
*** openstackgerrit has joined #openstack-sdks05:35
openstackgerritIan Y. Choi proposed openstack/openstacksdk master: DNM - Start building pdfs of docs  https://review.openstack.org/60165905:35
*** holser_ has joined #openstack-sdks05:39
*** gtema has joined #openstack-sdks05:47
*** gtema has quit IRC05:53
*** holser_ has quit IRC05:54
*** e0ne has joined #openstack-sdks06:06
*** e0ne has quit IRC06:10
*** ITD27M01 has quit IRC06:30
*** slaweq has joined #openstack-sdks06:37
*** slaweq has quit IRC06:42
*** Luzi has joined #openstack-sdks06:51
*** slaweq has joined #openstack-sdks07:08
*** gtema has joined #openstack-sdks07:23
*** e0ne has joined #openstack-sdks07:32
*** slaweq has quit IRC07:36
*** slaweq has joined #openstack-sdks07:47
*** slaweq has quit IRC07:52
*** tosky has joined #openstack-sdks08:15
*** ITD27M01 has joined #openstack-sdks08:23
*** ralonsoh has joined #openstack-sdks08:24
ITD27M01mordred: If you have a second can you review a small change https://review.openstack.org/#/c/648117/ it is very important for us08:26
*** ttsiouts has joined #openstack-sdks08:28
*** e0ne has quit IRC08:31
*** jangutter has quit IRC08:32
*** jpena|off is now known as jpena08:40
*** ttsiouts has quit IRC08:40
*** jpich has joined #openstack-sdks08:52
*** e0ne has joined #openstack-sdks09:00
mordredITD27M01: wow, it's a field that takes a stringified-json? I suppose I shouldn't ask why it's not just actually a dict type in the mistral server-side09:07
*** ttsiouts has joined #openstack-sdks09:20
*** jangutter has joined #openstack-sdks09:21
*** dtantsur|afk is now known as dtantsur09:43
*** e0ne has quit IRC09:49
*** e0ne has joined #openstack-sdks09:54
ITD27M01mordred: Generally, I have no answer to this question. All attributes on mistral api side are strings. This also applies to input [1]. There comment about this from briancurtin [2]10:03
ITD27M01mordred: Special method to_dict() has created for convertation [3]10:04
ITD27M01mordred: [1] https://docs.openstack.org/mistral/latest/api/v2.html#executions10:04
ITD27M01mordred: [2] https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/workflow/v2/execution.py#L4410:04
ITD27M01mordred: [3] https://github.com/openstack/mistral/blob/master/mistral/api/controllers/resource.py#L2710:04
openstackgerritMerged openstack/openstacksdk master: Adds missing "params" attribute for creating a Mistral workflow execution  https://review.openstack.org/64811710:29
*** ricolin has quit IRC10:33
*** e0ne has quit IRC10:50
*** slaweq has joined #openstack-sdks10:59
*** slaweq has quit IRC11:09
*** ttsiouts has quit IRC11:12
*** ttsiouts has joined #openstack-sdks11:12
*** slaweq has joined #openstack-sdks11:14
*** ttsiouts has quit IRC11:17
*** gtema has quit IRC11:35
*** cdent has joined #openstack-sdks11:41
*** whoami-rajat has quit IRC11:42
*** ttsiouts has joined #openstack-sdks11:48
*** ttsiouts has quit IRC11:53
*** e0ne has joined #openstack-sdks11:54
*** Luzi has quit IRC12:02
*** e0ne has quit IRC12:02
*** ttsiouts has joined #openstack-sdks12:24
*** markvoelker has quit IRC12:32
*** jpena is now known as jpena|lunch12:32
*** e0ne has joined #openstack-sdks12:36
*** holser_ has joined #openstack-sdks12:45
*** ttsiouts has quit IRC12:46
*** ttsiouts has joined #openstack-sdks12:47
*** gtema has joined #openstack-sdks12:59
*** e0ne has quit IRC13:02
*** e0ne has joined #openstack-sdks13:11
*** e0ne has quit IRC13:13
*** jpena|lunch is now known as jpena13:35
*** whoami-rajat has joined #openstack-sdks13:38
*** cdent has quit IRC13:42
*** e0ne has joined #openstack-sdks13:42
*** stephenfin is now known as finucannot13:48
*** cdent has joined #openstack-sdks13:55
*** cmurphy is now known as cmurpheus14:18
*** cmurpheus is now known as cmorpheus14:18
*** cdent has quit IRC14:21
openstackgerritArtem Goncharov proposed openstack/openstacksdk master: Allow replacing service implementation  https://review.openstack.org/64870414:36
brtknrhello, how do i check openstacksdk version?14:43
brtknr`python -m openstack version` is great but i'd like to get the value from code14:45
dtantsurbrtknr: maybe query pbr, like in https://github.com/openstack/ironic/blob/master/ironic/version.py#L16-L18 ?14:49
brtknrwait, sdk.version.__version__ seems to cut it... is there a "proper" way?14:49
gtemabrtknr: print(openstack.version.__version__) works for me14:56
gtemathe only possible problem with it, that for openstacksdk==0.10.0 this does not work14:56
brtknrgtema: works for me too! im just wondering if there is a proper way..14:56
brtknror this is good enough14:56
gtemawell, this is good enough and used also in Ansible to detect sdk version14:57
gtemaif you look to openstack.version.py - you will see this is just a short-cut to a longer "proper" way14:57
*** e0ne has quit IRC14:58
*** e0ne has joined #openstack-sdks15:07
*** e0ne has quit IRC15:12
brtknrgtema: you're right :D15:14
*** cdent has joined #openstack-sdks15:19
*** slaweq has quit IRC15:19
*** gouthamr has quit IRC15:24
*** dmellado has quit IRC15:24
*** dulek has quit IRC15:24
*** dmellado has joined #openstack-sdks15:26
*** dulek has joined #openstack-sdks15:27
*** gouthamr has joined #openstack-sdks15:27
*** slaweq has joined #openstack-sdks15:28
*** gmann is now known as gmann_afk15:32
*** slaweq has quit IRC15:32
brtknrgtema: I cant find any examples where a comparison is made against openstacksdk version within Ansible openstack modules15:33
gtemabrtknr: https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/openstack.py#L12115:34
* brtknr facepalms15:35
brtknrgtema: I decided to only look inside `ansible/lib/ansible/modules/cloud/openstack`15:35
gtemahappend15:36
gtemas/happend/happens/15:36
*** knikolla is now known as nikrin15:41
*** slaweq has joined #openstack-sdks15:42
*** ricolin has joined #openstack-sdks15:43
*** slaweq has quit IRC15:50
brtknrDoes this look okay: https://github.com/ansible/ansible/pull/5375715:52
mordredbrtknr: yeah. that looks good on a quick look (conferencing today) - I assume the tags= parameter will just be silently ignored so we don't have to be fancy with avoiding sending it on earlier sdks?15:55
brtknrYes earlier sdks still accept tags, but do nothing15:55
mordredcool - then yeah, that looks good to me15:56
gtemaoh mordred, we need to speed up clearing ansible PRs15:57
mordredyeah15:57
mordredvery much so15:57
*** ricolin has quit IRC16:07
brtknrmordred: please ship the updated version... just thought that the check should only be made if there a tag specified at all16:07
*** jangutter has quit IRC16:09
brtknrgtema: to be fair, only 50 of 1664 open PRs are openstack related :P16:11
gtemayes, but they are very long pending16:12
gtemasome of them are even mine16:12
*** e0ne has joined #openstack-sdks16:14
*** e0ne has quit IRC16:14
brtknrgtema: yes I was just looking at os_server_tags.. which another person also appears to have implemented... i wonder how many are dupes16:18
gtemathat's why we need to clean things up16:18
brtknrgtema: what happens after shipit tag is applied?16:18
gtemaI would need to reimplement os_server_tags to support currently implemented SDK bindings16:18
gtemathere should be 2 shipits16:19
brtknrgtema: oh okay16:19
gtemaand then it is automatically merged. But only special guys can apply shipit16:19
brtknrgtema: gtema ok cool16:20
*** tosky has quit IRC16:23
*** slaweq has joined #openstack-sdks16:27
*** ttsiouts has quit IRC16:42
*** slaweq has quit IRC16:43
*** jpich has quit IRC16:55
*** gtema has quit IRC16:56
*** gtema has joined #openstack-sdks16:57
*** gtema has quit IRC16:57
*** dtantsur is now known as dtantsur|afk17:06
larsksWhinge of the day: I wish that the output of the get_* functions in openstacksdk could be used as input to the set_* functions. I'm trying to migrate quotas between two environments, and I wish I could simply new.set_compute_quotas(old.get_compute_quotas()), but of course that doesn't work.17:10
dtroyerlarsks: ++  I've wanted to do that in some cases with OSC, the REST APIs themselves do not always work that way17:26
*** jpena is now known as jpena|off17:37
dtruongmordred Can we get https://review.openstack.org/#/c/648334/ merged and then get a new openstacksdk release?17:42
*** slaweq has joined #openstack-sdks17:44
*** finucannot is now known as stephenfin17:53
*** yolanda has quit IRC17:53
*** cdent has quit IRC18:19
*** ralonsoh has quit IRC18:29
*** slaweq has quit IRC18:36
*** kmalloc is now known as needscoffee18:41
openstackgerritJeremy Houser proposed openstack/python-openstackclient master: Moved skiptest to setUpClass in order to avoid failures in test_snapshot and test_volume_transfer due to presence of openstack commands within setUpClass  https://review.openstack.org/64876019:18
*** gmann_afk is now known as gmann19:19
*** tosky has joined #openstack-sdks19:48
*** slaweq has joined #openstack-sdks19:58
*** yolanda has joined #openstack-sdks19:58
*** slaweq has quit IRC20:05
*** slaweq has joined #openstack-sdks20:11
*** slaweq has quit IRC20:16
*** holser_ has quit IRC20:25
*** mrhillsman is now known as mrhillsman_away420:40
*** mrhillsman_away4 is now known as mrhillsman_wkend20:41
*** slaweq has joined #openstack-sdks21:11
*** slaweq has quit IRC21:15
mordreddtruong: I was sort of hoping to get some sort of feedback on that plan from the release team - have you heard anything further?21:19
mordredlarsks: that's the goal. it will actually work with the resource layer objects - but we've got some unwinding to do and we haven't ported quota support down into the resource layer21:21
mordredlarsks: which is to say, I agree with you and I am sorry it's not there yet21:21
dtruongno, i haven't heard anything21:26
mordredhrm. well - yes - in theory I'm fine moving forward with that plan. let's go poke people again real quick21:27
dtruongok, let me ping them in the release IRC channel21:29
*** holser_ has joined #openstack-sdks21:49
*** slaweq has joined #openstack-sdks22:11
*** slaweq has quit IRC22:16
*** whoami-rajat has quit IRC23:47
*** needscoffee is now known as kmalloc23:53

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