*** ricolin has joined #openstack-sdks | 00:32 | |
*** ccamel has quit IRC | 02:26 | |
*** camelCaser has joined #openstack-sdks | 02:27 | |
*** toabctl has joined #openstack-sdks | 04:18 | |
*** Luzi has joined #openstack-sdks | 05:01 | |
*** slaweq has joined #openstack-sdks | 06:23 | |
*** gtema has joined #openstack-sdks | 06:59 | |
*** e0ne has quit IRC | 07:19 | |
*** jpena|off is now known as jpena | 07:29 | |
*** gtema has quit IRC | 07:35 | |
*** gtema has joined #openstack-sdks | 07:41 | |
*** ralonsoh has joined #openstack-sdks | 08:00 | |
*** ttsiouts has joined #openstack-sdks | 08:02 | |
*** jpich has joined #openstack-sdks | 08:05 | |
*** ttsiouts has quit IRC | 08:16 | |
*** ttsiouts has joined #openstack-sdks | 08:20 | |
*** dtantsur|afk is now known as dtantsur | 08:24 | |
*** ttsiouts has quit IRC | 08:31 | |
*** e0ne has joined #openstack-sdks | 08:31 | |
*** gtema_ has joined #openstack-sdks | 08:48 | |
*** cdent has joined #openstack-sdks | 08:56 | |
*** ttsiouts has joined #openstack-sdks | 09:08 | |
*** tosky has joined #openstack-sdks | 09:11 | |
*** ricolin has quit IRC | 09:13 | |
*** jangutter has joined #openstack-sdks | 09:13 | |
*** ttsiouts has quit IRC | 09:17 | |
*** zbr is now known as zbr|ruck | 09:24 | |
*** tobiash has quit IRC | 09:27 | |
*** tobiash has joined #openstack-sdks | 09:29 | |
*** ttsiouts has joined #openstack-sdks | 09:55 | |
*** gtema_ has quit IRC | 10:14 | |
*** tosky has quit IRC | 10:17 | |
*** tosky has joined #openstack-sdks | 10:18 | |
*** cdent has quit IRC | 10:22 | |
*** gtema has quit IRC | 10:24 | |
*** gtema has joined #openstack-sdks | 10:43 | |
*** cdent has joined #openstack-sdks | 10:46 | |
*** ricolin has joined #openstack-sdks | 10:54 | |
*** ttsiouts has quit IRC | 10:56 | |
*** jpena is now known as jpena|lunch | 11:31 | |
*** ttsiouts has joined #openstack-sdks | 11:52 | |
*** enriquetaso has joined #openstack-sdks | 11:53 | |
*** ttsiouts has quit IRC | 12:06 | |
*** ttsiouts has joined #openstack-sdks | 12:06 | |
*** goldyfruit has quit IRC | 12:18 | |
*** cdent has quit IRC | 12:19 | |
*** jpena|lunch is now known as jpena | 12:30 | |
*** dtantsur is now known as dtantsur|afk | 12:58 | |
*** ttsiouts has quit IRC | 13:06 | |
*** senrique_ has joined #openstack-sdks | 13:11 | |
*** enriquetaso has quit IRC | 13:13 | |
*** dave-mccowan has joined #openstack-sdks | 13:17 | |
*** goldyfruit has joined #openstack-sdks | 13:18 | |
*** ttsiouts has joined #openstack-sdks | 13:20 | |
*** mriedem has joined #openstack-sdks | 13:25 | |
*** cdent has joined #openstack-sdks | 13:29 | |
*** Luzi has quit IRC | 13:37 | |
*** jangutter has quit IRC | 13:53 | |
*** redrobot has joined #openstack-sdks | 13:59 | |
*** gtema has quit IRC | 14:05 | |
*** jangutter has joined #openstack-sdks | 14:08 | |
*** adriant has quit IRC | 14:09 | |
*** gtema has joined #openstack-sdks | 14:10 | |
*** gtema has quit IRC | 14:14 | |
*** ttsiouts has quit IRC | 14:20 | |
*** ttsiouts has joined #openstack-sdks | 14:20 | |
*** ttsiouts has quit IRC | 14:25 | |
*** slaweq has quit IRC | 14:48 | |
*** slaweq has joined #openstack-sdks | 14:50 | |
*** goldyfruit_ has joined #openstack-sdks | 14:51 | |
*** goldyfruit has quit IRC | 14:53 | |
*** Jeffrey4l has quit IRC | 15:19 | |
*** Jeffrey4l has joined #openstack-sdks | 15:20 | |
*** e0ne has quit IRC | 16:27 | |
*** jpich has quit IRC | 16:27 | |
*** cdent has quit IRC | 16:33 | |
mordred | efried: I'm just now back in sweden and having fun with timezone shifts, so I'm useless atm. however, when I wake up, I'm going to redo the keystoneauth patch to do the 401 retry | 16:39 |
---|---|---|
efried | mordred: ack, ++ | 16:39 |
efried | mordred: I've clearly got some more work to do getting nova to allow versioned discovery unauth, but I think I've got it on the run. | 16:40 |
*** jpena is now known as jpena|off | 16:45 | |
*** zbr|ruck is now known as zbr | 16:52 | |
*** slaweq has quit IRC | 16:59 | |
*** slaweq has joined #openstack-sdks | 17:01 | |
*** e0ne has joined #openstack-sdks | 17:28 | |
*** e0ne has quit IRC | 17:36 | |
*** e0ne has joined #openstack-sdks | 18:19 | |
*** gmann is now known as gmann_afk | 18:19 | |
*** ricolin has quit IRC | 18:27 | |
*** e0ne has quit IRC | 19:41 | |
*** e0ne has joined #openstack-sdks | 20:14 | |
*** e0ne has quit IRC | 20:19 | |
*** enriquetaso has joined #openstack-sdks | 20:45 | |
*** senrique_ has quit IRC | 20:45 | |
*** ralonsoh has quit IRC | 20:49 | |
*** enriquetaso has quit IRC | 20:49 | |
*** irclogbot_2 has quit IRC | 20:54 | |
*** irclogbot_1 has quit IRC | 20:54 | |
*** irclogbot_0 has joined #openstack-sdks | 20:56 | |
*** irclogbot_0 has quit IRC | 21:01 | |
*** irclogbot_1 has joined #openstack-sdks | 21:02 | |
*** irclogbot_0 has joined #openstack-sdks | 21:02 | |
*** irclogbot_1 has quit IRC | 21:07 | |
*** irclogbot_0 has quit IRC | 21:07 | |
*** irclogbot_3 has joined #openstack-sdks | 21:08 | |
rm_work | with the SDK when I do: `user_cloud = admin_cloud.connect_as_project(user_project)`, and try to access `user_cloud.identity`, it fails because it can't determine the identity api version, but `admin_cloud.identity` works fine. is something not getting copied over correctly? | 21:10 |
rm_work | ^^ looking into whether domain isn't getting set properly -- though it's weird that it works on one but not the other | 21:10 |
efried | rm_work: stack trace or log msg? | 21:11 |
rm_work | yeah sec, it's via another app using it so i'll dig out the exact response | 21:12 |
*** irclogbot_3 has quit IRC | 21:13 | |
rm_work | trying to trace in | 21:13 |
rm_work | the high level response is: `NotSupported('The identity service for : exists but does not have any supported versions.',)` | 21:13 |
rm_work | ok well i did actually find out that i was wrong | 21:14 |
rm_work | it didn't work on admin_cloud either | 21:15 |
rm_work | so that makes more sense | 21:15 |
*** irclogbot_0 has joined #openstack-sdks | 21:15 | |
rm_work | and means it's not an issue with copying something, so much as just not being able to set the version correctly | 21:15 |
rm_work | which PROBABLY means that I just need to have some other arg set in the config when I pass it to the connection | 21:15 |
efried | wanna show me your connection init? | 21:16 |
rm_work | finding it | 21:16 |
rm_work | it's done via `connection.Connection(config=config.get_one(argparse=options))` | 21:17 |
rm_work | `config` is an os_client_config.config.OpenStackConfig object | 21:17 |
rm_work | so, probably "options" needs to have an identity-version set | 21:18 |
*** e0ne has joined #openstack-sdks | 21:18 | |
*** irclogbot_0 has quit IRC | 21:19 | |
efried | Gotta run for ~20 mins, will check back... | 21:19 |
*** irclogbot_2 has joined #openstack-sdks | 21:21 | |
*** irclogbot_1 has joined #openstack-sdks | 21:21 | |
*** e0ne has quit IRC | 21:24 | |
*** irclogbot_1 has quit IRC | 21:25 | |
*** irclogbot_2 has quit IRC | 21:25 | |
*** irclogbot_3 has joined #openstack-sdks | 21:26 | |
*** irclogbot_2 has joined #openstack-sdks | 21:26 | |
rm_work | yeah ok so basically there needs to be a way to specify "--os-identity-api-version" in the argparser that's passed in to the config that's then passed to the SDK | 21:31 |
rm_work | which wasn't happening (that isn't apparently part of the os_client_config arguments or the auth-module options :/ | 21:32 |
rm_work | which ... seems like maybe a bug there but for now i'll just add that arg explicitly in the app and that does it | 21:32 |
rm_work | (allows me to even pass that to the application in question) | 21:32 |
*** irclogbot_3 has quit IRC | 21:33 | |
*** irclogbot_2 has quit IRC | 21:33 | |
rm_work | appreciate the prodding, trying to replicate some stuff to paste it to you was exactly what i needed :D | 21:33 |
*** irclogbot_0 has joined #openstack-sdks | 21:36 | |
*** irclogbot_1 has joined #openstack-sdks | 21:36 | |
*** irclogbot_0 has quit IRC | 21:41 | |
*** irclogbot_1 has quit IRC | 21:41 | |
Shrews | rm_work: you can set identity api version in your clouds.yaml file, or an environment variable | 21:41 |
Shrews | there's a small blurb about that in the last paragraph of https://docs.openstack.org/openstacksdk/latest/user/config/configuration.html#site-specific-file-locations | 21:42 |
*** irclogbot_1 has joined #openstack-sdks | 21:43 | |
*** irclogbot_1 has quit IRC | 21:47 | |
*** irclogbot_0 has joined #openstack-sdks | 21:48 | |
*** irclogbot_2 has joined #openstack-sdks | 21:48 | |
efried | rm_work: also noting that os-client-config is deprecated :) | 21:48 |
efried | or at least superseded | 21:49 |
dtroyer | yes, o-c-c has been absorbed into the SDK directly. It is now just a wrapper so it should be a good example of how to use SDK directly | 21:52 |
rm_work | Shrews: yeah but I have to account for the ability for people to not use clouds.yaml | 21:53 |
rm_work | which is where this came up | 21:53 |
*** irclogbot_2 has quit IRC | 21:53 | |
*** irclogbot_0 has quit IRC | 21:53 | |
rm_work | hmmm ok so I should stop importing it | 21:53 |
rm_work | i'm updating ospurge | 21:53 |
rm_work | dtroyer: is there an example/doc somewhere about how to replace usage of os_client_config ? | 21:54 |
*** irclogbot_2 has joined #openstack-sdks | 21:54 | |
*** goldyfruit_ has quit IRC | 21:56 | |
dtroyer | that is what I meant about looking at o-c-c itself, it now does exactly that, translate to the SDK bits. Much of it is unchanged just in new module namespaces, but some did and I don't recall what that was offhand | 21:58 |
*** irclogbot_2 has quit IRC | 21:59 | |
*** irclogbot_2 has joined #openstack-sdks | 22:00 | |
rm_work | ah k | 22:01 |
rm_work | ok yeah so i got rid of the os_client_config import | 22:04 |
rm_work | replaced it with an import of openstack.config.loader | 22:04 |
rm_work | and replaced `os_client_config.OpenStackConfig()` with `loader.OpenStackConfig()` | 22:05 |
rm_work | and it just... works | 22:05 |
*** irclogbot_2 has quit IRC | 22:05 | |
*** dave-mccowan has quit IRC | 22:05 | |
*** irclogbot_3 has joined #openstack-sdks | 22:06 | |
*** irclogbot_2 has joined #openstack-sdks | 22:06 | |
*** slaweq has quit IRC | 22:14 | |
*** adriant has joined #openstack-sdks | 22:14 | |
*** irclogbot_3 has quit IRC | 22:14 | |
*** irclogbot_2 has quit IRC | 22:15 | |
*** irclogbot_0 has joined #openstack-sdks | 22:16 | |
*** goldyfruit_ has joined #openstack-sdks | 22:23 | |
*** tosky has quit IRC | 22:24 | |
*** mriedem has quit IRC | 22:44 | |
*** mriedem has joined #openstack-sdks | 22:45 | |
*** mriedem has quit IRC | 23:08 | |
efried | \o/ | 23:10 |
*** goldyfruit_ has quit IRC | 23:21 | |
openstackgerrit | Steve Baker proposed openstack/openstacksdk master: Support vendor data in configdrive building https://review.opendev.org/683842 | 23:32 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!