Monday, 2016-12-05

*** adiantum has quit IRC00:02
*** adiantum has joined #openstack-rally00:03
*** yingjun has joined #openstack-rally00:30
*** yingjun_ has joined #openstack-rally00:42
*** yingjun has quit IRC00:42
*** yingjun has joined #openstack-rally00:55
*** yingjun_ has quit IRC00:57
*** yingjun has quit IRC00:57
*** yingjun has joined #openstack-rally01:22
*** psuriset_ has joined #openstack-rally01:25
*** psuriset has quit IRC01:25
*** zackf has joined #openstack-rally01:37
*** yanyanhu has joined #openstack-rally01:41
openstackgerritMa Xinjian proposed openstack/rally: GlanceImages.create_and_update_image  https://review.openstack.org/38643301:51
openstackgerritMa Xinjian proposed openstack/rally: Add NovaServers.boot_and_evacuate_server  https://review.openstack.org/38535102:04
*** psuriset_ has quit IRC02:06
*** ilbot3 has quit IRC02:45
*** ilbot3 has joined #openstack-rally02:48
*** yamamoto_ has joined #openstack-rally03:02
*** zackf has quit IRC03:17
*** psuriset_ has joined #openstack-rally03:20
*** zackf has joined #openstack-rally03:32
*** yamamoto_ has quit IRC04:48
*** yamamoto_ has joined #openstack-rally04:50
*** rdas has joined #openstack-rally05:15
*** Alex_Stef has joined #openstack-rally05:44
*** psuriset_ has quit IRC05:45
*** mgagne has quit IRC05:53
*** mgagne has joined #openstack-rally05:55
*** mgagne is now known as Guest5173705:55
*** ipo has joined #openstack-rally05:59
*** psuriset_ has joined #openstack-rally06:01
*** vaidy has quit IRC06:04
*** psuriset_ has quit IRC06:15
*** psuriset_ has joined #openstack-rally06:27
*** jojden has joined #openstack-rally06:31
jojdenhow to run rally commands using python06:32
jojdenis there any api available for the rally ?06:32
*** yamamoto_ has quit IRC06:34
rallydev-bot[From Gitter] shihai1991 : what's you mean?06:34
*** zackf has quit IRC06:35
*** zackf has joined #openstack-rally06:36
*** yamamoto_ has joined #openstack-rally06:36
*** rcernin has quit IRC06:39
*** zackf has quit IRC06:41
*** igormarnat__ has joined #openstack-rally06:46
jojdenI want to call rally tests from python06:49
jojdenfor example06:50
jojdenrally verify start --system-wide --regex  tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list06:50
jojdenis my test06:50
jojdeni want to run this test from python06:50
jojdenhow can i do that06:50
*** castulo has quit IRC06:50
jojdenrallydev-bot06:50
jojdenfor now I am using subprocess to run this command06:51
jojdenIs there any otherway to run the test06:51
*** castulo has joined #openstack-rally06:53
*** igormarnat has quit IRC06:53
*** Alex_Stef has quit IRC06:53
*** igormarnat__ is now known as igormarnat06:54
rallydev-bot[From Gitter] shihai1991 : OK, I got it. If your test is a tempest test case,  maybe you can try "python -m testtools.run xxxx" command.06:57
*** adiantum has quit IRC06:58
*** adiantum has joined #openstack-rally06:58
jojden<rallydev-bot> i didnt get it07:01
rallydev-bot[From Gitter] andreykurilin : jojden: hi! You can use rally.api module with several hacks07:02
*** e0ne has joined #openstack-rally07:02
jojdenoh ok07:02
jojdencan i get the link for the same ?07:03
jojdenhttps://github.com/openstack/rally/blob/master/rally/api.py07:03
jojden?07:03
*** zackf has joined #openstack-rally07:08
rallydev-bot[From Gitter] andreykurilin : jojden: you can use it like http://xsnippet.org/362134/07:10
jojdenthank you <rallydev-bot>07:12
jojdendo we have code to run the rally task07:12
jojdenrally verify start --system-wide --regex tempest_sidecar_plugin.tests.api.test_sidecar.TestTempestSidecar.test_pecan_is_running07:13
*** zackf has quit IRC07:13
rallydev-bot[From Gitter] andreykurilin : jojden: rallydev-bot is just bot for syncing mesages IRC<-->Gitter :) It can repost messages from different users, so first username in message displays author name:) in my case, I'm andreykurilin, not a rallydev-bot :)07:18
jojdenok :)07:18
jojdenthanks andreykurilin07:18
rallydev-bot[From Gitter] andreykurilin : jojden: unfortunately, I do not have any samples now. We are planning to redesign api module in near future and after that we will add samples and doc pages07:20
rallydev-bot[From Gitter] andreykurilin : in case of usage rally verify start, you should use https://github.com/openstack/rally/blob/master/rally/api.py#L458 and https://github.com/openstack/rally/blob/master/rally/api.py#L39107:21
rallydev-bot[From Gitter] andreykurilin : just api.Verification.install_tempest(...) and api.Verification.verify(...)07:21
*** rcernin has joined #openstack-rally07:28
*** rcernin has quit IRC07:29
*** rcernin has joined #openstack-rally07:32
*** e0ne has quit IRC07:34
jojden:)07:36
jojdeni think better i will use subprocess to run the command07:36
jojdenwhile checking i found that the api is also using the same07:36
jojden subprocess.check_call(test_cmd, cwd=self.path(),07:37
jojden                                  env=self.env, shell=True)07:37
*** ushkalim has quit IRC07:49
*** mvk has quit IRC07:51
*** rcernin has quit IRC07:52
*** Alex_Stef has joined #openstack-rally07:55
*** rcernin has joined #openstack-rally07:59
*** tosky has joined #openstack-rally08:00
*** rcernin has quit IRC08:01
*** sshnaidm has joined #openstack-rally08:02
*** openstackgerrit has quit IRC08:03
*** rcernin has joined #openstack-rally08:03
*** zackf has joined #openstack-rally08:21
*** mvk has joined #openstack-rally08:22
*** kambiz has quit IRC08:25
*** zackf has quit IRC08:25
*** afazekas has quit IRC08:29
*** kambiz has joined #openstack-rally08:31
*** afazekas has joined #openstack-rally08:34
*** sshnaidm is now known as sshnaidm|mtgs08:41
*** adiantum has quit IRC08:53
*** alexchadin has joined #openstack-rally08:55
*** e0ne has joined #openstack-rally09:11
*** vaidy has joined #openstack-rally09:39
*** yanyanhu has quit IRC09:40
*** alexchadin has quit IRC09:40
*** alexchadin has joined #openstack-rally09:41
*** yanyanhu has joined #openstack-rally09:41
*** yanyanhu has quit IRC09:41
*** ushkalim has joined #openstack-rally09:42
*** igajsin has joined #openstack-rally09:46
*** psuriset_ has quit IRC09:48
*** igajsin has left #openstack-rally09:48
*** yingjun has quit IRC09:50
*** adiantum has joined #openstack-rally10:16
*** yamamoto_ has quit IRC10:27
*** zackf has joined #openstack-rally10:29
*** Serlex has joined #openstack-rally10:31
*** zackf has quit IRC10:33
*** yamamoto has joined #openstack-rally10:43
*** albertw has joined #openstack-rally10:53
*** albertw has quit IRC10:55
*** albertw has joined #openstack-rally10:56
*** psuriset_ has joined #openstack-rally10:57
*** tesseract has joined #openstack-rally11:05
*** tesseract is now known as Guest1725911:05
*** yingjun has joined #openstack-rally11:17
*** zackf has joined #openstack-rally11:21
*** Guest17259 has quit IRC11:21
*** tesseract- has joined #openstack-rally11:24
*** zackf has quit IRC11:25
*** ushkalim has quit IRC11:30
*** ushkalim has joined #openstack-rally11:43
*** Daviey has quit IRC11:43
*** Daviey has joined #openstack-rally11:43
*** jkilpatr has quit IRC11:54
rallydev-bot[From Gitter] andreykurilin : @redixin how many vcpu cli jobs have?12:00
*** openstackgerrit has joined #openstack-rally12:02
openstackgerritAndrey Kurilin proposed openstack/rally: [Services] redesign metaclass to support subclasses  https://review.openstack.org/39509612:02
openstackgerritAndrey Kurilin proposed openstack/rally: Port all keystone scenarios to Identity Service  https://review.openstack.org/39458312:02
rallydev-bot[From Gitter] redixin : @andreykurilin: 212:08
*** ushkalim has quit IRC12:08
rallydev-bot[From Gitter] andreykurilin : @redixin ok. but it is redundant in case of unittest.discover. It works only in serial mode :( that is why cli job takes ~1h at mirantis-ci and just ~30-40 minutes at upstream ci12:09
rallydev-bot[From Gitter] andreykurilin : can we switch to use testtools or pytest there?12:09
*** psuriset_ has quit IRC12:13
rallydev-bot[From Gitter] redixin : @andreykurilin: yes12:14
rallydev-bot[From Gitter] andreykurilin : nice12:14
*** jkilpatr has joined #openstack-rally12:15
*** ushkalim has joined #openstack-rally12:21
*** e0ne has quit IRC12:33
*** e0ne has joined #openstack-rally12:34
*** rdas has quit IRC12:35
*** alexchadin has quit IRC12:36
*** alexchadin has joined #openstack-rally12:36
*** psuriset_ has joined #openstack-rally12:43
*** chenhb has quit IRC12:52
*** chenhb has joined #openstack-rally12:52
*** kbaikov has quit IRC13:16
*** kbaikov has joined #openstack-rally13:22
*** yamamoto has quit IRC13:26
*** adiantum has quit IRC13:26
*** tesseract- has quit IRC13:27
*** yingjun has quit IRC13:28
*** yingjun has joined #openstack-rally13:28
*** kbaikov has quit IRC13:28
*** kbaikov has joined #openstack-rally13:29
*** yingjun_ has joined #openstack-rally13:29
*** yingjun has quit IRC13:29
*** ushkalim has quit IRC13:31
*** tosky_ has joined #openstack-rally13:34
*** tosky has quit IRC13:35
*** dave-mccowan has joined #openstack-rally13:40
*** yamamoto has joined #openstack-rally13:44
*** xionchen_ has joined #openstack-rally13:48
openstackgerritAndrey Kurilin proposed openstack/rally: Update setuptools only when needed  https://review.openstack.org/40697013:51
*** yingjun has joined #openstack-rally13:53
*** yingjun_ has quit IRC13:56
*** ipo has quit IRC13:57
rallydev-bot[From Gitter] andreykurilin : @/all meeting at #openstack-meeting (Freenode)14:02
*** yingjun has quit IRC14:03
*** yingjun has joined #openstack-rally14:03
*** chenhb__ has joined #openstack-rally14:04
*** stpierre has joined #openstack-rally14:05
*** astudenov has joined #openstack-rally14:05
openstackgerritYaroslav Lobankov proposed openstack/rally: DO NOT TOUCH, DO NOT LOOK: refactor verification  https://review.openstack.org/37233414:08
openstackgerritAnton Studenov proposed openstack/rally: [WIP][Core] Remove map_for_scenario  https://review.openstack.org/40697914:08
*** sskripnick has quit IRC14:12
*** sskripnick has joined #openstack-rally14:14
openstackgerritXiang Chen proposed openstack/rally: [CI] try to fix gate job  https://review.openstack.org/40699014:28
*** zackf has joined #openstack-rally14:28
openstackgerritXiang Chen proposed openstack/rally: [CI] try to fix gate job  https://review.openstack.org/40699014:31
openstackgerritYaroslav Lobankov proposed openstack/rally: DO NOT TOUCH, DO NOT LOOK: refactor verification  https://review.openstack.org/37233414:55
*** snecklifter has joined #openstack-rally14:58
*** alexchadin has quit IRC15:00
snecklifterugh, setuptools looks broken15:03
snecklifteror is it just me?15:03
*** yingjun has quit IRC15:10
openstackgerritAnton Studenov proposed openstack/rally: [WIP][Core] Remove map_for_scenario  https://review.openstack.org/40697915:30
snecklifterandreykurilin: thanks for opening ticket https://github.com/pypa/setuptools/issues/87115:31
snecklifterany idea on a quick workaround?15:32
*** stpierre has quit IRC15:36
*** Alex_Stef has quit IRC15:41
andreykurilinsnecklifter: It hink we can try to install harcoded version of setuptools, like here https://review.openstack.org/40699015:54
snecklifterandreykurilin: works for me but I'm now getting [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/test-easy-install-993805.write-test'15:56
andreykurilinO_o15:57
snecklifterwhich I wasn't getting last week15:57
andreykurilinhm15:57
*** rcernin has quit IRC16:05
*** sshnaidm|mtgs has quit IRC16:12
*** tosky_ has quit IRC16:17
*** yamamoto has quit IRC16:19
*** stpierre has joined #openstack-rally16:24
*** chenhb__ has quit IRC16:24
*** astudenov has quit IRC16:25
openstackgerritAnton Studenov proposed openstack/rally: Revert "[Install] Improve installation script"  https://review.openstack.org/40706016:29
*** vaidy has quit IRC16:32
*** xionchen_ has quit IRC16:34
*** mvk has quit IRC16:37
*** stpierre has quit IRC16:48
*** stpierre has joined #openstack-rally16:48
*** vaidy has joined #openstack-rally16:52
*** e0ne has quit IRC17:12
openstackgerritAnton Studenov proposed openstack/rally: Bump virtualenv version in install_rally.sh  https://review.openstack.org/40706017:14
*** yamamoto has joined #openstack-rally17:20
*** mvk has joined #openstack-rally17:26
*** Guest51737 is now known as mgagne17:26
*** yamamoto has quit IRC17:26
*** mgagne has quit IRC17:27
*** mgagne has joined #openstack-rally17:27
*** stpierre has quit IRC17:34
*** harlowja has joined #openstack-rally17:50
*** Serlex has quit IRC17:51
*** Guest61168 is now known as rook17:57
*** jkilpatr has quit IRC17:58
snecklifterandreykurilin: http://paste.openstack.org/show/591458/17:59
*** stpierre has joined #openstack-rally18:02
andreykurilinsnecklifter: it looks like we can adopt first answer from http://stackoverflow.com/questions/21826859/setting-up-a-virtualenv-no-module-named-pip18:02
snecklifterandreykurilin: ACK, testing now18:02
andreykurilinsomewhere here https://github.com/openstack/rally/blob/master/install_rally.sh#L42318:03
andreykurilinsnecklifter: what is default version of python in your env?18:06
snecklifterandreykurilin: 2.7.518:06
snecklifterspecifically, python-2.7.5-48.el7.x86_6418:07
rallydev-bot[From Gitter] tohin : snecklifter: do you have ~/.virtualenv/virtualenv.ini ?18:16
snecklifternope18:17
*** e0ne has joined #openstack-rally18:20
*** stpierre has quit IRC18:23
*** stpierre has joined #openstack-rally18:29
*** stpierre has quit IRC18:33
*** stpierre has joined #openstack-rally18:33
snecklifterandreykurilin: --no-setuptools isn't working for me18:33
rallydev-bot[From Gitter] tohin : snecklifter: can you share logs ?18:36
snecklifterrallydev-bot: yes, what do you need?18:37
rallydev-bot[From Gitter] tohin : snecklifter: output for install_rally.sh18:38
snecklifterrallydev-bot: http://paste.openstack.org/show/591458/18:38
rallydev-bot[From Gitter] tohin : snecklifter: do you have ohe for  --no-setuptools ?18:40
rallydev-bot[From Gitter] tohin : [edit] snecklifter: do you have one for  --no-setuptools ?18:40
snecklifterrallydev-bot: its the same output, should that go at the end of line 424?18:43
rallydev-bot[From Gitter] tohin : snecklifter: try replace this line18:50
rallydev-bot[From Gitter] tohin :  https://github.com/openstack/rally/blob/master/install_rally.sh#L42318:50
rallydev-bot[From Gitter] tohin : with:18:50
rallydev-bot[From Gitter] tohin : "$PYTHON" "$VIRTUALENV_DST" $VERBOSE --no-setuptools  -p "$PYTHON" "$DESTDIR"18:50
*** albertw has left #openstack-rally18:50
*** openstackstatus has joined #openstack-rally18:54
*** ChanServ sets mode: +v openstackstatus18:54
andreykurilinsnecklifter: rallydev-bot is a bot for syncing messages between IRC(this channel) and Gitter( http://gitter.im/Rally-dev/Lobby ). First word after [From Gitter] is a nickname of user who is talking, so you should ping that username instead of rallydev-bot :)19:05
snecklifterandreykurilin: haha, i didn't know what the heck to do, couldnt see a tohin though19:05
andreykurilin))19:06
snecklifterandreykurilin: I now get a permissions error about pip19:06
snecklifterandreykurilin: should I be able to run install_rally.sh as a regular user?19:06
snecklifterI have always been able to...19:07
rallydev-bot[From Gitter] andreykurilin : Yes19:07
*** stpierre has quit IRC19:10
*** diogogmt has joined #openstack-rally19:15
*** cjmarti has joined #openstack-rally19:20
*** SergeyLukjanov2 has joined #openstack-rally19:26
*** bapalm_ has joined #openstack-rally19:26
*** mvk has quit IRC19:28
*** castulo has quit IRC19:28
*** noama has quit IRC19:28
*** bapalm has quit IRC19:28
*** SergeyLukjanov has quit IRC19:28
*** mrhillsman has quit IRC19:28
*** hecliunyx has quit IRC19:28
*** SergeyLukjanov2 is now known as SergeyLukjanov19:28
*** cjmarti is now known as castulo19:28
*** hecliunyx has joined #openstack-rally19:31
*** mvk has joined #openstack-rally19:34
*** noama has joined #openstack-rally19:35
*** codebauss has joined #openstack-rally19:38
*** codebauss is now known as mrhillsman19:38
openstackgerritAnton Studenov proposed openstack/rally: Bump virtualenv version in install_rally.sh  https://review.openstack.org/40706020:02
*** gus has quit IRC20:08
*** gus has joined #openstack-rally20:10
*** mbeaulie has joined #openstack-rally20:17
mbeaulieHitting the setuptools issue too... Tried both workarounds from the chat above and no luck. Did anyone find something that works?20:20
rallydev-bot[From Gitter] tohin : mbeaulie: can you try https://review.openstack.org/#/c/407060/2 ?20:23
mbeaulieWill do.20:24
*** jkilpatr has joined #openstack-rally20:48
mbeaulieTried the above... fails with: Cannot find a whelle for setuptools, pip... Import error: No module names pip20:53
mbeauliemissed a change... rechecking21:00
*** adiantum has joined #openstack-rally21:29
mbeaulieok, seems it was working up to the point where a team-mate decided to redeploy my node where I was testing the fix. :(21:32
rallydev-bot[From Gitter] andreykurilin : heh21:32
mbeaulieBut it was looking good!21:32
rallydev-bot[From Gitter] andreykurilin : @tohin your fix helped ^21:33
*** rcernin has joined #openstack-rally22:40
*** e0ne has quit IRC22:54
*** e0ne has joined #openstack-rally22:56
openstackgerritMerged openstack/rally: Bump virtualenv version in install_rally.sh  https://review.openstack.org/40706022:56
*** e0ne has quit IRC22:56
*** e0ne has joined #openstack-rally22:56
*** e0ne has quit IRC22:57
*** e0ne has joined #openstack-rally22:57
*** e0ne has quit IRC22:58
*** e0ne has joined #openstack-rally22:58
*** e0ne has quit IRC22:58
*** e0ne has joined #openstack-rally22:59
*** e0ne has quit IRC22:59
*** e0ne has joined #openstack-rally23:00
*** e0ne has quit IRC23:00
*** e0ne has joined #openstack-rally23:00
*** e0ne has quit IRC23:01

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