*** salv-orlando has joined #openstack-sdks | 00:15 | |
*** salv-orlando has quit IRC | 00:20 | |
*** gouthamr has joined #openstack-sdks | 01:05 | |
*** salv-orlando has joined #openstack-sdks | 01:16 | |
*** salv-orlando has quit IRC | 01:21 | |
*** salv-orlando has joined #openstack-sdks | 02:17 | |
*** salv-orlando has quit IRC | 02:22 | |
*** reedip_ has joined #openstack-sdks | 02:31 | |
*** fzdarsky__ has joined #openstack-sdks | 02:45 | |
*** fzdarsky_ has quit IRC | 02:49 | |
*** salv-orlando has joined #openstack-sdks | 03:18 | |
*** salv-orlando has quit IRC | 03:23 | |
*** reedip_ has quit IRC | 03:48 | |
*** gouthamr has quit IRC | 04:04 | |
*** salv-orlando has joined #openstack-sdks | 04:19 | |
*** salv-orlando has quit IRC | 04:24 | |
*** salv-orlando has joined #openstack-sdks | 06:21 | |
*** salv-orlando has quit IRC | 06:25 | |
*** salv-orlando has joined #openstack-sdks | 07:22 | |
*** salv-orl_ has joined #openstack-sdks | 07:23 | |
*** salv-orlando has quit IRC | 07:27 | |
*** salv-orl_ has quit IRC | 07:59 | |
*** huanxuan has joined #openstack-sdks | 08:02 | |
*** cdent has joined #openstack-sdks | 08:46 | |
*** salv-orlando has joined #openstack-sdks | 09:00 | |
*** salv-orlando has quit IRC | 09:05 | |
*** GheRivero_vac is now known as GheRivero | 09:33 | |
*** salv-orlando has joined #openstack-sdks | 10:01 | |
*** salv-orlando has quit IRC | 10:05 | |
*** kevo has quit IRC | 10:40 | |
*** salv-orlando has joined #openstack-sdks | 11:02 | |
*** salv-orlando has quit IRC | 11:06 | |
openstackgerrit | Imran Hayder Malik proposed openstack/golang-client: Fix the install guide to specify sub-package https://review.openstack.org/403415 | 11:31 |
---|---|---|
*** salv-orlando has joined #openstack-sdks | 12:02 | |
*** salv-orlando has quit IRC | 12:07 | |
*** cdent has quit IRC | 12:19 | |
*** salv-orlando has joined #openstack-sdks | 13:03 | |
*** salv-orlando has quit IRC | 13:08 | |
*** cdent has joined #openstack-sdks | 13:49 | |
*** cdent_ has joined #openstack-sdks | 13:53 | |
*** cdent has quit IRC | 13:53 | |
*** cdent_ is now known as cdent | 13:53 | |
*** huanxuan has quit IRC | 14:17 | |
*** salv-orlando has joined #openstack-sdks | 14:49 | |
*** salv-orlando has quit IRC | 14:54 | |
*** salv-orlando has joined #openstack-sdks | 15:22 | |
*** reedip_ has joined #openstack-sdks | 15:34 | |
*** reedip_ has quit IRC | 15:47 | |
*** edleafe- has quit IRC | 15:50 | |
*** edleafe has joined #openstack-sdks | 15:50 | |
*** cdent has quit IRC | 15:52 | |
*** e0ne has joined #openstack-sdks | 16:12 | |
*** gouthamr has joined #openstack-sdks | 17:35 | |
*** kevo has joined #openstack-sdks | 17:38 | |
*** e0ne has quit IRC | 17:40 | |
*** salv-orlando has quit IRC | 18:04 | |
*** salv-orlando has joined #openstack-sdks | 18:09 | |
*** flwang1 has quit IRC | 18:18 | |
*** e0ne has joined #openstack-sdks | 18:21 | |
*** salv-orl_ has joined #openstack-sdks | 18:30 | |
*** salv-orlando has quit IRC | 18:33 | |
*** gouthamr has quit IRC | 18:33 | |
*** flwang1 has joined #openstack-sdks | 19:50 | |
*** salv-orl_ has quit IRC | 19:58 | |
*** adriant has joined #openstack-sdks | 20:38 | |
*** stream10 has joined #openstack-sdks | 21:24 | |
*** kevo has quit IRC | 21:25 | |
*** exploreshaifali has joined #openstack-sdks | 21:43 | |
*** stream10 has quit IRC | 21:46 | |
*** exploreshaifali has quit IRC | 21:51 | |
*** e0ne has quit IRC | 22:17 | |
*** jamielennox is now known as jamielennox|away | 22:21 | |
*** spligak has joined #openstack-sdks | 22:26 | |
spligak | I'm having a heck of a time creating a project and associating a user with that project using keystoneclient. Are there any "project bootstrap" examples out there that I could reference? I've looked at horizon and the openstack cli, but I'm hoping something less muddied by scale/abstraction exists out there. | 22:28 |
spligak | The process is 1) create a role 2) create a project 3) create a user 4) grant the user the role on the project. Correct? Am I misunderstanding the basic process? | 22:30 |
*** jamielennox|away is now known as jamielennox | 22:34 | |
jamielennox | spligak: typically you don't need to create a role in that sequence, but yes that's correct | 22:36 |
jamielennox | what's going wrong in the process? | 22:36 |
spligak | jamielennox, once I get to the "grant role to user on project" step, keystoneclient is complaining that it can't find the role I'm trying to grant. | 22:43 |
spligak | jamielennox, would it help if I put this in a gist? it's just a little script at this point. | 22:44 |
jamielennox | spligak: can i see what you've got? my first thought is that role there is an id and not the name you expect | 22:44 |
spligak | jamielennox, https://gist.github.com/jasonjohnson/6a7b013eb523df5cb66ecac6f4870c87 | 22:46 |
jamielennox | spligak: so this: | 22:47 |
jamielennox | print keystone.roles.grant( | 22:47 |
jamielennox | role="member", | 22:47 |
jamielennox | project="example", | 22:47 |
jamielennox | user="example" | 22:47 |
jamielennox | ) | 22:47 |
jamielennox | is not expecting a string name there but an id value | 22:47 |
jamielennox | before you have: role = keystone.roles.create(name='member') | 22:48 |
jamielennox | you can pass that role object as a parameter to role= | 22:48 |
jamielennox | or you can pass role=role.id | 22:48 |
jamielennox | OSC does this for you behind the scenes, but you have to find the ids yourself when using hte client | 22:49 |
spligak | jamielennox, okay. I'll fix that and try again. | 22:49 |
spligak | jamielennox, a bit of progress. looks like the same issue with the "user" parameter. fixing that now, too. | 22:52 |
jamielennox | spligak: yep, it applies to pretty much everything | 22:52 |
spligak | jamielennox, aaaaand project :) you're not kidding. | 22:53 |
spligak | jamielennox, excellent. got that working - thank you. | 23:02 |
jamielennox | spligak: great - anything | 23:03 |
jamielennox | anytime | 23:03 |
jamielennox | fingers faster than brain today | 23:03 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!