*** andreww has quit IRC | 00:15 | |
*** yingjun has joined #openstack-rally | 00:20 | |
*** dave-mccowan has joined #openstack-rally | 00:57 | |
*** psuriset has joined #openstack-rally | 01:08 | |
*** jrcloud has quit IRC | 01:17 | |
*** MasterOfBugs has quit IRC | 01:18 | |
*** dave-mccowan has quit IRC | 01:23 | |
*** yanyanhu has joined #openstack-rally | 01:23 | |
*** zackf has joined #openstack-rally | 01:25 | |
*** zackf has quit IRC | 01:30 | |
*** dave-mccowan has joined #openstack-rally | 01:57 | |
*** psuriset has quit IRC | 02:02 | |
*** zackf has joined #openstack-rally | 02:05 | |
*** zackf has quit IRC | 02:09 | |
openstackgerrit | Zhang proposed openstack/rally master: [Fix] Add __eq__ in IronicNodes https://review.openstack.org/434585 | 02:31 |
---|---|---|
rallydev-bot | [From Gitter] shihai1991 : @andreykurilin ok, I can review this patch. | 02:47 |
openstackgerrit | Cao Xuan Hoang proposed openstack/rally master: Remove logging import unused https://review.openstack.org/434603 | 03:16 |
*** psuriset has joined #openstack-rally | 03:26 | |
*** yamamoto has joined #openstack-rally | 04:10 | |
*** orionx has joined #openstack-rally | 04:17 | |
*** dave-mccowan has quit IRC | 04:19 | |
*** orionx has quit IRC | 04:24 | |
*** dileepr has quit IRC | 04:49 | |
*** lutostag has quit IRC | 04:57 | |
*** lutostag has joined #openstack-rally | 04:58 | |
*** shausy has joined #openstack-rally | 05:09 | |
*** yingjun has quit IRC | 05:46 | |
*** psuriset has quit IRC | 06:04 | |
*** zackf has joined #openstack-rally | 06:07 | |
*** zackf has quit IRC | 06:12 | |
*** psuriset has joined #openstack-rally | 06:21 | |
*** arslanq has quit IRC | 06:44 | |
*** e0ne has joined #openstack-rally | 06:46 | |
*** psuriset has quit IRC | 06:50 | |
*** rcernin has joined #openstack-rally | 07:03 | |
*** psuriset has joined #openstack-rally | 07:06 | |
*** zackf has joined #openstack-rally | 07:08 | |
*** tesseract has joined #openstack-rally | 07:13 | |
*** zackf has quit IRC | 07:13 | |
rallydev-bot | [From Gitter] andreykurilin : dileepr: hi | 07:23 |
*** e0ne has quit IRC | 07:24 | |
*** yamamoto has quit IRC | 07:27 | |
rallydev-bot | [From Gitter] andreykurilin : dileepr: ok, I found a root of that issue | 07:29 |
rallydev-bot | [From Gitter] andreykurilin : dileepr: you should fix L53 of the script | 07:31 |
rallydev-bot | [From Gitter] andreykurilin : like here http://xsnippet.org/362293/ | 07:31 |
*** yingjun has joined #openstack-rally | 07:32 | |
*** gus_ is now known as gus | 07:32 | |
*** yingjun has quit IRC | 07:47 | |
*** yingjun has joined #openstack-rally | 07:47 | |
*** yingjun has quit IRC | 07:59 | |
*** yamamoto has joined #openstack-rally | 08:03 | |
openstackgerrit | Anton Studenov proposed openstack/rally master: [CI] fix image regexp and version https://review.openstack.org/434710 | 08:05 |
*** yuli_s has quit IRC | 08:12 | |
*** pcaruana has joined #openstack-rally | 08:14 | |
*** oanufrii has quit IRC | 08:18 | |
*** oanufrii has joined #openstack-rally | 08:19 | |
*** pcaruana has quit IRC | 08:20 | |
*** pcaruana has joined #openstack-rally | 08:22 | |
*** Serlex has joined #openstack-rally | 08:29 | |
*** yamamoto has quit IRC | 08:32 | |
*** yamamoto has joined #openstack-rally | 08:33 | |
*** yamamoto has quit IRC | 08:37 | |
openstackgerrit | Anton Studenov proposed openstack/rally master: [CI] fix image regexp and version https://review.openstack.org/434710 | 08:41 |
*** aarefiev_afk is now known as aarefiev | 09:09 | |
*** yamamoto has joined #openstack-rally | 09:17 | |
*** yamamoto has quit IRC | 09:19 | |
*** yamamoto has joined #openstack-rally | 09:20 | |
*** yamamoto has quit IRC | 09:25 | |
*** openstackgerrit has quit IRC | 09:32 | |
*** ushkalim_ has joined #openstack-rally | 09:50 | |
*** ushkalim has joined #openstack-rally | 09:50 | |
*** e0ne has joined #openstack-rally | 09:56 | |
*** mvk has quit IRC | 10:17 | |
*** openstackgerrit has joined #openstack-rally | 10:20 | |
openstackgerrit | Staroverov Anton proposed openstack/rally master: [WIP] Make return data of Verify/Verification API serializable https://review.openstack.org/430855 | 10:20 |
openstackgerrit | Anton Studenov proposed openstack/rally master: [CI] fix image regexp and version https://review.openstack.org/434710 | 10:20 |
*** yamamoto has joined #openstack-rally | 10:22 | |
openstackgerrit | Anton Studenov proposed openstack/rally master: [CI] fix image regexp and version https://review.openstack.org/434710 | 10:31 |
*** tosky has joined #openstack-rally | 10:33 | |
*** yamamoto has quit IRC | 10:40 | |
*** alexchadin has joined #openstack-rally | 10:51 | |
*** mvk has joined #openstack-rally | 10:52 | |
*** yanyanhu has quit IRC | 10:55 | |
*** alexchadin has quit IRC | 11:13 | |
*** alexchadin has joined #openstack-rally | 11:16 | |
*** psuriset has quit IRC | 11:17 | |
*** alexchadin has quit IRC | 11:24 | |
*** alexchadin has joined #openstack-rally | 11:26 | |
openstackgerrit | Anton Studenov proposed openstack/rally master: [CI] Fix image regexp and version https://review.openstack.org/434710 | 11:29 |
*** abalutoiu has joined #openstack-rally | 11:30 | |
*** yamamoto has joined #openstack-rally | 11:38 | |
*** jkilpatr_ has quit IRC | 11:39 | |
*** yamamoto has quit IRC | 11:47 | |
*** psuriset has joined #openstack-rally | 11:47 | |
*** alexchadin has quit IRC | 11:50 | |
*** alexchadin has joined #openstack-rally | 11:50 | |
*** jkilpatr has joined #openstack-rally | 12:00 | |
*** dave-mccowan has joined #openstack-rally | 12:05 | |
*** Anticime1 is now known as Anticimex | 12:07 | |
openstackgerrit | chenhb proposed openstack/rally master: Port CinderWrapper to service modules https://review.openstack.org/424970 | 12:09 |
openstackgerrit | chenhb proposed openstack/rally master: [WIP]Switch cinder scenarios to cinder service https://review.openstack.org/429175 | 12:09 |
rallydev-bot | [From Gitter] abhi6254 : @andreykurilin : Hey hi | 12:12 |
rallydev-bot | [From Gitter] abhi6254 : I tried vmtask.py thing | 12:13 |
*** psuriset has quit IRC | 12:13 | |
rallydev-bot | [From Gitter] abhi6254 : I passed security_groups : "default" in scenario and delete the allow_ssh thing from vmtask.py | 12:14 |
rallydev-bot | [From Gitter] abhi6254 : | 12:14 |
rallydev-bot | [From Gitter] abhi6254 : but its not working | 12:14 |
*** catintheroof has joined #openstack-rally | 12:14 | |
rallydev-bot | [From Gitter] abhi6254 : https://github.com/openstack/rally/blob/master/rally/plugins/openstack/scenarios/vm/vmtasks.py#L47-L58 | 12:15 |
rallydev-bot | [From Gitter] abhi6254 : I think we have to pass one more argument in run function as security_groups : "default" | 12:16 |
*** alexchadin has quit IRC | 12:18 | |
*** yamamoto has joined #openstack-rally | 12:25 | |
*** stpierre has joined #openstack-rally | 13:08 | |
*** dave-mccowan has quit IRC | 13:19 | |
*** catintheroof has quit IRC | 13:20 | |
rallydev-bot | [From Gitter] andreykurilin : @abhi6254 hi! VMTask scenario accepts `kwargs` which are used while booting VM. There should be arguments in the format that novaclient expects to see. I can assume that novaclient accepts a list of security groups, so you need to transmit it like `security_groups : ["default"]` | 13:30 |
rallydev-bot | [From Gitter] abhi6254 : ok | 13:30 |
*** Serlex has quit IRC | 13:36 | |
*** e0ne has quit IRC | 13:41 | |
*** e0ne has joined #openstack-rally | 13:42 | |
*** yamamoto has quit IRC | 13:43 | |
*** yamamoto has joined #openstack-rally | 13:49 | |
*** tosky has quit IRC | 13:52 | |
openstackgerrit | Yaroslav Lobankov proposed openstack/rally master: [Verify] Fix issue with verifier versions https://review.openstack.org/430360 | 13:53 |
*** yamamoto has quit IRC | 13:53 | |
*** e0ne has quit IRC | 13:56 | |
*** psuriset has joined #openstack-rally | 14:04 | |
*** sskripnick has joined #openstack-rally | 14:10 | |
*** yingjun has joined #openstack-rally | 14:14 | |
openstackgerrit | Merged openstack/rally master: [CI] Fix image regexp and version https://review.openstack.org/434710 | 14:21 |
*** Serlex has joined #openstack-rally | 14:33 | |
openstackgerrit | Hai Shi proposed openstack/rally master: [Service] Port all glance scenarios to Image Service https://review.openstack.org/415740 | 14:38 |
*** mkoderer has joined #openstack-rally | 14:45 | |
*** tosky has joined #openstack-rally | 14:47 | |
*** yamamoto has joined #openstack-rally | 14:50 | |
*** dave-mccowan has joined #openstack-rally | 14:54 | |
*** shausy has quit IRC | 14:57 | |
*** yamamoto has quit IRC | 14:57 | |
rallydev-bot | [From Gitter] abhi6254 : @andreykurilin : I delete the allow_ssh in vmtask.py | 15:02 |
openstackgerrit | sudhir agarwal proposed openstack/rally master: remove utf-8 encoding https://review.openstack.org/434957 | 15:02 |
rallydev-bot | [From Gitter] abhi6254 : https://github.com/openstack/rally/blob/master/rally/plugins/openstack/scenarios/vm/vmtasks.py#L48-L50 | 15:03 |
rallydev-bot | [From Gitter] abhi6254 : Still it creating security and not using default security which is pass in scenario | 15:03 |
rallydev-bot | [From Gitter] abhi6254 : [edit] Still it creating security group and not using default security which is pass in scenario | 15:05 |
rallydev-bot | [From Gitter] andreykurilin : @abhi6254 are you sure that you modified the code in right place? if rally is already installed, it's code is locate in `/usr/bin/...` dir | 15:05 |
rallydev-bot | [From Gitter] abhi6254 : [edit] Still it creating security group and not using default security group which is pass in scenario | 15:05 |
rallydev-bot | [From Gitter] abhi6254 : yes, I modified at write location | 15:06 |
rallydev-bot | [From Gitter] andreykurilin : strange | 15:06 |
rallydev-bot | [From Gitter] abhi6254 : at location `rally/plugins/openstack/scenarios/vm` | 15:07 |
rallydev-bot | [From Gitter] andreykurilin : but without "allow_ssh" thing, nobody should create security groups | 15:07 |
rallydev-bot | [From Gitter] abhi6254 : i think may be issue due to .pyc file | 15:08 |
*** jkilpatr has quit IRC | 15:09 | |
rallydev-bot | [From Gitter] abhi6254 : i changed like: | 15:09 |
*** jkilpatr has joined #openstack-rally | 15:09 | |
rallydev-bot | [From Gitter] abhi6254 : @scenario.configure(context={"cleanup": ["nova", "cinder"], | 15:09 |
rallydev-bot | [From Gitter] abhi6254 : "keypair": {}}, | 15:09 |
rallydev-bot | [From Gitter] abhi6254 : name="VMTasks.boot_runcommand_delete") | 15:09 |
rallydev-bot | [From Gitter] abhi6254 : | 15:09 |
rallydev-bot | [From Gitter] andreykurilin : yes, it looks fine | 15:09 |
rallydev-bot | [From Gitter] abhi6254 : should i delete port=22 argument from run cfunction? | 15:10 |
rallydev-bot | [From Gitter] abhi6254 : [edit] should i delete port=22 argument from run function? | 15:10 |
rallydev-bot | [From Gitter] andreykurilin : no | 15:10 |
rallydev-bot | [From Gitter] abhi6254 : class BootRuncommandDelete(vm_utils.VMScenario): | 15:10 |
rallydev-bot | [From Gitter] abhi6254 : | 15:10 |
rallydev-bot | [From Gitter] abhi6254 : def run(self, image, flavor, username, password=None, command=None, | 15:10 |
rallydev-bot | [From Gitter] abhi6254 : volume_args=None, floating_network=None, port=22, | 15:10 |
rallydev-bot | [From Gitter] abhi6254 : use_floating_ip=True, force_delete=False, wait_for_ping=True, | 15:10 |
rallydev-bot | [From Gitter] abhi6254 : max_log_length=None, **kwargs): | 15:10 |
rallydev-bot | [From Gitter] abhi6254 : | 15:10 |
rallydev-bot | [From Gitter] andreykurilin : it is a port that should be used for ssh | 15:10 |
rallydev-bot | [From Gitter] abhi6254 : yes | 15:10 |
rallydev-bot | [From Gitter] abhi6254 : Then why its not working? :( | 15:11 |
rallydev-bot | [From Gitter] andreykurilin : please, put some `raise Exception()`to the code of scenario to ensure that the right place is executed. Maybe you have several places with installed rally | 15:12 |
*** sskripnick has left #openstack-rally | 15:13 | |
openstackgerrit | Anton Studenov proposed openstack/rally master: [CI] Increase SLA values to improve stability of CI https://review.openstack.org/421853 | 15:20 |
*** yingjun has quit IRC | 15:30 | |
*** zackf has joined #openstack-rally | 15:32 | |
openstackgerrit | Anton Studenov proposed openstack/rally master: [validation] validate scenario default_context https://review.openstack.org/433625 | 15:33 |
*** e0ne has joined #openstack-rally | 15:44 | |
*** xarses_ has joined #openstack-rally | 15:59 | |
*** andreww has joined #openstack-rally | 16:02 | |
*** mvk has quit IRC | 16:03 | |
*** rcernin has quit IRC | 16:03 | |
*** xarses_ has quit IRC | 16:03 | |
*** orionx has joined #openstack-rally | 16:09 | |
*** pcaruana has quit IRC | 16:11 | |
*** tesseract has quit IRC | 16:14 | |
*** orionx_ has joined #openstack-rally | 16:14 | |
*** orionx has quit IRC | 16:15 | |
openstackgerrit | Hai Shi proposed openstack/rally master: [Service] Port all glance scenarios to Image Service https://review.openstack.org/415740 | 16:15 |
*** beslemon has joined #openstack-rally | 16:16 | |
*** zackf has quit IRC | 16:20 | |
*** zackf has joined #openstack-rally | 16:20 | |
*** zackf has quit IRC | 16:28 | |
*** orionx_ has quit IRC | 16:29 | |
*** orionx has joined #openstack-rally | 16:29 | |
*** abehl has joined #openstack-rally | 16:44 | |
*** beslemon_ has joined #openstack-rally | 16:47 | |
*** beslemon has quit IRC | 16:50 | |
*** e0ne has quit IRC | 17:22 | |
*** zackf has joined #openstack-rally | 17:26 | |
*** ushkalim_ has quit IRC | 17:46 | |
*** ushkalim has quit IRC | 17:46 | |
openstackgerrit | Merged openstack/rally master: Improve Task status list https://review.openstack.org/309883 | 17:47 |
openstackgerrit | Hai Shi proposed openstack/rally master: [API] Make return data of Task API serializable https://review.openstack.org/431624 | 17:52 |
*** mvk has joined #openstack-rally | 18:02 | |
*** beslemon_ is now known as beslemon | 18:21 | |
*** jkilpatr has quit IRC | 18:22 | |
*** jkilpatr has joined #openstack-rally | 18:22 | |
openstackgerrit | Merged openstack/rally master: Fix used jsonschemas https://review.openstack.org/431043 | 18:24 |
openstackgerrit | Anton Studenov proposed openstack/rally master: [CI] Increase SLA values to improve stability of CI https://review.openstack.org/421853 | 18:28 |
*** Serlex has quit IRC | 18:39 | |
*** tosky has quit IRC | 18:46 | |
*** e0ne has joined #openstack-rally | 18:54 | |
*** adiantum has joined #openstack-rally | 19:12 | |
*** e0ne has quit IRC | 19:32 | |
*** jkilpatr has quit IRC | 19:42 | |
*** jkilpatr has joined #openstack-rally | 19:42 | |
*** jkilpatr has quit IRC | 19:46 | |
*** jkilpatr has joined #openstack-rally | 19:46 | |
*** mkoderer has quit IRC | 19:57 | |
*** adiantum has quit IRC | 20:06 | |
*** alexpilotti has joined #openstack-rally | 20:18 | |
*** alexpilo_ has quit IRC | 20:19 | |
*** yamamoto has joined #openstack-rally | 21:17 | |
*** yamamoto has quit IRC | 21:19 | |
*** dave-mccowan has quit IRC | 21:21 | |
*** MasterOfBugs has joined #openstack-rally | 21:33 | |
*** jkilpatr has quit IRC | 21:34 | |
*** beslemon has quit IRC | 21:38 | |
*** beslemon has joined #openstack-rally | 21:53 | |
*** dileepr has joined #openstack-rally | 21:59 | |
*** jkilpatr has joined #openstack-rally | 22:11 | |
dileepr | andreykurilin: Hi.. | 22:12 |
rallydev-bot | [From Gitter] andreykurilin : dileepr: hi | 22:12 |
dileepr | andreykurilin: I was able to restore it to previous state and then run the clean up script again.. but it resulted in 2017-02-15 16:52:16.496 3483 WARNING rally.common.broker [-] Failed to publish a task to the queue: 'Credential' object has no attribute '__getitem__' | 22:13 |
rallydev-bot | [From Gitter] andreykurilin : See my previous comment: | 22:13 |
rallydev-bot | [From Gitter] andreykurilin : ``` | 22:14 |
rallydev-bot | [From Gitter] andreykurilin : you should fix L53 of the script | 22:14 |
rallydev-bot | [From Gitter] andreykurilin : like here http://xsnippet.org/362293/ | 22:14 |
rallydev-bot | [From Gitter] andreykurilin : ``` | 22:14 |
*** dave-mccowan has joined #openstack-rally | 22:14 | |
dileepr | andreykurilin: sorry I was offline and might have missed it... I am trying it now... | 22:19 |
rallydev-bot | [From Gitter] andreykurilin : dileepr: you should try our gitter channel - https://gitter.im/rally-dev/Lobby . It is a messager from github. It provides convenient interface, nice features and the whole history of messages for free ;) | 22:21 |
rallydev-bot | [From Gitter] dileepranganathan : @andreykurilin Thanks.. I joined.. :) | 22:25 |
rallydev-bot | [From Gitter] andreykurilin : cool | 22:25 |
rallydev-bot | [From Gitter] dileepranganathan : @andreykurilin : http://xsnippet.org/362294/ | 22:26 |
rallydev-bot | [From Gitter] andreykurilin : wow | 22:27 |
rallydev-bot | [From Gitter] andreykurilin : looks not really good | 22:27 |
rallydev-bot | [From Gitter] andreykurilin : but is it just nova.networks | 22:27 |
rallydev-bot | [From Gitter] andreykurilin : I think you can just ignore it:) | 22:27 |
andreww | so I got the for loop going ok, but the results are grouped separately for each iteration of the scenario. Is there a way to have them grouped back together? | 22:31 |
rallydev-bot | [From Gitter] dileepranganathan : @andreykurilin : I jumped the gun.. It works!!! :) actually it took some time but cleaned up everything... Thank you so much for the scripts :) | 22:32 |
andreww | https://gist.github.com/xarses/a86dce0f8e0b3b4970685c7e7c7c0351 | 22:33 |
rallydev-bot | [From Gitter] andreykurilin : @dileepranganathan Hope we will have builtin feature for that soon(in one of the next 2 releases). | 22:34 |
*** yamamoto has joined #openstack-rally | 22:35 | |
*** orionx has quit IRC | 22:35 | |
rallydev-bot | [From Gitter] dileepranganathan : that will be a nice feature.. | 22:35 |
andreww | I'm also getting alot of port binding failures, I haven't gotten very far into figuring why, but is it possible that rally picks the network to assign once, and then re-uses it for each iteration (instead of picking a new one that's proper for the host(provider-networks)) | 22:35 |
andreww | s/alot/a lot | 22:35 |
rallydev-bot | [From Gitter] andreykurilin : @dileepranganathan: it almost ready. https://review.openstack.org/#/c/275340/18 allows to list resources for particular task by default. After merging it, there will be an easy task to add such feauture | 22:37 |
rallydev-bot | [From Gitter] andreykurilin : andreww: I think that there is no way to pick different availability zone for different iterations without modifying code | 22:38 |
rallydev-bot | [From Gitter] andreykurilin : andreww: but you can extend current scenario easily to achieve that | 22:39 |
andreww | oh, its switching the az along the gist I posted | 22:39 |
andreww | I'm just not certain that it's updating the network selection to match the AZ each time | 22:40 |
rallydev-bot | [From Gitter] andreykurilin : yeah, posted gist did it, but actually each run of AZ is a separate sub-task | 22:40 |
rallydev-bot | [From Gitter] andreykurilin : so there is no possibility to represent results of separate subtasks as one subtask | 22:41 |
andreww | ok, I can probably live with that. | 22:42 |
rallydev-bot | [From Gitter] andreykurilin : as for networks, there is a code which randomly picks a network from the list of find networks. yes it is not based on availability zones. There were no contributors interested in availability zones:( | 22:42 |
andreww | so I should probably just pass in the network I want to ensure the proper result | 22:43 |
rallydev-bot | [From Gitter] andreykurilin : do you have a lot of AZ and networks? | 22:43 |
andreww | I'm using the host filter side of the az ":hostname" to exec on a specific host | 22:44 |
andreww | and the network has to match one from the host's real AZ | 22:44 |
andreww | because its vlan providers | 22:45 |
andreww | the vlan segment ID is duplicated in many AZ, but they don't have the same IP network | 22:45 |
andreww | (spine and leaf topology) | 22:45 |
*** beslemon has quit IRC | 22:46 | |
rallydev-bot | [From Gitter] andreykurilin : thanks for explanation. for now, I see only two solutions | 22:46 |
rallydev-bot | [From Gitter] andreykurilin : first one if you do not have a lot of AZ/Networks, thansmit both AZ and network as scenario arguments. I do not like that solution, it looks like workaround. | 22:47 |
rallydev-bot | [From Gitter] andreykurilin : The second - extend current scenario. It should not be a hard task to add check for AZ while picking network | 22:48 |
*** catintheroof has joined #openstack-rally | 23:02 | |
*** dave-mccowan has quit IRC | 23:06 | |
andreww | well eventually, I'd be doing this test to each network for each az:host. so Its not a work around to load it that way. I should probably make a scenario to do this whole thing automatically at some point | 23:06 |
rallydev-bot | [From Gitter] andreykurilin : I can help you to automate it | 23:07 |
andreww | it seems it would also straighten out my report since it would no longer be sub-tasks | 23:07 |
andreww | probably for another day, I'll straighten out this model first to figure out what more I might run into | 23:09 |
rallydev-bot | [From Gitter] andreykurilin : andreww: how to identify network for particular az? | 23:14 |
andreww | the compute az would match the network az, or you would know how to reverse the physnet to your compute az | 23:18 |
andreww | it's not the easiest tbh | 23:18 |
andreww | we keep the networks as {az}_{segment_id} so I know what matches | 23:20 |
andreww | but its not a formula for everyone | 23:20 |
andreww | (network's name that is) | 23:20 |
rallydev-bot | [From Gitter] andreykurilin : so you need to copy-paste code of https://github.com/openstack/rally/blob/master/rally/plugins/openstack/scenarios/nova/servers.py#L90-L116 and extend it with something like http://xsnippet.org/362295/ | 23:22 |
rallydev-bot | [From Gitter] andreykurilin : andreww ^ | 23:23 |
andreww | oh, nice. tyvm | 23:24 |
rallydev-bot | [From Gitter] andreykurilin : as I said, it should not be too hard:) | 23:24 |
rallydev-bot | [From Gitter] andreykurilin : but please note, I do not have ability to check that code. It was written based on your answers and our code base | 23:25 |
andreww | so run is used as an iterator? | 23:27 |
andreww | and each time something is going to be incremented? | 23:28 |
rallydev-bot | [From Gitter] andreykurilin : current_iteration is a number of an iteration | 23:28 |
andreww | ok, but in my case, I want to iterate over every HV... so I guess I'd need to create a new context too? | 23:29 |
rallydev-bot | [From Gitter] andreykurilin : so if you specify "times" option of runner to 50, current_iteration will be in range of 0-50 | 23:29 |
rallydev-bot | [From Gitter] andreykurilin : HV? | 23:29 |
andreww | HyperVisor | 23:29 |
andreww | ok, so the context is the iteration control then. and the scenario just executes inside of the 'range' built from the context | 23:31 |
andreww | this should work out then | 23:32 |
andreww | can I inspect the reuslts of this call in the server object? | 23:32 |
andreww | eventually the goal of all this work is to disable HV that fail this job, so If I can determine that here, and do that. then Win everywhere | 23:33 |
rallydev-bot | [From Gitter] andreykurilin : do you have several HW at one host? | 23:34 |
andreww | HW at one host? I don't understand | 23:35 |
rallydev-bot | [From Gitter] andreykurilin : I mean is there any node with several HW? | 23:36 |
andreww | still not clear... there is one nova-compute per host, we consider that a single 'hypervisor' | 23:37 |
rallydev-bot | [From Gitter] andreykurilin : ok, got you | 23:37 |
andreww | =) | 23:38 |
rallydev-bot | [From Gitter] andreykurilin : so you need to wrap waiting for becoming active state with try...except block. In case of any exception, you can make external calls like https://github.com/openstack/rally/blob/master/rally/plugins/openstack/scenarios/nova/aggregates.py#L173-L177 and raise the right error with that infromation | 23:39 |
andreww | ok, so I could make the api call to nova to disable the service, and raise the exception | 23:40 |
andreww | nice | 23:40 |
rallydev-bot | [From Gitter] andreykurilin : Yes:) | 23:41 |
rallydev-bot | [From Gitter] andreykurilin : https://rally.readthedocs.io/en/latest/plugins/index.html | 23:42 |
andreww | so many docs... | 23:43 |
andreww | ;) | 23:43 |
rallydev-bot | [From Gitter] andreykurilin : andreww: good luck! I need to have a rest. Bye | 23:46 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!