Perl 6 - the future is here, just unevenly distributed

IRC log for #openstack-rally, 2017-02-16

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

All times shown according to UTC.

Time Nick Message
00:20 yingjun joined #openstack-rally
00:57 dave-mccowan joined #openstack-rally
01:08 psuriset joined #openstack-rally
01:23 yanyanhu joined #openstack-rally
01:25 zackf joined #openstack-rally
01:57 dave-mccowan joined #openstack-rally
02:04 zackf joined #openstack-rally
02:31 openstackgerrit Zhang proposed openstack/rally master: [Fix] Add __eq__ in IronicNodes  https://review.openstack.org/434585
02:47 rallydev-bot [From Gitter] shihai1991 : @andreykurilin ok, I can review this patch.
03:16 openstackgerrit Cao Xuan Hoang proposed openstack/rally master: Remove logging import unused  https://review.openstack.org/434603
03:26 psuriset joined #openstack-rally
04:10 yamamoto joined #openstack-rally
04:17 orionx joined #openstack-rally
04:58 lutostag joined #openstack-rally
05:09 shausy joined #openstack-rally
06:07 zackf joined #openstack-rally
06:21 psuriset joined #openstack-rally
06:46 e0ne joined #openstack-rally
07:03 rcernin joined #openstack-rally
07:06 psuriset joined #openstack-rally
07:08 zackf joined #openstack-rally
07:13 tesseract joined #openstack-rally
07:23 rallydev-bot [From Gitter] andreykurilin : dileepr: hi
07:29 rallydev-bot [From Gitter] andreykurilin : dileepr: ok, I found a root of that issue
07:31 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:32 yingjun joined #openstack-rally
07:47 yingjun joined #openstack-rally
08:03 yamamoto joined #openstack-rally
08:05 openstackgerrit Anton Studenov proposed openstack/rally master: [CI] fix image regexp and version  https://review.openstack.org/434710
08:14 pcaruana joined #openstack-rally
08:19 oanufrii joined #openstack-rally
08:22 pcaruana joined #openstack-rally
08:29 Serlex joined #openstack-rally
08:33 yamamoto joined #openstack-rally
08:41 openstackgerrit Anton Studenov proposed openstack/rally master: [CI] fix image regexp and version  https://review.openstack.org/434710
09:17 yamamoto joined #openstack-rally
09:20 yamamoto joined #openstack-rally
09:50 ushkalim_ joined #openstack-rally
09:50 ushkalim joined #openstack-rally
09:56 e0ne joined #openstack-rally
10:20 openstackgerrit 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:22 yamamoto joined #openstack-rally
10:31 openstackgerrit Anton Studenov proposed openstack/rally master: [CI] fix image regexp and version  https://review.openstack.org/434710
10:33 tosky joined #openstack-rally
10:51 alexchadin joined #openstack-rally
10:52 mvk joined #openstack-rally
11:16 alexchadin joined #openstack-rally
11:26 alexchadin joined #openstack-rally
11:29 openstackgerrit Anton Studenov proposed openstack/rally master: [CI] Fix image regexp and version  https://review.openstack.org/434710
11:30 abalutoiu joined #openstack-rally
11:38 yamamoto joined #openstack-rally
11:47 psuriset joined #openstack-rally
11:50 alexchadin joined #openstack-rally
12:00 jkilpatr joined #openstack-rally
12:05 dave-mccowan joined #openstack-rally
12:09 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:12 rallydev-bot [From Gitter] abhi6254 : @andreykurilin : Hey hi
12:12 rallydev-bot [From Gitter] abhi6254 : I tried  vmtask.py thing
12:14 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 joined #openstack-rally
12:15 rallydev-bot [From Gitter] abhi6254 : https://github.com/openstack/rally/blob/master/rally/plugins/openstack/scenarios/vm/vmtasks.py#L47-L58
12:16 rallydev-bot [From Gitter] abhi6254 : I think we have to pass one more argument in run function as security_groups : "default"
12:25 yamamoto joined #openstack-rally
13:08 stpierre joined #openstack-rally
13:30 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:42 e0ne joined #openstack-rally
13:49 yamamoto joined #openstack-rally
13:53 openstackgerrit Yaroslav Lobankov proposed openstack/rally master: [Verify] Fix issue with verifier versions  https://review.openstack.org/430360
14:04 psuriset joined #openstack-rally
14:10 sskripnick joined #openstack-rally
14:14 yingjun joined #openstack-rally
14:21 openstackgerrit Merged openstack/rally master: [CI] Fix image regexp and version  https://review.openstack.org/434710
14:33 Serlex joined #openstack-rally
14:38 openstackgerrit Hai Shi proposed openstack/rally master: [Service] Port all glance scenarios to Image Service  https://review.openstack.org/415740
14:45 mkoderer joined #openstack-rally
14:47 tosky joined #openstack-rally
14:50 yamamoto joined #openstack-rally
14:54 dave-mccowan joined #openstack-rally
15:02 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:05 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:06 rallydev-bot [From Gitter] abhi6254 : yes, I modified at write location
15:06 rallydev-bot [From Gitter] andreykurilin : strange
15:07 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:09 rallydev-bot [From Gitter] abhi6254 : i changed like:
15:09 jkilpatr 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:10 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:11 rallydev-bot [From Gitter] abhi6254 : Then why its not working? :(
15:12 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:13 sskripnick left #openstack-rally
15:20 openstackgerrit Anton Studenov proposed openstack/rally master: [CI] Increase SLA values to improve stability of CI  https://review.openstack.org/421853
15:32 zackf joined #openstack-rally
15:33 openstackgerrit Anton Studenov proposed openstack/rally master: [validation] validate scenario default_context  https://review.openstack.org/433625
15:44 e0ne joined #openstack-rally
15:59 xarses_ joined #openstack-rally
16:02 andreww joined #openstack-rally
16:09 orionx joined #openstack-rally
16:14 orionx_ joined #openstack-rally
16:15 openstackgerrit Hai Shi proposed openstack/rally master: [Service] Port all glance scenarios to Image Service  https://review.openstack.org/415740
16:16 beslemon joined #openstack-rally
16:20 zackf joined #openstack-rally
16:29 orionx joined #openstack-rally
16:44 abehl joined #openstack-rally
16:47 beslemon_ joined #openstack-rally
17:26 zackf joined #openstack-rally
17:47 openstackgerrit Merged openstack/rally master: Improve Task status list  https://review.openstack.org/309883
17:52 openstackgerrit Hai Shi proposed openstack/rally master: [API] Make return data of Task API serializable  https://review.openstack.org/431624
18:02 mvk joined #openstack-rally
18:22 jkilpatr joined #openstack-rally
18:24 openstackgerrit Merged openstack/rally master: Fix used jsonschemas  https://review.openstack.org/431043
18:28 openstackgerrit Anton Studenov proposed openstack/rally master: [CI] Increase SLA values to improve stability of CI  https://review.openstack.org/421853
18:54 e0ne joined #openstack-rally
19:12 adiantum joined #openstack-rally
19:42 jkilpatr joined #openstack-rally
19:46 jkilpatr joined #openstack-rally
20:18 alexpilotti joined #openstack-rally
21:17 yamamoto joined #openstack-rally
21:33 MasterOfBugs joined #openstack-rally
21:53 beslemon joined #openstack-rally
21:59 dileepr joined #openstack-rally
22:11 jkilpatr joined #openstack-rally
22:12 dileepr andreykurilin: Hi..
22:12 rallydev-bot [From Gitter] andreykurilin : dileepr: hi
22:13 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:14 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 joined #openstack-rally
22:19 dileepr andreykurilin: sorry I was offline and might have missed it... I am trying it now...
22:21 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:25 rallydev-bot [From Gitter] dileepranganathan : @andreykurilin  Thanks.. I joined.. :)
22:25 rallydev-bot [From Gitter] andreykurilin : cool
22:26 rallydev-bot [From Gitter] dileepranganathan : @andreykurilin : http://xsnippet.org/362294/
22:27 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:31 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:32 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:33 andreww https://gist.github.com/xarses/a86dce0f8e0b3b4970685c7e7c7c0351
22:34 rallydev-bot [From Gitter] andreykurilin : @dileepranganathan Hope we will have builtin feature for that soon(in one of the next 2 releases).
22:35 yamamoto joined #openstack-rally
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:37 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:38 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:39 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:40 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:41 rallydev-bot [From Gitter] andreykurilin : so there is no possibility to represent results of separate subtasks as one subtask
22:42 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:43 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:44 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:45 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:46 rallydev-bot [From Gitter] andreykurilin : thanks for explanation. for now, I see only two solutions
22:47 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:48 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
23:02 catintheroof joined #openstack-rally
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:07 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:09 andreww probably for another day, I'll straighten out this model first to figure out what more I might run into
23:14 rallydev-bot [From Gitter] andreykurilin : andreww: how to identify network for particular az?
23:18 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:20 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:22 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:23 rallydev-bot [From Gitter] andreykurilin : andreww ^
23:24 andreww oh, nice. tyvm
23:24 rallydev-bot [From Gitter] andreykurilin : as I said, it should not be too hard:)
23:25 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:27 andreww so run is used as an iterator?
23:28 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:29 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:31 andreww ok, so the context is the iteration control then. and the scenario just executes inside of the 'range' built from the context
23:32 andreww this should work out then
23:32 andreww can I inspect the reuslts of this call in the server object?
23:33 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:34 rallydev-bot [From Gitter] andreykurilin : do you have several HW at one host?
23:35 andreww HW at one host? I don't understand
23:36 rallydev-bot [From Gitter] andreykurilin : I mean is there any node with several HW?
23:37 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:38 andreww =)
23:39 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:40 andreww ok, so I could make the api call to nova to disable the service, and raise the exception
23:40 andreww nice
23:41 rallydev-bot [From Gitter] andreykurilin : Yes:)
23:42 rallydev-bot [From Gitter] andreykurilin : https://rally.readthedocs.io/en/latest/plugins/index.html
23:43 andreww so many docs...
23:43 andreww ;)
23:46 rallydev-bot [From Gitter] andreykurilin : andreww: good luck! I need to have a rest. Bye

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