Tuesday, 2018-03-27

adriantnot that gophercloud is your problem, but we potentially should as part of... that SDKs initiative that was started in Sydney try and have a reference spec for Auth across all libraries, and write something to help test that.00:02
adriantWhat was that initiative called? Am I misremembering something? OpenLabs or something?00:03
adriantmrhillsman: You might be the person to bug about this!00:04
adriantmrhillsman: ^ the above00:05
*** dave-mccowan has quit IRC00:10
*** salv-orlando has joined #openstack-sdks00:24
mrhillsmanjust getting notification, reading00:26
mrhillsmanyes adriant you are absolutely right00:28
mrhillsmannot just auth but i spoke with mordred i think or maybe someone else about reference spec(s) for a number of "this is how x should work across all libraries" thing00:29
*** salv-orlando has quit IRC00:29
adriantmrhillsman: yeah, we really do. I keep running into weird inconsistencies and it drives me mad :(00:31
mrhillsmanthat ^00:32
adriantlike terraform expects OS_AUTH_TOKEN while we've been using OS_TOKEN for ages00:33
adriantand I can't find the terraform code or gophercloud where that is even being read in...00:33
adriantAt this point I assume os-client-config is the reference implementation, and everyone 'should' be based on that when it comes to auth and source variables and such00:34
mrhillsmanhttps://github.com/gophercloud/gophercloud/blob/master/openstack/auth_env.go00:37
adriantmrhillsman: no token in there though00:38
adriantterraform supports token auth with OS_AUTH_TOKEN so it has to exist somewhere00:39
mrhillsmanah, i think i understand you now00:40
adriantmrhillsman: or in today's case, os-client-config supports token in clouds.yaml, but gophercloud doesn't :P00:42
mrhillsman^ that might be the actual case00:43
adriantwell, sort of. It's both. Ideally terraform/gopherclouds should use both OS_TOKEN and OS_AUTH_TOKEN and try and deprecate the latter, and then ALSO should add token support to clouds.yaml00:44
mrhillsmanhmm. well, it says it does (terraform provider at least documents it)00:44
adriantmrhillsman: https://www.terraform.io/docs/providers/openstack/#token00:45
adriantjust through OS_AUTH_TOKEN00:45
mrhillsman++00:46
* mrhillsman missed the absence _AUTH_00:47
mrhillsmanthe good thing is that jtopjian and in general the gophercloud folks are very responsive00:48
mrhillsmanand i do not think if you opened an issue it would take long to resolve00:48
mrhillsmanseems like a if you get one or the other do these things00:48
mrhillsmanunless there is something else offered by one vs the other00:49
*** chenyb4 has joined #openstack-sdks00:51
*** harlowja has quit IRC00:53
mrhillsmani'm creating an issue adriant00:55
mrhillsmanis ^ your github username?00:55
adriantmrhillsman: adrian-turjak00:56
mrhillsmanthx00:56
adriantmrhillsman: coworker already also opened: https://github.com/gophercloud/utils/issues/2500:56
mrhillsmancool01:02
adrianthmmmm01:02
mrhillsmani think that repo is only for figuring out if client config is being used and if so grab it01:02
adriantmrhillsman: I've just realised something01:03
adriantmrhillsman: https://github.com/terraform-providers/terraform-provider-openstack/blob/master/openstack/provider.go#L72-L7701:03
adriantthe OS_AUTH_TOKEN is in the provider code. I was silly and looking in the wrong place01:03
adriantbut now I'm wondering, does that provider use gophercloud or write it's own stuff?01:04
adriantI assumed (probably incorrectly) that it did01:04
mrhillsmanit uses gophercloud01:04
adriantok, then I'm not entirely mad01:04
mrhillsmanso you see the section right below that one01:04
mrhillsmanbasically, the section you referenced would turn into multi like the one below01:04
mrhillsmanand OS_TOKEN as an option01:05
mrhillsmanand then - if i understand right - gophercloud needs to do the same essentially01:05
adriantmrhillsman: so easy fix in the provide then01:05
adriantprovider*01:05
mrhillsmanfor the provider yeah01:05
mrhillsmanlooks like01:06
adriantand that shouldn't need a change in gophercloud01:06
adriantalthough we do want to add better clouds.yaml support there too01:07
mrhillsmanhttps://github.com/gophercloud/gophercloud/blob/master/auth_options.go01:07
mrhillsmanwell, gophercloud will need to change01:07
*** annp has quit IRC01:10
adriantalthough on the auth front... I have to apologise in advance because I'm probably going to end up adding a lot of extra complexity once https://review.openstack.org/#/c/553670 is merged and implemented01:11
adriantmordred: ^ don't hate me too much :P01:11
*** annp has joined #openstack-sdks01:11
adriantbut we need a much much better way of doing multi-method auth across all of OpenStack01:11
*** salv-orlando has joined #openstack-sdks01:25
*** salv-orlando has quit IRC01:29
*** thrash is now known as thrash|g0ne01:45
*** lei-zh has joined #openstack-sdks01:50
*** lei-zh has quit IRC01:51
*** lei-zh has joined #openstack-sdks01:51
*** bobh has quit IRC02:10
*** rwellum has joined #openstack-sdks02:11
*** dave-mccowan has joined #openstack-sdks02:14
*** salv-orlando has joined #openstack-sdks02:25
*** salv-orlando has quit IRC02:30
*** lei-zh has quit IRC02:31
*** lei-zh has joined #openstack-sdks02:42
*** kmy has quit IRC03:21
*** kmy has joined #openstack-sdks03:21
*** salv-orlando has joined #openstack-sdks03:26
*** salv-orlando has quit IRC03:31
*** dave-mccowan has quit IRC03:49
*** lei-zh has quit IRC03:53
*** annp has quit IRC04:26
*** salv-orlando has joined #openstack-sdks04:27
*** markvoelker has quit IRC04:27
*** salv-orlando has quit IRC04:32
*** salv-orlando has joined #openstack-sdks05:15
*** markvoelker has joined #openstack-sdks05:28
*** lei-zh has joined #openstack-sdks05:31
*** lei-zh has quit IRC05:49
*** lei-zh has joined #openstack-sdks05:50
*** annp has joined #openstack-sdks06:12
*** gildub has quit IRC06:35
*** gildub has joined #openstack-sdks07:18
*** cdent has joined #openstack-sdks07:29
*** Qiming_ has joined #openstack-sdks07:34
*** Qiming has quit IRC07:35
*** salv-orlando has quit IRC07:36
*** salv-orlando has joined #openstack-sdks07:37
*** salv-orlando has quit IRC07:42
*** dims_ has joined #openstack-sdks07:48
*** dims has quit IRC07:49
*** ralonsoh has joined #openstack-sdks07:53
*** gkadam has joined #openstack-sdks07:55
*** pooja_jadhav has quit IRC07:57
*** pooja_jadhav has joined #openstack-sdks07:57
*** salv-orlando has joined #openstack-sdks08:04
*** jpich has joined #openstack-sdks08:05
*** e0ne has joined #openstack-sdks08:09
*** gildub has quit IRC08:35
*** gildub has joined #openstack-sdks08:36
*** gkadam_ has joined #openstack-sdks08:37
*** gkadam has quit IRC08:39
*** gkadam_ has quit IRC08:42
*** gkadam_ has joined #openstack-sdks08:42
openstackgerritRomain Acciari proposed openstack-infra/shade master: create_subnet: Add filter on tenant_id if specified  https://review.openstack.org/55678208:44
*** e0ne has quit IRC09:05
*** e0ne has joined #openstack-sdks09:05
*** gildub has quit IRC09:39
*** sdague has joined #openstack-sdks09:51
*** gildub has joined #openstack-sdks09:57
*** gkadam__ has joined #openstack-sdks10:03
*** gkadam has joined #openstack-sdks10:06
*** gkadam_ has quit IRC10:07
*** gkadam__ has quit IRC10:08
*** gkadam has quit IRC10:32
*** chenyb4 has quit IRC10:32
*** lei-zh has quit IRC10:33
*** gkadam has joined #openstack-sdks10:35
*** e0ne has quit IRC10:43
*** e0ne has joined #openstack-sdks10:43
*** e0ne has quit IRC10:53
*** e0ne has joined #openstack-sdks11:09
*** gildub has quit IRC11:24
*** openstackgerrit has quit IRC11:33
*** dtantsur|afk is now known as dtantsur11:34
*** bobh has joined #openstack-sdks12:03
*** bobh has quit IRC12:10
*** edmondsw has joined #openstack-sdks12:13
*** thrash|g0ne is now known as thrash12:20
*** markvoelker has quit IRC12:28
*** markvoelker has joined #openstack-sdks12:28
*** chenyb4 has joined #openstack-sdks12:34
*** dave-mccowan has joined #openstack-sdks12:40
*** kmy has quit IRC12:46
*** openstackgerrit has joined #openstack-sdks12:57
openstackgerritRomain Acciari proposed openstack-infra/shade master: create_subnet: Add filter on tenant_id if specified  https://review.openstack.org/55678212:57
*** bobh has joined #openstack-sdks13:06
*** jamielennox has quit IRC14:01
*** jamielennox has joined #openstack-sdks14:02
*** chenyb4 has quit IRC14:12
*** dayou has quit IRC14:23
*** gkadam_ has joined #openstack-sdks14:36
*** dayou has joined #openstack-sdks14:38
*** gkadam has quit IRC14:38
openstackgerritMerged openstack/openstacksdk master: add lower-constraints job  https://review.openstack.org/55617315:00
*** thrash is now known as thrash|biab15:15
*** e0ne has quit IRC15:45
*** thrash|biab is now known as thrash15:45
*** ralonsoh has quit IRC15:57
*** dave-mccowan has quit IRC16:10
*** bobh has quit IRC16:29
*** jpich has quit IRC16:43
*** dave-mccowan has joined #openstack-sdks16:56
*** christi3k has quit IRC16:58
*** bobh has joined #openstack-sdks16:59
*** gkadam_ has quit IRC17:00
*** bobh has quit IRC17:01
*** bobh has joined #openstack-sdks17:01
*** dave-mccowan has quit IRC17:19
*** dave-mccowan has joined #openstack-sdks17:34
*** dtantsur is now known as dtantsur|afk18:25
*** harlowja has joined #openstack-sdks19:34
*** e0ne has joined #openstack-sdks19:38
*** edmondsw has quit IRC19:58
*** edmondsw has joined #openstack-sdks19:59
*** bobh has quit IRC20:00
*** edmondsw_ has joined #openstack-sdks20:01
*** edmondsw has quit IRC20:04
*** edmondsw_ has quit IRC20:04
*** edmondsw has joined #openstack-sdks20:04
*** edmondsw has quit IRC20:04
*** bobh has joined #openstack-sdks20:06
*** olivierbourdon38 has quit IRC20:46
*** olivierbourdon38 has joined #openstack-sdks20:46
*** edmondsw has joined #openstack-sdks20:59
*** edmondsw_ has joined #openstack-sdks21:00
*** dave-mccowan has quit IRC21:01
*** edmondsw has quit IRC21:04
*** edmondsw_ has quit IRC21:05
*** salv-orl_ has joined #openstack-sdks21:06
*** salv-orlando has quit IRC21:06
*** edmondsw has joined #openstack-sdks21:35
*** edmondsw has quit IRC21:36
openstackgerritHongbin Lu proposed openstack/python-openstackclient master: Disallow setting default on internal network  https://review.openstack.org/53930321:41
openstackgerritHongbin Lu proposed openstack/python-openstackclient master: Add option '--mtu' to network create/set  https://review.openstack.org/54053021:41
*** cdent has quit IRC21:42
*** e0ne has quit IRC21:49
*** salv-orl_ has quit IRC22:01
*** salv-orlando has joined #openstack-sdks22:01
*** thrash is now known as thrash|g0ne22:03
*** salv-orlando has quit IRC22:06
*** lbragstad has quit IRC22:15
*** bobh has quit IRC22:18
*** bobh has joined #openstack-sdks22:18
*** bobh has quit IRC22:23
*** yolanda has quit IRC22:25
*** yolanda has joined #openstack-sdks22:27
*** dayou has quit IRC22:30
*** lbragstad has joined #openstack-sdks22:32
*** lbragstad has quit IRC22:32
*** salv-orlando has joined #openstack-sdks23:02
*** dayou has joined #openstack-sdks23:08
*** salv-orlando has quit IRC23:08
*** harlowja has quit IRC23:32

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