Monday, 2019-09-30

*** ricolin has joined #openstack-sdks00:32
*** ccamel has quit IRC02:26
*** camelCaser has joined #openstack-sdks02:27
*** toabctl has joined #openstack-sdks04:18
*** Luzi has joined #openstack-sdks05:01
*** slaweq has joined #openstack-sdks06:23
*** gtema has joined #openstack-sdks06:59
*** e0ne has quit IRC07:19
*** jpena|off is now known as jpena07:29
*** gtema has quit IRC07:35
*** gtema has joined #openstack-sdks07:41
*** ralonsoh has joined #openstack-sdks08:00
*** ttsiouts has joined #openstack-sdks08:02
*** jpich has joined #openstack-sdks08:05
*** ttsiouts has quit IRC08:16
*** ttsiouts has joined #openstack-sdks08:20
*** dtantsur|afk is now known as dtantsur08:24
*** ttsiouts has quit IRC08:31
*** e0ne has joined #openstack-sdks08:31
*** gtema_ has joined #openstack-sdks08:48
*** cdent has joined #openstack-sdks08:56
*** ttsiouts has joined #openstack-sdks09:08
*** tosky has joined #openstack-sdks09:11
*** ricolin has quit IRC09:13
*** jangutter has joined #openstack-sdks09:13
*** ttsiouts has quit IRC09:17
*** zbr is now known as zbr|ruck09:24
*** tobiash has quit IRC09:27
*** tobiash has joined #openstack-sdks09:29
*** ttsiouts has joined #openstack-sdks09:55
*** gtema_ has quit IRC10:14
*** tosky has quit IRC10:17
*** tosky has joined #openstack-sdks10:18
*** cdent has quit IRC10:22
*** gtema has quit IRC10:24
*** gtema has joined #openstack-sdks10:43
*** cdent has joined #openstack-sdks10:46
*** ricolin has joined #openstack-sdks10:54
*** ttsiouts has quit IRC10:56
*** jpena is now known as jpena|lunch11:31
*** ttsiouts has joined #openstack-sdks11:52
*** enriquetaso has joined #openstack-sdks11:53
*** ttsiouts has quit IRC12:06
*** ttsiouts has joined #openstack-sdks12:06
*** goldyfruit has quit IRC12:18
*** cdent has quit IRC12:19
*** jpena|lunch is now known as jpena12:30
*** dtantsur is now known as dtantsur|afk12:58
*** ttsiouts has quit IRC13:06
*** senrique_ has joined #openstack-sdks13:11
*** enriquetaso has quit IRC13:13
*** dave-mccowan has joined #openstack-sdks13:17
*** goldyfruit has joined #openstack-sdks13:18
*** ttsiouts has joined #openstack-sdks13:20
*** mriedem has joined #openstack-sdks13:25
*** cdent has joined #openstack-sdks13:29
*** Luzi has quit IRC13:37
*** jangutter has quit IRC13:53
*** redrobot has joined #openstack-sdks13:59
*** gtema has quit IRC14:05
*** jangutter has joined #openstack-sdks14:08
*** adriant has quit IRC14:09
*** gtema has joined #openstack-sdks14:10
*** gtema has quit IRC14:14
*** ttsiouts has quit IRC14:20
*** ttsiouts has joined #openstack-sdks14:20
*** ttsiouts has quit IRC14:25
*** slaweq has quit IRC14:48
*** slaweq has joined #openstack-sdks14:50
*** goldyfruit_ has joined #openstack-sdks14:51
*** goldyfruit has quit IRC14:53
*** Jeffrey4l has quit IRC15:19
*** Jeffrey4l has joined #openstack-sdks15:20
*** e0ne has quit IRC16:27
*** jpich has quit IRC16:27
*** cdent has quit IRC16:33
mordredefried: 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 retry16:39
efriedmordred: ack, ++16:39
efriedmordred: 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|off16:45
*** zbr|ruck is now known as zbr16:52
*** slaweq has quit IRC16:59
*** slaweq has joined #openstack-sdks17:01
*** e0ne has joined #openstack-sdks17:28
*** e0ne has quit IRC17:36
*** e0ne has joined #openstack-sdks18:19
*** gmann is now known as gmann_afk18:19
*** ricolin has quit IRC18:27
*** e0ne has quit IRC19:41
*** e0ne has joined #openstack-sdks20:14
*** e0ne has quit IRC20:19
*** enriquetaso has joined #openstack-sdks20:45
*** senrique_ has quit IRC20:45
*** ralonsoh has quit IRC20:49
*** enriquetaso has quit IRC20:49
*** irclogbot_2 has quit IRC20:54
*** irclogbot_1 has quit IRC20:54
*** irclogbot_0 has joined #openstack-sdks20:56
*** irclogbot_0 has quit IRC21:01
*** irclogbot_1 has joined #openstack-sdks21:02
*** irclogbot_0 has joined #openstack-sdks21:02
*** irclogbot_1 has quit IRC21:07
*** irclogbot_0 has quit IRC21:07
*** irclogbot_3 has joined #openstack-sdks21:08
rm_workwith 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 other21:10
efriedrm_work: stack trace or log msg?21:11
rm_workyeah sec, it's via another app using it so i'll dig out the exact response21:12
*** irclogbot_3 has quit IRC21:13
rm_worktrying to trace in21:13
rm_workthe high level response is: `NotSupported('The identity service for : exists but does not have any supported versions.',)`21:13
rm_workok well i did actually find out that i was wrong21:14
rm_workit didn't work on admin_cloud either21:15
rm_workso that makes more sense21:15
*** irclogbot_0 has joined #openstack-sdks21:15
rm_workand means it's not an issue with copying something, so much as just not being able to set the version correctly21:15
rm_workwhich PROBABLY means that I just need to have some other arg set in the config when I pass it to the connection21:15
efriedwanna show me your connection init?21:16
rm_workfinding it21:16
rm_workit's done via `connection.Connection(config=config.get_one(argparse=options))`21:17
rm_work`config` is an os_client_config.config.OpenStackConfig object21:17
rm_workso, probably "options" needs to have an identity-version set21:18
*** e0ne has joined #openstack-sdks21:18
*** irclogbot_0 has quit IRC21:19
efriedGotta run for ~20 mins, will check back...21:19
*** irclogbot_2 has joined #openstack-sdks21:21
*** irclogbot_1 has joined #openstack-sdks21:21
*** e0ne has quit IRC21:24
*** irclogbot_1 has quit IRC21:25
*** irclogbot_2 has quit IRC21:25
*** irclogbot_3 has joined #openstack-sdks21:26
*** irclogbot_2 has joined #openstack-sdks21:26
rm_workyeah 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 SDK21:31
rm_workwhich wasn't happening (that isn't apparently part of the os_client_config arguments or the auth-module options :/21:32
rm_workwhich ... seems like maybe a bug there but for now i'll just add that arg explicitly in the app and that does it21:32
rm_work(allows me to even pass that to the application in question)21:32
*** irclogbot_3 has quit IRC21:33
*** irclogbot_2 has quit IRC21:33
rm_workappreciate the prodding, trying to replicate some stuff to paste it to you was exactly what i needed :D21:33
*** irclogbot_0 has joined #openstack-sdks21:36
*** irclogbot_1 has joined #openstack-sdks21:36
*** irclogbot_0 has quit IRC21:41
*** irclogbot_1 has quit IRC21:41
Shrewsrm_work: you can set identity api version in your clouds.yaml file, or an environment variable21:41
Shrewsthere's a small blurb about that in the last paragraph of
*** irclogbot_1 has joined #openstack-sdks21:43
*** irclogbot_1 has quit IRC21:47
*** irclogbot_0 has joined #openstack-sdks21:48
*** irclogbot_2 has joined #openstack-sdks21:48
efriedrm_work: also noting that os-client-config is deprecated :)21:48
efriedor at least superseded21:49
dtroyeryes, 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 directly21:52
rm_workShrews: yeah but I have to account for the ability for people to not use clouds.yaml21:53
rm_workwhich is where this came up21:53
*** irclogbot_2 has quit IRC21:53
*** irclogbot_0 has quit IRC21:53
rm_workhmmm ok so I should stop importing it21:53
rm_worki'm updating ospurge21:53
rm_workdtroyer: is there an example/doc somewhere about how to replace usage of os_client_config ?21:54
*** irclogbot_2 has joined #openstack-sdks21:54
*** goldyfruit_ has quit IRC21:56
dtroyerthat 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 offhand21:58
*** irclogbot_2 has quit IRC21:59
*** irclogbot_2 has joined #openstack-sdks22:00
rm_workah k22:01
rm_workok yeah so i got rid of the os_client_config import22:04
rm_workreplaced it with an import of openstack.config.loader22:04
rm_workand replaced `os_client_config.OpenStackConfig()` with `loader.OpenStackConfig()`22:05
rm_workand it just... works22:05
*** irclogbot_2 has quit IRC22:05
*** dave-mccowan has quit IRC22:05
*** irclogbot_3 has joined #openstack-sdks22:06
*** irclogbot_2 has joined #openstack-sdks22:06
*** slaweq has quit IRC22:14
*** adriant has joined #openstack-sdks22:14
*** irclogbot_3 has quit IRC22:14
*** irclogbot_2 has quit IRC22:15
*** irclogbot_0 has joined #openstack-sdks22:16
*** goldyfruit_ has joined #openstack-sdks22:23
*** tosky has quit IRC22:24
*** mriedem has quit IRC22:44
*** mriedem has joined #openstack-sdks22:45
*** mriedem has quit IRC23:08
*** goldyfruit_ has quit IRC23:21
openstackgerritSteve Baker proposed openstack/openstacksdk master: Support vendor data in configdrive building

Generated by 2.15.3 by Marius Gedminas - find it at!