Perl 6 - the future is here, just unevenly distributed

IRC log for #openstack-rally, 2015-12-07

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

All times shown according to UTC.

Time Nick Message
00:16 dyasny joined #openstack-rally
00:32 openstackgerrit Andrey Kurilin proposed openstack/rally: WIP: refactor api  https://review.openstack.org/253963
01:04 yingjun joined #openstack-rally
01:53 cvstealth joined #openstack-rally
02:03 openstackgerrit LiuNanke proposed openstack/rally: Make param description & LogInfo better  https://review.openstack.org/252759
02:04 cvstealth joined #openstack-rally
02:05 openstackgerrit LiuNanke proposed openstack/rally: Make param description & LogInfo better  https://review.openstack.org/252759
02:10 openstackgerrit Bo Chi proposed openstack/rally: Make disk_format configurable  https://review.openstack.org/253978
02:47 ilbot3 joined #openstack-rally
02:47 Topic for #openstack-rally is now ☁ Rally RoadMap: http://goo.gl/JZkmwY ☁ Review Dashboard: http://goo.gl/YuCJfl ☁ IRC logs http://irclog.perlgeek.de/openstack-rally ☁ Key persons to ask:  boris-42, yfried, msdubov, rediskin, andreykurilin, amaretskiy  Ã¢ËœÂ Documentation: https://rally.readthedocs.org/en/latest/ ☁ To publish changes to Rally:  https://rally.readthedocs.org/en/latest/contribute.html
03:02 cvstealth joined #openstack-rally
03:08 openstackgerrit Bo Chi proposed openstack/rally: Make disk_format configurable  https://review.openstack.org/253978
03:14 cvstealth joined #openstack-rally
03:27 yingjun joined #openstack-rally
03:29 arnoldje joined #openstack-rally
04:06 baker joined #openstack-rally
04:25 cvstealth joined #openstack-rally
05:05 openstackgerrit Bo Chi proposed openstack/rally: change name of rally.common.log module  https://review.openstack.org/254009
05:16 rdas joined #openstack-rally
05:27 tfreger joined #openstack-rally
05:28 shausy joined #openstack-rally
05:28 shausy joined #openstack-rally
05:45 gsagie hi boris42
05:54 kun_huang broken again?
05:59 LiuNanke joined #openstack-rally
06:09 yingjun joined #openstack-rally
06:51 openstackgerrit_ joined #openstack-rally
07:13 psd joined #openstack-rally
07:18 jaypipes joined #openstack-rally
07:26 tfreger left #openstack-rally
07:33 gsagie Hello, i wrote some Rally plugins in my repository, how can i make rally discover them?
07:33 gsagie I want to be able to to run these plugins from task json files
07:34 gsagie Also can anyone please explain what is the difference between a "context" and a "scenario" plugins?
07:45 openstackgerrit Evgeny Sikachev proposed openstack/rally: [Sahara] Remove volumes from non-workers  https://review.openstack.org/253535
07:48 yfried joined #openstack-rally
07:49 neeti joined #openstack-rally
07:49 bkopilov joined #openstack-rally
08:22 arxcruz joined #openstack-rally
08:30 yfried_ joined #openstack-rally
08:31 e0ne joined #openstack-rally
08:34 kbaikov joined #openstack-rally
08:50 openstackgerrit Andrey Kurilin proposed openstack/rally: WIP: refactor api  https://review.openstack.org/253963
08:53 yfried_ joined #openstack-rally
08:59 andreykurilin__ joined #openstack-rally
09:00 e0ne joined #openstack-rally
09:03 itzikb_ joined #openstack-rally
09:04 itzikb_ hi, Running create_and_list_routers task failed http://pastebin.com/PcrTG9zC. I see this in the output 'Reason: Insufficient rights for removing default security group' Why is that?
09:08 shausy joined #openstack-rally
09:14 andreykurilin__ itzikb_: hi! this error was returned from neutron. I suppose, it can mean "network have some undeletable resources, so you can not remove default security group", but I can make mistake in clarification of it. Let's start from error in iteration - TypeError. Try to launch rally in debug mode to see not only exception message.
09:22 itzikb_ andreykurilin__: http://pastebin.com/6cwz4jNr
09:30 andreykurilin__ itzikb_: looks like a bug. I will look closer in few hours.
09:30 amaretskiy itzikb_: hi
09:30 itzikb_ amaretskiy: hi
09:30 itzikb_ andreykurilin__: tnx
09:32 amaretskiy itzikb_: this is interesting:    Error TypeError: string indices must be integers
09:33 amaretskiy itzikb_: make new paste with the output of 2 commands: 1) give rally version ($ rally --version) and 2) run scenario with option --rally-debug
09:34 andreykurilin__ amaretskiy: http://pastebin.com/6cwz4jNr
09:34 andreykurilin__ with debug mode^
09:34 itzikb_ andreykurilin__: 0.1.2~dev328
09:35 andreykurilin__ amaretskiy: it looks like this method https://github.com/openstack/rally/blob/master/rally/plugins/openstack/scenarios/neutron/utils.py#L292 returns different data in case of existing subnets ant created
09:37 amaretskiy looks like a bug
09:44 itzikb_ andreykurilin__: amaretskiy: to open a bug?
09:44 amaretskiy itzikb_: we have a bug and it is reproduced by me. Please create a bug report on launchpad (with rally version, scenario yaml and  full stack trace)
09:44 amaretskiy itzikb_: I believe this will be fixed asap
09:44 itzikb_ amaretskiy: Do you have it already on launchpad?
09:45 amaretskiy itzikb_: thank you for catching this
09:45 itzikb_ amaretskiy: np I'll report it
09:56 e0ne joined #openstack-rally
10:00 itzikb_ amaretskiy: https://bugs.launchpad.net/rally/+bug/1523417
10:00 openstack Launchpad bug 1523417 in Rally "Running create_and_list_routers task fails: TypeError: string indices must be integers" [Undecided,New]
10:01 amaretskiy itzikb_: thanks!
10:09 adiantum joined #openstack-rally
10:19 aix joined #openstack-rally
10:27 LiuNanke joined #openstack-rally
10:40 jaypipes joined #openstack-rally
10:45 kambiz joined #openstack-rally
10:49 tosky joined #openstack-rally
11:34 yfried_ joined #openstack-rally
11:39 redixin joined #openstack-rally
12:06 gsagie Hello, i wrote some Rally plugins in my repository, how can i make rally discover them?
12:07 gsagie I want to be able to to run these plugins from task json files
12:07 gsagie Also can anyone please explain what is the difference between a "context" and a "scenario" plugins?
12:12 amaretskiy gsagie: hi
12:13 gsagie hi
12:13 amaretskiy gsagie: use option --plugin-paths to specify where rally should find plugins
12:14 gsagie amaretskiy: and the common good practice is to put the plugins in the project repository or rally?
12:16 amaretskiy gsagie: you can use your custom plugins locally with option --plugin-paths, and in case if your plugins can be useful for others then it is a good idea to propose them to merge into rally project (submit a patch set to gerrit)
12:17 gsagie amaretskiy: can you please also help me understand the difference between scenario plugins and context plugins?
12:18 amaretskiy gsagie: scenario represents iteration, but context is a plugin that prepares resources (by its setup() method) once before iterations starts, and after iterations finished then context removes its resources (runs its cleanup() method)
12:19 amaretskiy for example you want to measure how good is booting servers
12:19 amaretskiy you want to boot 1000 servers
12:19 amaretskiy and see how this is good
12:20 amaretskiy you create scenario (plugin based on Scenario class)
12:20 amaretskiy btw this is just an example - boot_server plugin already exists :)
12:20 amaretskiy so
12:21 amaretskiy you create plugin scenario for booting server
12:21 amaretskiy and run this scenario having times: 1000 in input file
12:21 amaretskiy but
12:21 amaretskiy you need to use different flawors
12:22 amaretskiy flavor is just a resource that must exist BEFORE any server is started
12:22 amaretskiy you do not actually benchmark flawor create, you just need it
12:23 amaretskiy you can create any flawor on-the-fly before iterations start
12:23 amaretskiy by proper context
12:23 gsagie ok, i think i understand
12:23 amaretskiy flawor will be created before servers start booting
12:23 amaretskiy and then will be removed after scenarios finished
12:25 gsagie thanks!
12:26 amaretskiy gsagie: https://github.com/openstack/rally/blob/master/rally-jobs/nova.yaml#L523-L526
12:33 gsagie thanks for the time amaretskiy
12:35 amaretskiy :)
12:36 amaretskiy s/flawor/flavor/ :)
12:46 akrzos joined #openstack-rally
13:02 chenli joined #openstack-rally
13:30 jaypipes joined #openstack-rally
13:35 MaxPC joined #openstack-rally
13:43 LiuNanke joined #openstack-rally
13:49 lgreg joined #openstack-rally
13:50 ikhudoshyn joined #openstack-rally
13:50 ikhudoshyn joined #openstack-rally
13:52 boris-42_ joined #openstack-rally
13:55 jaypipes_ joined #openstack-rally
13:59 ylobankov joined #openstack-rally
14:04 yingjun joined #openstack-rally
14:12 amaretskiy .ощшт №щзутыефсл-ьууештп
14:12 amaretskiy sorry
14:19 yfried_ joined #openstack-rally
14:19 openstackgerrit Yuki Nishiwaki proposed openstack/rally: Add detaied function to rally.api.Task  https://review.openstack.org/253830
14:36 arnoldje joined #openstack-rally
14:46 raginbajin joined #openstack-rally
14:59 boris-42_ chenli: so
14:59 chenli boris-42_: y
15:00 boris-42_ chenli: do you understand the goal of task of returing dicts from db.api?
15:00 chenli boris-42_: not really
15:01 chenli boris-42_: I get you want dict, but why ?
15:02 boris-42_ chenli: because rest of application shouldn't depend on sqlalchemy models
15:03 chenli boris-42_: ok. i get this part
15:03 boris-42_ chenli: like we will be able to implement rally.common.db.api for different backends
15:03 boris-42_ and it will be easier to send these objects over network
15:04 chenli boris-42_:  ok.
15:05 chenli boris-42_: I get the dict part.
15:05 chenli boris-42_:   back to rally.cli -> rally.api -> rally.objects,
15:05 boris-42_ yep
15:05 boris-42_ rally.api -> will be at some point separated HTTP service
15:06 boris-42_ so rally.cli should work with local and remote (via HTTP) rally
15:06 boris-42_ in case of remote rally.cli doesn't have access to DB
15:07 chenli boris-42_:  yes, so rally.cli should not use direct return value from objects, right ?  objects/deploy.py =>  Deployment.get
15:10 boris-42_ chenli: why?
15:10 boris-42_ chenli: I mean rally.cli should not work with rally.objects or rally.db modules
15:10 boris-42_ chenli: that's all
15:12 chenli boris-42_:         in cli:   deploy = api.Deployment.get(deployment)  =>   api.Deployment.get is actually "return objects.Deployment.get(deployment)"
15:12 chenli boris-42_:  so, in cli, when you using "deploy", it is actual a instance of objects/Deployment
15:13 boris-42_ chenli: in local case it may be
15:13 chenli boris-42_:  is that make sense using an instance of class in a module that should not be used ?
15:14 baker joined #openstack-rally
15:16 chenli boris-42_:  and no matter local and remote, cli should work with the same "object", isn't it ? actually CLI module should know nothing about local or remote at all, it just use what returned by rally.api => we will have rally.api at client side too.
15:16 chenli boris-42_:  when it is local, rally.api call objects, when it is remote, it do rest.
15:33 spyderdyne joined #openstack-rally
15:44 openstackgerrit Alexander Maretskiy proposed openstack/rally: [Scenario] New output schema  https://review.openstack.org/254261
15:48 openstackgerrit Andrey Kurilin proposed openstack/rally: [gates] move ceilometer alarts scenarios to non-voting job  https://review.openstack.org/254263
15:53 lutostag joined #openstack-rally
15:59 openstackgerrit Yaroslav Lobankov proposed openstack/rally: [Verify] Don't install Tempest when `rally verify [gen/show]config`  https://review.openstack.org/252652
16:06 mwagner_lap joined #openstack-rally
16:16 jaypipes joined #openstack-rally
16:23 openstackgerrit Evgeny Ivanov proposed openstack/rally: [Rally] Fix for Sahara cluster context  https://review.openstack.org/254281
16:31 kevinbenton joined #openstack-rally
16:44 openstackgerrit Evgeny Ivanov proposed openstack/rally: [Sahara] Fix for Sahara cluster context  https://review.openstack.org/254281
16:55 stpierre joined #openstack-rally
16:57 openstackgerrit Alexander Maretskiy proposed openstack/rally: [StreamingAlgorithms] Unify exception type raised by result()  https://review.openstack.org/254302
16:58 stpierre joined #openstack-rally
17:16 openstackgerrit Alexander Maretskiy proposed openstack/rally: [Reports] Add abstract class Table class and improve MainStatsTable  https://review.openstack.org/254316
17:24 davideagnello joined #openstack-rally
18:02 baker joined #openstack-rally
18:09 stpierre joined #openstack-rally
18:24 e0ne joined #openstack-rally
18:34 madhu_ak joined #openstack-rally
18:58 pvaneck joined #openstack-rally
19:03 anshul joined #openstack-rally
19:59 spyderdyne joined #openstack-rally
19:59 e0ne joined #openstack-rally
20:10 yfried_ joined #openstack-rally
20:19 e0ne joined #openstack-rally
20:19 e0ne joined #openstack-rally
20:50 openstackgerrit Tom Patzig proposed openstack/rally: Additional argument support for CinderVolumes  https://review.openstack.org/253659
20:58 JJK_ joined #openstack-rally
20:59 JJK_ Hello - I'm having some issues installing Rally - is this the appropriate channel for such questions?
21:08 harlowja joined #openstack-rally
21:38 yfried_ joined #openstack-rally
21:43 mwagner_lap joined #openstack-rally
22:15 e0ne joined #openstack-rally
22:32 diogogmt joined #openstack-rally
22:38 stpierre joined #openstack-rally
22:40 stpierre boris-42_: what's up with https://github.com/openstack/rally/blob/master/rally/task/functional.py ? i notice it's only used in one scenario, and it seems a bit strange, but we've got some people interested in doing more functional type stuff
22:57 stpierre joined #openstack-rally
23:14 baker joined #openstack-rally
23:19 openstackgerrit Yaroslav Lobankov proposed openstack/rally: [Verify] Don't install Tempest when `rally verify [gen/show]config`  https://review.openstack.org/252652
23:28 akrzos joined #openstack-rally
23:52 boris-42_ joined #openstack-rally
23:53 boris-42_ JJK_: hi
23:53 boris-42_ JJK_: yep it is

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