Monday, 2016-02-22

*** boris-42 has joined #openstack-rally00:04
*** yingjun has joined #openstack-rally00:38
*** akrzos has joined #openstack-rally00:47
*** chenli has joined #openstack-rally00:55
*** akrzos has quit IRC01:00
openstackgerritMerged openstack/rally: Updated from global requirements  https://review.openstack.org/28278401:23
openstackgerritJulian Edwards proposed openstack/rally: Make Rally cope with unversioned keystone URL  https://review.openstack.org/28291801:23
*** bochi-michael has joined #openstack-rally01:33
*** akrzos has joined #openstack-rally01:57
*** akrzos has quit IRC02:02
*** akrzos has joined #openstack-rally02:02
*** Liuqing has joined #openstack-rally02:06
*** akrzos has quit IRC02:17
*** bochi-michael has quit IRC02:37
*** bochi-michael has joined #openstack-rally02:38
openstackgerritJulian Edwards proposed openstack/rally: Add V3 support for Keystone scenarios  https://review.openstack.org/27722502:41
*** ilbot3 has quit IRC02:46
*** ilbot3 has joined #openstack-rally02:48
*** bochi-michael has quit IRC02:59
openstackgerritJulian Edwards proposed openstack/rally: Add V3 support for Keystone scenarios  https://review.openstack.org/27722503:03
*** akrzos has joined #openstack-rally03:13
*** akrzos has quit IRC03:18
openstackgerritLuz Cazares proposed openstack/rally: Quoting openrc values  https://review.openstack.org/28209203:38
openstackgerritLuz Cazares proposed openstack/rally: Documentation tox fix  https://review.openstack.org/28211803:48
*** Aish has joined #openstack-rally03:52
*** Aish has quit IRC03:52
*** Liuqing has quit IRC04:03
openstackgerritli,chen proposed openstack/rally: Using 'dt' as alias for datetime imports  https://review.openstack.org/26995804:06
*** arnoldje has joined #openstack-rally04:30
*** baker has joined #openstack-rally04:42
*** baker has quit IRC04:55
*** rdas has joined #openstack-rally05:21
*** Liuqing has joined #openstack-rally05:44
*** baker has joined #openstack-rally05:46
*** baker has quit IRC05:50
*** arnoldje has quit IRC05:58
*** Liuqing has quit IRC05:59
*** sverma has joined #openstack-rally06:20
*** Liuqing has joined #openstack-rally06:38
*** anshul has joined #openstack-rally06:38
*** Liuqing has quit IRC06:45
*** neeti has joined #openstack-rally07:01
*** bkopilov has quit IRC07:05
*** bkopilov has joined #openstack-rally07:18
*** pcaruana has joined #openstack-rally08:05
*** redixin has joined #openstack-rally08:45
openstackgerritSergii Turivnyi proposed openstack/rally: Change driver name in ironic scenarios  https://review.openstack.org/27463609:07
*** amaretskiy has joined #openstack-rally09:10
*** yingjun has quit IRC09:33
*** yingjun has joined #openstack-rally09:33
*** yingjun has quit IRC09:38
*** mvk has joined #openstack-rally09:38
*** tosky has joined #openstack-rally10:01
*** chenli has quit IRC10:27
*** psuriset has joined #openstack-rally10:54
*** mgagne has quit IRC11:39
*** psd has quit IRC11:39
*** castulo has quit IRC11:40
*** kun_huang has quit IRC11:40
*** kun_huang has joined #openstack-rally11:44
*** mgagne has joined #openstack-rally11:45
*** mgagne is now known as Guest5143511:46
rvasiletsWho wants to review this https://review.openstack.org/#/c/277821/ ?)11:50
rvasiletsWhy we need https://review.openstack.org/#/c/269958/5 such a hacking?11:52
*** lutostag has quit IRC12:11
*** yingjun has joined #openstack-rally12:33
*** akrzos has joined #openstack-rally12:43
*** MaxPC has joined #openstack-rally12:47
*** rdas has quit IRC12:56
*** yingjun has quit IRC12:58
*** yingjun has joined #openstack-rally12:58
*** yfried has joined #openstack-rally12:58
*** neeti has quit IRC13:01
*** yingjun has quit IRC13:02
openstackgerritMerged openstack/rally: Using 'dt' as alias for datetime imports  https://review.openstack.org/26995813:03
boris-42rvasilets: I put +1 workflow on first one and second is merged already13:04
rvasiletsgreat13:10
openstackgerritAndrey Kurilin proposed openstack/rally: Proof-of-concept: plugins based on entry-point  https://review.openstack.org/28238113:10
rvasiletsprofit from publishing links in irc?)13:10
*** psd has joined #openstack-rally13:11
andreykurilinrvasilets: you can ping someone in future:)13:11
andreykurilinlol13:11
rvasiletsyes I can=)13:11
*** tosky has quit IRC13:21
*** tosky has joined #openstack-rally13:29
*** stpierre has joined #openstack-rally13:31
*** yingjun has joined #openstack-rally13:33
ekarlsois there any example of using resources from contexts ?13:39
openstackgerritMerged openstack/rally: Add ironic to services list  https://review.openstack.org/28245613:43
*** stpierre_ has joined #openstack-rally13:48
*** yfried has quit IRC13:51
*** stpierre has quit IRC13:52
*** spyderdyne has joined #openstack-rally13:54
*** yingjun has quit IRC13:56
*** castulo has joined #openstack-rally13:56
openstackgerritMerged openstack/rally: [Sahara] Fix flavor for cloudera manager  https://review.openstack.org/27782113:56
*** stpierre_ is now known as stpierre13:59
andreykurilinrvasilets: it's meeting time14:04
*** rvasilets__ has joined #openstack-rally14:05
rvasilets__o/14:05
*** openstackgerrit has quit IRC14:17
*** openstackgerrit has joined #openstack-rally14:17
ekarlsorvasilets__: / andreykurilin ?14:21
andreykurilinekarlso: hi!14:21
*** rvasilets__ has quit IRC14:21
andreykurilinwe have a meeting now at #openstack-meeting14:21
*** yingjun has joined #openstack-rally14:25
*** yingjun has quit IRC14:29
*** yingjun has joined #openstack-rally14:29
*** yingjun has quit IRC14:34
*** arnoldje has joined #openstack-rally14:37
*** tosky has quit IRC14:38
*** tosky has joined #openstack-rally14:40
rvasiletshi14:56
itsuugofor midonet networking benchmarking we are not installing Cinder, the problem is that we need to suppress the cinder validation in VMtasks.boot_runcommand_delete15:04
itsuugowhat'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:06
ekarlsorvasilets: andreykurilin how do you want me to use that contet thing ?15:09
ekarlsocontext..15:09
rvasiletsAbout what you saying?)15:10
rvasiletsekarlso, ^15:10
*** gubouvier has joined #openstack-rally15:11
ekarlsorvasilets: my designat change https://review.openstack.org/#/c/249314/15:11
rvasiletsOu yes15:12
rvasiletsI member15:12
rvasiletsPlease use zone context before that scenario15:13
rvasiletsand than create and_delete_recordsets in scenario15:13
rvasiletsWhat is not clear here?15:13
*** yfried has joined #openstack-rally15:13
rvasiletsekarlso, ^15:13
ekarlsojust wondering if there's any example of scenario usage :)15:13
rvasiletsscenario usage?)15:14
rvasiletshttp://rally.readthedocs.org/en/latest/plugins.html#example-context-as-a-plugin15:14
rvasiletsor https://github.com/openstack/rally/blob/master/rally-jobs/rally-designate.yaml#L17015:15
rvasiletsekarlso, ^15:15
ekarlsothnx!15:16
andreykurilinitsuugo: hi15:17
andreykurilinitsuugo: the problem is not only in validator. VMtasks.boot_runcommand_delete uses cinder-api as far as I know15:18
ekarlsorvasilets: but how you use it inside a scenario ?15:19
ekarlsolike how to access the data from ti15:19
ekarlsonvm15:20
rvasiletslol but you have added this context))))15:20
rvasiletsAnd don't know how to use it?)15:20
rvasiletsOkey15:20
ekarlsorvasilets: I got it now :p15:20
rvasiletslet me explain15:20
ekarlsook15:21
rvasiletsDo I need explain?)15:21
rvasiletsekarlso, or you understand?15:22
ekarlsoya got it rvasilets :)15:23
*** baker has joined #openstack-rally15:23
rvasiletsgreat=)15:23
ekarlsorvasilets: so for recordset cleanup15:32
ekarlsoit needs the zone id it was created in or so in the arg15:32
rvasiletsIs you question is how to cleanup recordset in the proper way?15:33
rvasiletsAll created resources in context should be deleted by context cleanup15:34
rvasiletsekarlso, ^15:34
ekarlsothen what's your comment about "Okey. I'd prefer to see recordset at resources." ?15:34
rvasiletsor Yes I member15:34
rvasiletsAll added resources to rally should be exist there15:35
rvasiletsto enable managing by rally with that resorces. For example in cleanups15:35
ekarlsorvasilets: is there a way to pass options down to cleanup ?15:41
rvasiletswhat is the option?15:42
ekarlsohow many items to do pr page15:42
rvasiletsis it needed on cleanup?15:42
ekarlsorvasilets: well, if the option for max page size is set then yes..15:42
rvasiletsthinking15:43
rvasiletsYou could see such example in nova https://github.com/openstack/rally/blob/master/rally/plugins/openstack/cleanup/resources.py#L6815:44
rvasiletstheirs nova server-list15:44
rvasiletsalso have option15:44
rvasiletsmax limit15:44
rvasiletsIn such a way andreykurilin fixed that15:45
rvasiletsekarlso, ^15:46
rvasiletswe could write it without passing options15:47
rvasiletsJust remove zones till they could be removed=)15:47
*** lutostag has joined #openstack-rally15:48
rvasiletsThis code could be write by overwriting like in nova15:49
openstackgerritChris St. Pierre proposed openstack/rally: Overhaul SeekAndDestroy._get_cached_client()  https://review.openstack.org/28148715:52
ekarlso? rvasilets how could I access info from the resource ? I need to get the zone id when deleting recordsets..15:53
itsuugodiff --git a/rally/plugins/openstack/scenarios/vm/vmtasks.py b/rally/plugins/openstack/scenarios/vm/vmtasks.py15:54
itsuugoindex 37c1b5c..6abdc25 10064415:54
itsuugo--- a/rally/plugins/openstack/scenarios/vm/vmtasks.py15:54
itsuugo+++ b/rally/plugins/openstack/scenarios/vm/vmtasks.py15: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 has joined #openstack-rally15: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
itsuugosorry15:54
itsuugoI wanted to paste in other windows :(15:54
rvasilets=))))15:55
rvasiletsekarlso, self.raw_resource15:55
rvasiletsthis is probably you resource15:56
rvasiletsthat you currently delete https://github.com/openstack/rally/blob/master/rally/plugins/openstack/cleanup/resources.py#L9415:56
itsuugoandreykurilin I remove those CINDER mentions and it works fine15:56
rvasiletsfor example15:56
rvasiletsor self.id()15:57
rvasiletsekarlso, ^15:57
ekarlsorvasilets: uhm, self.raw_resource is None in my code :/15:57
rvasiletsoh15:57
rvasiletswhat are you doing?)  share the code from resources.py)15:58
andreykurilinitsuugo: yeah...we need to change original scenario to require cinder service only if volume_args is specified...15:58
ekarlsohttp://pastebin.com/PT4S4vWA < rvasilets15:59
rvasiletshttps://github.com/openstack/python-designateclient/blob/master/designateclient/v2/zones.py#L4516:00
ekarlso2016-02-22 15:54:43.422 29424 ERROR rally.plugins.openstack.cleanup.manager     self.raw_resource["zone_id"])16:00
ekarlso2016-02-22 15:54:43.422 29424 ERROR rally.plugins.openstack.cleanup.manager TypeError: 'NoneType' object has no attribute '__getitem__'16:00
rvasiletscould you just modify list16:00
rvasiletsto deal with list limit16:00
rvasiletsand to iterate through markers16:00
ekarlsorvasilets: this is not just for zones, but recordsets as well16:00
ekarlsorvasilets: problem is recordsets.list() requires the zone id it is to list16:01
*** lezbar has joined #openstack-rally16:03
boris-42stpierre: updating the spec16:06
boris-42serverascode: will be ready soon16:06
*** baker has quit IRC16:08
*** anshul has quit IRC16:10
openstackgerritAlexander Maretskiy proposed openstack/rally: [Doc] Make documentation for output plugins  https://review.openstack.org/26585716:21
*** mvk has quit IRC16:22
*** pcaruana has quit IRC16:27
boris-42stpierre: https://review.openstack.org/17283116:37
*** psuriset has quit IRC16:43
rvasiletsekarlso, okay16:59
rvasiletshttps://github.com/openstack/rally/blob/master/rally/plugins/openstack/cleanup/resources.py#L47516:59
rvasiletshere we could get access to designate client16:59
rvasiletsgetattr(self.user, service_name)(version)16:59
rvasiletsand this is designate client17:00
rvasiletsekarlso, ^17:00
rvasiletsthen something like for i in getattr(self.user, service_name)(version).zone.list():17:01
rvasiletsand here we get all zones17:01
rvasiletsSo to summarize getattr(self.user, service_name)(version) this is the simple client17:02
rvasiletsin our case designateclient17:02
rvasiletsekarlso, ^17:02
openstackgerritBoris Pavlovic proposed openstack/rally: [spec] Refactoring scenario utils  https://review.openstack.org/17283117:02
openstackgerritRoman Vasilets proposed openstack/rally: [WIP] Change structure of rally plugin and plugin references page  https://review.openstack.org/28032717:06
*** stpierre_ has joined #openstack-rally17:15
*** stpierre has quit IRC17:16
psdboris-42: ping?17:18
boris-42psd: pong17:18
psdboris-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-42psd: heh I will be very busy this year17:19
boris-42psd: maybe you can work with andreykurilin17:19
boris-42psd: sorry I really have now 2 projects to lead17:19
psdboris-42: oh sure! I'll check with andreykurilin17:20
openstackgerritRoman Vasilets proposed openstack/rally: [WIP][Spec] Rally Task Validation refactoring  https://review.openstack.org/28318017:25
*** stpierre_ is now known as stpierre17:42
openstackgerritAlexander Maretskiy proposed openstack/rally: [spec] Refactoring scenario utils  https://review.openstack.org/17283117:44
ekarlsorvasilets: should self.raw_resource be None ?17:47
*** Aish has joined #openstack-rally17:50
*** amaretskiy has quit IRC17:51
*** psuriset has joined #openstack-rally17:55
*** stpierre has quit IRC17:55
andreykurilinpsd: hi! sorry, today I have no time, let's chat tomorrow:)17:56
psdandreykurilin: sure! around what time should be good?17:57
*** stpierre has joined #openstack-rally18:03
ekarlsoboris-42: u around ?18:04
*** yfried has quit IRC18:05
*** yfried has joined #openstack-rally18:11
*** davideagnello has joined #openstack-rally18:31
*** Aish has quit IRC18:41
*** pvaneck has joined #openstack-rally18:42
openstackgerritAndreas Jaeger proposed openstack/rally: Update URL in templates  https://review.openstack.org/28264618:52
*** tosky has quit IRC18:53
*** Aish has joined #openstack-rally18:53
*** arnoldje has quit IRC19:02
*** josdotso has joined #openstack-rally19:09
openstackgerritPiyush Raman Srivastava proposed openstack/rally: Add support for nova service-list  https://review.openstack.org/28203019:18
*** arnoldje has joined #openstack-rally19:19
*** mvk has joined #openstack-rally19:29
openstackgerritPiyush Raman Srivastava proposed openstack/rally: Expand Nova API benchmark in Rally  https://review.openstack.org/28055619:31
openstackgerritChris St. Pierre proposed openstack/rally: Add name() to ResourceManager  https://review.openstack.org/27263819:35
*** e0ne has joined #openstack-rally19:50
*** arnoldje has quit IRC20:07
*** baker has joined #openstack-rally20:14
*** e0ne has quit IRC20:16
*** itsuugo has quit IRC20:20
*** _hanhart has quit IRC20:20
*** ekarlso has quit IRC20:20
*** amakarov_away has quit IRC20:20
*** itsuugo has joined #openstack-rally20:22
*** ekarlso has joined #openstack-rally20:22
*** amakarov_away has joined #openstack-rally20:22
ekarlsoandreykurilin: rvasilets boris-42 what's wrong when self.raw_resource is None ?20:23
*** _hanhart has joined #openstack-rally20:33
*** arnoldje has joined #openstack-rally20:42
*** openstackgerrit has quit IRC20:47
*** openstackgerrit has joined #openstack-rally20:47
openstackgerritMerged openstack/rally: Quoting openrc values  https://review.openstack.org/28209220:48
*** arnoldje has quit IRC21:11
*** MaxPC has quit IRC21:14
*** oanufrie has joined #openstack-rally21:20
*** arnoldje has joined #openstack-rally21:33
openstackgerritYaroslav Lobankov proposed openstack/rally: [Verify] Adding 'deprecate' warning to `rally verify start`  https://review.openstack.org/28327922:05
openstackgerritChris St. Pierre proposed openstack/rally: Add name() to ResourceManager  https://review.openstack.org/27263822:14
*** spyderdyne has quit IRC22:44
*** oanufrie has quit IRC22:46
*** arnoldje has quit IRC23:04
*** baker has quit IRC23:23
openstackgerritSrinivas Sakhamuri proposed openstack/rally: Make sure VolumeGenerator uses the api version info  while cleanup  https://review.openstack.org/28330623:41

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