Wednesday, 2017-02-15

*** beslemon has quit IRC00:00
*** vaidy has joined #openstack-rally00:01
*** andreww has quit IRC00:16
*** catintheroof has quit IRC00:29
*** openstackgerrit has joined #openstack-rally00:57
openstackgerritchenhb proposed openstack/rally master: Add create_and_delete scenario to loadbalancer  https://review.openstack.org/41493400:57
*** yanyanhu has joined #openstack-rally01:24
*** MasterOfBugs has quit IRC01:26
dileeprandreykurilin: I am getting an error CRITICAL rally [-] RallyException: There is no proper implementation for Identity01:27
openstackgerritHai Shi proposed openstack/rally master: [API] Make return data of Task API serializable  https://review.openstack.org/43162401:40
openstackgerritzhangzhihui proposed openstack/rally master: Add cinder.CreateAndListQos scenario  https://review.openstack.org/42299402:38
*** ilbot3 has quit IRC02:47
*** ilbot3 has joined #openstack-rally02:49
dileeprwhen I invoke keystone = identity.Identity(osclients.Clients(admin))... it is throwing -- CRITICAL rally [-] RallyException: There is no proper implementation for Identity02:51
*** boris-42_ has joined #openstack-rally03:04
*** serverascode_ has joined #openstack-rally03:06
*** dmellado_ has joined #openstack-rally03:06
*** haukebrun0 has joined #openstack-rally03:06
*** psuriset_ has joined #openstack-rally03:06
*** dmellado has quit IRC03:07
*** serverascode has quit IRC03:07
*** boris-42 has quit IRC03:07
*** psuriset has quit IRC03:07
*** haukebruno has quit IRC03:07
*** haukebrun0 is now known as haukebruno03:07
*** serverascode_ is now known as serverascode03:18
openstackgerritchenhb proposed openstack/rally master: [WIP]Port CinderWrapper to service modules  https://review.openstack.org/42497003:44
openstackgerritchenhb proposed openstack/rally master: [WIP]Switch cinder scenarios to cinder service  https://review.openstack.org/42917503:44
*** yingjun has joined #openstack-rally03:49
*** orionx has joined #openstack-rally03:58
*** adiantum has joined #openstack-rally04:37
rallydev-bot[From Gitter] zhangzhihui1 : @tohin  According to your comment , I have a problem ,Please look at my question. https://review.openstack.org/#/c/415608/206:01
*** pcaruana has joined #openstack-rally06:20
*** e0ne has joined #openstack-rally06:36
*** yingjun has quit IRC06:46
openstackgerritchenhb proposed openstack/rally master: Port CinderWrapper to service modules  https://review.openstack.org/42497006:53
openstackgerritchenhb proposed openstack/rally master: [WIP]Switch cinder scenarios to cinder service  https://review.openstack.org/42917506:53
*** yingjun has joined #openstack-rally06:55
*** rcernin has joined #openstack-rally07:07
*** orionx has quit IRC07:17
*** orionx has joined #openstack-rally07:17
*** abehl has joined #openstack-rally07:21
*** orionx has quit IRC07:21
*** adiantum1 has joined #openstack-rally07:24
*** alexchadin has joined #openstack-rally07:26
*** adiantum has quit IRC07:26
*** adiantum1 is now known as adiantum07:26
*** e0ne has quit IRC07:29
*** tesseract has joined #openstack-rally07:31
*** arslanq has joined #openstack-rally07:36
arslanqhi guys, i am trying to install rally on CentOS but facing an error. Could anyone please take a look on it: https://pastebin.mozilla.org/897933007:37
*** yamamoto has quit IRC07:38
rallydev-bot[From Gitter] astarove : Hi, try this: sudo pip install iso860107:42
rallydev-bot[From Gitter] astarove : link on python package: https://pypi.python.org/pypi/iso860107:42
arslanqrallydev-bot: Requirement already up-to-date: iso8601 in /usr/lib/python2.7/site-packages07:43
openstackgerritchenhb proposed openstack/rally master: Port CinderWrapper to service modules  https://review.openstack.org/42497007:49
openstackgerritchenhb proposed openstack/rally master: [WIP]Switch cinder scenarios to cinder service  https://review.openstack.org/42917507:49
rallydev-bot[From Gitter] abhi6254 : Hi guys08:30
rallydev-bot[From Gitter] tohin : hi08:33
rallydev-bot[From Gitter] andreykurilin : dileepr: ok, can you share task config that was used?08:35
rallydev-bot[From Gitter] abhi6254 : Can we define number of instance/server boot in https://github.com/openstack/rally/blob/master/samples/tasks/scenarios/vm/boot-runcommand-delete.yaml this sample08:36
rallydev-bot[From Gitter] abhi6254 : [edit] Can we define number of instance/server boot in https://github.com/openstack/rally/blob/master/samples/tasks/scenarios/vm/boot-runcommand-delete.yaml this sample ?08:36
rallydev-bot[From Gitter] andreykurilin : @abhi6254 https://github.com/openstack/rally/blob/master/samples/tasks/scenarios/vm/boot-runcommand-delete.yaml#L1808:37
rallydev-bot[From Gitter] andreykurilin : "times" field of runner means the number of times scenario will be executed08:37
*** e0ne has joined #openstack-rally08:38
rallydev-bot[From Gitter] abhi6254 : Yes, understood08:39
dileeprandreykurilin: I ran the script as python cleanup.py08:39
rallydev-bot[From Gitter] andreykurilin : dileepr: no, I mean rally task that was interrupted. Can you share yaml/json of it?08:40
dileeprhttps://github.com/dileepranganathan/ODLRallyPlugin/blob/master/ODLPlugin.yml08:41
dileeprI used times as 1000 and concurrency as 808:41
rallydev-bot[From Gitter] abhi6254 : Just want to know, Can i run this scenario with fixed security group08:41
rallydev-bot[From Gitter] abhi6254 : [edit] Just want to know, Can i run this scenario with fixed security group?08:41
rallydev-bot[From Gitter] abhi6254 : @andreykurilin08:41
rallydev-bot[From Gitter] abhi6254 : Is there anywhere i defined fixed security group then attached that to newly created server/instances?08:42
dileeprandreykurilin:08:43
dileeprandreykurilin: someone accidentally pressed ctrl+c when the rally task was running..08:44
dileeprthe plugin can successfully complete if no interruption08:45
openstackgerritStaroverov Anton proposed openstack/rally master: Modifing of test on docstrings  https://review.openstack.org/42873908:47
rallydev-bot[From Gitter] andreykurilin : @abhi6254: yes, you can specify security group via scenario argument something like `"security_groups": [<name_of_secgroup>]`08:52
rallydev-bot[From Gitter] andreykurilin : @dileepr: Did you run script at the same node as rally was executed (I mean does it have access to the same endpoints of openstack) ? does `rally deployment check` works there now ?08:53
rallydev-bot[From Gitter] andreykurilin : arslanq: try to update it. `pip install -U iso8601`08:54
*** Serlex has joined #openstack-rally08:54
dileeprandreykurilin: I ran the script from the same node where rally run the task.. rally deployment check works and shows keystone there08:57
rallydev-bot[From Gitter] abhi6254 : @andreykurilin : Then what will happen when there is security group create by https://github.com/openstack/rally/blob/master/rally/plugins/openstack/scenarios/vm/vmtasks.py#L47-L58 ?09:00
rallydev-bot[From Gitter] abhi6254 : or which security group work? create by `vmtask.py` or fixed security group passed in scenario file?09:01
rallydev-bot[From Gitter] abhi6254 : because when i run this scenario without passing any security group `"security_groups": [<name_of_secgroup>]` then this scenario create security group with port 22 for ssh for every tenant09:04
rallydev-bot[From Gitter] andreykurilin : unfortunately, in all cases(no meeter if `security_groups` is transmitted via task or not), that context will create additional security group.09:06
rallydev-bot[From Gitter] abhi6254 : is there any workaround for this ?09:07
rallydev-bot[From Gitter] andreykurilin : @abhi6254 no. you can manually just remove `"allow_ssh": {}` and it will help for your case09:08
rallydev-bot[From Gitter] abhi6254 : Ohhh, Great, So after removing `"allow_ssh": {}` there is no security group create by `vmtasks.py`?09:09
rallydev-bot[From Gitter] andreykurilin : yes09:09
rallydev-bot[From Gitter] abhi6254 : Ok, Thanks.09:10
*** abalutoiu has quit IRC09:11
rallydev-bot[From Gitter] andreykurilin : dileepr: can you execute http://xsnippet.org/362280/ ? it will give me some debug information09:11
rallydev-bot[From Gitter] abhi6254 : And passing `"security_groups": [<name_of_secgroup>]` in scenario with port 22 enable?09:12
rallydev-bot[From Gitter] andreykurilin : yes09:12
rallydev-bot[From Gitter] andreykurilin : and icmp09:12
rallydev-bot[From Gitter] andreykurilin : for checking that vm is up09:12
rallydev-bot[From Gitter] abhi6254 : yes :)09:12
rallydev-bot[From Gitter] abhi6254 : I will try, Will update you :)09:13
dileeprhttps://www.irccloud.com/pastebin/cjENf1Ua/09:13
dileeprandreykurilin: http://xsnippet.org/362281/09:16
*** yingjun has quit IRC09:17
*** adiantum has quit IRC09:17
rallydev-bot[From Gitter] andreykurilin : dileepr: perfect09:18
rallydev-bot[From Gitter] andreykurilin : :)09:18
rallydev-bot[From Gitter] andreykurilin : dileepr: http://xsnippet.org/362282/ let's try it again09:20
dileeprandreykurilin: http://xsnippet.org/362283/09:22
*** yamamoto has joined #openstack-rally09:23
rallydev-bot[From Gitter] andreykurilin : the same ? :(09:23
rallydev-bot[From Gitter] andreykurilin : eh09:23
openstackgerritHai Shi proposed openstack/rally master: [Service] Port all glance scenarios to Image Service  https://review.openstack.org/41574009:23
*** yamamoto_ has joined #openstack-rally09:24
*** e0ne has quit IRC09:24
*** aarefiev_afk is now known as aarefiev09:25
*** yamamoto_ has quit IRC09:25
*** yamamoto_ has joined #openstack-rally09:26
*** yamamoto_ has quit IRC09:26
rallydev-bot[From Gitter] andreykurilin : let's return to our debug script. I updated it - http://xsnippet.org/362284/09:27
rallydev-bot[From Gitter] andreykurilin : dileepr ^09:27
*** yamamoto has quit IRC09:28
dileeprandreykurilin: <rally.common.objects.credential.Credential object at 0x7fae79d39490>09:29
dileeprv309:29
*** ushkalim has joined #openstack-rally09:29
dileeprI think that worked09:30
openstackgerritMa Xinjian proposed openstack/rally master: Add NeutronNetworks.create_and_show_routers  https://review.openstack.org/43417009:32
rallydev-bot[From Gitter] andreykurilin : dileepr: in this case  http://xsnippet.org/362282/ should work(it is modified version of yesturday's script)09:38
*** e0ne has joined #openstack-rally09:40
openstackgerritAndrey Kurilin proposed openstack/rally master: WIP do not use allow_ssh context  https://review.openstack.org/43417609:45
dileeprandreykurilin: weird.. I still get that error... sometime back I did try a work around to bypass that line by manually creating the list of rally project objects and user objects http://xsnippet.org/362285/... but it is throwing another error 2017-02-15 03:45:50.063 46627 WARNING rally.plugins.openstack.cleanup.manager [-] Missing resource managers: nova,09:46
dileeprneutron09:46
dileeprthis is at the end when calling manager.cleanup..09:46
rallydev-bot[From Gitter] andreykurilin : ok, missing resources can be fixed easily. I forgot about it:)09:47
rallydev-bot[From Gitter] andreykurilin : but I wonder why one script works and another - doesn't09:47
dileeprandreykurilin: which 2 scripts are u talking about?09:48
rallydev-bot[From Gitter] andreykurilin : give me a minute09:49
rallydev-bot[From Gitter] andreykurilin : I know the root of issue09:49
*** ushkalim_ has joined #openstack-rally09:49
openstackgerritHai Shi proposed openstack/rally master: [API] Make return data of Task API serializable  https://review.openstack.org/43162409:50
rallydev-bot[From Gitter] andreykurilin : dileepr: http://xsnippet.org/362286/09:51
rallydev-bot[From Gitter] andreykurilin : hope it is a last revision09:51
rallydev-bot[From Gitter] andreykurilin : L20 should fix issues with discovering identity service and the error `Missing resource managers` too09:52
openstackgerritAnton Studenov proposed openstack/rally master: [validation] validate scenario default_context  https://review.openstack.org/43362509:53
*** abalutoiu has joined #openstack-rally09:55
openstackgerritAnton Studenov proposed openstack/rally master: [validation] validate scenario default_context  https://review.openstack.org/43362509:56
dileeprandreykurilin: Yes.. this version progressed till cleanup and got this error.. http://xsnippet.org/362287/09:56
rallydev-bot[From Gitter] andreykurilin : it looks like masking admin as regular user did not work :(09:58
*** ushkalim_ has quit IRC10:04
*** ushkalim has quit IRC10:04
rallydev-bot[From Gitter] andreykurilin : dileepr: http://xsnippet.org/362288/10:08
*** alexchadin has quit IRC10:16
*** ushkalim_ has joined #openstack-rally10:17
*** ushkalim has joined #openstack-rally10:19
dileeprandreykurilin: I think when I ran the previous script it wiped out the list of users and projects... :(10:23
*** adiantum has joined #openstack-rally10:25
dileeprandreykurilin: I have the list of that ids.. let me try recreating it usig keystone.create_project and create_user...10:27
*** yanyanhu has quit IRC10:34
dileeprandreykurilin: I think this has messed up a bit.. cannot create with the same id...10:39
dileeprandreykurilin: it's very late here.. I am going to try this again tomorrow... I appreciate your help :)10:40
*** ushkalim has quit IRC10:42
*** ushkalim_ has quit IRC10:42
*** tosky has joined #openstack-rally10:43
*** mvk has quit IRC10:43
*** ushkalim_ has joined #openstack-rally10:55
*** ushkalim has joined #openstack-rally10:55
*** mvk has joined #openstack-rally11:15
*** alexchadin has joined #openstack-rally11:16
*** alexchadin has quit IRC11:22
*** ushkalim has quit IRC11:33
*** ushkalim_ has quit IRC11:33
*** jkilpatr has quit IRC11:35
*** alexchadin has joined #openstack-rally11:42
*** ushkalim has joined #openstack-rally11:44
*** ushkalim_ has joined #openstack-rally11:45
*** yamamoto has joined #openstack-rally11:53
*** jkilpatr has joined #openstack-rally11:53
*** alexchadin has quit IRC11:55
*** alexchadin has joined #openstack-rally11:58
*** ushkalim_ has quit IRC12:20
*** ushkalim has quit IRC12:20
*** ushkalim_ has joined #openstack-rally12:33
*** ushkalim has joined #openstack-rally12:33
*** catintheroof has joined #openstack-rally12:36
*** yamamoto has quit IRC12:43
*** alexchadin has quit IRC12:48
*** yamamoto has joined #openstack-rally12:50
*** yamamoto has quit IRC12:51
arslanqrallydev-bot: I was running nova tests, i found an error, it cannot pick up the image name i have to put it manually12:56
arslanq{% set image_name = image_name or "^cirros.*uec$" %}12:56
rallydev-bot[From Gitter] andreykurilin : arslanq: rallydev-bot is just a bot that synchronizes messages between two services IRC and Gitter. the right author of the message is goint after `[From Gitter]` tag12:57
arslanqcould anyone please answer the above query please?12:59
rallydev-bot[From Gitter] andreykurilin : `{% set image_name = "PUT_HERE_NAME_OF_IMAGE_TO_USE" %}`13:00
*** alexchadin has joined #openstack-rally13:04
*** dileepr has quit IRC13:09
openstackgerritAnton Studenov proposed openstack/rally master: Refactor deployment credentials  https://review.openstack.org/43426313:17
kaloyanhi, how can i add some additional variable in the tasks13:30
kaloyanare there json schemes for all of the tasks13:30
rallydev-bot[From Gitter] andreykurilin : kaloyan: hi! task yaml/json file is actually jinja2 template. You can use all features of templates - use whatever you want variables, loops and etc13:31
kaloyanok, but i dont understand how rally will connect the added var to the var i use in the methods13:38
rallydev-bot[From Gitter] andreykurilin : what variables do you mean?13:38
kaloyanfor example i want to add var "result_file": "xx" to the task VMTasks.boot_runcommand_delete13:40
andreykurilinan how that var should be used?13:40
kaloyanthe runned script will create json file with some information in it and i want to add it as Scenario Data in the report13:41
*** yingjun has joined #openstack-rally14:01
arslanqhi, could anyone please tell me that why is this error occuring? : RallyException: Instance host and aggregate host are different14:15
rallydev-bot[From Gitter] andreykurilin : kaloyan: I suppose you should use just cat command to execute that results file14:17
rallydev-bot[From Gitter] andreykurilin : arslanq: is it scenario which relate to migration?14:18
rallydev-bot[From Gitter] andreykurilin : yingjun: hi hi! pleeease, we need your reviews:)14:18
arslanqrallydev-bot: no this is the following scenario: create-aggregate-add-host-and-boot-server14:21
yingjunHi, andreykurilin, yeah, i'll try to get some time on this, was busy with local work .(14:23
rallydev-bot[From Gitter] andreykurilin : yingjun: ok ok:) btw, it would be nice to see updated patch about task descriptions, if you have time for that14:24
yingjunandreykurilin, sure14:24
*** mvk has quit IRC14:25
arslanqi am getting 50% results on this test14:26
*** dmellado_ is now known as dmellado14:27
*** yingjun has quit IRC14:32
arslanqany update?14:34
*** stpierre has joined #openstack-rally14:35
*** mvk has joined #openstack-rally14:39
*** yingjun has joined #openstack-rally14:43
arslanqandreykurilin: i am running a test "list-and-get-hosts" and facing the following error: NotFound: Compute host controller could not be found14:53
openstackgerritAnton Studenov proposed openstack/rally master: [WIP] Refactoring of deployment credentials  https://review.openstack.org/43426314:57
*** alexchadin has quit IRC15:00
*** alexchadin has joined #openstack-rally15:00
*** alexchadin has quit IRC15:01
*** alexchadin has joined #openstack-rally15:01
*** alexchadin has quit IRC15:02
*** alexchadin has joined #openstack-rally15:02
*** alexchadin has quit IRC15:02
*** alexchadin has joined #openstack-rally15:03
*** alexchadin has quit IRC15:03
*** alexchadin has joined #openstack-rally15:04
*** alexchadin has quit IRC15:04
*** mvk has quit IRC15:07
*** orionx has joined #openstack-rally15:08
*** orionx has quit IRC15:08
*** orionx has joined #openstack-rally15:09
openstackgerritStaroverov Anton proposed openstack/rally master: [WIP] Make return data of Verify/Verification API serializable  https://review.openstack.org/43085515:11
*** jrcloud has joined #openstack-rally15:11
*** zackf has quit IRC15:11
*** orionx has quit IRC15:13
*** orionx has joined #openstack-rally15:18
*** mvk has joined #openstack-rally15:19
*** stpierre has quit IRC15:21
*** stpierre has joined #openstack-rally15:21
*** stpierre has quit IRC15:43
*** stpierre has joined #openstack-rally15:43
*** beslemon has joined #openstack-rally15:51
*** beslemon_ has joined #openstack-rally15:57
*** beslemon has quit IRC15:58
*** orionx has quit IRC15:59
*** beslemon_ is now known as beslemon16:03
*** alexchadin has joined #openstack-rally16:04
*** mvk has quit IRC16:08
*** alexchadin has quit IRC16:09
*** aarefiev is now known as aarefiev_afk16:15
openstackgerritHai Shi proposed openstack/rally master: [Service] Port all glance scenarios to Image Service  https://review.openstack.org/41574016:24
*** adiantum has quit IRC16:25
*** yingjun has quit IRC16:26
*** dileepr has joined #openstack-rally16:42
*** rcernin has quit IRC16:43
*** tosky has quit IRC16:46
*** tosky has joined #openstack-rally16:49
*** orionx has joined #openstack-rally16:50
*** andreww has joined #openstack-rally16:50
andrewwso I finally got rally setup on a clean host16:51
andrewwand then it deleted every instance in the project I was testing on, because it failed setting up the instance16:52
openstackgerritAnton Studenov proposed openstack/rally master: [validation] validate scenario default_context  https://review.openstack.org/43362516:54
*** abehl has quit IRC16:56
andrewwhttps://gist.github.com/xarses/31be7148c3122308c45a8f657198b5ab16:56
*** tesseract has quit IRC16:58
*** shausy has joined #openstack-rally16:59
*** alexchadin has joined #openstack-rally17:06
*** mvk has joined #openstack-rally17:07
*** Serlex has quit IRC17:09
*** alexchadin has quit IRC17:11
*** e0ne has quit IRC17:11
*** shausy has quit IRC17:24
*** shausy has joined #openstack-rally17:24
rallydev-bot[From Gitter] andreykurilin : andreww: you should transmit `"auto_assign_nics": True`17:32
rallydev-bot[From Gitter] andreykurilin : in args17:32
rallydev-bot[From Gitter] andreykurilin : sorry, there is a typo17:32
rallydev-bot[From Gitter] andreykurilin : `auto_assign_nic` without `s`17:32
rallydev-bot[From Gitter] andreykurilin : withous `s ` in the end17:32
andrewwok, but it still shouldn't have erased all the instances in the project that it had no relation to17:33
rallydev-bot[From Gitter] andreykurilin : andreww: Do you use existing users?17:33
andrewwI configured as an existing user yes, I can't access the keystone admin endpoint from where I need to run rally from17:34
rallydev-bot[From Gitter] andreykurilin : ok, so it is expected behaviour17:35
rallydev-bot[From Gitter] andreykurilin : I mean known17:35
andrewwAFAICT its not documented that it will behave that way17:35
rallydev-bot[From Gitter] andreykurilin : yup17:36
rallydev-bot[From Gitter] andreykurilin : I expect that it will be fixed with https://review.openstack.org/#/c/275340/1817:36
rallydev-bot[From Gitter] andreykurilin : I'll try to return to that patch tomorrow17:36
andrewwhttps://docs.openstack.org/developer/rally/quick_start/tutorial/step_3_benchmarking_with_existing_users.html17:37
andrewwNeeds to have a large warning about the expected behavior then17:37
rallydev-bot[From Gitter] andreykurilin : I hope it will not be an expected behaviour soon, very soon17:37
rallydev-bot[From Gitter] andreykurilin : sorry for that17:38
andrewwsure, but it results in data loss, so we need to cover the bases. I would have created an isolated user if I knew17:38
rallydev-bot[From Gitter] andreykurilin : andreww: In previous release we started a big refactoring of our docs and start to cover more and more missed information. For example, I'm working on documenting expected parameters of contexts. I understand that you are complaining about another topic, but please beleave me, we are trying to document everything now and fix "known faults".17:44
*** ushkalim has quit IRC17:58
*** ushkalim_ has quit IRC17:59
*** beslemon has quit IRC18:02
*** beslemon has joined #openstack-rally18:05
*** shausy has quit IRC18:11
*** shausy has joined #openstack-rally18:12
*** beslemon_ has joined #openstack-rally18:17
*** beslemon has quit IRC18:17
*** jkilpatr has quit IRC18:22
*** shausy has quit IRC18:27
*** shausy has joined #openstack-rally18:28
*** jkilpatr has joined #openstack-rally18:29
*** beslemon_ has quit IRC18:35
*** shausy has quit IRC18:36
*** MasterOfBugs has joined #openstack-rally18:45
*** tosky has quit IRC18:57
*** abehl has joined #openstack-rally18:57
*** pcaruana has quit IRC19:03
*** Serlex has joined #openstack-rally19:05
*** MasterOfBugs has quit IRC19:07
*** MasterOfBugs has joined #openstack-rally19:07
*** alexchadin has joined #openstack-rally19:08
*** alexchadin has quit IRC19:12
*** e0ne has joined #openstack-rally19:33
*** e0ne has quit IRC19:33
*** e0ne has joined #openstack-rally19:40
*** beslemon has joined #openstack-rally19:44
MasterOfBugshey Guys, We had run rally on an existing deployment which we had done using OSA. The Rally created many VMs (Around 1000) and the rally task aborted due to some reason. Now we want to clean up the env (Which Rally is supposed to)). Can anyone point me how to clean up the VMS, NEtworks, Poets, Subnets and whatever it has created???20:01
rallydev-bot[From Gitter] andreykurilin : MasterOfBugs: hi! actually, it is not so easy as it can be...20:03
MasterOfBugsOh ok! :-|20:03
MasterOfBugsCan i have pointer to deal with this20:03
MasterOfBugs?20:03
rallydev-bot[From Gitter] andreykurilin : MasterOfBugs: https://review.openstack.org/#/c/275340/18 after merging that patch, it will be easy to implement "disaster cleanup"20:04
rallydev-bot[From Gitter] andreykurilin : do you have any not rally related resources in used tenants?20:04
MasterOfBugsCool!20:04
MasterOfBugsYes we have some 7 rally tenants20:05
MasterOfBugsyes20:05
MasterOfBugswe have non rally resource in tennats too20:05
rallydev-bot[From Gitter] andreykurilin : ok :(20:05
rallydev-bot[From Gitter] andreykurilin : so I can suggest you to download that patch.20:06
rallydev-bot[From Gitter] andreykurilin : it can help to remove only "rally-related-resources"20:06
MasterOfBugsOh ok! So the VMs and other resource should be deleted manually is it?20:07
*** abehl has quit IRC20:07
rallydev-bot[From Gitter] andreykurilin : no20:07
MasterOfBugsoh COol! I got it20:08
rallydev-bot[From Gitter] andreykurilin : Patch mentioned above filters resources by it's names and checks that the names match patters of temporary name generator20:08
*** jkilpatr_ has joined #openstack-rally20:09
rallydev-bot[From Gitter] andreykurilin : MasterOfBugs: after you apply that patch, try to execute that script - http://xsnippet.org/362292/20:10
rallydev-bot[From Gitter] andreykurilin : it should launch cleanup20:10
rallydev-bot[From Gitter] andreykurilin : MasterOfBugs: is it some kind of production cloud?20:11
rallydev-bot[From Gitter] andreykurilin : :)20:11
MasterOfBugsCool! Gonna run that script now20:11
MasterOfBugsAweomser20:11
MasterOfBugsAwesome*20:11
rallydev-bot[From Gitter] andreykurilin : please modify deployment and task uuids and services to cleanup20:12
rallydev-bot[From Gitter] andreykurilin : I should mention that I did not tested that script :) and it was written yesterday for the same purpose20:13
rallydev-bot[From Gitter] andreykurilin : MasterOfBugs ^20:13
*** jkilpatr has quit IRC20:13
rallydev-bot[From Gitter] andreykurilin : @shihai1991 Can you take care about https://review.openstack.org/#/c/275340/18 ? possibly, it can require a rebase and addressing comments(if we find something negative there)20:14
*** dileepr has quit IRC20:19
*** psuriset_ has quit IRC20:20
*** e0ne has quit IRC20:41
MasterOfBugsCool! Will change that20:48
MasterOfBugs:)20:48
MasterOfBugsThanks Andrey20:48
*** dileepr has joined #openstack-rally20:51
andrewwandreykurilin: `"auto_assign_nic": --- is that an arg to the yaml/jason? does it go to args or context? or is it a commandline option?20:52
rallydev-bot[From Gitter] andreykurilin : andreww: your should transmit it as scenario argument20:53
rallydev-bot[From Gitter] andreykurilin : http://rally.readthedocs.io/en/latest/plugins/plugin_reference.html#scenario-novaservers-boot-and-delete-server-kwargs20:53
rallydev-bot[From Gitter] andreykurilin : note some scenarios accepts additional argument for booting vm via kwargs, others has special key like "server_boot_kwargs", so you need to set `"server_boot_kwargs": {"auto_assign_nic": True}`20:54
-openstackstatus- NOTICE: We're currently battling an increase in log volume which isn't leaving sufficient space for new jobs to upload logs and results in POST_FAILURE in those cases; recheck if necessary but keep spurious rebasing and rechecking to a minimum until we're in the clear.20:57
andrewwboot_and_delete_server is still raiding `BadRequest: Multiple possible networks found, use a Network ID to be more specific. (HTTP 400)` (there are many networks)20:59
andrewwI guess I need to pass some of the context vars like in https://github.com/openstack/rally/blob/master/samples/tasks/scenarios/nova/boot-and-delete.yaml#L3521:00
rallydev-bot[From Gitter] andreykurilin : andreww: sorry, just looked throw the code. My previous assumption was wrong. auto_assign_nic=True helps in case of usage network context(it will create N temporary networks. N can be specified) to choose one of created networks(if N > 1)21:02
andrewwandreykurilin: so what should I be doing in the case of established provider networks?21:08
rallydev-bot[From Gitter] andreykurilin : andreww: you can try to use http://rally.readthedocs.io/en/latest/plugins/plugin_reference.html#existing-network-context context. it accept empty values. it should be used with auto_assign_nic: True21:10
andrewwI added "context": {"existing_network": {}} with the auto_assign_nic, that worked21:28
rallydev-bot[From Gitter] andreykurilin : cool21:28
andrewwI'm not sure how to pick a specific network yet, but it ran.21:28
andrewwand did a good job proving some of my HV's are broken =)21:29
rallydev-bot[From Gitter] andreykurilin : andreww: if you need to pick just specific network, you can transmit net-id as one of boot arguments21:29
rallydev-bot[From Gitter] andreykurilin : "nics": [{"net-id": "put here network id to use"}]21:30
rallydev-bot[From Gitter] andreykurilin : you can use it instead of specifying existing_users context and auto_assign_nic True21:30
andrewwas **kwargs, or under a specific key you mentioned as server_boot_args?21:30
rallydev-bot[From Gitter] andreykurilin : andreww: we have a lot of scenarios that boots server. They have different argument. Since NovaServers.boot_and_delete_server scenario works only with server resource, all server specific arguments can be transmitted via **kwargs21:32
andrewwok21:32
andrewwok, so the next thing I'm looking to do is to explicitly loop over every HV, and then loop again over each network for that AZ21:32
rallydev-bot[From Gitter] andreykurilin : just like "NovaServers.boot_and_delete_server": {"args": {"nics": [{"net-id": "asdasd"}]}, "runner": {...}, "context": {...}}21:33
andrewwok, nice21:33
andrewwI was looking over some of the jinja stuff, but am uncertian how to unpack the data to that21:34
rallydev-bot[From Gitter] andreykurilin : For example, in case of NovaServers.boot_server_attach_created_volume_and_live_migrate scenario, you will need to wrap server related arguments into specific argument - http://rally.readthedocs.io/en/latest/plugins/plugin_reference.html#scenario-novaservers-boot-server-attach-created-volume-and-live-migrate-boot-server-kwargs21:34
openstackgerritRoman Vasylets proposed openstack/rally master: Improve Task status list  https://review.openstack.org/30988321:34
rallydev-bot[From Gitter] andreykurilin : andreww: jinja template doesn't have access to discovering resources, so you can just specify them manually21:35
andrewweventually, I'm looking to report which hosts can't boot, so I can disable them21:35
*** jkilpatr_ has quit IRC21:35
andrewwok, so I'd create some arglist for it to loop over, and pass that?21:35
rallydev-bot[From Gitter] andreykurilin : https://github.com/openstack/rally/blob/master/rally-jobs/nova.yaml#L184-L20221:35
rallydev-bot[From Gitter] andreykurilin : you can use loop like here21:35
andrewwok, thanks. I'll explore this more21:37
rallydev-bot[From Gitter] andreykurilin : andreww: if you need to check network for servers, I can suggest you to use VMTask scenario. It boots vm, attaches ip, checks that vm is pingable and execute a command at the vm via ssh21:37
andrewwya, I saw that. I'm working my way to it21:38
rallydev-bot[From Gitter] andreykurilin : :)21:38
rallydev-bot[From Gitter] andreykurilin : I think it is one of the powerful scenarios that we have for OpenStack21:39
rallydev-bot[From Gitter] andreykurilin : it checks the whole stack:)21:39
*** jkilpatr_ has joined #openstack-rally22:12
*** abalutoiu has quit IRC22:14
*** beslemon has quit IRC22:35
*** stpierre has quit IRC22:41
*** abalutoiu has joined #openstack-rally22:48
*** abalutoiu has quit IRC22:48
dileeprandreykurilin: Hi..22:53
*** dave-mccowan has quit IRC22:53
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:54
*** orionx has quit IRC22:59
*** catintheroof has quit IRC23:00
*** Serlex has quit IRC23:22

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