Tuesday, 2017-03-21

*** rook-ugh is now known as rook00:03
openstackgerritLingxian Kong proposed openstack/mistral master: Trim yaql/jinja evaluation log  https://review.openstack.org/44774100:33
*** catintheroof has joined #openstack-mistral00:35
*** gongysh has quit IRC00:42
*** catintheroof has quit IRC01:08
*** jamielennox is now known as jamielennox|away01:16
*** jamielennox|away is now known as jamielennox01:28
*** gongysh has joined #openstack-mistral01:50
*** zhurong has joined #openstack-mistral01:57
openstackgerritLingxian Kong proposed openstack/mistral master: Trim yaql/jinja operation log  https://review.openstack.org/44774102:39
*** zhurong has quit IRC03:05
*** zhurong has joined #openstack-mistral03:21
openstackgerritLingxian Kong proposed openstack/mistral master: Change some 3rd party package log levels  https://review.openstack.org/44777703:22
openstackgerritLingxian Kong proposed openstack/mistral master: Change some 3rd party package log levels  https://review.openstack.org/44777703:23
*** jamielennox is now known as jamielennox|away04:12
*** zhurong has quit IRC04:12
*** d0ugal has quit IRC04:16
*** d0ugal has joined #openstack-mistral04:18
openstackgerrithnyang proposed openstack/mistral master: remove log translations  https://review.openstack.org/44779504:45
*** zhurong has joined #openstack-mistral05:00
*** sharatss has joined #openstack-mistral05:24
*** zhurong has quit IRC05:40
*** jaosorior has joined #openstack-mistral06:31
*** jtomasek has quit IRC07:23
*** shardy has joined #openstack-mistral08:07
d0ugalo/08:18
*** shardy has quit IRC08:24
*** jpich has joined #openstack-mistral08:34
*** zhurong has joined #openstack-mistral08:35
*** amoralej|off is now known as amoralej08:41
konghi, guys, in yaql, how do you assert if a key is defined in context or not?09:01
*** openstackgerrit has quit IRC09:03
d0ugalkong: I'm not toally sure, but maybe $.containsKey('key')09:04
d0ugal$ is a dict, right?09:04
d0ugalkong: or if you want to default it, you can do this...09:05
d0ugal$.get('key', 'DEFAULT')09:05
d0ugalWe use that quite often. https://github.com/openstack/tripleo-common/blob/master/workbooks/baremetal.yaml#L8809:05
kongd0ugal: that's what i want09:07
kongthanks :)09:07
d0ugalnp09:07
d0ugalYAQL is pretty confusing :)09:07
kongd0ugal: i have to read its unit test to learn more use case09:10
d0ugalYeah, they are useful09:19
*** jtomasek has joined #openstack-mistral09:42
*** openstackgerrit has joined #openstack-mistral09:57
openstackgerritLingxian Kong proposed openstack/mistral master: Fix cinder base import  https://review.openstack.org/44798409:57
*** mgershen1 has joined #openstack-mistral10:02
*** mgershen has quit IRC10:05
*** zhurong has quit IRC10:05
openstackgerritLingxian Kong proposed openstack/mistral master: Add missing swift actions  https://review.openstack.org/44798810:09
*** jaosorior is now known as jaosorior_brb10:14
openstackgerritLingxian Kong proposed openstack/mistral master: Fix cinder/heat base import  https://review.openstack.org/44798410:16
*** zhurong has joined #openstack-mistral10:24
*** jamielennox|away is now known as jamielennox10:30
*** thrash|g0ne is now known as thrash10:35
konghttp://logs.openstack.org/80/447380/4/check/python-mistralclient-coverage-ubuntu-xenial-nv/46b6862/console.html10:37
kongproblem in python-mistralclient gate10:37
kong2017-03-20 15:23:08.123387 | + tox -ecover10:37
kong2017-03-20 15:23:08.298411 | ERROR: unknown environment 'cover'10:37
d0ugalkong: yeah, I noticed - it was never setup fully10:43
d0ugalit is non-voting at least10:43
d0ugalThis patch gets it a bit closer, but it wasn't finished either: https://review.openstack.org/#/c/417902/10:44
*** jkilpatr has quit IRC10:44
*** shardy has joined #openstack-mistral10:45
kongi'm curious where 'venv=cover' comes from10:45
kongin the link i mentioned10:45
kongi'm not familiar with gate, but i prefer we fix the issue before we merge more patches10:46
d0ugalkong: I believe that will come from infra code, that isn't the issue10:50
d0ugalcover isn't defined in the tox.ini10:50
d0ugalhttps://github.com/openstack/python-mistralclient/blob/master/tox.ini10:50
d0ugalfor example in mistral it is: https://github.com/openstack/mistral/blob/master/tox.ini#L34-L3910:50
d0ugalkong: I agree it would be better to fix it, but I think it isn't as important.10:51
d0ugalisn't as important as the other gates10:51
openstackgerritLingxian Kong proposed openstack/mistral master: Change some 3rd party package default log levels  https://review.openstack.org/44777710:55
kongd0ugal: ooh, sorry, i didn't notice it's coverage job :P10:56
kongthought it's tempest at the first glance10:57
d0ugalaha, np10:57
*** mgershen1 has quit IRC11:01
*** mgershen has joined #openstack-mistral11:01
*** jkilpatr has joined #openstack-mistral11:02
*** jamielennox is now known as jamielennox|away11:05
*** mgershen has quit IRC11:05
thrashsharatss: https://review.openstack.org/#/c/417902/ you need to add .testr.conf with proper values before it will pass the coverage job.11:10
thrashsharatss: http://logs.openstack.org/02/417902/7/check/python-mistralclient-coverage-ubuntu-xenial-nv/6773f37/console.html#_2017-03-21_06_26_47_17815111:10
sharatssthrash, thank u11:11
sharatssi will try to add it11:11
thrashsharatss: it also looks like you need to add coverage package to test-requirements.txt11:11
*** jamielennox|away is now known as jamielennox11:12
thrashsharatss: that's probably the bigger problem. :)11:13
sharatssthrash, yes. i will check the possible solution11:14
sharatssthrash, will update soon :)11:14
openstackgerritSharat Sharma proposed openstack/python-mistralclient master: Add script for unit test coverage job  https://review.openstack.org/41790211:24
openstackgerritMerged openstack/python-mistralclient master: Accept keystone session in client  https://review.openstack.org/44704611:26
openstackgerrithnyang proposed openstack/mistral master: remove log translations Log messages are no longer being translated. This removes all use of the _LE, _LI, and _LW translation markers to simplify logging and to avoid confusion with new contributions.  https://review.openstack.org/44801311:29
openstackgerritMerged openstack/python-mistralclient master: Use session from OSC plugin  https://review.openstack.org/44738011:30
thrashsharatss: merge conflict. :)11:32
sharatssthrash, :( i have to do it again? :'(11:32
*** gongysh has quit IRC11:33
thrashsharatss: looks like it needs a rebase and merge resolve.11:34
sharatssthrash, yea.. will check it11:35
*** rbrady has joined #openstack-mistral11:36
*** mgershen has joined #openstack-mistral12:03
*** fultonj_ has joined #openstack-mistral12:15
*** jaosorior_brb is now known as jaosorior12:38
openstackgerrityfzhao proposed openstack/python-mistralclient master: Remove log translations  https://review.openstack.org/44806812:39
*** zhurong has quit IRC12:39
openstackgerrithnyang proposed openstack/mistral master: remove log translations Log messages are no longer being translated. This removes all use of the _LE, _LI, and _LW translation markers to simplify logging and to avoid confusion with new contributions.  https://review.openstack.org/44801312:41
*** dprince has joined #openstack-mistral12:48
*** fultonj_ is now known as fultonj12:50
*** shardy has quit IRC12:57
*** gongysh has joined #openstack-mistral13:02
*** shardy has joined #openstack-mistral13:03
*** pratapa has joined #openstack-mistral13:07
*** gongysh has quit IRC13:07
*** gongysh has joined #openstack-mistral13:13
*** gongysh has quit IRC13:15
*** amoralej is now known as amoralej|lunch13:20
*** jtomasek has quit IRC13:29
*** pratapa has quit IRC13:32
*** jtomasek has joined #openstack-mistral13:43
*** amoralej|lunch is now known as amoralej13:53
*** catintheroof has joined #openstack-mistral13:57
*** sharatss has quit IRC14:00
*** bobh has joined #openstack-mistral14:05
*** chlong has joined #openstack-mistral14:17
*** jkilpatr has quit IRC14:21
*** chlong has quit IRC14:24
*** jkilpatr has joined #openstack-mistral14:34
*** vishwanathj has joined #openstack-mistral14:36
*** shardy is now known as coding_shardy15:23
*** jrist has quit IRC15:33
*** thrash is now known as thrash|bbl15:39
*** jrist has joined #openstack-mistral15:40
*** jaosorior has quit IRC16:29
*** jpich has quit IRC16:43
*** rbrady has quit IRC16:47
*** jkilpatr_ has joined #openstack-mistral16:51
*** jkilpatr has quit IRC16:54
*** jaosorior has joined #openstack-mistral16:55
*** coding_shardy is now known as shardy16:57
*** thrash|bbl is now known as thrash16:58
*** rbrady has joined #openstack-mistral17:02
*** Qiming has quit IRC17:15
d0ugalWeird. I have a workflow that is "RUNNING" but all the tasks and actions have state SUCCESS17:18
rbradyd0gual: any RPC timeouts in the log?17:19
*** Qiming has joined #openstack-mistral17:19
d0ugalrbrady: nope17:20
d0ugaljaosorior: Are you still around?17:24
d0ugalI wonder if we managed to break Mistral :)17:24
d0ugalrbrady: http://paste.openstack.org/show/603646/17:28
jaosoriord0ugal: I'm kind of around17:28
jaosoriord0ugal: what happened?17:29
d0ugaljaosorior: I'm not sure yet17:29
d0ugaljaosorior: http://paste.openstack.org/show/603647/17:29
d0ugalThat is the only error that I've found17:29
*** catintheroof has quit IRC17:30
*** catintheroof has joined #openstack-mistral17:30
openstackgerritDougal Matthews proposed openstack/mistral master: Gate Test  https://review.openstack.org/44820617:31
rbradyd0ugal: do all mistral cli commands fail?  does environment-list work?17:33
*** bobh has quit IRC17:34
d0ugalrbrady: no, the env-list works fine17:34
d0ugalI think the issue is related to the mistral client17:34
d0ugalso only the mistral actions17:34
d0ugalbut really, not sure17:34
d0ugalI'll try another actions17:34
rbradyd0gual: ack, that was my next question for run-action17:35
d0ugalrbrady: okay, seems like it is all actions.17:35
d0ugalincluding std.noop17:35
jaosoriord0ugal: are the mistral actions using sessions?17:36
d0ugalbut I think it is because the Mistral engine had fallen over17:36
d0ugaljaosorior: no17:36
jaosoriord0ugal: well that's strange; it should be using the legacy code if sessions aren't specified17:36
jaosoriord0ugal: is that with the latest mistral? I was testing out an undercloud/overcloud deployment and had it working with the session bits17:38
d0ugaljaosorior: yeah, I just installed today17:38
d0ugaland I've seen this problem 3 times in a row on fresh environments :)17:38
d0ugalI thought the first one just went weird, so I reprovisioned it and another one at the same time17:38
d0ugalthey are all bust :(17:38
jaosoriord0ugal: is there more traceback we could see?17:41
d0ugaljaosorior: no, not that I've managed to get yet17:42
d0ugalthis is weird :)17:42
*** jtomasek has quit IRC17:43
jaosoriord0ugal: got an environment I could log into?17:44
d0ugaljaosorior: http://paste.openstack.org/show/603650/17:44
d0ugalI added "raise" here:17:45
d0ugalhttps://github.com/openstack/mistral/blob/master/mistral/actions/openstack/base.py#L13917:45
d0ugalto get the real traceback17:45
d0ugaland now I see it was logged a few lines above, not sure how I missed that.17:45
jaosoriord0ugal: try to get the URL it tried to use17:46
jaosoriord0ugal: that's the non-session branch17:46
d0ugaljaosorior: yeah, so likely something else17:47
d0ugalMaybe I'm just doing something odd. I'll keep digging for a bit17:48
jaosoriord0ugal: well, that URL will give some answers17:48
d0ugaljaosorior: which URL?17:48
jaosoriord0ugal: the paste that you showed me http://paste.openstack.org/show/603650/ failed cause of a 40417:48
jaosoriord0ugal: that means that it tried to access an invalid URL17:48
d0ugalah, of course17:49
jaosoriord0ugal: so checking what URL that was will tell us a bit more what happened17:49
jaosoriord0ugal: cause then we can trace, from where did that URL come from17:49
jaosoriord0ugal: you could print the auth_url that's given to the keystone client here https://github.com/openstack/python-mistralclient/blob/master/mistralclient/auth/keystone.py#L9017:52
d0ugaljaosorior: doing almost exactly that :)17:53
d0ugaljaosorior: http://192.168.24.1:500017:53
jaosoriord0ugal: oh... that's funky. The stack trace you showed me says the failure was in line 105. However, in the current code, line 105 is this https://github.com/openstack/python-mistralclient/blob/master/mistralclient/auth/keystone.py#L10517:54
jaosoriord0ugal: dude, you're not using this patch https://github.com/openstack/python-mistralclient/commit/ca313b0de4c1398d7e330892b7ce8d64a7ab911e17:55
d0ugaloh17:56
d0ugaljaosorior: nope, I seem to be on an old mistral17:56
jaosoriord0ugal: it fails because you are using versionless endpoints, and your mistral is old17:56
d0ugalmaybe I am doing quickstart wrong, I thought it was supposed to install master of everything17:56
jaosoriord0ugal: nope, it installs what's promoted17:56
jaosoriord0ugal: and there hasn't been promotion for 8 days17:56
jaosoriord0ugal: so yeah, that's why :(17:57
jaosorioranyway, now we know :D17:57
d0ugaljaosorior: indeed, thanks for helping17:57
jaosoriord0ugal: no biggie man17:57
jaosoriorpretty glad we figured it out17:57
jaosorioralright, I'm off now17:57
d0ugalcya17:57
jaosoriorhave a good one!17:57
d0ugalsorry for the hold up!17:57
*** jaosorior has quit IRC17:57
*** dprince has quit IRC18:10
*** rbrady has quit IRC18:13
*** shardy has quit IRC18:18
*** weshay_sick is now known as weshay_brb18:25
*** rbrady has joined #openstack-mistral18:28
*** bobh has joined #openstack-mistral18:31
*** weshay_brb is now known as weshay18:42
*** dprince has joined #openstack-mistral18:43
*** chlong has joined #openstack-mistral19:13
*** amoralej is now known as amoralej|off19:44
mwhahahai don't suppose anyone has a decent set of examples for interacting with the swift actions from a workbook?19:50
*** chlong has quit IRC20:21
*** clenimar has joined #openstack-mistral20:26
*** jkilpatr_ has quit IRC20:28
*** jkilpatr has joined #openstack-mistral20:44
*** chlong has joined #openstack-mistral20:48
*** bobh has quit IRC21:49
*** dprince has quit IRC21:54
*** catintheroof has quit IRC21:57
*** catintheroof has joined #openstack-mistral21:58
*** catintheroof has quit IRC21:58
openstackgerritLingxian Kong proposed openstack/mistral master: Trim yaql/jinja operation log  https://review.openstack.org/44774122:08
*** Qiming has quit IRC22:09
*** Qiming has joined #openstack-mistral22:12
*** chlong has quit IRC22:27
*** harlowja has quit IRC23:06
*** jamielennox is now known as jamielennox|away23:35
*** jamielennox|away is now known as jamielennox23:39

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