Perl 6 - the future is here, just unevenly distributed

IRC log for #openstack-rally, 2015-08-26

| Channels | #openstack-rally index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:12 akrzos_ joined #openstack-rally
00:13 temujin_ joined #openstack-rally
00:35 openstack joined #openstack-rally
01:20 puranamr joined #openstack-rally
01:24 baker joined #openstack-rally
01:25 Aish joined #openstack-rally
01:25 puranamr joined #openstack-rally
01:27 openstackgerrit Merged openstack/rally: Add Cinder create_and_update_volume scenario  https://review.openstack.org/208996
01:32 moravec joined #openstack-rally
01:47 Aish joined #openstack-rally
02:04 kun_huang boris-42: pong
02:20 baker joined #openstack-rally
02:24 Aish joined #openstack-rally
03:46 boris-42 joined #openstack-rally
04:09 baker joined #openstack-rally
04:48 tfreger joined #openstack-rally
04:50 openstackgerrit nayna-patel proposed openstack/rally: Add Cinder create_and_update_snapshot scenario  https://review.openstack.org/211132
05:10 baker joined #openstack-rally
05:40 Prashant joined #openstack-rally
05:51 Prashant joined #openstack-rally
06:03 rdas joined #openstack-rally
06:13 kiran-r joined #openstack-rally
06:37 agarciam joined #openstack-rally
06:39 yfried joined #openstack-rally
06:46 neeti joined #openstack-rally
06:48 psuriset joined #openstack-rally
06:52 e0ne joined #openstack-rally
06:59 tfreger joined #openstack-rally
07:10 ushkalim joined #openstack-rally
07:12 baker joined #openstack-rally
07:14 openstackgerrit Boris Pavlovic proposed openstack/rally: [cli] Introduce "rally plugin" show and list commands  https://review.openstack.org/217005
07:22 davideagnello joined #openstack-rally
07:32 arxcruz joined #openstack-rally
07:53 cdent joined #openstack-rally
08:00 temujin_ joined #openstack-rally
08:01 fhubik joined #openstack-rally
08:24 anshul joined #openstack-rally
08:26 tfreger joined #openstack-rally
08:41 tosky joined #openstack-rally
08:58 openstackgerrit Kiran proposed openstack/rally: Add Neutron LBaaS V1 healthmonitor scenarios  https://review.openstack.org/217041
09:00 baker joined #openstack-rally
09:08 e0ne joined #openstack-rally
09:09 openstackgerrit Kiran proposed openstack/rally: Add Neutron LoadBalancer v1 create and list vips  https://review.openstack.org/193527
09:11 openstackgerrit Kiran proposed openstack/rally: Add Neutron LoadBalancer v1 create and list vips  https://review.openstack.org/193527
09:11 openstackgerrit Kiran proposed openstack/rally: Add Neutron LoadBalancer v1 create and delete vips  https://review.openstack.org/193818
09:12 psuriset joined #openstack-rally
09:15 openstackgerrit Kiran proposed openstack/rally: Add Neutron Loadbalancer v1 create and update vips  https://review.openstack.org/194106
09:16 agarciam joined #openstack-rally
09:23 davideagnello joined #openstack-rally
09:23 e0ne joined #openstack-rally
09:24 agarciam joined #openstack-rally
09:25 rdas joined #openstack-rally
09:36 openstackgerrit yoshida mitsuru proposed openstack/rally: Fix typo in Rally Installation document  https://review.openstack.org/217054
09:48 temujin__ joined #openstack-rally
10:01 agarciam joined #openstack-rally
10:02 amaretskiy joined #openstack-rally
10:11 adiantum joined #openstack-rally
10:14 psuriset joined #openstack-rally
10:49 baker joined #openstack-rally
10:52 openstackgerrit Kiran proposed openstack/rally: Add Neutron LBaaS V1 healthmonitor scenarios  https://review.openstack.org/217041
10:59 temujin_ joined #openstack-rally
11:09 agarciam1 joined #openstack-rally
11:13 openstackgerrit Merged openstack/rally: Switch scenarios plugins to plugin base  https://review.openstack.org/213631
11:14 yfried joined #openstack-rally
11:20 exploreshaifali joined #openstack-rally
11:24 davideagnello joined #openstack-rally
11:50 baker joined #openstack-rally
11:59 agarciam joined #openstack-rally
12:02 akrzos joined #openstack-rally
12:05 openstackgerrit Kiran proposed openstack/rally: Add Neutron LBaaS V1 healthmonitor scenarios  https://review.openstack.org/217041
12:15 openstackgerrit Oleh Anufriiev proposed openstack/rally: WIP Update rally/contrib to use install_rally.sh  https://review.openstack.org/210137
12:32 tsndqst joined #openstack-rally
12:34 tsndqst boris-42: thanks for the suggestion of using the nics argument to specify a network.  that works when using a single tenant
12:34 tsndqst is there a way to specify networks per tenant?  i.e. tenant1 launches VMs in net1 and tenant2 launches VMs in net2 (this is for an existing cloud with existing tenants/users)
12:35 boris-42 tsndqst: I believe auto_asing_nics can be used in case of multiple users
12:35 boris-42 amaretskiy: ^
12:44 tsndqst boris-42: thanks, I'll give it a try.
12:58 aix joined #openstack-rally
13:02 openstackgerrit Andrey Kurilin proposed openstack/rally: Add specific list method for NovaServer res  https://review.openstack.org/217126
13:05 ivasev joined #openstack-rally
13:08 puranamr joined #openstack-rally
13:10 moravec joined #openstack-rally
13:13 agarciam joined #openstack-rally
13:16 kun_huang boris-42: is there a plan to develop a existing-vm context for vm workload?
13:21 temujin_ joined #openstack-rally
13:24 davideagnello joined #openstack-rally
13:37 MaxPC joined #openstack-rally
13:40 ivasev joined #openstack-rally
13:42 jalphonso joined #openstack-rally
13:42 jalphonso Hello.  I placed a comment on Boris's Blog: http://boris-42.me/rally-can-generate-load-with-passed-users-now/
13:43 jalphonso For the sake of expediting a response, can someone help me?
13:43 jalphonso I’m noticing some random behavior on how Rally selects/uses tenants for the given task. For instance when I use the VMTasks.boot_runcommand_delete task and specifiy times:5, concurrency: 5 , it spawns several VMs under 1 or more tenants and none under others. I’ve tried this both with Rally setting up the tenants and users per tenant as well as manually creating the tenants/users/networks myself and having rally use the existing users. Bas
13:45 jalphonso joined #openstack-rally
13:47 psuriset joined #openstack-rally
13:51 temujin_ joined #openstack-rally
13:53 puranamr joined #openstack-rally
14:07 temujin_ joined #openstack-rally
14:07 andreykurilin jalphonso: hi
14:09 andreykurilin jalphonso: currently, this is correct behavior. Rally launches each iteration by random user, so it's possible that some tenants will be more popular that other:)
14:13 amaretskiy jalphonso: https://github.com/openstack/rally/blob/master/rally/plugins/openstack/context/keystone/users.py#L70-L71
14:21 baker joined #openstack-rally
14:27 Prashant joined #openstack-rally
14:29 Prashant joined #openstack-rally
14:35 baker joined #openstack-rally
14:36 temujin_ joined #openstack-rally
14:49 klindgren joined #openstack-rally
14:57 jalphonso andreykurilin: thank you for the info.  My goal right now is to perform some exhaustive network tests so I need the tenant selection to be deterministic.
14:58 jalphonso amaretskiy: thank you, the link you sent gets me in the right direction.  I should be able to modify the behavior to suit my testing needs.
15:06 baker joined #openstack-rally
15:09 temujin_ joined #openstack-rally
15:10 openstackgerrit Kiran proposed openstack/rally: Add Neutron LBaaS V1 healthmonitor scenarios  https://review.openstack.org/217041
15:11 fhubik joined #openstack-rally
15:13 kiran-r joined #openstack-rally
15:13 jaypipes joined #openstack-rally
15:17 fhubik joined #openstack-rally
15:25 openstackgerrit Alexander Maretskiy proposed openstack/rally: [Reports] Add method objects.Task.get_results_with_info()  https://review.openstack.org/214695
15:25 davideagnello joined #openstack-rally
15:28 openstackgerrit Alexander Maretskiy proposed openstack/rally: [Reports] Add method objects.Task.get_results_with_info()  https://review.openstack.org/214695
15:29 Prashant joined #openstack-rally
15:31 Prashant joined #openstack-rally
15:31 jalphonso left #openstack-rally
15:35 temujin_ joined #openstack-rally
15:45 openstackstatus NOTICE: restarting gerrit due to a slow memory leak
15:48 davideagnello joined #openstack-rally
15:50 temujin_ joined #openstack-rally
16:24 agarciam joined #openstack-rally
16:38 temujin_ joined #openstack-rally
16:41 temujin_ joined #openstack-rally
16:43 amywang_ joined #openstack-rally
16:43 amywang_ hi stpierre
16:46 amywang_ perhaps a question to the rally experts here.. last week, I could get a simple plugin to work.  But there has been a re-installation of rally on my machine.
16:46 amywang_ As a result, the attempt to pick up my plugin now fails as follows:
16:46 amywang_ 2015-08-26 12:41:29.762 10718 INFO rally.common.plugin.discover [-] Loading plugins from directories /home/aktwang/.rally/plugins//*
16:46 amywang_ 2015-08-26 12:41:29.763 10718 WARNING rally.common.plugin.discover [-]   Failed to load module with plugins /home/aktwang/.rally/plugins/scenario_plugin.py: No module named scenarios
16:47 amywang_ can anyone help?
16:50 exploreshaifali joined #openstack-rally
16:55 davideagnello joined #openstack-rally
16:56 moravec joined #openstack-rally
16:56 arxcruz joined #openstack-rally
16:58 amywang_ hello..any rally experts around?
16:58 temujin_ joined #openstack-rally
17:01 amaretskiy amywang_: hi
17:02 amywang_ can you lend a helping hand...I got the plugin to work with help from stpierre last week
17:02 amywang_ but there is a rally reinstallation on my machine
17:02 amywang_ now the plugin mechansim doesn't work anymore :(
17:03 amywang_ I'm getting this error:
17:03 amywang_ 2015-08-26 13:02:48.239 13232 WARNING rally.common.plugin.discover [-]   Failed to load module with plugins /home/aktwang/.rally/plugins/scenario_plugin.py: No module named scenarios
17:04 temujin_ joined #openstack-rally
17:04 amaretskiy amywang_: probably this error is related to refactoring in rally modules
17:04 amaretskiy amywang_: please make paste with imports from your plugin
17:06 amywang_ it's the sample one: https://github.com/openstack/rally/blob/master/samples/plugins/scenario/scenario_plugin.py
17:07 amywang_ it appears to say that rally.task.scenarios cannot be found
17:07 boris-42 joined #openstack-rally
17:07 amaretskiy rename :  from rally.task.scenarios import base -> from rally.task import scenario
17:08 amaretskiy amywang_: please report a bug
17:08 amywang_ when did this bug come in?  I thought it was working last week for me..
17:08 boris-42 amaretskiy: what happend?
17:09 amywang_ someone reinstall rally on my box
17:09 boris-42 amywang_: it happens=)
17:09 amywang_ now I'm getting this error:
17:09 amywang_ 2015-08-26 13:08:18.656 13397 WARNING rally.common.plugin.discover [-]   Failed to load module with plugins /home/aktwang/.rally/plugins/scenario_plugin.py: cannot import name base
17:09 amaretskiy boris-42: recent rally version caused issues
17:09 amywang_ this line: from rally.task import base
17:09 boris-42 amaretskiy: yep we are working on 0.1.0 version of rally which is not 100% backward compable
17:09 boris-42 amywang_: with 0.0.* releases
17:09 boris-42 amywang_: ^
17:10 amaretskiy boris-42 https://github.com/openstack/rally/blob/master/samples/plugins/scenario/scenario_plugin.py
17:10 amywang_ oh wait
17:10 amywang_ my mistacke
17:10 boris-42 amywang_: so what you need is just to update a bit imports
17:10 boris-42 amywang_: so they will work with master rally *
17:10 amaretskiy boris-42 https://github.com/openstack/rally/blob/master/samples/plugins/scenario/scenario_plugin.py#L16
17:10 amaretskiy mywang_: rename :  from rally.task.scenarios import base -> from rally.task import scenario
17:11 amaretskiy amywang_: rename :  from rally.task.scenarios import base -> from rally.task import scenario
17:11 amywang_ got it. now error i:
17:11 amywang_ 2015-08-26 13:10:03.988 13453 WARNING rally.common.plugin.discover [-]   Failed to load module with plugins /home/aktwang/.rally/plugins/scenario_plugin.py: name 'base' is not defined
17:11 amaretskiy amywang_: rename :  from rally.task.scenarios import base -> from rally.task import scenario as base
17:11 amaretskiy amywang_: and try again
17:13 amywang_ 2015-08-26 13:12:03.949 13514 WARNING rally.common.plugin.discover [-]   Failed to load module with plugins /home/aktwang/.rally/plugins/scenario_plugin.py: 'module' object has no attribute 'scenario'
17:13 amywang_ the first line in my plugin now reads: from rally.task import scenario as base
17:14 amywang_ this makes me think I should freeze my rally..so no new git update/reinstall
17:15 amaretskiy amywang_: rally structure has been changed but plugin sample is outdated
17:15 madhu_ak joined #openstack-rally
17:15 pvaneck joined #openstack-rally
17:15 amywang_ any further suggestions?
17:15 amaretskiy amywang_: that is why you have an error
17:15 Prashant joined #openstack-rally
17:15 amywang_ sigh..
17:16 amywang_ do you have an working sample?
17:16 amaretskiy amywang_:  here is a module that is used by sample https://github.com/openstack/rally/blob/master/rally/task/scenario.py
17:17 amaretskiy amywang_: just make simple changes in your code so it find all required objects
17:17 amywang_ I'm not familiar with the Rally code structure yet
17:17 amaretskiy amywang_:  i believe the fix for plugin sample will be published soon, maybe tomorrow
17:18 amywang_ so what I should I do now with my little sample?
17:19 amywang_ I'm hoping that it works, then I can start building on it
17:24 Prashant joined #openstack-rally
17:25 Prashant joined #openstack-rally
17:26 boris-42 amywang_: so the only thing that you should change is few imports
17:26 amywang_ hi boris
17:26 boris-42 amywang_: you can paste code
17:26 boris-42 amywang_: I will fix for you
17:27 amywang_ i copied/pasted this link: https://github.com/openstack/rally/blob/master/samples/plugins/scenario/scenario_plugin.py
17:27 amywang_ meaning, I was using exactly this .py file
17:28 amywang_ the error message I got in the first place is:
17:28 amywang_ 2015-08-26 13:27:43.126 13978 WARNING rally.common.plugin.discover [-]   Failed to load module with plugins /home/aktwang/.rally/plugins/scenario_plugin.py: No module named scenarios
17:28 boris-42 amywang_: uh crap =(
17:28 boris-42 amywang_: lemme propose fix to upstream
17:28 boris-42 amywang_: I forget to change this module =(
17:28 boris-42 forgot*
17:29 amywang_ so someone pulled off git and re-install rally on my box..
17:29 amywang_ do you think that cause me to pick up some latest rally code
17:29 amywang_ as a result, it is having issue finding the module
17:30 amywang_ still trying to comprehend what happend?
17:30 davideagnello joined #openstack-rally
17:30 boris-42 amywang_: Rally team is working on new release that is not backward comapble with old one
17:30 boris-42 amywang_: 0.0.4 -> 0.1.0
17:31 boris-42 amywang_: so current master is not compable with 0.0.4
17:31 amywang_ so what exactly is the rally that got put on my box?
17:31 amywang_ how to check?
17:31 boris-42 amywang_: that code works on 0.0.4 but doesn't work on current master
17:31 boris-42 amywang_: I believe very late master
17:31 boris-42 amywang_: like current master
17:32 pyro_nc_triangle joined #openstack-rally
17:32 amywang_ boris..can you get me going on this?  I'm really hoping Rally is the tool to construct the scenario I need
17:32 amywang_ now I'm stuck thinking whether I should go back to use python API directly
17:32 boris-42 amywang_: hm
17:32 amywang_ to talk to openstack
17:32 amywang_ I can reinstall rally
17:33 amywang_ back to the version that works
17:33 boris-42 amywang_: or you can fix the plugin
17:33 boris-42 amywang_: to work with new version
17:33 amywang_ I'm very new to rally..
17:33 boris-42 amywang_: so let me propose change
17:33 boris-42 to rally
17:33 boris-42 that fix this sample
17:33 boris-42 and that's all
17:34 amywang_ so. I should do another git pull and rebuild of rally tomorrow?
17:34 boris-42 amywang_: nope
17:34 boris-42 amywang_: just change the code of plugin
17:34 boris-42 amywang_: not sure why it is the problem
17:34 amywang_ ok. thanks boris.. I'll wait for your fix then.
17:35 boris-42 amywang_: it's not the bug in framework or rally it self it's just bug in sample of plugin
17:35 amywang_ yes.  I understand...it would be greatly beneficial for users like me trying out plugin to have a working one..
17:35 amywang_ else, I'm left wondering if there it is something wrong with the rally installation...
17:37 openstackgerrit Boris Pavlovic proposed openstack/rally: Fix the scenario plugin sample  https://review.openstack.org/217320
17:38 boris-42 amywang_: one more time SORRY Rally TEAM (especially ME) made the mistake
17:38 boris-42 we are all humans and project is quite large
17:38 boris-42 this particular sample was not tested
17:39 boris-42 and we forgot to change it
17:39 boris-42 amywang_: here is the patch that fixes it https://review.openstack.org/217320
17:39 amywang_ no worry boris..  I fully understand...
17:40 amywang_ copying your patch and trying out now
17:40 boris-42 amywang_: ah I frogot one thing
17:40 boris-42 amywang_: wait a bit
17:40 amywang_ ok.
17:41 ningy joined #openstack-rally
17:41 openstackgerrit Boris Pavlovic proposed openstack/rally: Fix the scenario plugin sample  https://review.openstack.org/217320
17:44 openstackgerrit Boris Pavlovic proposed openstack/rally: Fix the scenario plugin sample  https://review.openstack.org/217320
17:44 boris-42 amywang_: ^ so take this one it should work
17:47 amywang_ trying now..
17:49 amywang_ oh wow!
17:49 amywang_ life saver!
17:50 amywang_ thanks!!
17:58 boris-42 amywang_: yep as i said it's just change in framework
17:59 boris-42 amywang_: not big but important
17:59 amywang_ got it. thanks.  I guess, the re-install of rally exposed it
17:59 amywang_ otherwise, that same sample was working a week ago
17:59 boris-42 amywang_: yep because you was using old version and now you are using new one
17:59 amywang_ yes. I realize now
17:59 boris-42 amywang_: and it happens during the last week
18:00 amywang_ well ..glad your here to support the effort..otherwise, I was going to abandon rally and go for another way of doing my testing
18:00 amywang_ I'll learn the tool better now, that it works
18:01 boris-42 amywang_: that is quite bad ida
18:01 boris-42 idea =)
18:01 amywang_ well.. the openstack shell commands are pretty easy to use
18:01 boris-42 to make at least such tool like rally you will spend a lot of time
18:01 amywang_ I could just write my own shell script
18:01 boris-42 amywang_: I started 2 years ago from that point=)
18:02 boris-42 amywang_: so two things that you should know are
18:02 boris-42 amywang_: https://github.com/openstack/rally/tree/master/rally/plugins/openstack here are openstack related plugins
18:02 boris-42 so you can take a look how real plugins are written
18:02 boris-42 amywang_: here is the framework https://github.com/openstack/rally/tree/master/rally/task
18:03 amywang_ are you on IRC frequently?
18:04 boris-42 amywang_: so part of Rally team is in UTC time zone
18:04 boris-42 amywang_: and part is in PST time zone
18:04 puranamr joined #openstack-rally
18:04 amywang_ I see.
18:04 boris-42 amywang_: so andreykurilin, amaretsky, yfired, rediskin are UTC guys
18:05 boris-42 amywang_: me & stpierre are in PST
18:05 amywang_ alright thanks.  I'll spend time over the next few days seriously on creating plugins.
18:06 amywang_ hope I pick things up well as I go.
18:06 boris-42 amywang_: first of all take a look does it already exist
18:06 boris-42 amywang_: we have about 220 plugins currently
18:06 boris-42 and quite a lot of thing is already done=)
18:07 andreykurilin__ joined #openstack-rally
18:07 amywang_ got it.  I'll fish inside : https://github.com/openstack/rally/tree/master/samples/plugins
18:07 amywang_ first, before doing anything
18:08 ivasev joined #openstack-rally
18:09 boris-42 amywang_: you can use command "rally info find"*
18:09 boris-42 amywang_: soon it will be called "rally plugin show"
18:10 Prashant joined #openstack-rally
18:11 amywang_ yup. thanks. that command is helpful
18:12 boris-42 amywang_: I am working on making rally plugin reference
18:12 boris-42 amywang_: on rally.readthedocs.org
18:12 boris-42 seems like it won't be too hard to implement it
18:12 mpopow joined #openstack-rally
18:13 amywang_ yes. I visit that site once a while
18:17 openstackgerrit joined #openstack-rally
18:25 e0ne joined #openstack-rally
18:30 aix joined #openstack-rally
18:30 openstackgerrit Oleh Anufriiev proposed openstack/rally: WIP Update rally/contrib to use install_rally.sh  https://review.openstack.org/210137
18:31 psd_mo joined #openstack-rally
18:34 psuriset joined #openstack-rally
18:41 jaypipes joined #openstack-rally
18:44 boris-42 kun_huang: ping
18:46 yfried joined #openstack-rally
18:48 boris-42 yfried: are you online?
19:06 openstackgerrit Merged openstack/rally: Updated from global requirements  https://review.openstack.org/217215
19:07 exploreshaifali joined #openstack-rally
19:13 e0ne joined #openstack-rally
19:30 moravec joined #openstack-rally
20:00 Aish joined #openstack-rally
20:16 mpopow joined #openstack-rally
20:18 puranamr joined #openstack-rally
20:22 openstackgerrit Merged openstack/rally: Move & refactor atomic actions  https://review.openstack.org/216584
20:24 puranamr joined #openstack-rally
20:34 mpopow joined #openstack-rally
20:36 puranamr joined #openstack-rally
21:01 agarciam joined #openstack-rally
21:02 openstackgerrit joined #openstack-rally
21:03 kambiz joined #openstack-rally
21:28 puranamr joined #openstack-rally
21:34 amywang joined #openstack-rally
21:39 mpopow joined #openstack-rally
21:47 Prashant joined #openstack-rally
21:52 jaypipes joined #openstack-rally
22:01 openstackgerrit Oleh Anufriiev proposed openstack/rally: WIP Update rally/contrib to use install_rally.sh  https://review.openstack.org/210137
22:16 eon` joined #openstack-rally
22:17 eon` hello, how do I launch the recheck of the mirantis CI on a review ?
22:24 puranamr joined #openstack-rally
22:28 aix eon`, make a comment "rally-ci recheck" (I believe)
22:31 boris-42 aix: eon` it doesn't work at the moment
22:32 boris-42 something wired happend with it
22:37 openstackgerrit Boris Pavlovic proposed openstack/rally: Fix the scenario plugin sample  https://review.openstack.org/217320
22:39 eon` boris-42: ok
22:39 eon` aix: thanks, seems broken atm so I'll wait
22:40 eon` btw, if someone want to review https://review.openstack.org/#/c/216614/
22:41 eon` wants
22:42 eon` It's my first time with the mock library, comments welcome
22:50 dmorita joined #openstack-rally
22:55 boris-42 eon`: thanks for patch
22:55 boris-42 eon`: I saw your previous fix
22:55 boris-42 =)
22:56 eon` thnaks for the +2 boris-42 :)
23:00 eon` I've also written patches to bench other lbaas resources, pool vips, pool members. Still need to write some tests for them.
23:01 boris-42 eon`: you should deffently work together with kiran
23:01 boris-42 eon`: so we will avoid duplication of efforts
23:01 boris-42 eon`: here are his patches https://review.openstack.org/#/q/owner:Kiran+status:open,n,z
23:03 eon` wow, seems he's done a lot of work already
23:06 boris-42 eon`: yeeeepp
23:06 boris-42 eon`: so it will be nice if you could review those patches and talk with kiran
23:08 eon` sure, I will review theses review tomorrow
23:11 eon` I wish I would have seen those patches before :)
23:14 boris-42 eon`: =)
23:15 eon` good night !
23:35 amywang_ joined #openstack-rally
23:37 mpopow joined #openstack-rally
23:40 pyro_nc_triangle joined #openstack-rally

| Channels | #openstack-rally index | Today | | Search | Google Search | Plain-Text | summary