Thursday, 2017-02-16

*** andreww has quit IRC00:15
*** yingjun has joined #openstack-rally00:20
*** dave-mccowan has joined #openstack-rally00:57
*** psuriset has joined #openstack-rally01:08
*** jrcloud has quit IRC01:17
*** MasterOfBugs has quit IRC01:18
*** dave-mccowan has quit IRC01:23
*** yanyanhu has joined #openstack-rally01:23
*** zackf has joined #openstack-rally01:25
*** zackf has quit IRC01:30
*** dave-mccowan has joined #openstack-rally01:57
*** psuriset has quit IRC02:02
*** zackf has joined #openstack-rally02:05
*** zackf has quit IRC02:09
openstackgerritZhang proposed openstack/rally master: [Fix] Add __eq__ in IronicNodes  https://review.openstack.org/43458502:31
rallydev-bot[From Gitter] shihai1991 : @andreykurilin ok, I can review this patch.02:47
openstackgerritCao Xuan Hoang proposed openstack/rally master: Remove logging import unused  https://review.openstack.org/43460303:16
*** psuriset has joined #openstack-rally03:26
*** yamamoto has joined #openstack-rally04:10
*** orionx has joined #openstack-rally04:17
*** dave-mccowan has quit IRC04:19
*** orionx has quit IRC04:24
*** dileepr has quit IRC04:49
*** lutostag has quit IRC04:57
*** lutostag has joined #openstack-rally04:58
*** shausy has joined #openstack-rally05:09
*** yingjun has quit IRC05:46
*** psuriset has quit IRC06:04
*** zackf has joined #openstack-rally06:07
*** zackf has quit IRC06:12
*** psuriset has joined #openstack-rally06:21
*** arslanq has quit IRC06:44
*** e0ne has joined #openstack-rally06:46
*** psuriset has quit IRC06:50
*** rcernin has joined #openstack-rally07:03
*** psuriset has joined #openstack-rally07:06
*** zackf has joined #openstack-rally07:08
*** tesseract has joined #openstack-rally07:13
*** zackf has quit IRC07:13
rallydev-bot[From Gitter] andreykurilin : dileepr: hi07:23
*** e0ne has quit IRC07:24
*** yamamoto has quit IRC07:27
rallydev-bot[From Gitter] andreykurilin : dileepr: ok, I found a root of that issue07:29
rallydev-bot[From Gitter] andreykurilin : dileepr: you should fix L53 of the script07:31
rallydev-bot[From Gitter] andreykurilin : like here http://xsnippet.org/362293/07:31
*** yingjun has joined #openstack-rally07:32
*** gus_ is now known as gus07:32
*** yingjun has quit IRC07:47
*** yingjun has joined #openstack-rally07:47
*** yingjun has quit IRC07:59
*** yamamoto has joined #openstack-rally08:03
openstackgerritAnton Studenov proposed openstack/rally master: [CI] fix image regexp and version  https://review.openstack.org/43471008:05
*** yuli_s has quit IRC08:12
*** pcaruana has joined #openstack-rally08:14
*** oanufrii has quit IRC08:18
*** oanufrii has joined #openstack-rally08:19
*** pcaruana has quit IRC08:20
*** pcaruana has joined #openstack-rally08:22
*** Serlex has joined #openstack-rally08:29
*** yamamoto has quit IRC08:32
*** yamamoto has joined #openstack-rally08:33
*** yamamoto has quit IRC08:37
openstackgerritAnton Studenov proposed openstack/rally master: [CI] fix image regexp and version  https://review.openstack.org/43471008:41
*** aarefiev_afk is now known as aarefiev09:09
*** yamamoto has joined #openstack-rally09:17
*** yamamoto has quit IRC09:19
*** yamamoto has joined #openstack-rally09:20
*** yamamoto has quit IRC09:25
*** openstackgerrit has quit IRC09:32
*** ushkalim_ has joined #openstack-rally09:50
*** ushkalim has joined #openstack-rally09:50
*** e0ne has joined #openstack-rally09:56
*** mvk has quit IRC10:17
*** openstackgerrit has joined #openstack-rally10:20
openstackgerritStaroverov Anton proposed openstack/rally master: [WIP] Make return data of Verify/Verification API serializable  https://review.openstack.org/43085510:20
openstackgerritAnton Studenov proposed openstack/rally master: [CI] fix image regexp and version  https://review.openstack.org/43471010:20
*** yamamoto has joined #openstack-rally10:22
openstackgerritAnton Studenov proposed openstack/rally master: [CI] fix image regexp and version  https://review.openstack.org/43471010:31
*** tosky has joined #openstack-rally10:33
*** yamamoto has quit IRC10:40
*** alexchadin has joined #openstack-rally10:51
*** mvk has joined #openstack-rally10:52
*** yanyanhu has quit IRC10:55
*** alexchadin has quit IRC11:13
*** alexchadin has joined #openstack-rally11:16
*** psuriset has quit IRC11:17
*** alexchadin has quit IRC11:24
*** alexchadin has joined #openstack-rally11:26
openstackgerritAnton Studenov proposed openstack/rally master: [CI] Fix image regexp and version  https://review.openstack.org/43471011:29
*** abalutoiu has joined #openstack-rally11:30
*** yamamoto has joined #openstack-rally11:38
*** jkilpatr_ has quit IRC11:39
*** yamamoto has quit IRC11:47
*** psuriset has joined #openstack-rally11:47
*** alexchadin has quit IRC11:50
*** alexchadin has joined #openstack-rally11:50
*** jkilpatr has joined #openstack-rally12:00
*** dave-mccowan has joined #openstack-rally12:05
*** Anticime1 is now known as Anticimex12:07
openstackgerritchenhb proposed openstack/rally master: Port CinderWrapper to service modules  https://review.openstack.org/42497012:09
openstackgerritchenhb proposed openstack/rally master: [WIP]Switch cinder scenarios to cinder service  https://review.openstack.org/42917512:09
rallydev-bot[From Gitter] abhi6254 : @andreykurilin : Hey hi12:12
rallydev-bot[From Gitter] abhi6254 : I tried  vmtask.py thing12:13
*** psuriset has quit IRC12:13
rallydev-bot[From Gitter] abhi6254 : I passed security_groups : "default" in scenario and delete the allow_ssh thing from vmtask.py12:14
rallydev-bot[From Gitter] abhi6254 :12:14
rallydev-bot[From Gitter] abhi6254 : but its not working12:14
*** catintheroof has joined #openstack-rally12:14
rallydev-bot[From Gitter] abhi6254 : https://github.com/openstack/rally/blob/master/rally/plugins/openstack/scenarios/vm/vmtasks.py#L47-L5812: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 IRC12:18
*** yamamoto has joined #openstack-rally12:25
*** stpierre has joined #openstack-rally13:08
*** dave-mccowan has quit IRC13:19
*** catintheroof has quit IRC13: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 : ok13:30
*** Serlex has quit IRC13:36
*** e0ne has quit IRC13:41
*** e0ne has joined #openstack-rally13:42
*** yamamoto has quit IRC13:43
*** yamamoto has joined #openstack-rally13:49
*** tosky has quit IRC13:52
openstackgerritYaroslav Lobankov proposed openstack/rally master: [Verify] Fix issue with verifier versions  https://review.openstack.org/43036013:53
*** yamamoto has quit IRC13:53
*** e0ne has quit IRC13:56
*** psuriset has joined #openstack-rally14:04
*** sskripnick has joined #openstack-rally14:10
*** yingjun has joined #openstack-rally14:14
openstackgerritMerged openstack/rally master: [CI] Fix image regexp and version  https://review.openstack.org/43471014:21
*** Serlex has joined #openstack-rally14:33
openstackgerritHai Shi proposed openstack/rally master: [Service] Port all glance scenarios to Image Service  https://review.openstack.org/41574014:38
*** mkoderer has joined #openstack-rally14:45
*** tosky has joined #openstack-rally14:47
*** yamamoto has joined #openstack-rally14:50
*** dave-mccowan has joined #openstack-rally14:54
*** shausy has quit IRC14:57
*** yamamoto has quit IRC14:57
rallydev-bot[From Gitter] abhi6254 : @andreykurilin : I delete the allow_ssh in vmtask.py15:02
openstackgerritsudhir agarwal proposed openstack/rally master: remove utf-8 encoding  https://review.openstack.org/43495715:02
rallydev-bot[From Gitter] abhi6254 : https://github.com/openstack/rally/blob/master/rally/plugins/openstack/scenarios/vm/vmtasks.py#L48-L5015:03
rallydev-bot[From Gitter] abhi6254 : Still it creating security and not using default security which is pass in scenario15:03
rallydev-bot[From Gitter] abhi6254 : [edit] Still it creating security group and not using default security which is pass in scenario15: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/...` dir15:05
rallydev-bot[From Gitter] abhi6254 : [edit] Still it creating security group and not using default security group which is pass in scenario15:05
rallydev-bot[From Gitter] abhi6254 : yes, I modified at write location15:06
rallydev-bot[From Gitter] andreykurilin : strange15: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 groups15:07
rallydev-bot[From Gitter] abhi6254 : i think may be issue due to .pyc file15:08
*** jkilpatr has quit IRC15:09
rallydev-bot[From Gitter] abhi6254 : i changed like:15:09
*** jkilpatr has joined #openstack-rally15: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 fine15: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 : no15: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 ssh15:10
rallydev-bot[From Gitter] abhi6254 : yes15: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 rally15:12
*** sskripnick has left #openstack-rally15:13
openstackgerritAnton Studenov proposed openstack/rally master: [CI] Increase SLA values to improve stability of CI  https://review.openstack.org/42185315:20
*** yingjun has quit IRC15:30
*** zackf has joined #openstack-rally15:32
openstackgerritAnton Studenov proposed openstack/rally master: [validation] validate scenario default_context  https://review.openstack.org/43362515:33
*** e0ne has joined #openstack-rally15:44
*** xarses_ has joined #openstack-rally15:59
*** andreww has joined #openstack-rally16:02
*** mvk has quit IRC16:03
*** rcernin has quit IRC16:03
*** xarses_ has quit IRC16:03
*** orionx has joined #openstack-rally16:09
*** pcaruana has quit IRC16:11
*** tesseract has quit IRC16:14
*** orionx_ has joined #openstack-rally16:14
*** orionx has quit IRC16:15
openstackgerritHai Shi proposed openstack/rally master: [Service] Port all glance scenarios to Image Service  https://review.openstack.org/41574016:15
*** beslemon has joined #openstack-rally16:16
*** zackf has quit IRC16:20
*** zackf has joined #openstack-rally16:20
*** zackf has quit IRC16:28
*** orionx_ has quit IRC16:29
*** orionx has joined #openstack-rally16:29
*** abehl has joined #openstack-rally16:44
*** beslemon_ has joined #openstack-rally16:47
*** beslemon has quit IRC16:50
*** e0ne has quit IRC17:22
*** zackf has joined #openstack-rally17:26
*** ushkalim_ has quit IRC17:46
*** ushkalim has quit IRC17:46
openstackgerritMerged openstack/rally master: Improve Task status list  https://review.openstack.org/30988317:47
openstackgerritHai Shi proposed openstack/rally master: [API] Make return data of Task API serializable  https://review.openstack.org/43162417:52
*** mvk has joined #openstack-rally18:02
*** beslemon_ is now known as beslemon18:21
*** jkilpatr has quit IRC18:22
*** jkilpatr has joined #openstack-rally18:22
openstackgerritMerged openstack/rally master: Fix used jsonschemas  https://review.openstack.org/43104318:24
openstackgerritAnton Studenov proposed openstack/rally master: [CI] Increase SLA values to improve stability of CI  https://review.openstack.org/42185318:28
*** Serlex has quit IRC18:39
*** tosky has quit IRC18:46
*** e0ne has joined #openstack-rally18:54
*** adiantum has joined #openstack-rally19:12
*** e0ne has quit IRC19:32
*** jkilpatr has quit IRC19:42
*** jkilpatr has joined #openstack-rally19:42
*** jkilpatr has quit IRC19:46
*** jkilpatr has joined #openstack-rally19:46
*** mkoderer has quit IRC19:57
*** adiantum has quit IRC20:06
*** alexpilotti has joined #openstack-rally20:18
*** alexpilo_ has quit IRC20:19
*** yamamoto has joined #openstack-rally21:17
*** yamamoto has quit IRC21:19
*** dave-mccowan has quit IRC21:21
*** MasterOfBugs has joined #openstack-rally21:33
*** jkilpatr has quit IRC21:34
*** beslemon has quit IRC21:38
*** beslemon has joined #openstack-rally21:53
*** dileepr has joined #openstack-rally21:59
*** jkilpatr has joined #openstack-rally22:11
dileeprandreykurilin: Hi..22:12
rallydev-bot[From Gitter] andreykurilin : dileepr: hi22:12
dileeprandreykurilin: 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 script22: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-rally22:14
dileeprandreykurilin: 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 : cool22:25
rallydev-bot[From Gitter] dileepranganathan : @andreykurilin : http://xsnippet.org/362294/22:26
rallydev-bot[From Gitter] andreykurilin : wow22:27
rallydev-bot[From Gitter] andreykurilin : looks not really good22:27
rallydev-bot[From Gitter] andreykurilin : but is it just nova.networks22:27
rallydev-bot[From Gitter] andreykurilin : I think you can just ignore it:)22:27
andrewwso 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
andrewwhttps://gist.github.com/xarses/a86dce0f8e0b3b4970685c7e7c7c035122: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-rally22:35
*** orionx has quit IRC22:35
rallydev-bot[From Gitter] dileepranganathan : that will be a nice feature..22:35
andrewwI'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
andrewws/alot/a lot22: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 feauture22:37
rallydev-bot[From Gitter] andreykurilin : andreww: I think that there is no way to pick different availability zone for different iterations without modifying code22:38
rallydev-bot[From Gitter] andreykurilin : andreww: but you can extend current scenario easily to achieve that22:39
andrewwoh, its switching the az along the gist I posted22:39
andrewwI'm just not certain that it's updating the network selection to match the AZ each time22:40
rallydev-bot[From Gitter] andreykurilin : yeah, posted gist did it, but actually each run of AZ is a separate sub-task22:40
rallydev-bot[From Gitter] andreykurilin : so there is no possibility to represent results of separate subtasks as one subtask22:41
andrewwok, 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
andrewwso I should probably just pass in the network I want to ensure the proper result22:43
rallydev-bot[From Gitter] andreykurilin : do you have a lot of AZ and networks?22:43
andrewwI'm using the host filter side of the az ":hostname" to exec on a specific host22:44
andrewwand the network has to match one from the host's real AZ22:44
andrewwbecause its vlan providers22:45
andrewwthe vlan segment ID is duplicated in many AZ, but they don't have the same IP network22:45
andreww(spine and leaf topology)22:45
*** beslemon has quit IRC22:46
rallydev-bot[From Gitter] andreykurilin : thanks for explanation. for now, I see only two solutions22: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 network22:48
*** catintheroof has joined #openstack-rally23:02
*** dave-mccowan has quit IRC23:06
andrewwwell 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 point23:06
rallydev-bot[From Gitter] andreykurilin : I can help you to automate it23:07
andrewwit seems it would also straighten out my report since it would no longer be sub-tasks23:07
andrewwprobably for another day, I'll straighten out this model first to figure out what more I might run into23:09
rallydev-bot[From Gitter] andreykurilin : andreww: how to identify network for particular az?23:14
andrewwthe compute az would match the network az, or you would know how to reverse the physnet to your compute az23:18
andrewwit's not the easiest tbh23:18
andrewwwe keep the networks as {az}_{segment_id} so I know what matches23:20
andrewwbut its not a formula for everyone23: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
andrewwoh, nice. tyvm23: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 base23:25
andrewwso run is used as an iterator?23:27
andrewwand each time something is going to be incremented?23:28
rallydev-bot[From Gitter] andreykurilin : current_iteration is a number of an iteration23:28
andrewwok, 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-5023:29
rallydev-bot[From Gitter] andreykurilin : HV?23:29
andrewwHyperVisor23:29
andrewwok, so the context is the iteration control then. and the scenario just executes inside of the 'range' built from the context23:31
andrewwthis should work out then23:32
andrewwcan I inspect the reuslts of this call in the server object?23:32
andrewweventually 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 everywhere23:33
rallydev-bot[From Gitter] andreykurilin : do you have several HW at one host?23:34
andrewwHW at one host? I don't understand23:35
rallydev-bot[From Gitter] andreykurilin : I mean is there any node with several HW?23:36
andrewwstill not clear... there is one nova-compute per host, we consider that a single 'hypervisor'23:37
rallydev-bot[From Gitter] andreykurilin : ok, got you23: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 infromation23:39
andrewwok, so I could make the api call to nova to disable the service, and raise the exception23:40
andrewwnice23:40
rallydev-bot[From Gitter] andreykurilin : Yes:)23:41
rallydev-bot[From Gitter] andreykurilin : https://rally.readthedocs.io/en/latest/plugins/index.html23:42
andrewwso many docs...23:43
andreww;)23:43
rallydev-bot[From Gitter] andreykurilin : andreww: good luck! I need to have a rest. Bye23:46

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