Wednesday, 2016-05-04

*** adiantum has quit IRC00:07
*** pvaneck has quit IRC00:11
*** yanyanhu has joined #openstack-rally00:23
*** rook has quit IRC00:30
*** rook has joined #openstack-rally00:32
*** madhu_ak has quit IRC00:56
*** kjorgensen has quit IRC01:02
*** kjorgensen has joined #openstack-rally01:04
*** kjorgens_ has joined #openstack-rally01:08
openstackgerritMerged openstack/rally: [Common] Move code from utils.percentile to PercentileComputation  https://review.openstack.org/30459501:09
*** kjorgensen has quit IRC01:09
*** kjorgens_ has quit IRC01:12
*** vkmc is now known as Guest987401:20
*** soumitm has quit IRC01:21
*** Guest9874 is now known as cmkv01:22
*** cmkv is now known as violenciarivas01:22
*** violenciarivas is now known as vkmc01:23
*** psuriset has quit IRC01:39
*** ilbot3 has quit IRC01:45
*** ilbot3 has joined #openstack-rally01:48
*** anshul has joined #openstack-rally01:58
*** anshul is now known as Guest3271501:59
*** Guest32715 has quit IRC02:03
*** akrzos has quit IRC02:06
*** arnoldje has joined #openstack-rally02:16
*** abehl has joined #openstack-rally02:19
openstackgerritMerged openstack/rally: Fix load duration calulation in case of 0 iterations were run  https://review.openstack.org/30356002:40
*** akrzos has joined #openstack-rally03:06
*** kjorgensen has joined #openstack-rally03:07
*** kjorgensen has quit IRC03:12
*** akrzos has quit IRC03:12
*** abehl has quit IRC03:16
*** Alex_Stef has quit IRC03:23
*** psuriset has joined #openstack-rally03:25
*** Alex_Stef has joined #openstack-rally03:35
*** psuriset has quit IRC03:41
*** psuriset has joined #openstack-rally03:41
*** e0ne has joined #openstack-rally03:59
*** e0ne has quit IRC04:01
*** e0ne has joined #openstack-rally04:02
*** e0ne has quit IRC04:05
*** akrzos has joined #openstack-rally04:08
*** sverma has joined #openstack-rally04:11
*** akrzos has quit IRC04:13
*** arnoldje has quit IRC04:40
*** amit213 has quit IRC04:44
*** shausy has joined #openstack-rally05:11
*** rdas has joined #openstack-rally05:13
*** kjorgensen has joined #openstack-rally06:09
*** akrzos has joined #openstack-rally06:10
*** kjorgensen has quit IRC06:14
*** akrzos has quit IRC06:14
*** openstackgerrit has quit IRC06:17
*** openstackgerrit has joined #openstack-rally06:18
*** goutham has joined #openstack-rally06:25
*** Alex_Stef has quit IRC06:28
*** e0ne has joined #openstack-rally06:41
*** goutham has quit IRC06:57
*** soumitm has joined #openstack-rally06:57
*** tesseract has joined #openstack-rally07:01
*** tesseract is now known as Guest2331907:01
*** ushkalim has joined #openstack-rally07:03
*** arxcruz has joined #openstack-rally07:09
*** amaretskiy has joined #openstack-rally07:32
*** mvk_ has joined #openstack-rally08:23
*** mvk has quit IRC08:26
*** Alex_Stef has joined #openstack-rally08:34
*** abehl has joined #openstack-rally08:36
*** Alex_Stef has quit IRC08:39
*** adiantum has joined #openstack-rally08:41
*** yanyanhu has quit IRC08:49
*** Alex_Stef has joined #openstack-rally08:55
*** abalutoiu has joined #openstack-rally09:08
*** kbaikov has quit IRC09:12
*** adiantum has quit IRC09:13
*** soumitm has quit IRC09:23
*** prithiv has joined #openstack-rally09:28
prithivHi09:28
prithivi tried creating my environment with existing users but am getting error. anyone facing the same issue09:30
*** kbaikov has joined #openstack-rally09:33
*** kbaikov has quit IRC09:42
*** kbaikov has joined #openstack-rally09:42
*** prithiv has quit IRC09:45
*** zackf has quit IRC09:47
*** tosky has joined #openstack-rally09:50
*** yingjun has quit IRC09:57
*** Alex_Stef has quit IRC09:59
*** prithiv has joined #openstack-rally10:06
*** e0ne has quit IRC10:06
*** e0ne has joined #openstack-rally10:06
*** prithiv has quit IRC10:08
*** prithiv has joined #openstack-rally10:09
*** prithiv has quit IRC10:10
*** prithiv has joined #openstack-rally10:10
*** prithiv has quit IRC10:11
*** Alex_Stef has joined #openstack-rally10:12
*** prithiv has joined #openstack-rally10:12
*** ylobankov has joined #openstack-rally10:40
openstackgerritYaroslav Lobankov proposed openstack/rally: [Verify] Add 'version' arg to install/reinstall cmd  https://review.openstack.org/31050310:42
*** adiantum has joined #openstack-rally10:45
*** mvk_ has quit IRC10:46
*** prithiv has quit IRC10:47
*** akrzos has joined #openstack-rally10:57
*** prithiv has joined #openstack-rally10:58
*** prithiv has quit IRC10:59
*** abalutoiu has quit IRC11:03
*** prithiv has joined #openstack-rally11:04
*** akrzos has quit IRC11:05
*** prithiv has quit IRC11:05
*** stpierre has joined #openstack-rally11:20
*** MaxPC has joined #openstack-rally11:28
*** mvk_ has joined #openstack-rally11:54
*** akrzos has joined #openstack-rally11:58
*** e0ne has quit IRC12:05
*** abehl has quit IRC12:09
*** prithiv has joined #openstack-rally12:12
*** davidlenwell has quit IRC12:13
*** davidlenwell has joined #openstack-rally12:15
*** e0ne has joined #openstack-rally12:22
*** asti has joined #openstack-rally12:22
*** shausy has quit IRC12:26
*** prithiv has quit IRC12:28
*** prithiv has joined #openstack-rally12:30
*** abalutoiu has joined #openstack-rally12:38
*** rook has quit IRC12:42
*** prithiv has quit IRC13:18
*** abalutoiu has quit IRC13:24
*** diogogmt has quit IRC13:28
*** diogogmt has joined #openstack-rally13:32
*** arnoldje has joined #openstack-rally13:41
*** abalutoiu_ has joined #openstack-rally13:42
*** diogogmt has quit IRC13:43
*** arnoldje has quit IRC13:45
*** rdas has quit IRC13:49
*** rook has joined #openstack-rally13:55
*** prithiv has joined #openstack-rally14:01
*** diogogmt has joined #openstack-rally14:03
*** prithiv has quit IRC14:09
*** arnoldje has joined #openstack-rally14:11
openstackgerritAndrey Kurilin proposed openstack/rally: Remove unused requirements  https://review.openstack.org/31252814:14
*** yingjun has joined #openstack-rally14:15
*** absubram has joined #openstack-rally14:16
*** tosky has quit IRC14:21
*** tosky has joined #openstack-rally14:24
*** prithiv has joined #openstack-rally14:32
*** Alex_Stef has quit IRC14:34
*** e0ne has quit IRC14:50
*** yingjun has quit IRC15:14
*** yingjun has joined #openstack-rally15:14
*** sverma has quit IRC15:15
*** sverma has joined #openstack-rally15:15
*** absubram has quit IRC15:17
*** absubram has joined #openstack-rally15:18
*** yingjun has quit IRC15:18
*** absubram has quit IRC15:19
*** lakerzhou has joined #openstack-rally15:27
lakerzhouhello, I am new to rally. after install/config, I had no issues with "rally show images", but always got this error "ERROR rally.task.engine [-] Unable to setup context 'users': 'Failed to create the requested number of tenants.".15:30
lakerzhoucan any one help me here please?15:31
*** absubram has joined #openstack-rally15:34
lakerzhouHi Absubram15:38
lakerzhouI am new to rally15:38
*** asti has quit IRC15:42
stpierrelakerzhou: there should be a more detailed error message a few lines before that15:43
*** lakerzhou has quit IRC15:45
*** davideagnello has joined #openstack-rally15:46
*** Guest23319 has quit IRC15:46
*** asti has joined #openstack-rally15:47
*** rook has quit IRC15:48
*** e0ne has joined #openstack-rally15:49
*** prithiv has quit IRC15:58
*** davideagnello has quit IRC15:59
*** prithiv has joined #openstack-rally16:00
prithivhi16:01
prithivdoes rally create a user every time i run a task16:01
prithivlike boot_and_delete_server16:01
*** davideagnello has joined #openstack-rally16:01
openstackgerritMerged openstack/rally: Remove unused requirements  https://review.openstack.org/31252816:02
prithivcan i make it use just the existing admin user ?16:02
stpierreyes, it does. you can run it with existing users if you really want to, but if you have admin then letting it create its own ephemeral users and tenants is unquestionably better -- it's more isolated, and better tested16:03
stpierrehttp://rally.readthedocs.io/en/latest/tutorial/step_3_benchmarking_with_existing_users.html16:04
prithivi saw the link. when i try the same way, its throwing error about having no user section in the context16:04
prithiv@stpierre have you tried it before16:04
stpierrenope16:04
stpierrei think you need to provide an empty users context16:05
prithivyes i did. still same error16:05
*** amaretskiy has quit IRC16:05
stpierrethat makes no sense16:05
stpierrecan you pastebin your task file, and the exact error you're getting from rally?16:05
prithivplease give me five minutes. i will run it now again and will paste it16:05
*** kjorgensen has joined #openstack-rally16:14
prithivReason:16:19
prithiv Invalid scenario argument: 'You should specify 'users' context'`16:19
prithivthis is the error16:19
prithivi followed the same link you provided..16:20
stpierreokay, now please pastebin your task file16:21
*** Serlex has joined #openstack-rally16:21
openstackgerritZack Feldstein proposed openstack/rally: Allow non-admin users to run tasks  https://review.openstack.org/31262516:25
Serlexhi, does one need to run any cleanup post running "rally verify start..."?16:26
*** madhu_ak has joined #openstack-rally16:26
*** Jeffrey4l has joined #openstack-rally16:28
*** sverma has quit IRC16:30
*** arxcruz has quit IRC16:30
*** abalutoiu has joined #openstack-rally16:33
*** adiantum has quit IRC16:34
*** abalutoiu_ has quit IRC16:35
prithivhttp://paste.openstack.org/show/496103/16:36
prithivmy task file16:36
prithivapologies if i have missed anything16:36
*** psuriset has quit IRC16:37
prithivany update ?16:43
smurke_prithiv: just out of curiosity is your keystone running on port 35357 ? can you also paste your scenario config ?16:43
stpierrethat's not your task file16:43
stpierrethat's your deployment file16:43
stpierrepaste the file that you give to rally with --task16:43
prithivi am sorry i am new to rally. what do you mean by scenario file. i created the env using —fromenv option16:44
stpierrewhen you ran 'rally task start', you gave it a task file16:44
stpierre'rally task start --task <some filename here>'16:44
stpierrethat file16:44
stpierrepastebin it16:44
prithivthat is the one i [pasted above16:44
stpierreuh16:44
stpierrewell then we've found your problem16:44
prithivrally task start existing.json16:44
prithivthank you so mucn...16:44
stpierreright16:44
prithivwhat was it...16:45
stpierreyou need to pass it a task file, something like these: https://github.com/openstack/rally/tree/master/samples/tasks16:45
*** e0ne has quit IRC16:46
smurke_like you want to boot_delete_server so you want to pass https://github.com/openstack/rally/blob/master/samples/tasks/scenarios/nova/boot-and-delete.json but keep your context empty16:46
*** bkopilov has quit IRC16:46
*** e0ne has joined #openstack-rally16:47
prithivif you dont mind can you send few examples16:47
prithivthis link https://github.com/openstack/rally/tree/master/samples/tasks/scenarios/nova16:47
prithivi am using boot.json16:47
prithivi ran16:47
prithivrally task start boot.json16:48
prithivi was getting the above error at that time only. in that file only i have given empty context (hope that was the mistake)16:48
stpierreyes, you need to pass a users context. it can be empty if you're using existing users, but it needs to be there16:49
prithivi have an existing user admin (which is openstack user)16:49
prithivif am passing empty context, it should be using my admin user rite… if am not mistaken16:49
smurke_yes, probably you want to do is http://paste.openstack.org/show/496107/16:50
smurke_if you are using boot.json16:51
stpierreyou cannot pass a completely empty context16:51
stpierrerally requires you to pass some sort of users context16:51
prithivokay.. can you also give me your existing.json. just to see my mistakes...16:52
prithivan example of existing.json16:52
*** zackf has joined #openstack-rally16:52
stpierreyour existing.json is fine16:52
stpierreyou can either a) use boot.json as-is, in which case rally will create three ephemeral tenants and two users in each tenant, and use those users and tenants to boot the servers; or b) something like http://paste.openstack.org/show/496108/16:53
stpierrebut the users context is required16:53
stpierreat least, i think your existing.json is fine. i'16:53
stpierrei'm not sure what rally will do if you provide both existing users and admin creds16:53
stpierrei guess that's in the example, though16:53
prithivcan i use admin as my existing user ?16:53
stpierreso it should be fine16:53
stpierreyes, but why?16:54
stpierreyou're going to a lot of work here when you don't need to. just let rally create ephemeral tenants and users16:54
stpierreunless your keystone is backed by LDAP, or you have some technical reason that you cannot create users, just let rally create users16:54
prithivyes but when rally creates a user, there will be a default quota limit of 10 or 40 instances per user/tenant16:54
prithivi want to see scalability since am using a fake driver16:55
stpierreyou can change quotas on the fly with rally16:55
stpierrethere's a quotas context16:55
prithivoh is it.. i did not see that.16:55
prithivQuotas.nova_update ?16:56
stpierree.g., https://github.com/openstack/rally/blob/master/samples/tasks/contexts/large-ops/create-volume-large-scale.yaml#L14-L1616:56
stpierreno, that's a scenario that tests updating quotas16:56
prithivthank you. this is the one i was exactly looking for. also, if i have more than 2 or 3 networks, while creating a server, is it possible to specify the network i want to use16:57
stpierreor: https://github.com/openstack/rally/blob/master/rally-jobs/rally.yaml#L508-L51016:57
stpierreyes, you can pass it the network id16:57
stpierrelet me see if i can find an example16:57
prithivthanks16:57
stpierredoesn't look like we have one16:58
stpierrei always just use auto_assign_nic: True, which just picks a network16:58
stpierreultimately, every scenario that boots a server has a way to pass arbitrary keyword arguments to the underlying nova.servers.create() call16:59
stpierrei can't remember the exact format, but i think it's something like: "nics": [{"net-id": "some-network-uuid"}]16:59
prithivokay. i will see if there is any way… but i have seen example of auto_assign_nic…16:59
stpierrewhere you need to pass that will depend on the scenario16:59
prithivthanks :)16:59
prithiv that was much helpful16:59
*** e0ne has quit IRC17:01
*** e0ne has joined #openstack-rally17:02
*** prithiv has quit IRC17:07
*** tosky_ has joined #openstack-rally17:08
*** tosky has quit IRC17:09
*** bigdogstl has joined #openstack-rally17:09
*** bigdogstl has quit IRC17:15
*** prithiv has joined #openstack-rally17:17
*** prithiv has quit IRC17:19
*** prithiv has joined #openstack-rally17:20
*** soumitm has joined #openstack-rally17:20
*** prithiv has quit IRC17:20
*** diogogmt has quit IRC17:22
*** ushkalim has quit IRC17:23
*** diogogmt has joined #openstack-rally17:26
*** bigdogstl has joined #openstack-rally17:35
*** Serlex has quit IRC17:40
zackfandreykurilin: you around?17:43
*** pvaneck has joined #openstack-rally17:44
*** bigdogstl has quit IRC17:45
*** mvk_ has quit IRC17:53
*** tosky_ has quit IRC17:57
openstackgerritPiyush proposed openstack/rally: [WIP]Add create-flavor and flavor-access-list scenario  https://review.openstack.org/30275418:01
*** psuriset has joined #openstack-rally18:08
*** diogogmt has quit IRC18:28
*** bigdogstl has joined #openstack-rally18:32
*** abalutoiu has quit IRC18:33
*** Jeffrey4l has quit IRC18:34
*** bigdogstl has quit IRC18:39
*** bigdogstl has joined #openstack-rally18:43
*** rook has joined #openstack-rally18:48
*** bigdogstl has quit IRC18:48
*** abehl has joined #openstack-rally18:57
*** mvk_ has joined #openstack-rally19:00
*** e0ne has quit IRC19:23
*** smurke is now known as Guest9071419:27
*** smurke_ is now known as smurke19:27
*** bigdogstl has joined #openstack-rally19:28
*** bigdogstl has quit IRC19:33
*** mkrcmari__ has joined #openstack-rally19:40
*** mvk_ has quit IRC19:44
*** e0ne has joined #openstack-rally19:46
*** openstackgerrit has quit IRC19:48
*** openstackgerrit has joined #openstack-rally19:48
*** e0ne has quit IRC19:48
*** Alex_Stef has joined #openstack-rally19:53
*** abehl has quit IRC19:56
*** e0ne has joined #openstack-rally20:02
*** e0ne has quit IRC20:07
*** harlowja has quit IRC20:09
*** e0ne has joined #openstack-rally20:10
*** mvk_ has joined #openstack-rally20:16
*** mvk has joined #openstack-rally20:18
*** mkrcmari__ has quit IRC20:19
*** mvk_ has quit IRC20:21
*** mkrcmari__ has joined #openstack-rally20:21
*** bigdogstl has joined #openstack-rally20:22
*** mvk has quit IRC20:25
*** bigdogstl has quit IRC20:27
*** Alex_Stef has quit IRC20:28
*** akrzos has quit IRC20:34
*** e0ne has quit IRC20:37
*** bigdogstl has joined #openstack-rally20:38
*** psuriset has quit IRC20:40
*** mvk has joined #openstack-rally20:41
*** bigdogstl has quit IRC20:43
*** mkrcmari__ has quit IRC20:44
*** mvk_ has joined #openstack-rally20:44
*** mkrcmari__ has joined #openstack-rally20:47
*** mvk has quit IRC20:48
*** mvk_ has quit IRC20:50
*** mvk has joined #openstack-rally20:51
andreykurilin__zackf: hi20:51
*** mkrcmari__ has quit IRC20:53
*** mvk_ has joined #openstack-rally20:53
*** mkrcmari__ has joined #openstack-rally20:56
*** mvk has quit IRC20:56
*** madhu_ak has quit IRC20:57
*** mvk_ has quit IRC20:59
*** dharinic_ has joined #openstack-rally21:00
*** mvk_ has joined #openstack-rally21:00
*** mkrcmari__ has quit IRC21:04
*** harlowja has joined #openstack-rally21:10
andreykurilin__zackf: I have not  a lot of time to check existing users, but it looks like you need to specify some user(can be fake) as admin in rally deployment and it will not be used for non-admin scenarios if you specify a list of users in deployemnt21:11
zackfandreykurilin__: I figured out why i couldn't run as admin21:12
zackfThere is a check in osclients that mandates your creds be apart of the admin role21:13
zackfI put a patch up: https://review.openstack.org/#/c/312625/21:13
zackfThere is some discussion on it currently21:13
*** MaxPC has quit IRC21:13
stpierrei was under the impression that there were still validation bits that required admin21:13
andreykurilin__stpierre: we need to find and remove them all:)21:15
andreykurilin__zackf: ok, will look21:15
stpierreeasier said than done, AIUI :)21:15
zackfThanks andreykurilin__21:15
andreykurilin__stpierre: will see21:18
andreykurilin__:)21:18
*** akrzos has joined #openstack-rally21:22
*** psuriset has joined #openstack-rally21:29
*** stpierre has quit IRC21:30
*** bigdogstl has joined #openstack-rally21:34
*** bigdogstl has quit IRC21:39
*** asti has quit IRC22:00
*** psuriset has quit IRC22:02
zackffwiw with my patch i was able to run tasks with non-admin. So i'm not sure if there are alot of other places that admin is required.22:02
zackf@stpierrer/ @andreykurilin__22:03
andreykurilin__zackf: do you specify "admin" field in deployment or not? If yes, is it a simple user?22:04
zackfyeah, i had to specify admin field, but it was a non-admin user22:05
zackfIt belonged to demo tenant22:05
andreykurilin__So, I think that your patch is doing the wrong thing22:06
andreykurilin__We should not remove this check22:07
andreykurilin__Admin user should be admin22:07
andreykurilin__So first of all, we need to call this line https://github.com/openstack/rally/blob/master/rally/deployment/engines/existing.py#L146 only if admin field was specified22:08
andreykurilin__The second change: move check from verified_keystone to somewhere else and check admin field with it22:10
zackfah, ok, i see a bug that was opened a couple of days ago.22:10
zackfhttps://bugs.launchpad.net/rally/+bug/157743122:10
openstackLaunchpad bug 1577431 in Rally "Rally existing cloud requires admin entry" [Wishlist,In progress] - Assigned to Boris Pavlovic (boris-42)22:10
zackfWhen i tried to remove admin entry, it wouldn't even create the deployment.22:10
andreykurilin__Hm...22:10
zackfProbably due to that bug, which is why i thought i had to include the admin field in my deployment json22:11
andreykurilin__Your solution looks like workaround:)22:11
zackfquite possible22:11
zackf:)22:11
zackfhowever22:12
zackfIf you're just checking that a user belongs to the admin role22:12
zackfThat seems like it might not be sufficient 100% of the time.22:12
andreykurilin__Yeah, we not need to do it there22:12
zackfYou can really define any name for an "admin" type role22:12
zackfand that check would cause issues, if someone had their policy files using something like "cloud_admin" for the true admin role22:13
andreykurilin__It is true22:13
andreykurilin__I think the better check is call something admin specific(for example list services via keystone, not via service catalog) and catch exception22:14
*** absubram has quit IRC22:15
*** psuriset has joined #openstack-rally22:17
*** arnoldje has quit IRC22:19
zackfFor that check, what is the goal? If you're an admin then return the keystone client?22:19
zackfIt looks to me, this check is just limiting using rally in general to running as admin22:20
zackfIt doesn't seem to take into account the task you're running might not require admin.22:20
andreykurilin__zackf: first of all, admin field should be optional. In this case, such check will test that admin user is a cloud admin and rally task will not fail with unexpected error( 403 error).22:28
*** harlowja has quit IRC22:52
*** harlowja has joined #openstack-rally22:53
*** bapalm_ has quit IRC23:30
*** yingjun has joined #openstack-rally23:39
*** amit213 has joined #openstack-rally23:51
*** davideagnello has quit IRC23:51
*** davideagnello has joined #openstack-rally23:52
*** davideagnello has quit IRC23:56

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