Perl 6 - the future is here, just unevenly distributed

IRC log for #openstack-rally, 2016-02-22

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

All times shown according to UTC.

Time Nick Message
00:04 boris-42 joined #openstack-rally
00:38 yingjun joined #openstack-rally
00:47 akrzos joined #openstack-rally
00:55 chenli joined #openstack-rally
01:23 openstackgerrit Merged openstack/rally: Updated from global requirements  https://review.openstack.org/282784
01:23 openstackgerrit Julian Edwards proposed openstack/rally: Make Rally cope with unversioned keystone URL  https://review.openstack.org/282918
01:33 bochi-michael joined #openstack-rally
01:57 akrzos joined #openstack-rally
02:02 akrzos joined #openstack-rally
02:06 Liuqing joined #openstack-rally
02:37 bochi-michael joined #openstack-rally
02:41 openstackgerrit Julian Edwards proposed openstack/rally: Add V3 support for Keystone scenarios  https://review.openstack.org/277225
02:48 ilbot3 joined #openstack-rally
02:48 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:03 openstackgerrit Julian Edwards proposed openstack/rally: Add V3 support for Keystone scenarios  https://review.openstack.org/277225
03:13 akrzos joined #openstack-rally
03:38 openstackgerrit Luz Cazares proposed openstack/rally: Quoting openrc values  https://review.openstack.org/282092
03:48 openstackgerrit Luz Cazares proposed openstack/rally: Documentation tox fix  https://review.openstack.org/282118
03:52 Aish joined #openstack-rally
04:06 openstackgerrit li,chen proposed openstack/rally: Using 'dt' as alias for datetime imports  https://review.openstack.org/269958
04:30 arnoldje joined #openstack-rally
04:42 baker joined #openstack-rally
05:21 rdas joined #openstack-rally
05:44 Liuqing joined #openstack-rally
05:46 baker joined #openstack-rally
06:20 sverma joined #openstack-rally
06:38 Liuqing joined #openstack-rally
06:38 anshul joined #openstack-rally
07:01 neeti joined #openstack-rally
07:18 bkopilov joined #openstack-rally
08:05 pcaruana joined #openstack-rally
08:45 redixin joined #openstack-rally
09:07 openstackgerrit Sergii Turivnyi proposed openstack/rally: Change driver name in ironic scenarios  https://review.openstack.org/274636
09:10 amaretskiy joined #openstack-rally
09:33 yingjun joined #openstack-rally
09:38 mvk joined #openstack-rally
10:01 tosky joined #openstack-rally
10:54 psuriset joined #openstack-rally
11:44 kun_huang joined #openstack-rally
11:45 mgagne joined #openstack-rally
11:50 rvasilets Who wants to review this https://review.openstack.org/#/c/277821/ ?)
11:52 rvasilets Why we need https://review.openstack.org/#/c/269958/5 such a hacking?
12:33 yingjun joined #openstack-rally
12:43 akrzos joined #openstack-rally
12:47 MaxPC joined #openstack-rally
12:58 yingjun joined #openstack-rally
12:58 yfried joined #openstack-rally
13:03 openstackgerrit Merged openstack/rally: Using 'dt' as alias for datetime imports  https://review.openstack.org/269958
13:04 boris-42 rvasilets: I put +1 workflow on first one and second is merged already
13:10 rvasilets great
13:10 openstackgerrit Andrey Kurilin proposed openstack/rally: Proof-of-concept: plugins based on entry-point  https://review.openstack.org/282381
13:10 rvasilets profit from publishing links in irc?)
13:11 psd joined #openstack-rally
13:11 andreykurilin rvasilets: you can ping someone in future:)
13:11 andreykurilin lol
13:11 rvasilets yes I can=)
13:29 tosky joined #openstack-rally
13:31 stpierre joined #openstack-rally
13:33 yingjun joined #openstack-rally
13:39 ekarlso is there any example of using resources from contexts ?
13:43 openstackgerrit Merged openstack/rally: Add ironic to services list  https://review.openstack.org/282456
13:48 stpierre_ joined #openstack-rally
13:54 spyderdyne joined #openstack-rally
13:56 castulo joined #openstack-rally
13:56 openstackgerrit Merged openstack/rally: [Sahara] Fix flavor for cloudera manager  https://review.openstack.org/277821
14:04 andreykurilin rvasilets: it's meeting time
14:05 rvasilets__ joined #openstack-rally
14:05 rvasilets__ o/
14:17 openstackgerrit joined #openstack-rally
14:21 ekarlso rvasilets__: / andreykurilin ?
14:21 andreykurilin ekarlso: hi!
14:21 andreykurilin we have a meeting now at #openstack-meeting
14:25 yingjun joined #openstack-rally
14:29 yingjun joined #openstack-rally
14:37 arnoldje joined #openstack-rally
14:40 tosky joined #openstack-rally
14:56 rvasilets hi
15:04 itsuugo for midonet networking benchmarking we are not installing Cinder, the problem is that we need to suppress the cinder validation in VMtasks.boot_runcommand_delete
15:06 itsuugo what's the best way to automate this? it's Cinder mandatory and we can submit a patch to remove this validation or do we need to add a new plugin i.e VMtasks.boot_runcommand_delete_nocinder?
15:09 ekarlso rvasilets: andreykurilin how do you want me to use that contet thing ?
15:09 ekarlso context..
15:10 rvasilets About what you saying?)
15:10 rvasilets ekarlso, ^
15:11 gubouvier joined #openstack-rally
15:11 ekarlso rvasilets: my designat change https://review.openstack.org/#/c/249314/
15:12 rvasilets Ou yes
15:12 rvasilets I member
15:13 rvasilets Please use zone context before that scenario
15:13 rvasilets and than create and_delete_recordsets in scenario
15:13 rvasilets What is not clear here?
15:13 yfried joined #openstack-rally
15:13 rvasilets ekarlso, ^
15:13 ekarlso just wondering if there's any example of scenario usage :)
15:14 rvasilets scenario usage?)
15:14 rvasilets http://rally.readthedocs.org/en/latest/plugins.html#example-context-as-a-plugin
15:15 rvasilets or https://github.com/openstack/rally/blob/master/rally-jobs/rally-designate.yaml#L170
15:15 rvasilets ekarlso, ^
15:16 ekarlso thnx!
15:17 andreykurilin itsuugo: hi
15:18 andreykurilin itsuugo: the problem is not only in validator. VMtasks.boot_runcommand_delete uses cinder-api as far as I know
15:19 ekarlso rvasilets: but how you use it inside a scenario ?
15:19 ekarlso like how to access the data from ti
15:20 ekarlso nvm
15:20 rvasilets lol but you have added this context))))
15:20 rvasilets And don't know how to use it?)
15:20 rvasilets Okey
15:20 ekarlso rvasilets: I got it now :p
15:20 rvasilets let me explain
15:21 ekarlso ok
15:21 rvasilets Do I need explain?)
15:22 rvasilets ekarlso, or you understand?
15:23 ekarlso ya got it rvasilets :)
15:23 baker joined #openstack-rally
15:23 rvasilets great=)
15:32 ekarlso rvasilets: so for recordset cleanup
15:32 ekarlso it needs the zone id it was created in or so in the arg
15:33 rvasilets Is you question is how to cleanup recordset in the proper way?
15:34 rvasilets All created resources in context should be deleted by context cleanup
15:34 rvasilets ekarlso, ^
15:34 ekarlso then what's your comment about "Okey. I'd prefer to see recordset at resources." ?
15:34 rvasilets or Yes I member
15:35 rvasilets All added resources to rally should be exist there
15:35 rvasilets to enable managing by rally with that resorces. For example in cleanups
15:41 ekarlso rvasilets: is there a way to pass options down to cleanup ?
15:42 rvasilets what is the option?
15:42 ekarlso how many items to do pr page
15:42 rvasilets is it needed on cleanup?
15:42 ekarlso rvasilets: well, if the option for max page size is set then yes..
15:43 rvasilets thinking
15:44 rvasilets You could see such example in nova https://github.com/openstack/rally/blob/master/rally/plugins/openstack/cleanup/resources.py#L68
15:44 rvasilets theirs nova server-list
15:44 rvasilets also have option
15:44 rvasilets max limit
15:45 rvasilets In such a way andreykurilin fixed that
15:46 rvasilets ekarlso, ^
15:47 rvasilets we could write it without passing options
15:47 rvasilets Just remove zones till they could be removed=)
15:48 lutostag joined #openstack-rally
15:49 rvasilets This code could be write by overwriting like in nova
15:52 openstackgerrit Chris St. Pierre proposed openstack/rally: Overhaul SeekAndDestroy._get_cached_client()  https://review.openstack.org/281487
15:53 ekarlso ? rvasilets how could I access info from the resource ? I need to get the zone id when deleting recordsets..
15:54 itsuugo diff --git a/rally/plugins/openstack/scenarios/vm/vmtasks.py b/rally/plugins/openstack/scenarios/vm/vmtasks.py
15:54 itsuugo index 37c1b5c..6abdc25 100644
15:54 itsuugo --- a/rally/plugins/openstack/scenarios/vm/vmtasks.py
15:54 itsuugo +++ b/rally/plugins/openstack/scenarios/vm/vmtasks.py
15:54 itsuugo @@ -46,9 +46,9 @@ class VMTasks(vm_utils.VMScenario):
15:54 itsuugo @validation.number("port", minval=1, maxval=65535, nullable=True,
15:54 itsuugo integer_only=True)
15:54 itsuugo @validation.external_network_exists("floating_network")
15:54 itsuugo -    @validation.required_services(consts.Service.NOVA, consts.Service.CINDER)
15:54 itsuugo +    @validation.required_services(consts.Service.NOVA)
15:54 itsuugo @validation.required_openstack(users=True)
15:54 itsuugo -    @scenario.configure(context={"cleanup": ["nova", "cinder"],
15:54 itsuugo +    @scenario.configure(context={"cleanup": ["nova"],
15:54 itsuugo "keypair": {}, "allow_ssh": {}})
15:54 itsuugo def boot_runcommand_delete(self, image, flavor,
15:54 itsuugo username,
15:54 itsuugo @@ -210,7 +210,7 @@ class VMTasks(vm_utils.VMScenario):
15:54 lcazares joined #openstack-rally
15:54 itsuugo @validation.required_services(consts.Service.NOVA, consts.Service.CINDER)
15:54 itsuugo @validation.required_openstack(users=True)
15:54 itsuugo @validation.required_contexts("image_command_customizer")
15:54 itsuugo -    @scenario.configure(context={"cleanup": ["nova", "cinder"],
15:54 itsuugo +    @scenario.configure(context={"cleanup": ["nova"],
15:54 itsuugo "keypair": {}, "allow_ssh": {}})
15:54 itsuugo def boot_runcommand_delete_custom_image(self, **kwargs):
15:54 itsuugo """Boot a server from a custom image, run a command that outputs JSON.
15:54 itsuugo sorry
15:54 itsuugo I wanted to paste in other windows :(
15:55 rvasilets =))))
15:55 rvasilets ekarlso, self.raw_resource
15:56 rvasilets this is probably you resource
15:56 rvasilets that you currently delete https://github.com/openstack/rally/blob/master/rally/plugins/openstack/cleanup/resources.py#L94
15:56 itsuugo andreykurilin I remove those CINDER mentions and it works fine
15:56 rvasilets for example
15:57 rvasilets or self.id()
15:57 rvasilets ekarlso, ^
15:57 ekarlso rvasilets: uhm, self.raw_resource is None in my code :/
15:57 rvasilets oh
15:58 rvasilets what are you doing?)  share the code from resources.py)
15:58 andreykurilin itsuugo: yeah...we need to change original scenario to require cinder service only if volume_args is specified...
15:59 ekarlso http://pastebin.com/PT4S4vWA < rvasilets
16:00 rvasilets https://github.com/openstack/python-designateclient/blob/master/designateclient/v2/zones.py#L45
16:00 ekarlso 2016-02-22 15:54:43.422 29424 ERROR rally.plugins.openstack.cleanup.manager     self.raw_resource["zone_id"])
16:00 ekarlso 2016-02-22 15:54:43.422 29424 ERROR rally.plugins.openstack.cleanup.manager TypeError: 'NoneType' object has no attribute '__getitem__'
16:00 rvasilets could you just modify list
16:00 rvasilets to deal with list limit
16:00 rvasilets and to iterate through markers
16:00 ekarlso rvasilets: this is not just for zones, but recordsets as well
16:01 ekarlso rvasilets: problem is recordsets.list() requires the zone id it is to list
16:03 lezbar joined #openstack-rally
16:06 boris-42 stpierre: updating the spec
16:06 boris-42 serverascode: will be ready soon
16:21 openstackgerrit Alexander Maretskiy proposed openstack/rally: [Doc] Make documentation for output plugins  https://review.openstack.org/265857
16:37 boris-42 stpierre: https://review.openstack.org/172831
16:59 rvasilets ekarlso, okay
16:59 rvasilets https://github.com/openstack/rally/blob/master/rally/plugins/openstack/cleanup/resources.py#L475
16:59 rvasilets here we could get access to designate client
16:59 rvasilets getattr(self.user, service_name)(version)
17:00 rvasilets and this is designate client
17:00 rvasilets ekarlso, ^
17:01 rvasilets then something like for i in getattr(self.user, service_name)(version).zone.list():
17:01 rvasilets and here we get all zones
17:02 rvasilets So to summarize getattr(self.user, service_name)(version) this is the simple client
17:02 rvasilets in our case designateclient
17:02 rvasilets ekarlso, ^
17:02 openstackgerrit Boris Pavlovic proposed openstack/rally: [spec] Refactoring scenario utils  https://review.openstack.org/172831
17:06 openstackgerrit Roman Vasilets proposed openstack/rally: [WIP] Change structure of rally plugin and plugin references page  https://review.openstack.org/280327
17:15 stpierre_ joined #openstack-rally
17:18 psd boris-42: ping?
17:18 boris-42 psd: pong
17:19 psd boris-42: I was wondering if it would make sense to put up https://review.openstack.org/169432 to the ideas for GSoC this year?
17:19 boris-42 psd: heh I will be very busy this year
17:19 boris-42 psd: maybe you can work with andreykurilin
17:19 boris-42 psd: sorry I really have now 2 projects to lead
17:20 psd boris-42: oh sure! I'll check with andreykurilin
17:25 openstackgerrit Roman Vasilets proposed openstack/rally: [WIP][Spec] Rally Task Validation refactoring  https://review.openstack.org/283180
17:44 openstackgerrit Alexander Maretskiy proposed openstack/rally: [spec] Refactoring scenario utils  https://review.openstack.org/172831
17:47 ekarlso rvasilets: should self.raw_resource be None ?
17:50 Aish joined #openstack-rally
17:55 psuriset joined #openstack-rally
17:56 andreykurilin psd: hi! sorry, today I have no time, let's chat tomorrow:)
17:57 psd andreykurilin: sure! around what time should be good?
18:03 stpierre joined #openstack-rally
18:04 ekarlso boris-42: u around ?
18:11 yfried joined #openstack-rally
18:31 davideagnello joined #openstack-rally
18:42 pvaneck joined #openstack-rally
18:52 openstackgerrit Andreas Jaeger proposed openstack/rally: Update URL in templates  https://review.openstack.org/282646
18:53 Aish joined #openstack-rally
19:09 josdotso joined #openstack-rally
19:18 openstackgerrit Piyush Raman Srivastava proposed openstack/rally: Add support for nova service-list  https://review.openstack.org/282030
19:19 arnoldje joined #openstack-rally
19:29 mvk joined #openstack-rally
19:31 openstackgerrit Piyush Raman Srivastava proposed openstack/rally: Expand Nova API benchmark in Rally  https://review.openstack.org/280556
19:35 openstackgerrit Chris St. Pierre proposed openstack/rally: Add name() to ResourceManager  https://review.openstack.org/272638
19:50 e0ne joined #openstack-rally
20:14 baker joined #openstack-rally
20:22 itsuugo joined #openstack-rally
20:22 ekarlso joined #openstack-rally
20:22 amakarov_away joined #openstack-rally
20:23 ekarlso andreykurilin: rvasilets boris-42 what's wrong when self.raw_resource is None ?
20:33 _hanhart joined #openstack-rally
20:42 arnoldje joined #openstack-rally
20:47 openstackgerrit joined #openstack-rally
20:48 openstackgerrit Merged openstack/rally: Quoting openrc values  https://review.openstack.org/282092
21:20 oanufrie joined #openstack-rally
21:33 arnoldje joined #openstack-rally
22:05 openstackgerrit Yaroslav Lobankov proposed openstack/rally: [Verify] Adding 'deprecate' warning to `rally verify start`  https://review.openstack.org/283279
22:14 openstackgerrit Chris St. Pierre proposed openstack/rally: Add name() to ResourceManager  https://review.openstack.org/272638
23:41 openstackgerrit Srinivas Sakhamuri proposed openstack/rally: Make sure VolumeGenerator uses the api version info  while cleanup  https://review.openstack.org/283306

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