*** Qiming has quit IRC | 00:07 | |
*** elynn has joined #senlin | 00:52 | |
*** elynn has quit IRC | 00:57 | |
*** Qiming has joined #senlin | 01:06 | |
*** yanyanhu has joined #senlin | 01:38 | |
*** shu-mutou-AFK is now known as shu-mutou | 02:11 | |
*** zzxwill has joined #senlin | 02:23 | |
openstackgerrit | Merged openstack/senlin: Add a tutorial for creation of senlin cluster from heat template https://review.openstack.org/302250 | 02:40 |
---|---|---|
*** zzxwill has quit IRC | 02:45 | |
*** yuanying has quit IRC | 02:46 | |
*** yuanying has joined #senlin | 03:49 | |
*** elynn has joined #senlin | 05:19 | |
yanyanhu | hi, elynn, around? | 05:27 |
elynn | Hi yanyanhu | 05:28 |
yanyanhu | hi, is that possible to define the input parameter when running a tempest test case | 05:28 |
yanyanhu | like this one https://review.openstack.org/#/c/303264/1/senlin/tests/tempest/api/test_cluster_basic.py | 05:28 |
yanyanhu | whether user can define the cluster size | 05:28 |
yanyanhu | line 36 | 05:29 |
yanyanhu | for test_cluster_create_delete case | 05:29 |
elynn | Haven't seen how to pass parameter to a tempest tests. | 05:34 |
elynn | But at least we can define an option in config, which decide the cluster size. | 05:34 |
yanyanhu | I see | 05:34 |
yanyanhu | so how to make new option take effect | 05:35 |
yanyanhu | need to reinstall senlin service? | 05:35 |
elynn | No need, we can define options in https://review.openstack.org/#/c/303264/1/senlin/tests/tempest/config.py for tempests. | 05:37 |
elynn | Then we can modify the options in tempest.conf | 05:37 |
yanyanhu | ok, so this kind of option can be defined in tempest.con and be modified dynamically? | 05:38 |
elynn | yes | 05:38 |
yanyanhu | ok, nice | 05:38 |
yanyanhu | since for stress test, we may want to change the test scale by defining parameters like cluster_size | 05:39 |
yanyanhu | desired_capcity, min/max_size | 05:39 |
yanyanhu | so we hope these parameters can be adjusted dynamically when invoking related tempest cases | 05:40 |
yanyanhu | e.g. cluster_create or cluster_resize | 05:40 |
elynn | I'm not so sure how to make tempest and rally work together, but I think we should work closely. | 05:41 |
yanyanhu | yes | 05:41 |
yanyanhu | I'm now trying to build a rally plugin based on its exiting tempest scenario | 05:42 |
yanyanhu | it works | 05:42 |
elynn | Great! | 05:42 |
yanyanhu | and rally can pass a tempest.conf parameter when invoking tempest test case | 05:42 |
yanyanhu | so if we can adjust the test scale using this way, that will be the best | 05:43 |
elynn | Oh, I see...Then we can change the options to what we want when running tempest tests under rally. | 05:43 |
yanyanhu | yes | 05:43 |
yanyanhu | exactly | 05:43 |
yanyanhu | I hope we can achieve this goal | 05:43 |
yanyanhu | but not sure whether tempest supports it | 05:44 |
elynn | Saw your comments on my patch | 05:45 |
elynn | Not so sure what you want me to do. | 05:45 |
elynn | A quick call? | 05:45 |
yanyanhu | sure | 05:45 |
yanyanhu | let me call you | 05:45 |
elynn | Hi xuhaiwei | 05:51 |
xuhaiwei | hi elynn | 05:52 |
elynn | Can tempest tests accept parameters? | 05:55 |
xuhaiwei | you mean the tempest command? | 05:55 |
elynn | for example, yes | 05:55 |
xuhaiwei | the tempest command seems not running tests | 05:58 |
elynn | For example I run a test senlin.tempest.Cluster.Test_Create with a cluster number I want to create? | 05:58 |
xuhaiwei | tox -e all-plugins senlin | 06:01 |
xuhaiwei | the 'senlin' place can be replaced by the path of the single test case | 06:02 |
xuhaiwei | 'tox -e all-plugins senlin' will run all the test cases | 06:02 |
elynn | For now, we run a single tempest tests like ./run_tempest.sh -N -- senlin.tempest.Cluster.test_create | 06:03 |
elynn | Can I run commands like ./run_tempest.sh -N -- senlin.tempest.Cluster.test_create --args how_many_cluster_you_want_to_create=100 | 06:04 |
xuhaiwei | if you have installed senlin as a tempest plugin, you can run the tox command in Tempest repository | 06:04 |
elynn | to pass a parameter to a single test? | 06:04 |
xuhaiwei | I am not clear about that elynn | 06:04 |
elynn | ok.. does your collegue | 06:06 |
elynn | know? | 06:06 |
*** elynn_ has joined #senlin | 06:08 | |
*** elynn has quit IRC | 06:11 | |
xuhaiwei | elynn_, he said maybe it's possible | 06:13 |
xuhaiwei | he is checking | 06:13 |
elynn_ | Thanks xuhaiwei , I'm also go through the docs of tempest now. | 06:14 |
xuhaiwei | nope | 06:14 |
xuhaiwei | elynn_, did you get any error if you run the command above | 06:17 |
elynn_ | I can't find a way to pass parameters to a single tempest test. | 06:18 |
xuhaiwei | it is the same with testr | 06:18 |
xuhaiwei | they all run the testr commands using all the given arguments | 06:19 |
xuhaiwei | I mean what is the result if you run ./run_tempest.sh -N -- senlin.tempest.Cluster.test_create --args how_many_cluster_you_want_to_create=100 | 06:19 |
elynn_ | Doesn't see any proof that testr supports with arguments from its docs ... http://testrepository.readthedocs.org/en/latest/MANUAL.html | 06:21 |
elynn_ | testr: error: no such option: --args | 06:22 |
xuhaiwei | if testr can receive parameters, run_tempest.sh can not neither | 06:24 |
elynn_ | ok, then I will consider it won't support what I want for now...thanks xuhaiwei | 06:25 |
xuhaiwei | you are welcome, elynn_ | 06:26 |
openstackgerrit | Yanyan Hu proposed openstack/senlin: Add Rally plugin for Senlin tempest https://review.openstack.org/303923 | 06:52 |
yanyanhu | hi, elynn_, Qiming, I just submitted a patch to add basic Rally plugin for senlin tempest test. I think no matter which way we finally decide to use for Senlin stress test using Rally, tempest plugin is useful for us. | 06:57 |
yanyanhu | I think we need to make further discussion about this issue :) | 06:57 |
Qiming | ok | 06:58 |
elynn_ | I agree. | 06:58 |
openstackgerrit | Merged openstack/senlin: Add unit test for event module (1) https://review.openstack.org/303287 | 07:14 |
openstackgerrit | Merged openstack/senlin: Reorganize profile example dir https://review.openstack.org/303279 | 07:14 |
yanyanhu | hi, elynn_, around? | 07:41 |
yanyanhu | if I have a fresh installed tempest in a virtual env, anyway except reinstalling senlin to make tempest discover senlin's tempest test cases? | 07:42 |
elynn_ | I don't think I have a better solution yet... | 07:45 |
yanyanhu | elynn_, ok... | 07:52 |
openstackgerrit | zzxwill proposed openstack/python-senlinclient: Correct some typos https://review.openstack.org/303944 | 08:04 |
*** zzxwill has joined #senlin | 08:05 | |
openstackgerrit | Merged openstack/senlin: Add a TODO item (unexpected attribute) https://review.openstack.org/303116 | 08:39 |
*** zzxwill has quit IRC | 08:42 | |
*** elynn_ has quit IRC | 09:05 | |
*** elynn_ has joined #senlin | 09:05 | |
*** elynn_ has quit IRC | 09:10 | |
*** elynn_ has joined #senlin | 09:10 | |
*** elynn_ has quit IRC | 09:16 | |
*** elynn_ has joined #senlin | 09:22 | |
*** elynn_ has quit IRC | 09:27 | |
*** elynn_ has joined #senlin | 09:28 | |
yanyanhu | find a possible way to run senlin tempest tests without hacking its tempest installation | 10:04 |
yanyanhu | but looks like need override another existing interface of TempestScenario in SenlinTempestPlugin | 10:05 |
yanyanhu | will make more tests to verify this is a feasible way | 10:05 |
Qiming | sounds good | 10:05 |
yanyanhu | yes, if so, the only potential obstacle is the test granularity of tempest | 10:06 |
yanyanhu | which is difficult to be that fine | 10:06 |
Qiming | is it a hack towards making rally happy? | 10:07 |
yanyanhu | made a talk with elynn_ this afternoon. Qiming, will sync with you tomorrow | 10:07 |
yanyanhu | Qiming, it's not a hack actually | 10:07 |
yanyanhu | we just make more implementation inside senlin rally plugin | 10:08 |
yanyanhu | which can be maintained by ourselves | 10:08 |
Qiming | that sounds acceptable | 10:08 |
yanyanhu | yes. Still need to verify this is a feasible way. Although I guess it is :) | 10:09 |
Qiming | ok | 10:09 |
yanyanhu | will leave, ttyl | 10:10 |
*** yanyanhu has quit IRC | 10:10 | |
*** elynn_ has quit IRC | 10:20 | |
*** Qiming has quit IRC | 10:20 | |
openstackgerrit | zzxwill proposed openstack/python-senlinclient: Removed the invalid link for Module Index https://review.openstack.org/304022 | 10:37 |
*** zzxwill has joined #senlin | 10:37 | |
*** Qiming has joined #senlin | 11:43 | |
openstackgerrit | zzxwill proposed openstack/python-senlinclient: Correct some typos https://review.openstack.org/303944 | 12:18 |
openstackgerrit | zzxwill proposed openstack/python-senlinclient: Pramater doesn't align to comments https://review.openstack.org/304100 | 12:46 |
openstackgerrit | zzxwill proposed openstack/python-senlinclient: Local variables should be referenced before assignment https://review.openstack.org/304123 | 13:16 |
openstackgerrit | Ethan Lynn proposed openstack/senlin: Make cred_create_update operation into a transaction https://review.openstack.org/303204 | 13:33 |
openstackgerrit | Merged openstack/python-senlinclient: Removed the invalid link for Module Index https://review.openstack.org/304022 | 13:38 |
*** elynn_ has joined #senlin | 14:52 | |
*** openstackgerrit has quit IRC | 15:18 | |
*** openstackgerrit has joined #senlin | 15:19 | |
*** elynn_ has quit IRC | 15:19 | |
openstackgerrit | Ethan Lynn proposed openstack/senlin: Catch DBDuplicateEntry Error during cred_create https://review.openstack.org/303204 | 15:40 |
*** Qiming has quit IRC | 15:45 | |
openstackgerrit | Merged openstack/python-senlinclient: Pramater doesn't align to comments https://review.openstack.org/304100 | 15:59 |
*** openstackstatus has joined #senlin | 16:12 | |
*** ChanServ sets mode: +v openstackstatus | 16:12 | |
-openstackstatus- NOTICE: Reminder, Gerrit will be offline from 20:00 to 21:00 UTC for a server replacement http://lists.openstack.org/pipermail/openstack-dev/2016-April/091274.html | 16:20 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/python-senlinclient: Updated from global requirements https://review.openstack.org/303006 | 18:32 |
-openstackstatus- NOTICE: Gerrit will be offline from 20:00 to 21:00 UTC (starting 10 minutes from now) for a server replacement http://lists.openstack.org/pipermail/openstack-dev/2016-April/091274.html | 19:51 | |
*** openstackgerrit has quit IRC | 20:05 | |
-openstackstatus- NOTICE: Gerrit is offline until 21:00 UTC for a server replacement http://lists.openstack.org/pipermail/openstack-dev/2016-April/091274.html | 20:08 | |
*** ChanServ changes topic to "Gerrit is offline until 21:00 UTC for a server replacement http://lists.openstack.org/pipermail/openstack-dev/2016-April/091274.html" | 20:08 | |
*** openstackgerrit has joined #senlin | 20:28 | |
*** openstackgerrit has quit IRC | 20:41 | |
*** openstackgerrit has joined #senlin | 20:55 | |
*** ChanServ changes topic to "IRCLog: http://eavesdrop.openstack.org/irclogs/%23senlin/ | Bugs: bugs.launchpad.net/senlin | Review: https://review.openstack.org/#/q/project:openstack/senlin,n,z" | 21:08 | |
-openstackstatus- NOTICE: Gerrit move maintenance completed successfully; note that DNS has been updated to new IP addresses as indicated in http://lists.openstack.org/pipermail/openstack-dev/2016-April/091274.html | 21:08 | |
*** jdandrea has joined #senlin | 23:10 | |
*** jdandrea_ has quit IRC | 23:13 | |
*** Qiming has joined #senlin | 23:44 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!