Perl 6 - the future is here, just unevenly distributed

IRC log for #openstack-rally, 2016-05-04

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

All times shown according to UTC.

Time Nick Message
00:23 yanyanhu joined #openstack-rally
00:32 rook joined #openstack-rally
01:04 kjorgensen joined #openstack-rally
01:08 kjorgens_ joined #openstack-rally
01:09 openstackgerrit Merged openstack/rally: [Common] Move code from utils.percentile to PercentileComputation  https://review.openstack.org/304595
01:48 ilbot3 joined #openstack-rally
01:48 Topic for #openstack-rally is now ☁ Rally RoadMap: http://goo.gl/JZkmwY ☁ Review Dashboard: http://goo.gl/YuCJfl ☁ IRC logs http://irclog.perlgeek.de/openstack-rally ☁ Key persons to ask:  boris-42, yfried, msdubov, rediskin, andreykurilin, amaretskiy  ☁ Documentation: https://rally.readthedocs.org/en/latest/ ☁ To publish changes to Rally:  https://rally.readthedocs.org/en/latest/contribute.html
01:58 anshul joined #openstack-rally
02:16 arnoldje joined #openstack-rally
02:19 abehl joined #openstack-rally
02:40 openstackgerrit Merged openstack/rally: Fix load duration calulation in case of 0 iterations were run  https://review.openstack.org/303560
03:06 akrzos joined #openstack-rally
03:07 kjorgensen joined #openstack-rally
03:25 psuriset joined #openstack-rally
03:34 Alex_Stef joined #openstack-rally
03:41 psuriset joined #openstack-rally
03:59 e0ne joined #openstack-rally
04:02 e0ne joined #openstack-rally
04:08 akrzos joined #openstack-rally
04:11 sverma joined #openstack-rally
05:11 shausy joined #openstack-rally
05:13 rdas joined #openstack-rally
06:09 kjorgensen joined #openstack-rally
06:10 akrzos joined #openstack-rally
06:18 openstackgerrit joined #openstack-rally
06:25 goutham joined #openstack-rally
06:41 e0ne joined #openstack-rally
06:57 soumitm joined #openstack-rally
07:01 tesseract joined #openstack-rally
07:03 ushkalim joined #openstack-rally
07:09 arxcruz joined #openstack-rally
07:32 amaretskiy joined #openstack-rally
08:23 mvk_ joined #openstack-rally
08:33 Alex_Stef joined #openstack-rally
08:36 abehl joined #openstack-rally
08:41 adiantum joined #openstack-rally
08:55 Alex_Stef joined #openstack-rally
09:08 abalutoiu joined #openstack-rally
09:28 prithiv joined #openstack-rally
09:28 prithiv Hi
09:30 prithiv i tried creating my environment with existing users but am getting error. anyone facing the same issue
09:33 kbaikov joined #openstack-rally
09:42 kbaikov joined #openstack-rally
09:50 tosky joined #openstack-rally
10:06 prithiv joined #openstack-rally
10:06 e0ne joined #openstack-rally
10:09 prithiv joined #openstack-rally
10:10 prithiv joined #openstack-rally
10:12 Alex_Stef joined #openstack-rally
10:12 prithiv joined #openstack-rally
10:40 ylobankov joined #openstack-rally
10:42 openstackgerrit Yaroslav Lobankov proposed openstack/rally: [Verify] Add 'version' arg to install/reinstall cmd  https://review.openstack.org/310503
10:45 adiantum joined #openstack-rally
10:57 akrzos joined #openstack-rally
10:58 prithiv joined #openstack-rally
11:04 prithiv joined #openstack-rally
11:20 stpierre joined #openstack-rally
11:28 MaxPC joined #openstack-rally
11:54 mvk_ joined #openstack-rally
11:58 akrzos joined #openstack-rally
12:12 prithiv joined #openstack-rally
12:15 davidlenwell joined #openstack-rally
12:22 e0ne joined #openstack-rally
12:22 asti joined #openstack-rally
12:30 prithiv joined #openstack-rally
12:38 abalutoiu joined #openstack-rally
13:32 diogogmt joined #openstack-rally
13:41 arnoldje joined #openstack-rally
13:42 abalutoiu_ joined #openstack-rally
13:55 rook joined #openstack-rally
14:01 prithiv joined #openstack-rally
14:03 diogogmt joined #openstack-rally
14:11 arnoldje joined #openstack-rally
14:14 openstackgerrit Andrey Kurilin proposed openstack/rally: Remove unused requirements  https://review.openstack.org/312528
14:15 yingjun joined #openstack-rally
14:16 absubram joined #openstack-rally
14:24 tosky joined #openstack-rally
14:32 prithiv joined #openstack-rally
15:14 yingjun joined #openstack-rally
15:15 sverma joined #openstack-rally
15:18 absubram joined #openstack-rally
15:27 lakerzhou joined #openstack-rally
15:30 lakerzhou hello, 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:31 lakerzhou can any one help me here please?
15:34 absubram joined #openstack-rally
15:38 lakerzhou Hi Absubram
15:38 lakerzhou I am new to rally
15:43 stpierre lakerzhou: there should be a more detailed error message a few lines before that
15:46 davideagnello joined #openstack-rally
15:47 asti joined #openstack-rally
15:49 e0ne joined #openstack-rally
16:00 prithiv joined #openstack-rally
16:01 prithiv hi
16:01 prithiv does rally create a user every time i run a task
16:01 prithiv like boot_and_delete_server
16:01 davideagnello joined #openstack-rally
16:02 openstackgerrit Merged openstack/rally: Remove unused requirements  https://review.openstack.org/312528
16:02 prithiv can i make it use just the existing admin user ?
16:03 stpierre yes, 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 tested
16:04 stpierre http://rally.readthedocs.io/en/latest/tutorial/step_3_benchmarking_with_existing_users.html
16:04 prithiv i saw the link. when i try the same way, its throwing error about having no user section in the context
16:04 prithiv @stpierre have you tried it before
16:04 stpierre nope
16:05 stpierre i think you need to provide an empty users context
16:05 prithiv yes i did. still same error
16:05 stpierre that makes no sense
16:05 stpierre can you pastebin your task file, and the exact error you're getting from rally?
16:05 prithiv please give me five minutes. i will run it now again and will paste it
16:14 kjorgensen joined #openstack-rally
16:19 prithiv Reason:
16:19 prithiv Invalid scenario argument: 'You should specify 'users' context'`
16:19 prithiv this is the error
16:19 prithiv i followed the same link you provided..
16:21 stpierre okay, now please pastebin your task file
16:21 Serlex joined #openstack-rally
16:25 openstackgerrit Zack Feldstein proposed openstack/rally: Allow non-admin users to run tasks  https://review.openstack.org/312625
16:26 Serlex hi, does one need to run any cleanup post running "rally verify start..."?
16:26 madhu_ak joined #openstack-rally
16:28 Jeffrey4l joined #openstack-rally
16:33 abalutoiu joined #openstack-rally
16:36 prithiv http://paste.openstack.org/show/496103/
16:36 prithiv my task file
16:36 prithiv apologies if i have missed anything
16:42 prithiv any 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 stpierre that's not your task file
16:43 stpierre that's your deployment file
16:43 stpierre paste the file that you give to rally with --task
16:44 prithiv i am sorry i am new to rally. what do you mean by scenario file. i created the env using —fromenv option
16:44 stpierre when you ran 'rally task start', you gave it a task file
16:44 stpierre 'rally task start --task <some filename here>'
16:44 stpierre that file
16:44 stpierre pastebin it
16:44 prithiv that is the one i [pasted above
16:44 stpierre uh
16:44 stpierre well then we've found your problem
16:44 prithiv rally task start existing.json
16:44 prithiv thank you so mucn...
16:44 stpierre right
16:44 prithiv what was it...
16:45 stpierre you need to pass it a task file, something like these: https://github.com/openstack/rally/tree/master/samples/tasks
16: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 empty
16:47 e0ne joined #openstack-rally
16:47 prithiv if you dont mind can you send few examples
16:47 prithiv this link https://github.com/openstack/rally/tree/master/samples/tasks/scenarios/nova
16:47 prithiv i am using boot.json
16:47 prithiv i ran
16:48 prithiv rally task start boot.json
16:48 prithiv i was getting the above error at that time only. in that file only i have given empty context (hope that was the mistake)
16:49 stpierre yes, you need to pass a users context. it can be empty if you're using existing users, but it needs to be there
16:49 prithiv i have an existing user admin (which is openstack user)
16:49 prithiv if am passing empty context, it should be using my admin user rite… if am not mistaken
16:50 smurke_ yes, probably you want to do is http://paste.openstack.org/show/496107/
16:51 smurke_ if you are using boot.json
16:51 stpierre you cannot pass a completely empty context
16:51 stpierre rally requires you to pass some sort of users context
16:52 prithiv okay.. can you also give me your existing.json. just to see my mistakes...
16:52 prithiv an example of existing.json
16:52 zackf joined #openstack-rally
16:52 stpierre your existing.json is fine
16:53 stpierre you 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 stpierre but the users context is required
16:53 stpierre at least, i think your existing.json is fine. i'
16:53 stpierre i'm not sure what rally will do if you provide both existing users and admin creds
16:53 stpierre i guess that's in the example, though
16:53 prithiv can i use admin as my existing user ?
16:53 stpierre so it should be fine
16:54 stpierre yes, but why?
16:54 stpierre you're going to a lot of work here when you don't need to. just let rally create ephemeral tenants and users
16:54 stpierre unless your keystone is backed by LDAP, or you have some technical reason that you cannot create users, just let rally create users
16:54 prithiv yes but when rally creates a user, there will be a default quota limit of 10 or 40 instances per user/tenant
16:55 prithiv i want to see scalability since am using a fake driver
16:55 stpierre you can change quotas on the fly with rally
16:55 stpierre there's a quotas context
16:55 prithiv oh is it.. i did not see that.
16:56 prithiv Quotas.nova_update ?
16:56 stpierre e.g., https://github.com/openstack/rally/blob/master/samples/tasks/contexts/large-ops/create-volume-large-scale.yaml#L14-L16
16:56 stpierre no, that's a scenario that tests updating quotas
16:56 prithiv thank 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 use
16:57 stpierre or: https://github.com/openstack/rally/blob/master/rally-jobs/rally.yaml#L508-L510
16:57 stpierre yes, you can pass it the network id
16:57 stpierre let me see if i can find an example
16:57 prithiv thanks
16:58 stpierre doesn't look like we have one
16:58 stpierre i always just use auto_assign_nic: True, which just picks a network
16:59 stpierre ultimately, every scenario that boots a server has a way to pass arbitrary keyword arguments to the underlying nova.servers.create() call
16:59 stpierre i can't remember the exact format, but i think it's something like: "nics": [{"net-id": "some-network-uuid"}]
16:59 prithiv okay. i will see if there is any way… but i have seen example of auto_assign_nic…
16:59 stpierre where you need to pass that will depend on the scenario
16:59 prithiv thanks :)
16:59 prithiv that was much helpful
17:01 e0ne joined #openstack-rally
17:08 tosky_ joined #openstack-rally
17:09 bigdogstl joined #openstack-rally
17:17 prithiv joined #openstack-rally
17:20 prithiv joined #openstack-rally
17:20 soumitm joined #openstack-rally
17:26 diogogmt joined #openstack-rally
17:35 bigdogstl joined #openstack-rally
17:43 zackf andreykurilin: you around?
17:44 pvaneck joined #openstack-rally
18:01 openstackgerrit Piyush proposed openstack/rally: [WIP]Add create-flavor and flavor-access-list scenario  https://review.openstack.org/302754
18:08 psuriset joined #openstack-rally
18:32 bigdogstl joined #openstack-rally
18:43 bigdogstl joined #openstack-rally
18:48 rook joined #openstack-rally
18:57 abehl joined #openstack-rally
19:00 mvk_ joined #openstack-rally
19:28 bigdogstl joined #openstack-rally
19:40 mkrcmari__ joined #openstack-rally
19:46 e0ne joined #openstack-rally
19:48 openstackgerrit joined #openstack-rally
19:53 Alex_Stef joined #openstack-rally
20:02 e0ne joined #openstack-rally
20:10 e0ne joined #openstack-rally
20:16 mvk_ joined #openstack-rally
20:18 mvk joined #openstack-rally
20:21 mkrcmari__ joined #openstack-rally
20:22 bigdogstl joined #openstack-rally
20:38 bigdogstl joined #openstack-rally
20:41 mvk joined #openstack-rally
20:44 mvk_ joined #openstack-rally
20:47 mkrcmari__ joined #openstack-rally
20:51 mvk joined #openstack-rally
20:51 andreykurilin__ zackf: hi
20:53 mvk_ joined #openstack-rally
20:56 mkrcmari__ joined #openstack-rally
21:00 dharinic_ joined #openstack-rally
21:00 mvk_ joined #openstack-rally
21:10 harlowja joined #openstack-rally
21:11 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 deployemnt
21:12 zackf andreykurilin__: I figured out why i couldn't run as admin
21:13 zackf There is a check in osclients that mandates your creds be apart of the admin role
21:13 zackf I put a patch up: https://review.openstack.org/#/c/312625/
21:13 zackf There is some discussion on it currently
21:13 stpierre i was under the impression that there were still validation bits that required admin
21:15 andreykurilin__ stpierre: we need to find and remove them all:)
21:15 andreykurilin__ zackf: ok, will look
21:15 stpierre easier said than done, AIUI :)
21:15 zackf Thanks andreykurilin__
21:18 andreykurilin__ stpierre: will see
21:18 andreykurilin__ :)
21:22 akrzos joined #openstack-rally
21:29 psuriset joined #openstack-rally
21:34 bigdogstl joined #openstack-rally
22:02 zackf fwiw 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:03 zackf @stpierrer/ @andreykurilin__
22:04 andreykurilin__ zackf: do you specify "admin" field in deployment or not? If yes, is it a simple user?
22:05 zackf yeah, i had to specify admin field, but it was a non-admin user
22:05 zackf It belonged to demo tenant
22:06 andreykurilin__ So, I think that your patch is doing the wrong thing
22:07 andreykurilin__ We should not remove this check
22:07 andreykurilin__ Admin user should be admin
22:08 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 specified
22:10 andreykurilin__ The second change: move check from verified_keystone to somewhere else and check admin field with it
22:10 zackf ah, ok, i see a bug that was opened a couple of days ago.
22:10 zackf https://bugs.launchpad.net/rally/+bug/1577431
22:10 openstack Launchpad bug 1577431 in Rally "Rally existing cloud requires admin entry" [Wishlist,In progress] - Assigned to Boris Pavlovic (boris-42)
22:10 zackf When i tried to remove admin entry, it wouldn't even create the deployment.
22:10 andreykurilin__ Hm...
22:11 zackf Probably due to that bug, which is why i thought i had to include the admin field in my deployment json
22:11 andreykurilin__ Your solution looks like workaround:)
22:11 zackf quite possible
22:11 zackf :)
22:12 zackf however
22:12 zackf If you're just checking that a user belongs to the admin role
22:12 zackf That seems like it might not be sufficient 100% of the time.
22:12 andreykurilin__ Yeah, we not need to do it there
22:12 zackf You can really define any name for an "admin" type role
22:13 zackf and that check would cause issues, if someone had their policy files using something like "cloud_admin" for the true admin role
22:13 andreykurilin__ It is true
22:14 andreykurilin__ I think the better check is call something admin specific(for example list services via keystone, not via service catalog) and catch exception
22:17 psuriset joined #openstack-rally
22:19 zackf For that check, what is the goal? If you're an admin then return the keystone client?
22:20 zackf It looks to me, this check is just limiting using rally in general to running as admin
22:20 zackf It doesn't seem to take into account the task you're running might not require admin.
22:28 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:53 harlowja joined #openstack-rally
23:38 yingjun joined #openstack-rally
23:51 amit213 joined #openstack-rally
23:52 davideagnello joined #openstack-rally

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