Monday, 2016-04-11

*** Qiming has quit IRC00:07
*** elynn has joined #senlin00:52
*** elynn has quit IRC00:57
*** Qiming has joined #senlin01:06
*** yanyanhu has joined #senlin01:38
*** shu-mutou-AFK is now known as shu-mutou02:11
*** zzxwill has joined #senlin02:23
openstackgerritMerged openstack/senlin: Add a tutorial for creation of senlin cluster from heat template  https://review.openstack.org/30225002:40
*** zzxwill has quit IRC02:45
*** yuanying has quit IRC02:46
*** yuanying has joined #senlin03:49
*** elynn has joined #senlin05:19
yanyanhuhi, elynn, around?05:27
elynnHi yanyanhu05:28
yanyanhuhi, is that possible to define the input parameter when running a tempest test case05:28
yanyanhulike this one https://review.openstack.org/#/c/303264/1/senlin/tests/tempest/api/test_cluster_basic.py05:28
yanyanhuwhether user can define the cluster size05:28
yanyanhuline 3605:29
yanyanhufor test_cluster_create_delete case05:29
elynnHaven't seen how to pass parameter to a tempest tests.05:34
elynnBut at least we can define an option in config, which decide the cluster size.05:34
yanyanhuI see05:34
yanyanhuso how to make new option take effect05:35
yanyanhuneed to reinstall senlin service?05:35
elynnNo need, we can define options in https://review.openstack.org/#/c/303264/1/senlin/tests/tempest/config.py for tempests.05:37
elynnThen we can modify the options in tempest.conf05:37
yanyanhuok, so this kind of option can be defined in tempest.con and be modified dynamically?05:38
elynnyes05:38
yanyanhuok, nice05:38
yanyanhusince for stress test, we may want to change the test scale by defining parameters like cluster_size05:39
yanyanhudesired_capcity, min/max_size05:39
yanyanhuso we hope these parameters can be adjusted dynamically when invoking related tempest cases05:40
yanyanhue.g. cluster_create or cluster_resize05:40
elynnI'm not so sure how to make tempest and rally work together, but I think we should work closely.05:41
yanyanhuyes05:41
yanyanhuI'm now trying to build a rally plugin based on its exiting tempest scenario05:42
yanyanhuit works05:42
elynnGreat!05:42
yanyanhuand rally can pass a tempest.conf parameter when invoking tempest test case05:42
yanyanhuso if we can adjust the test scale using this way, that will be the best05:43
elynnOh, I see...Then we can change  the options to what we want when running tempest tests under rally.05:43
yanyanhuyes05:43
yanyanhuexactly05:43
yanyanhuI hope we can achieve this goal05:43
yanyanhubut not sure whether tempest supports it05:44
elynnSaw your comments on my patch05:45
elynnNot so sure what you want me to do.05:45
elynnA quick call?05:45
yanyanhusure05:45
yanyanhulet me call you05:45
elynnHi xuhaiwei05:51
xuhaiweihi elynn05:52
elynnCan tempest tests accept parameters?05:55
xuhaiweiyou mean the tempest command?05:55
elynnfor example, yes05:55
xuhaiweithe tempest command seems not running tests05:58
elynnFor example I run a test senlin.tempest.Cluster.Test_Create with a cluster number I want to create?05:58
xuhaiweitox -e all-plugins senlin06:01
xuhaiweithe 'senlin' place can be replaced by the path of the single test case06:02
xuhaiwei'tox -e all-plugins senlin' will run all the test cases06:02
elynnFor now, we run a  single tempest tests like ./run_tempest.sh -N -- senlin.tempest.Cluster.test_create06:03
elynnCan I run commands like ./run_tempest.sh -N -- senlin.tempest.Cluster.test_create --args how_many_cluster_you_want_to_create=10006:04
xuhaiweiif you have installed senlin as a tempest plugin, you can run the tox command in Tempest repository06:04
elynnto pass a parameter to a single test?06:04
xuhaiweiI am not clear about that elynn06:04
elynnok.. does your collegue06:06
elynnknow?06:06
*** elynn_ has joined #senlin06:08
*** elynn has quit IRC06:11
xuhaiweielynn_, he said maybe it's possible06:13
xuhaiweihe is checking06:13
elynn_Thanks xuhaiwei , I'm also go through the docs of tempest now.06:14
xuhaiweinope06:14
xuhaiweielynn_, did you get any error if you run the command above06:17
elynn_I can't find a way to pass parameters to a single tempest test.06:18
xuhaiweiit is the same with testr06:18
xuhaiweithey all run the testr commands using all the given arguments06:19
xuhaiweiI 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=10006:19
elynn_Doesn't see any proof that testr supports with arguments from its docs ... http://testrepository.readthedocs.org/en/latest/MANUAL.html06:21
elynn_testr: error: no such option: --args06:22
xuhaiweiif testr can receive parameters, run_tempest.sh can not neither06:24
elynn_ok, then I will consider it won't support what I want for now...thanks xuhaiwei06:25
xuhaiweiyou are welcome, elynn_06:26
openstackgerritYanyan Hu proposed openstack/senlin: Add Rally plugin for Senlin tempest  https://review.openstack.org/30392306:52
yanyanhuhi, 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
yanyanhuI think we need to make further discussion about this issue :)06:57
Qimingok06:58
elynn_I agree.06:58
openstackgerritMerged openstack/senlin: Add unit test for event module (1)  https://review.openstack.org/30328707:14
openstackgerritMerged openstack/senlin: Reorganize profile example dir  https://review.openstack.org/30327907:14
yanyanhuhi, elynn_, around?07:41
yanyanhuif 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
yanyanhuelynn_,  ok...07:52
openstackgerritzzxwill proposed openstack/python-senlinclient: Correct some typos  https://review.openstack.org/30394408:04
*** zzxwill has joined #senlin08:05
openstackgerritMerged openstack/senlin: Add a TODO item (unexpected attribute)  https://review.openstack.org/30311608:39
*** zzxwill has quit IRC08:42
*** elynn_ has quit IRC09:05
*** elynn_ has joined #senlin09:05
*** elynn_ has quit IRC09:10
*** elynn_ has joined #senlin09:10
*** elynn_ has quit IRC09:16
*** elynn_ has joined #senlin09:22
*** elynn_ has quit IRC09:27
*** elynn_ has joined #senlin09:28
yanyanhufind a possible way to run senlin tempest tests without hacking its tempest installation10:04
yanyanhubut looks like need override another existing interface of TempestScenario in SenlinTempestPlugin10:05
yanyanhuwill make more tests to verify this is a feasible way10:05
Qimingsounds good10:05
yanyanhuyes, if so, the only potential obstacle is the test granularity of tempest10:06
yanyanhuwhich is difficult to be that fine10:06
Qimingis it a hack towards making rally happy?10:07
yanyanhumade a talk with elynn_ this afternoon. Qiming, will sync with you tomorrow10:07
yanyanhuQiming, it's not a hack actually10:07
yanyanhuwe just make more implementation inside senlin rally plugin10:08
yanyanhuwhich can be maintained by ourselves10:08
Qimingthat sounds acceptable10:08
yanyanhuyes. Still need to verify this is a feasible way. Although I guess it is :)10:09
Qimingok10:09
yanyanhuwill leave, ttyl10:10
*** yanyanhu has quit IRC10:10
*** elynn_ has quit IRC10:20
*** Qiming has quit IRC10:20
openstackgerritzzxwill proposed openstack/python-senlinclient: Removed the invalid link for Module Index  https://review.openstack.org/30402210:37
*** zzxwill has joined #senlin10:37
*** Qiming has joined #senlin11:43
openstackgerritzzxwill proposed openstack/python-senlinclient: Correct some typos  https://review.openstack.org/30394412:18
openstackgerritzzxwill proposed openstack/python-senlinclient: Pramater doesn't align to comments  https://review.openstack.org/30410012:46
openstackgerritzzxwill proposed openstack/python-senlinclient: Local variables should be referenced before assignment  https://review.openstack.org/30412313:16
openstackgerritEthan Lynn proposed openstack/senlin: Make cred_create_update operation into a transaction  https://review.openstack.org/30320413:33
openstackgerritMerged openstack/python-senlinclient: Removed the invalid link for Module Index  https://review.openstack.org/30402213:38
*** elynn_ has joined #senlin14:52
*** openstackgerrit has quit IRC15:18
*** openstackgerrit has joined #senlin15:19
*** elynn_ has quit IRC15:19
openstackgerritEthan Lynn proposed openstack/senlin: Catch DBDuplicateEntry Error during cred_create  https://review.openstack.org/30320415:40
*** Qiming has quit IRC15:45
openstackgerritMerged openstack/python-senlinclient: Pramater doesn't align to comments  https://review.openstack.org/30410015:59
*** openstackstatus has joined #senlin16:12
*** ChanServ sets mode: +v openstackstatus16: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.html16:20
openstackgerritOpenStack Proposal Bot proposed openstack/python-senlinclient: Updated from global requirements  https://review.openstack.org/30300618: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.html19:51
*** openstackgerrit has quit IRC20:05
-openstackstatus- NOTICE: Gerrit is offline until 21:00 UTC for a server replacement http://lists.openstack.org/pipermail/openstack-dev/2016-April/091274.html20: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 #senlin20:28
*** openstackgerrit has quit IRC20:41
*** openstackgerrit has joined #senlin20: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.html21:08
*** jdandrea has joined #senlin23:10
*** jdandrea_ has quit IRC23:13
*** Qiming has joined #senlin23:44

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