Thursday, 2017-11-02

*** rbrady has quit IRC00:24
*** rbrady has joined #openstack-mistral00:37
*** rbrady has joined #openstack-mistral00:37
*** zhurong has joined #openstack-mistral00:38
*** bobh has joined #openstack-mistral00:59
*** bobh has quit IRC01:07
*** rbrady has quit IRC01:23
*** rbrady has joined #openstack-mistral01:37
*** rbrady has quit IRC01:37
*** rbrady has joined #openstack-mistral01:37
*** zhurong has quit IRC01:46
daidvd0ugal, policy-in-code is ready to go, can you review these for me: https://review.openstack.org/#/q/topic:policy-and-docs-in-code+(status:open+OR+status:merged)+project:openstack/mistral01:56
*** zhurong has joined #openstack-mistral02:00
*** jistr has quit IRC03:42
*** jistr has joined #openstack-mistral03:43
*** yangyape_ has joined #openstack-mistral04:10
*** yangyapeng has quit IRC04:10
*** AlexeyAbashkin has joined #openstack-mistral04:18
*** gkadam_ has joined #openstack-mistral04:21
*** gkadam_ has quit IRC04:22
*** gkadam_ has joined #openstack-mistral04:22
*** AlexeyAbashkin has quit IRC04:22
*** gkadam_ is now known as gkadam04:23
*** zhurong has quit IRC07:20
*** AlexeyAbashkin has joined #openstack-mistral07:58
*** zhurong has joined #openstack-mistral07:59
d0ugaldaidv: sure, I'll take a look. I'll need to find some background to read, I'm not sure I understand this work.08:04
daidvd0ugal, thanks.08:07
* d0ugal reads https://governance.openstack.org/tc/goals/queens/policy-in-code.html08:07
*** shardy has joined #openstack-mistral08:16
*** oidgar has joined #openstack-mistral08:21
*** gkadam has quit IRC08:34
*** gkadam has joined #openstack-mistral08:35
*** jpich has joined #openstack-mistral09:02
*** jaosorior has quit IRC09:15
*** zhurong has quit IRC09:48
jtomasekd0ugal: hi, it seems that a workflow execution which has not been updated yet does not have updated_at set. Do you think it would make sense to set it the same as created_at when execution is created?10:06
jtomasekd0ugal: hmm, actually that is what happens it seems....10:09
d0ugaljtomasek: I feel like it should be empty if it hasn't been updated :)10:09
d0ugaljtomasek: https://github.com/openstack/mistral/blob/14c8d807b1c9a1b5f8dc72e19fab0f623ccf9d8e/mistral/db/sqlalchemy/model_base.py#L113-L11610:12
d0ugaljtomasek: it seems intentional and makes sense to me.10:12
jtomasekd0ugal: so when I run POST /executions the response I get is http://paste.openstack.org/show/625331/10:14
jtomasekd0ugal: which resembles to the docs https://docs.openstack.org/mistral/latest/api/v2.html#executions10:15
jtomasekand thats perfectly fine as that's what I expect10:15
jtomasekbut10:15
* d0ugal was waiting for that "but"10:15
d0ugalback in a sec10:16
jtomasekwhen I receive an execution via zaqar message (https://github.com/openstack/tripleo-common/blob/master/workbooks/validations.yaml#L64)10:16
jtomasekit is this:10:16
jtomasekhttp://paste.openstack.org/show/625333/10:19
jtomasekd0ugal: the execution (on line 26) does not have updated_at10:20
jtomasekd0ugal: which is inconsistent, and I wonder if it ever has that value or why it is not there... when that value clearly is defined at that point10:21
*** xavierhardy has quit IRC10:22
d0ugaljtomasek: looking10:25
d0ugalThey are very different interfaces which is why they are inconsistent10:25
d0ugalexecution() is really designed to be used within workflow logic10:26
d0ugalwe kind-of abuse it to use it to send that to the end-user.10:26
d0ugaljtomasek: https://github.com/openstack/mistral/blob/master/mistral/utils/expression_utils.py#L104-L11510:26
d0ugalThat is where it comes from.10:26
d0ugalupdated_at is there, interesting.10:27
jtomasekso upddated_at is defined there but it does not appear in the message.. yeah10:27
d0ugalI wonder if it is filtered out somewhere when it is empty?10:27
* d0ugal digs deeper10:28
d0ugalThat is very strange.10:30
d0ugaljtomasek: it was added recently.10:31
jtomasekaha10:31
*** xavierhardy has joined #openstack-mistral10:31
d0ugal1 month ago10:31
d0ugalhttps://github.com/openstack/mistral/commit/2871812788410ecac4298e2888a5460dfcdfa65e10:31
d0ugalso fairly recent.10:32
jtomasekso that problem might be fixed, I did not update my setup yet, are you able to run the validation to see if the message includes it?10:32
d0ugaljtomasek: I am in the process of rebuilding10:32
jtomasekok, never mind10:32
d0ugalbut I'll confirm soon10:33
d0ugal(hopefully!)10:33
jtomasekcool!10:33
jtomasek:)10:33
*** zhurong has joined #openstack-mistral11:12
*** openstackgerrit has joined #openstack-mistral11:38
openstackgerritRenat Akhmerov proposed openstack/mistral master: Re-raise DB errors when evaluating expressions  https://review.openstack.org/51727711:38
*** jaosorior has joined #openstack-mistral11:42
*** shardy is now known as shardy_lunch12:01
d0ugalrakhmerov: is the output on a workflow called regardless of the workflow state? i.e. on error12:01
*** jaosorior has quit IRC12:08
*** jkilpatr has joined #openstack-mistral12:16
*** oidgar has quit IRC12:25
*** gkadam has quit IRC12:30
*** tung_doan has joined #openstack-mistral12:32
tung_doanHi d0ugal: I am installing mistral but got a bunch of errors when run mistral-db-manage --config-file /etc/mistral/mistral.conf populate12:33
tung_doand0ugal: this is error: http://paste.openstack.org/show/625343/12:34
tung_doand0ugal: do you have any suggestion? thanks12:34
*** jaosorior has joined #openstack-mistral12:34
tung_doan:)12:34
d0ugaltung_doan: those errors are expected if you don't have openstack clients installed for some of the projects.12:38
d0ugaltung_doan: those particular errors mean you don't have novaclient installed, so you wont get the nova openstack actions.12:39
d0ugalif you don't want/need them it is safe to continue.12:39
d0ugalOtherwise install the client and run the command again.12:39
*** zhurong has quit IRC12:51
*** toure_biab is now known as toure13:14
*** bobh has joined #openstack-mistral13:15
*** AlexeyAbashkin has quit IRC13:23
*** shardy_lunch is now known as shardy13:25
*** thrash is now known as thrash|biab13:29
openstackgerritMerged openstack/mistral master: 'all' parameter breaks task context  https://review.openstack.org/51038413:34
*** AlexeyAbashkin has joined #openstack-mistral13:45
*** thrash|biab is now known as thrash14:01
*** jkilpatr has quit IRC14:06
*** xavierhardy has left #openstack-mistral14:17
*** jkilpatr has joined #openstack-mistral14:24
tung_doand0ugal: got it. thanks14:32
*** thrash is now known as thrash|biab14:41
tung_doand0ugal: sorry for bothering. Even I install nova client, I still got exact issue like this: https://bugs.launchpad.net/mistral/+bug/168410914:48
openstackLaunchpad bug 1684109 in Mistral "sync_db.py: Failed to create action" [Undecided,New]14:48
*** thrash|biab is now known as thrash14:58
*** gkadam has joined #openstack-mistral15:23
*** thrash is now known as thrash|biab15:38
*** AlexeyAbashkin has quit IRC15:53
*** shardy has quit IRC15:59
*** katkapilatova has quit IRC16:05
*** katkapilatova has joined #openstack-mistral16:07
*** jaosorior has quit IRC16:08
*** katkapilatova has quit IRC16:09
d0ugaltung_doan: that error is then for magnum client16:09
d0ugaltung_doan: you will get one for each openstack client16:09
*** katkapilatova has joined #openstack-mistral16:10
*** katkapilatova_ has joined #openstack-mistral16:10
tung_doand0ugal: my point is i still got error even  i already installed nova client. anw, I will look deeply into this issue. Thanks16:47
tung_doan:)16:47
d0ugaltung_doan: okay, there may be a specific bug with the nova actions then - if you can find out more about that it would be good to report it16:48
tung_doand0ugal: sure.. i am willing to make mistral doc better :) hahaa16:51
d0ugaltung_doan: http://logs.openstack.org/68/516668/1/check/legacy-tripleo-ci-centos-7-scenario003-multinode-oooq-puppet/8237ac7/logs/undercloud/var/log/mistral/mistral-db-manage.log.txt.gz16:51
d0ugaltung_doan: thanks!16:51
d0ugaltung_doan: we get lots of those errors too - maybe there is something wrong with the nova actions.16:51
d0ugalmost of them we expect, because we don't have many clients installed16:51
tung_doand0ugal: yeah.. that is newest log in mistral gerrit?16:51
d0ugaltung_doan: that CI run was 2 days ago16:52
d0ugalso maybe not newest, but one of the most recent16:52
tung_doanokay... firstly, i need to check my local environment. Then figure out whether it is a bug16:53
d0ugalthanks16:54
d0ugalI'll try and look more into it tomorrow, it does seem strange16:54
d0ugalSome of the nova actions do register correctly, but some don't16:55
tung_doand0ugal: nice!!! actually i am also trying to test Tacker manually. Hopefully, I also can help tacker doc better16:55
tung_doand0ugal: that is exact issue I met16:55
tung_doanjust few nova actions16:56
*** thrash|biab is now known as thrash17:16
*** AlexeyAbashkin has joined #openstack-mistral17:31
*** katkapilatova has quit IRC17:32
*** katkapilatova_ is now known as katkapilatova17:32
*** AlexeyAbashkin has quit IRC17:35
*** jpich has quit IRC17:57
*** gkadam has quit IRC18:08
*** gkadam has joined #openstack-mistral18:09
*** AlexeyAbashkin has joined #openstack-mistral18:09
*** AlexeyAbashkin has quit IRC18:14
*** rakhmerov has quit IRC18:23
*** rakhmerov has joined #openstack-mistral18:28
*** toure is now known as toure_biab18:52
*** vishwanathj has quit IRC19:23
*** dprince has joined #openstack-mistral19:28
*** gkadam has quit IRC19:54
*** dprince has quit IRC20:08
*** dprince has joined #openstack-mistral20:14
*** dprince has quit IRC20:17
*** dprince has joined #openstack-mistral20:17
openstackgerritMike Fedosin proposed openstack/mistral master: Do not parse updated_at for task if it was not updated  https://review.openstack.org/51742720:29
*** dprince has quit IRC20:54
*** AlexeyAbashkin has joined #openstack-mistral21:08
*** AlexeyAbashkin has quit IRC21:13
*** jtomasek has quit IRC21:35
*** d0ugal has quit IRC21:40
*** d0ugal has joined #openstack-mistral21:47
*** bobh has quit IRC21:58
*** AlexeyAbashkin has joined #openstack-mistral22:08
*** AlexeyAbashkin has quit IRC22:13
*** bobh has joined #openstack-mistral23:16
*** bobh has quit IRC23:16
*** bobh has joined #openstack-mistral23:23

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