Wednesday, 2017-05-10

*** mbrennan has joined #openstack-mistral00:19
*** mbrennan has quit IRC00:22
*** mbrennan has joined #openstack-mistral00:22
*** mbrennan has quit IRC00:26
*** catintheroof has quit IRC00:36
*** mbrennan has joined #openstack-mistral00:42
*** mbrennan has quit IRC00:44
*** mbrennan has joined #openstack-mistral00:44
*** mbrennan has quit IRC00:49
*** mbrennan has joined #openstack-mistral00:51
*** mbrennan has quit IRC02:15
*** mbrennan has joined #openstack-mistral02:16
*** mbrennan has quit IRC02:20
*** gongysh has joined #openstack-mistral02:39
*** gongysh has quit IRC02:55
*** mbrennan has joined #openstack-mistral03:03
*** mbrennan has quit IRC03:06
*** mbrennan has joined #openstack-mistral03:07
*** mbrennan has quit IRC03:07
*** mbrennan has joined #openstack-mistral03:08
*** jaosorior_away has quit IRC04:44
*** rbrady has joined #openstack-mistral04:58
*** rbrady has joined #openstack-mistral04:58
openstackgerritSharat Sharma proposed openstack/mistral master: Removed the deprecated attrs usage in mistral_tempest_plugin  https://review.openstack.org/46357605:11
*** jaosorior has joined #openstack-mistral05:16
*** sharat has joined #openstack-mistral05:23
openstackgerritMerged openstack/python-mistralclient master: Change service type to workflowv2  https://review.openstack.org/46291705:28
openstackgerritSharat Sharma proposed openstack/python-mistralclient master: Use keystoneauth plugins and session instead of keystoneclient  https://review.openstack.org/45517405:30
*** sharat has quit IRC05:56
*** sharat has joined #openstack-mistral05:57
openstackgerritMerged openstack/mistral master: Revert "Support transition to keystone auth plugin"  https://review.openstack.org/46345506:12
*** chlong has quit IRC06:23
*** sharat has quit IRC07:35
*** sharat has joined #openstack-mistral07:35
*** jpich has joined #openstack-mistral07:48
*** jtomasek is now known as jtomasek|bbl08:20
bretonlol @ https://review.openstack.org/#/c/463455/08:39
d0ugalbreton: indeed :(08:47
d0ugalbreton: any idea why it was broken?08:47
openstackgerritDougal Matthews proposed openstack/mistral master: WIP Setup logging for the mistral-db-manage commands  https://review.openstack.org/46368408:49
therved0ugal, I think the answer is again in the non-voting job...08:52
thervehttp://logs.openstack.org/60/462560/6/check/gate-mistral-devstack-dsvm-ubuntu-xenial-nv/0919b23/logs/screen-mistral-executor.txt.gz#_May_05_04_57_20_779161 for example08:53
d0ugaltherve: oh, well spotted.08:59
d0ugalIt is almost like we should make these voting :P09:00
bretoninteresting, keystone_authtoken.username is in mistral.conf09:00
bretonmaybe option .username is not described as python object and oslo_config knows nothing about it09:02
*** jpich has quit IRC09:32
*** jtomasek|bbl is now known as jtomasek10:04
*** tuan_ has joined #openstack-mistral10:20
openstackgerritluong tuan proposed openstack/mistral master: Refactor mistral context using oslo_context  https://review.openstack.org/45540710:45
*** gongysh has joined #openstack-mistral10:49
*** gongysh has quit IRC10:51
d0ugalrakhmerov: hey, you around?11:30
rakhmerovd0ugal: yes11:30
d0ugalrakhmerov: I have a quick question about on-success and multiple tasks.11:31
rakhmerovok11:31
d0ugalrakhmerov: say I have on-success: - A - B - C11:31
d0ugalso it runs three tasks on success11:31
d0ugalwill they run concurrently or will B start after A finishes?11:31
rakhmerovconcurrently11:32
d0ugalokay, thanks :)11:32
rakhmerov:)11:32
d0ugaloh, I just found in the docs where it says this11:32
d0ugalsorry11:32
d0ugalhttps://docs.openstack.org/developer/mistral/dsl/dsl_v2.html#fork11:32
rakhmerovnp11:33
d0ugalrakhmerov: btw, do you deploy with mysql or postgres?11:38
rakhmerovI personally run with both to test some things. Nokia deploys with mysq11:39
rakhmerovMariaDB11:39
rakhmerovI personally would recommend postgres11:40
d0ugalrakhmerov: thanks, just curious. I was reading the comments on https://review.openstack.org/#/c/427880/11:40
d0ugalrakhmerov: yeah, I would recommend postgres too :)11:40
d0ugalbut we use maria also :(11:40
rakhmerovooh woow11:40
rakhmerovwhat is the reason to deprecate postgres? (lazy to read :) )11:41
rakhmerovI have much better experience with postgres actually11:41
rakhmerovcan tell details11:41
d0ugalme too, I think it is a far superior database :)11:42
d0ugalanyway, the reasoning is hard to summarise... maybe just read the first few paragraphs of the rst file. https://review.openstack.org/#/c/427880/3/resolutions/20170201-deprecate-pg.rst11:42
d0ugalbut I guess the tl;dr is we are not supporting it as well as mysql (because it isn't tested, people don't use it as much etc.) so we should stop pretending11:43
d0ugalbrb11:43
rakhmerovd0ugal: ok, I'll read it. But at first glance it's a crappy decision..11:45
openstackgerritluong tuan proposed openstack/mistral master: Add user creds trusts to db  https://review.openstack.org/46205611:46
*** chlong has joined #openstack-mistral11:59
d0ugalrakhmerov: agreed, I think it will change a bit before it is accepted tho'12:27
rakhmerovhopefully12:28
d0ugalrakhmerov: the final comment is a good summary and rebuttal of the reasons12:29
rakhmerovyeah, I was going to write something similar (+ some technical details) but after reading the last one I decided not to )12:29
*** rbrady has quit IRC12:30
openstackgerritluong tuan proposed openstack/mistral master: Add user creds trusts to db  https://review.openstack.org/46205612:49
*** mbrennan has quit IRC12:49
*** sharat has quit IRC12:50
*** mbrennan has joined #openstack-mistral12:50
*** mbrennan has quit IRC12:54
*** rbrady has joined #openstack-mistral12:59
*** jkilpatr has joined #openstack-mistral13:01
*** toure|gone is now known as toure13:10
*** chlong has quit IRC13:10
*** shardy has joined #openstack-mistral13:21
*** rbrady has quit IRC13:27
*** dprince has joined #openstack-mistral13:39
apetrich_d0ugal, can I help with some of those tasks?13:45
d0ugalapetrich_: sure!13:45
d0ugalapetrich_: I have not actually reported bugs for them, maybe I should start with that.13:45
*** jkilpatr has quit IRC13:48
*** rbrady has joined #openstack-mistral13:48
d0ugalapetrich_: https://bugs.launchpad.net/mistral/+bug/168982113:50
openstackLaunchpad bug 1689821 in Mistral "The mistral-db-manage should log it's output" [High,Confirmed] - Assigned to Adriano Petrich (apetrich)13:50
apetrich_d0ugal, cool. I will start with that13:50
d0ugalapetrich_: https://bugs.launchpad.net/mistral/+bug/168982313:50
openstackLaunchpad bug 1689823 in Mistral "mistral-db-manage should have a different return code on partial failure" [Medium,Confirmed]13:50
d0ugalapetrich_: you are welcome to either of those :)13:52
d0ugalapetrich_: this is as far as my experimentation got, but then introspection finished. https://review.openstack.org/46368413:52
apetrich_d0ugal, :) I will start with the logging just because13:52
apetrich_d0ugal, cheers13:52
*** mbrennan has joined #openstack-mistral13:52
*** mbrennan has quit IRC13:52
d0ugalcool13:52
*** mbrennan has joined #openstack-mistral13:53
*** jkilpatr has joined #openstack-mistral13:55
openstackgerritluong tuan proposed openstack/mistral master: Refactor mistral context using oslo_context  https://review.openstack.org/45540713:55
*** catintheroof has joined #openstack-mistral13:59
apetrich_d0ugal, btw why not logging.getLogger(__name__)?14:03
d0ugalapetrich_: not sure, I was trying to copy how logging was setup for the api etc. but I didn't get that far.14:04
*** rbrady_ has joined #openstack-mistral14:04
*** rbrady_ has joined #openstack-mistral14:04
apetrich_d0ugal, ah ok. I was afraid that it was something I wasn't seeing14:05
tuan_apetrich_: Because we have oslo_log14:21
tuan_oslo library provides us a common base with a lot of parameters14:22
tuan_for instance if you want to use the normal python loggin library14:22
tuan_getLogger(__name__)14:22
tuan_you have to also provide the configuration for that logging14:22
*** chlong has joined #openstack-mistral14:23
tuan_but with oslo_log, all the configuration params are controlled under oslo object14:23
tuan_you just need to provide the config parameters that you want to oslo object14:24
tuan_and then everything will work like charm14:24
tuan_:)14:24
apetrich_tuan_, I had std_actions.py open and it used the use oslo_log as logging and LOG = logging.getLogger(__name__)14:25
tuan_apetrich_: oh, may be i misunderstand your question14:27
tuan_:)14:27
apetrich_tuan_, I'm adding logging to db/migrations/cli and I was looking at d0ugal's review and he used in a different way I was trying to figure out how should I do it14:28
apetrich_:)14:28
apetrich_bbiab14:28
* d0ugal probably didn't do it right14:30
tuan_apetrich_: https://github.com/openstack/oslo.log/blob/master/oslo_log/log.py#L26214:30
tuan_you can check the setup logging for service from conf here14:30
tuan_well, by using logging.setup() as dougal provided14:31
tuan_we have more options for logging configurations14:32
tuan_you can check in the link i have sent14:32
*** catintheroof has quit IRC14:36
tuan_oh, it is the patch dougal did: https://review.openstack.org/#/c/463684/1/mistral/db/sqlalchemy/migration/cli.py14:36
tuan_now i understand14:36
tuan_just my personal idea :)14:36
tuan_as you can see that in the oslo_log when you setup logging, this setup is used for setting logging for an application14:37
*** rbrady_ has quit IRC14:37
*** rbrady has quit IRC14:37
tuan_it seems that the cli.py with the main() will run as a process in background therefore we treat it as an "application"14:38
tuan_on another hand, when we set getLogger14:38
tuan_it will create a logger for the module where the getLogger is called14:39
tuan_for instance: you have a module like: mistral.actions.my_action14:39
*** jkilpatr has quit IRC14:40
tuan_then the logger will be create as: getLogger(__name__) = getLogger(mistral.action.my_action)14:40
tuan_hopefully i can help you in some sense14:40
*** jkilpatr has joined #openstack-mistral14:47
*** rbrady_ has joined #openstack-mistral14:52
*** rbrady has joined #openstack-mistral14:52
*** rbrady has quit IRC14:52
*** rbrady has joined #openstack-mistral14:52
*** dprince has quit IRC14:56
*** shardy has quit IRC15:00
*** catintheroof has joined #openstack-mistral15:02
*** shardy has joined #openstack-mistral15:03
d0ugaltuan_: I think that makes sense15:06
d0ugaltuan_: so is what I done the correct way to setup oslo_log?15:06
*** jkilpatr has quit IRC15:07
*** shardy has quit IRC15:15
*** shardy has joined #openstack-mistral15:22
*** jkilpatr has joined #openstack-mistral15:33
*** rbrady has quit IRC15:40
*** rbrady_ has quit IRC15:40
*** jkilpatr has quit IRC15:41
tuan_d0ugal: yeap,15:41
tuan_i think so15:41
tuan_IMHO15:42
tuan_:)15:42
*** jaosorior is now known as jaosorior_away15:42
*** tuan_ has quit IRC15:42
*** shardy has quit IRC15:46
*** catintheroof has quit IRC15:54
*** shardy has joined #openstack-mistral16:47
*** jkilpatr has joined #openstack-mistral17:11
*** mbrennan has quit IRC17:36
*** shardy has quit IRC17:37
*** jkilpatr has quit IRC17:42
*** mbrennan has joined #openstack-mistral17:54
*** shardy has joined #openstack-mistral18:41
*** jkilpatr has joined #openstack-mistral18:41
*** jkilpatr has quit IRC19:12
*** jkilpatr has joined #openstack-mistral19:16
*** shardy has quit IRC19:26
*** jkilpatr has quit IRC19:42
*** shardy has joined #openstack-mistral19:44
*** shardy has quit IRC20:02
*** catintheroof has joined #openstack-mistral20:08
*** mbrennan has quit IRC20:15
*** mbrennan has joined #openstack-mistral20:15
*** mbrennan has quit IRC20:20
*** mbrennan has joined #openstack-mistral20:23
*** mbrennan has quit IRC20:25
*** jkilpatr has joined #openstack-mistral20:29
*** rbrady has joined #openstack-mistral20:30
*** rbrady_ has joined #openstack-mistral20:31
apetrich_Thanks20:37
*** catintheroof has quit IRC20:41
*** mbrennan has joined #openstack-mistral21:00
openstackgerritWinson Chan proposed openstack/mistral master: Fix WSGI script for gunicorn  https://review.openstack.org/46387021:38
*** mbrennan has quit IRC21:45
*** mbrennan has joined #openstack-mistral21:46
*** mbrennan has quit IRC21:50
*** jkilpatr has quit IRC22:11
*** rbrady_ has quit IRC22:33
*** rbrady has quit IRC22:35
*** catintheroof has joined #openstack-mistral22:38
*** catintheroof has quit IRC22:56
*** catintheroof has joined #openstack-mistral22:57
*** catintheroof has quit IRC22:57

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