Thursday, 2016-03-10

*** openstack has joined #openstack-mistral00:09
*** openstackgerrit has quit IRC00:17
*** openstackgerrit has joined #openstack-mistral00:18
*** toddjohn_ has joined #openstack-mistral00:24
*** toddjohn_ has quit IRC00:27
*** toddjohn_ has joined #openstack-mistral00:27
*** toddjohn_ has quit IRC00:31
*** toddjohn_ has joined #openstack-mistral00:32
*** toddjohn_ has quit IRC00:37
*** ruhe has quit IRC00:49
*** akuznetsova has quit IRC00:49
*** ^Gal^ has quit IRC00:49
*** ruhe2 has joined #openstack-mistral00:49
*** ruhe2 is now known as ruhe00:49
*** akuznetsova has joined #openstack-mistral00:49
*** ^Gal^ has joined #openstack-mistral00:52
*** cheneydc has joined #openstack-mistral00:58
*** xenogear has joined #openstack-mistral01:01
*** gyee has quit IRC01:25
*** toddjohn_ has joined #openstack-mistral02:02
*** toddjohn_ has quit IRC02:07
*** xenogear has quit IRC03:17
*** toddjohn_ has joined #openstack-mistral04:04
*** toddjohn_ has quit IRC04:08
*** toddjohn_ has joined #openstack-mistral05:05
*** toddjohn_ has quit IRC05:10
*** FL1SK has quit IRC05:32
openstackgerrithardik proposed openstack/mistral: Use tempest.lib instead of tempest-lib  https://review.openstack.org/29099505:49
*** jtomasek has joined #openstack-mistral05:53
*** jtomasek has quit IRC06:53
*** pbelamge has joined #openstack-mistral07:20
*** ddeja has quit IRC07:29
*** ddeja has joined #openstack-mistral07:37
*** FL1SK has joined #openstack-mistral08:00
*** toddjohn_ has joined #openstack-mistral08:07
*** toddjohn_ has quit IRC08:11
openstackgerrithardik proposed openstack/mistral: Use tempest.lib instead of tempest-lib  https://review.openstack.org/29099508:22
*** lkannan has quit IRC08:35
*** zhenguo_ has quit IRC08:36
*** lkannan has joined #openstack-mistral08:40
*** zhenguo_ has joined #openstack-mistral08:44
*** cheneydc has quit IRC08:54
*** cheneydc has joined #openstack-mistral08:55
*** toddjohn_ has joined #openstack-mistral09:08
*** toddjohn_ has quit IRC09:12
*** openstackgerrit has quit IRC09:30
*** openstackgerrit_ has joined #openstack-mistral09:30
*** openstackgerrit_ is now known as openstackgerrit09:31
*** openstackgerrit has quit IRC09:31
*** openstackgerrit_ has joined #openstack-mistral09:31
*** openstackgerrit_ is now known as openstackgerrit09:32
*** openstackgerrit has quit IRC09:32
*** openstackgerrit_ has joined #openstack-mistral09:33
*** openstackgerrit_ is now known as openstackgerrit09:33
*** openstackgerrit has quit IRC09:33
*** openstackgerrit_ has joined #openstack-mistral09:34
*** openstackgerrit_ is now known as openstackgerrit09:34
openstackgerritMerged openstack/mistral-specs: Item filtering in Mistral  https://review.openstack.org/26997509:45
*** akrivoka has joined #openstack-mistral09:57
*** cheneydc has quit IRC10:01
*** toddjohn_ has joined #openstack-mistral10:09
*** toddjohn_ has quit IRC10:14
_gryfrakhmerov, hi10:25
_gryfrakhmerov, there is Nikolay patch for a bug https://review.openstack.org/#/c/279018/10:26
rakhmerov_gryf: hi10:26
rakhmerovyes10:26
_gryfrakhmerov, any chance it would get merged?10:26
rakhmerovyes10:26
_gryfso, in mitaka we will have it, right?10:26
rakhmerovwe were desperately discussing how we could implement a unit test for it but came to realize that we should merge it now and then write a functional test for it when we have an HA-gate10:27
rakhmerovright, in Mitaka10:27
rakhmerovit will go to RC1 I think10:27
_gryfcool, thanks10:27
_gryfas of unit test10:27
rakhmerovNikolay also suggests we make this fix configurable10:28
rakhmerovjust in case if we don't have enough time to test it and we break someone10:28
_gryfi think it might require the ha gate, isn't it?10:28
rakhmerovyes, it does require it10:28
rakhmerovAnastasia is already working on it10:28
rakhmerovshould be done pretty soon10:28
_gryfthan i think it is ok, to make the test later, and test the real thing on ha gate10:29
openstackgerrithardik proposed openstack/mistral: Use tempest.lib instead of tempest-lib  https://review.openstack.org/29099510:51
szaherkong:  hi the problem is when I try to create a workbook with mistral --debug workbook-create glance_actions.yaml11:00
szaherI got the following error message http://paste.openstack.org/show/489971/11:00
szaherkong: and on the server side I got the following message from logs http://paste.openstack.org/show/489972/11:02
rakhmerov_gryf: yes11:04
rakhmerovszaher: hi11:07
szaherrakhmerov: hi11:07
rakhmerovas far as your problem, the thing is that we can't disable trusts11:07
rakhmerovthey are needed11:08
rakhmerovthe only way is to disable keystone auth at all (auth_enabled=False in config)11:08
szaherDo we need trusts in workbook-list ?11:09
rakhmerovno, I mean in general11:09
rakhmerovfor that operation, no11:09
szaherOk, I have some API calls working fine11:09
*** toddjohn_ has joined #openstack-mistral11:09
szaherlike workbook-list11:09
szaheraction-list11:10
rakhmerovcan you please provide your config for keystone?11:10
szaherhttp://paste.openstack.org/show/489973/11:10
rakhmerovok, let me see11:10
szaherI created a user for mistral and when I got the trusts problem I changed the config to admin as he can access anything11:10
rakhmerovin the meantime, here's mine: http://paste.openstack.org/show/489976/11:13
szaherOk, thanks11:14
rakhmerovyou have a lot of options I'm not sure about11:14
rakhmerovtry to make it similar to mine11:14
szaherI forgot to mention that I am working on kilo release of mistral not the master11:14
*** toddjohn_ has quit IRC11:14
rakhmerovaaah....11:14
rakhmerovkilo11:14
szaherYes, sorry I forgot to mention that11:14
rakhmerovwell, that config should work for kilo as well11:14
rakhmerovthe main requirement is Keystone V3 API is enabled11:15
szaherit's enabled11:15
rakhmerovplease try it and let me know if it still doesn't work11:15
szaherOk, Thanks11:16
rakhmerovI mean try similar config11:16
szaherYes11:16
*** akrivoka has quit IRC11:26
*** akrivoka has joined #openstack-mistral11:40
openstackgerritRenat Akhmerov proposed openstack/mistral: Deleting redundant trust creation in workbook uploading mechanism  https://review.openstack.org/29113112:05
rakhmerovszaher: btw, we found a bug related to this12:09
rakhmerovhere's the fix: https://review.openstack.org/#/c/291131/112:10
rakhmerovtrust must not be created when we're uploading a workbook or a workflow12:10
rakhmerovonly when we create a cron trigger12:10
rakhmerovhparekh_: hi, you there?12:23
rakhmerovquick question: we approved your patch https://review.openstack.org/#/c/290995/12:23
rakhmerovbut I noticed that it depends on the patch in neutron12:24
rakhmerovhttps://review.openstack.org/#/c/290983/12:24
rakhmerovwhy?12:24
rakhmerovmistake?12:24
rakhmerovI guess this is the right one: https://review.openstack.org/#/c/290108/12:26
hparekh_rakhmerov: Hi12:33
hparekh_rakhmerov: actually it is beacuse of tempest12:33
rakhmerovcan you explain?12:33
hparekh_rakhmerov: if you see jenkins dvsm logs of first patch it is getting failed.12:34
hparekh_Reason is in tox -eallplugin lists all plugin12:34
hparekh_so while listing it is getting failed for neutron12:35
rakhmerovooh, I see now12:35
rakhmerovit's ok then, thanks for explaining me12:36
nmakhotkinhparekh_, hi!12:36
nmakhotkinthat's interesting12:36
hparekh_nmakhotkin: hi12:36
rakhmerovnmakhotkin: yes, it's just how tempest works12:37
nmakhotkinwhy does tempest list all plugins even we don't use them?12:37
nmakhotkinrakhmerov, :)12:38
hparekh_actually we used tox -eall-plugin mistral command to run tempest tests12:38
hparekh_this will discover all plugin and run mistral tests after that12:38
hparekh_if we run tests using  ./run_tempest.sh -N --mistral then this issue will not arise12:39
rakhmerovthen maybe we should fix it?12:40
hparekh_IMHO we should not use this script for our gate as it is not standard way12:40
hparekh_tempest can remove or modify this script in future.12:40
rakhmerovwhat's the standard way? Just like we do now?12:40
hparekh_Yes12:40
hparekh_use of tox is better12:41
rakhmerovok12:41
hparekh_as per my discussion with tempest core Ghanshyam, he recommended tox12:42
rakhmerovok12:44
rakhmerovso, where can I see this command? tox -eall-plugin12:44
rakhmerovin the gate configuration?12:44
rakhmerovhparekh_: ^12:44
nmakhotkinrakhmerov: in post_test_hook.sh12:45
nmakhotkinfunctionaltests/12:45
hparekh_rakhmerov yes in post_test_hook.sh12:45
rakhmerovok12:46
rakhmerovhparekh_: so again, why do we need to run tempest with all plugins?12:50
*** cheneydc has joined #openstack-mistral12:52
*** nitzikow has joined #openstack-mistral12:53
*** nitzikow has quit IRC12:53
hparekh_rakhmerov, thats the way tempest provide way to run tests using tox.12:54
rakhmerovhm.. probably they recommend it just because we wouldn't have to modify this place if we decide to use some plugins12:55
rakhmerovfor simplicity12:55
rakhmerovok12:55
*** dprince has joined #openstack-mistral13:01
*** toddjohn_ has joined #openstack-mistral13:05
*** bobh has joined #openstack-mistral13:06
*** cheneydc has quit IRC13:07
*** akrivoka has quit IRC13:11
hparekh_that issue may exist with  ./run_tempest.sh -N --mistral also. I might have some problem with env. when i tested it. I am sorry.13:12
*** cheneydc has joined #openstack-mistral13:13
*** toddjohn_ has quit IRC13:21
*** toddjohn_ has joined #openstack-mistral13:21
*** bobh has quit IRC13:25
*** toddjohn_ has quit IRC13:26
*** xenogear has joined #openstack-mistral13:30
*** akrivoka has joined #openstack-mistral13:37
*** ninag has joined #openstack-mistral13:42
*** toddjohn_ has joined #openstack-mistral13:58
*** openstackgerrit has quit IRC14:03
*** openstackgerrit_ has joined #openstack-mistral14:03
*** openstackgerrit_ is now known as openstackgerrit14:04
*** openstackgerrit has quit IRC14:04
*** openstackgerrit_ has joined #openstack-mistral14:05
*** openstackgerrit_ is now known as openstackgerrit14:05
*** openstackgerrit has quit IRC14:05
*** openstackgerrit_ has joined #openstack-mistral14:06
*** openstackgerrit_ is now known as openstackgerrit14:06
*** openstackgerrit has quit IRC14:07
*** openstackgerrit_ has joined #openstack-mistral14:07
*** openstackgerrit_ is now known as openstackgerrit14:08
*** openstackgerrit has quit IRC14:08
*** openstackgerrit_ has joined #openstack-mistral14:08
*** openstackgerrit_ is now known as openstackgerrit14:09
*** openstackgerrit has quit IRC14:09
*** openstackgerrit_ has joined #openstack-mistral14:09
*** openstackgerrit_ is now known as openstackgerrit14:10
*** Guest41345 has joined #openstack-mistral14:10
*** pbelamge has quit IRC14:19
szaherrakhmerov: http://paste.openstack.org/show/490007/ after using your configuration for keystone I got this error14:25
szaherhttp://paste.openstack.org/show/490008/ my configuration based on what you sent14:25
*** pbelamge has joined #openstack-mistral14:43
*** pbelamge has quit IRC14:45
*** toddjoh__ has joined #openstack-mistral14:50
*** pbelamge has joined #openstack-mistral14:51
*** toddjohn_ has quit IRC14:51
szaherrakhmerov: Thanks. After applying the bug fix it's working now for creating workbooks but the problem now is mistral execution-create glance_actions.get_first_glance_image14:58
szaher'module' object has no attribute 'NoSuchMethod'14:58
szaherrakhmerov: from the server http://paste.openstack.org/show/490013/14:59
*** vgnbkr_ has joined #openstack-mistral15:10
szaheranybody knows how to solve this problem 'NoSuchMethod: Endpoint does not support RPC method start_workflow\n ?15:24
szaherrakhmerov: The error seems to be related to heat !15:28
szaherrakhmerov: Could you please take a look here http://paste.openstack.org/show/490016/ ?15:28
*** cheneydc has quit IRC15:29
rakhmerovszaher: ok, let me see15:33
rakhmerovfrom http://paste.openstack.org/show/490007/ it seems like something is wrong with your keystone installation15:36
rakhmerovthis one is really weird: http://paste.openstack.org/show/490013/15:38
rakhmerovas if you were using some weird python version15:38
rakhmerovor something like that15:38
rakhmerovszaher: you're still using Mistral from kilo? or you switched to master?15:38
rakhmerovit seems like something is wrong with version of Mistral components you're using15:41
rakhmerovmaybe you're using engine of one version with executor of another version or something like that15:41
rakhmerovI'd recommend to update everything properly: server-side part and the client15:42
rakhmerovideally you need to switch to master15:42
rakhmerovit is stable now15:42
rakhmerovyour Mistral's RPC subsystem doesn't stand up properly for some reason15:47
rakhmerovalso check that your RabbitMQ works15:48
szaherI am using a production deployment16:32
szaherand everything is Ok with keystone ... I've developed an application which depends on keystone v3 and it works fine !16:32
szaherI have 3 controllers with HA Proxy + 3 compute nodes16:32
szaherrakhmerov: I use mistral-server --config-file ../etc/mistral.conf to run mistral16:33
szaherthe config file I sent to you before in a previous paste16:33
szaher$ git branch16:34
szaher* (detached from origin/stable/kilo)16:34
szahergit log16:35
szahercommit 9f5d338265d0aeb1f76fdec72663d90fbf4925db16:35
szaherAuthor: Nikolay Mahotkin <nmakhotkin@mirantis.com>16:35
szaherDate:   Mon Jul 13 18:36:52 2015 +030016:35
szaher    Making / and /v2 URL allowed without auth16:35
szaher16:35
szaher    Closes-Bug: #147396316:35
openstackbug 1473963 in Mistral "HTTP request to IP:8989 and to IP:8989/v2 return 401 code" [High,Fix released] https://launchpad.net/bugs/1473963 - Assigned to Nikolay Makhotkin (nmakhotkin)16:35
szaher16:35
szaher    Change-Id: I7170121a1216d9d72a43e552db1864a58e4c623716:35
szaher    (cherry-picked from commit e523f7537c9e3dac0b4d75d42cbb2b0dc3fe2489)16:35
*** toddjoh__ has quit IRC16:54
*** toddjohn_ has joined #openstack-mistral16:54
*** toddjohn_ has quit IRC16:59
rakhmerovok16:59
rakhmerovszaher: ok, did you try to just debug it?17:01
szaherYes17:01
rakhmerovwe need more date: exact versions of all components + exact steps how to reproduce the problem17:01
rakhmerovyou can file a bug17:02
szaherRemote error: NoSuchMethod Endpoint does not support RPC method start_workflow17:02
szaher[u'Traceback (most recent call last):\n', u'  File "/opt/stack/venv/heat-20160302T180959Z/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply\n    executor_callback))\n', u'  File "/opt/stack/venv/heat-20160302T180959Z/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 193, in _dispatch\n    raise NoSuchMethod(method)\n', u'NoSuchMethod: Endpoint does not support RPC17:02
szahermethod start_workflow\n'].17:02
rakhmerovbut generally, kilo version is no longer supported17:02
*** toddjohn_ has joined #openstack-mistral17:08
*** gyee has joined #openstack-mistral17:10
*** pbelamge has quit IRC17:43
*** jtomasek has joined #openstack-mistral17:51
szaherrakhmerov: Thank you guys I knew what was the problem, it's a kind of epic more than a bug !18:16
szaherPlease, guys we need to change the default topic for MQ as the topic for engine is engine and this overlaps with heat18:16
szaherso simple what was happening is that mistral sends a message and heat capture the message and tries to reply but it couldn't find the correct method !18:17
szaherrakhmerov: Again thanks a million for your support18:17
*** bobh has joined #openstack-mistral18:18
*** bobh has quit IRC18:26
krotscheckAny cores around? There's a mitaka bugfix I'm trying to land: https://review.openstack.org/#/c/288498/18:27
*** openstackgerrit_ has joined #openstack-mistral18:30
*** xenogear has quit IRC18:34
*** doriftoshoes_ has joined #openstack-mistral19:17
*** akrivoka has quit IRC19:19
openstackgerritOpenStack Proposal Bot proposed openstack/mistral: Updated from global requirements  https://review.openstack.org/29137519:25
*** gyee has quit IRC19:56
kongkrotscheck: i left a comment in your patch20:17
krotscheckkong: On it, just a sec20:17
krotscheckkong: I'm not certain what I did wrong with the code formatting - I changed it to the comma separation that he asked for, was there something I missed?20:18
krotscheckkong: Also, why does mistral have code styles that are not enforced via hacking and/or flake8? It's an extensible framework, no?20:22
kongkrotscheck: http://paste.openstack.org/show/490066/, like this. It's not mandatory to do this, but it's what we always comply with in Mistral :-)20:22
kongkrotscheck: yes, it's a historical problem, i have to say20:23
kongkrotscheck: there is some guys in the past wanted to add such hacking rules for mistral20:23
kongbut i don't if the work has been started20:23
kongkrotscheck: i think that will be one of the things we need to complete in Newton20:24
kongwhen I came to contribute mistral, that was exactly the question I was asking20:25
krotscheckkong: I'd be curious as to what the argument is for diverging from the OpenStack code style.20:25
kongkrotscheck: yes, a little bit...20:25
krotscheckI've landed patches in every project over the past month, and mistral's the only one that's like this.20:26
krotscheckAaaanyway20:26
kongkrotscheck: haha~20:26
krotscheckBlah blah appeal to tradition blah blah logical fallacy blah blah.20:26
kongkrotscheck: i'm really sorry for that20:26
openstackgerritMichael Krotscheck proposed openstack/mistral: Moved CORS middleware configuration into oslo-config-generator  https://review.openstack.org/28849820:27
kongkrotscheck: i have a question, why we need the function set_config_defaults()?20:27
kongkrotscheck: it does nothing but calling another method20:28
krotscheckJust answered that20:28
krotscheckkong: It's really just a hook for any future config overrides that mistral may want to add (say, default log level overrides).20:29
kongkrotscheck: ok, same with what i guessed, thanks20:29
kongi'm ok with this patch now. althrough it makes you a little frustrated20:30
krotscheckkong: I'll get over it, life goes on :D20:31
kongkrotscheck :-)20:31
*** ninag has quit IRC20:41
*** toddjohn_ has quit IRC21:14
*** toddjohn_ has joined #openstack-mistral21:15
*** toddjohn_ has quit IRC21:19
*** doriftoshoes_ has quit IRC21:29
*** dprince has quit IRC21:32
*** ninag has joined #openstack-mistral21:37
*** toddjohn_ has joined #openstack-mistral22:09
*** jtomasek has quit IRC22:18
*** toddjohn_ has quit IRC22:31
*** chlong has quit IRC22:39
*** gyee has joined #openstack-mistral22:40
*** ninag has quit IRC22:49
*** toddjohn_ has joined #openstack-mistral22:55
*** toddjohn_ has quit IRC23:13
*** ninag has joined #openstack-mistral23:30
*** ninag has quit IRC23:35
*** toddjohn_ has joined #openstack-mistral23:52

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