Wednesday, 2016-05-25

*** rena9067_ has quit IRC00:12
*** Qiming has quit IRC00:24
*** cheneydc has joined #openstack-mistral00:58
*** Qiming has joined #openstack-mistral01:26
rakhmerovmflobo: hi, need a concrete example02:24
*** gyee has quit IRC02:39
*** vishwanathj has joined #openstack-mistral02:52
*** vishwanathj has quit IRC02:58
*** tonytan_brb has joined #openstack-mistral03:26
*** tonytan4ever has quit IRC03:29
*** tonytan_brb has quit IRC03:35
openstackgerrithardik proposed openstack/mistral-specs: Replace deprecated library function os.popen() with subprocess  https://review.openstack.org/26750605:14
*** Ravikiran_K has joined #openstack-mistral05:21
*** ig0r_ has joined #openstack-mistral06:00
*** ig0r_ has quit IRC06:17
mfloborakhmerov, hi, sure no problem. In this example http://paste.openstack.org/show/505243/06:37
mfloborakhmerov, what happen in mistral if "setup_quota" task fails for whatever reason?06:38
mfloborakhmerov, The others tasks will continue?06:38
rakhmerovno06:38
rakhmerovthe entire workflow will fail06:39
rakhmerovhowever, you use on-complete instead of on-success in "setup_quota" then they will continue06:39
rakhmerovmore precisely, setup_cinder_quota will run06:39
rakhmerovmakes sense?06:40
mfloborakhmerov, but if "create_project" is the first task to be execute, and the "setup_quota" fails, the project created, right?06:40
rakhmerovit's just like regular exception handling in Python with try-except-finally06:40
rakhmerovyes, right06:40
mfloboI see06:40
rakhmerovso, if a task explicitly defines a handler for errors (on-error or on-complete) then workflow won't fail06:41
mfloborakhmerov, Is it possible to "rollback" in case of error? like SQL transactions concept?06:41
rakhmerovif it doesn't then the wf will fail06:41
*** shardy has joined #openstack-mistral06:41
rakhmerovnot yet, we'll start working on rollback I think in ~ a month06:41
mflobook06:41
rakhmerovstill need to discuss details of the spec06:41
mfloboI see06:42
rakhmerovhowever, in order to do some rollback stuff you can define handlers06:42
rakhmerovon-error06:42
rakhmerovin conjunction with task-defaults thing it may be enough06:42
mfloborakhmerov, yep, right06:42
rakhmerovok06:42
rakhmerovso stay tuned :)06:42
mflobosure ;)06:42
openstackgerritRenat Akhmerov proposed openstack/mistral: WIP: engine refactoring  https://review.openstack.org/31787906:44
openstackgerritMerged openstack/mistral-specs: Replace deprecated library function os.popen() with subprocess  https://review.openstack.org/26750606:52
*** Ravikiran_K has quit IRC07:08
*** jtomasek has joined #openstack-mistral07:20
rakhmerovfolks, has anyone seen that pep8 gate would fail with timeout?07:27
rakhmerovit happens now to my patch: https://review.openstack.org/#/c/317879/07:28
openstackgerritRenat Akhmerov proposed openstack/mistral: WIP: engine refactoring  https://review.openstack.org/31787907:32
*** chlong has quit IRC07:46
openstackgerritRenat Akhmerov proposed openstack/mistral: WIP: engine refactoring  https://review.openstack.org/31787908:05
*** ak____ has joined #openstack-mistral08:19
ak____ok08:19
*** ig0r_ has joined #openstack-mistral08:20
*** dmk0202 has joined #openstack-mistral08:28
*** _gryf has quit IRC08:29
*** dmowrer has joined #openstack-mistral08:52
*** dmowrer has quit IRC08:56
*** ak____ has quit IRC09:29
openstackgerritRenat Akhmerov proposed openstack/mistral: WIP: engine refactoring  https://review.openstack.org/31787909:41
openstackgerritRenat Akhmerov proposed openstack/mistral: WIP: engine refactoring  https://review.openstack.org/31787909:52
*** cheneydc has quit IRC09:54
openstackgerritRenat Akhmerov proposed openstack/mistral: WIP: engine refactoring  https://review.openstack.org/31787909:58
kongrakhmerov: i'm waiting for the jekins result09:59
kongit's successful on my own environment09:59
rakhmerovkong: I see that it failed again10:00
rakhmerovhttp://status.openstack.org/zuul/10:00
kong:-(10:00
kongi will take a look at the log10:00
kongdon't know why. there is no error on my local10:01
rakhmerovok10:04
rakhmerovit's still the same error10:04
kongyeah10:05
rakhmeroveven though [testenv] config applies to all envs, right?10:05
kongseems like that10:06
kongi'm trying to modify [testenv:venv]10:06
kongbut theoretically, install_command in [testenv:docs] will override that in [testenv:venv]10:07
kongno error on my local, i saw the right oslo.message version10:08
rakhmerovhm.. weird10:08
kongi am about to move that into [testenv:venv] and try jekins again10:08
rakhmerovwhy venv?10:08
rakhmerovvenv is not used anywhere if I remember correctly10:09
rakhmerovit's just for running things under virtual environment manually10:09
rakhmerovin order to avoid starting tests10:09
kong2016-05-25 09:47:17.265 | + tox -evenv -- python setup.py build_sphinx10:09
kongthis is what's executed when doing 'tox -e docs'10:10
rakhmerovoooh10:11
rakhmerovI see10:11
rakhmerovok then10:11
rakhmerovyeah, then it needs to be configured too, of course10:11
kongjust tried10:11
konglet's wait to see the ret10:11
kongrakhmerov: i have a question about the event trigger bp10:12
kongdoes that mean, only infrastructure operators can use that API for event notification10:13
kongafter reading what Zane proposed in Zaqar10:13
kongit will solve the problem that end user is facing10:13
rakhmerovI don't remember exactly what he proposed ) I need to spend more time to get familiar with that10:14
rakhmerovdifferent focus now, sorry10:14
kongin that mistral bp, 'users' expect to listen to rabbitmq in openstack deployment10:15
rakhmerovyes10:15
kongbut in real world, end users should not know that information10:15
rakhmerovyeah, ideally10:16
kongso, I see that a limitation for that mistral feature10:17
rakhmerovyes, right, you seem to be right about using it only by infrastructure ops10:17
rakhmerovof course10:17
kongthat's the reason I was object to that at the beginning10:17
rakhmerovCeilometer or Zaqar are more user facing10:17
rakhmerovkong: I think it's slightly a different use case10:18
rakhmerovIMO10:18
kongbtw, seems jekins passes10:18
kongyes, i just want to make sure you know that10:18
rakhmerovyes!!10:18
rakhmerovit passed10:18
kongwho is going to be the potentical user of that feature10:18
rakhmerovso, getting back to event trigger10:18
rakhmerovone way to make it more user friendly is to slightly abstract it out10:19
rakhmerovso that we mask real OpenStack events moving in MQ back and forth10:19
kongi am not sure i understand you by 'mask real OpenStack events'10:20
rakhmerovfor example, if I'm configuring an event trigger I don't specify "nova.create_vm" but I do specify something different that's established in Mistral docs10:20
rakhmerovI mean we could represent those low level events differently for end users10:21
rakhmerovin more user meaningful form10:21
kongyes, it's an option10:21
kongbut we have to maintain so many mappings10:21
rakhmerovyeah, I'm actually just thinking loudly10:21
kongit's not scalable IMO10:21
rakhmerovyes, that's a downside10:21
rakhmerovI'm just making a point that it can be improved somehow10:22
rakhmerovsolved rather..10:22
kongfor end user, I tend to agree with Zane's spec10:22
rakhmerovI'll read it asap10:22
rakhmerovjust want to finish my current thing10:23
kongbut for operator, mistral way will make sense10:23
*** _gryf has joined #openstack-mistral10:23
kongyeah, sure10:23
rakhmerovthere's an enormous context in my head, don't wanna lose it..10:23
kongmaybe after you reading, we can talk about it if necessary10:23
rakhmerovsure, we'll do10:23
rakhmerovto be honest, it's all not so clear to me too10:24
kongtake your time, man10:25
rakhmerovok10:26
*** Qiming has quit IRC10:30
openstackgerritRenat Akhmerov proposed openstack/mistral: WIP: engine refactoring  https://review.openstack.org/31787910:36
openstackgerritRenat Akhmerov proposed openstack/mistral: WIP: engine refactoring  https://review.openstack.org/31787910:46
*** dmowrer has joined #openstack-mistral10:52
*** openstackgerrit has quit IRC11:18
*** openstackgerrit has joined #openstack-mistral11:18
*** Qiming has joined #openstack-mistral11:21
*** bobh has joined #openstack-mistral11:46
*** rbrady has joined #openstack-mistral12:03
*** bobh has quit IRC12:19
*** dprince has joined #openstack-mistral12:20
openstackgerritMichal Gershenzon proposed openstack/python-mistralclient: Validate ad-hoc action via cli  https://review.openstack.org/31815212:21
openstackgerritRenat Akhmerov proposed openstack/mistral: WIP: engine refactoring  https://review.openstack.org/31787912:33
*** rbrady has quit IRC13:05
*** ig0r__ has joined #openstack-mistral13:06
*** ig0r_ has quit IRC13:08
openstackgerritXavier Hardy proposed openstack/mistral: Fix API inconsistencies with GET /v2/workflows  https://review.openstack.org/32101614:14
*** rena9067 has joined #openstack-mistral14:57
*** Qiming has quit IRC15:09
*** FL1SK has quit IRC15:29
*** rbrady has joined #openstack-mistral15:40
*** dmk0202 has quit IRC15:49
*** tonytan4ever has joined #openstack-mistral16:00
*** tonytan4ever has quit IRC16:03
vgnbkrI have a change to the Mistral Openstack TroveActions that I'd like to put upstream.  In trying to get "tox -epep8" running I was missing pecan so I put that directly into the venv.  Then, running "tox -epy27" I seem to be missing some yaql module.  I'm wondering if I'm missing some dev setup step?16:12
vgnbkrIs there something beyond a standard Openstack environment I should be doing to set up a dev environment?16:14
*** tonytan4ever has joined #openstack-mistral16:23
*** gyee has joined #openstack-mistral16:23
*** tonytan_brb has joined #openstack-mistral17:19
*** tonytan4ever has quit IRC17:20
openstackgerritMichal Gershenzon proposed openstack/mistral: Return 'Unknown error' when error output is empty  https://review.openstack.org/32113617:24
*** FL1SK has joined #openstack-mistral17:28
*** tonytan_brb is now known as tonytan4ever17:28
mgershenvgnbkr: mistral uses yaql, you can go ahead and install it, if that is the only thing stopping you.  If you are working on devstack on master branch you should already have everything is you install mistral like described here: https://github.com/openstack/mistral17:30
mgershenvgnbkr: basically all that is needed for an installation is adding a line17:31
mgershenvgnbkr: a better link: https://github.com/openstack/mistral/tree/master/devstack17:31
vgnbkrmgershen, Yes, I have all that and have successfully made my change, but now I'm trying to get "tox -epy27" to run.  Even though I have all of the apt packages listed installed, tox complains about a missing "yaql.language" module.17:35
vgnbkrMy change is almost trivial and passed pep8 - would it be a major faux-pas to just push it up and let the gate run the tests for me?17:39
*** dmowrer has quit IRC17:39
*** dmowrer has joined #openstack-mistral17:40
mgershenvgnbkr: it's fine by me :)17:44
*** dmowrer has quit IRC17:44
mgershenvgnbkr: but since you didn't test your change please mark it as work in progress until the test pass17:45
mgershenvgnbkr: it is actually recommended and consider good practice to push your code while you are still working on it (and mark it WIP). This gives the community a chance to be involved.17:48
*** ig0r__ has quit IRC17:51
vgnbkrI have tested my change in devstack, I just can't get py27 to run.  I can pretty much guarantee that there is no test for the change I made since it didn't work before my change :-)18:01
openstackgerritMorgan Jones proposed openstack/mistral: WIP: Fix client in TroveActions  https://review.openstack.org/32115918:13
*** dmowrer has joined #openstack-mistral18:15
*** FL1SK has quit IRC18:17
*** vishwanathj has joined #openstack-mistral18:19
rbradyvgnbkr: passes pep8, py27 for me18:20
*** mgershen has quit IRC18:26
*** mgershen has joined #openstack-mistral18:26
*** mgershen is now known as Guest2912918:27
*** Guest29129 has quit IRC18:31
vgnbkrrbrady, thanks - looking forward to my first non-Trove commit.18:38
*** dmowrer has quit IRC18:59
*** dmowrer has joined #openstack-mistral19:00
openstackgerritMerged openstack/python-mistralclient: Validate ad-hoc action via cli  https://review.openstack.org/31815219:00
*** dmowrer_ has joined #openstack-mistral19:02
*** dmowrer has quit IRC19:04
*** dmowrer_ has quit IRC20:15
*** FL1SK has joined #openstack-mistral20:27
*** shardy has quit IRC20:35
*** dmowrer has joined #openstack-mistral20:36
*** dmowrer has quit IRC20:39
*** dmowrer has joined #openstack-mistral20:40
*** dprince has quit IRC20:54
*** gyee has quit IRC21:07
*** tonytan4ever has quit IRC21:21
openstackgerritMorgan Jones proposed openstack/mistral: Fix client in TroveActions  https://review.openstack.org/32115921:25
*** FL1SK has quit IRC21:37
*** dmowrer has quit IRC22:34
*** gyee has joined #openstack-mistral22:55
*** chlong has joined #openstack-mistral23:05
*** harlowja has quit IRC23:12
*** vishwana_ has joined #openstack-mistral23:21
*** vishwanathj has quit IRC23:23

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