Earlier  
Posted Nick Remark
#openstack-sdks - 2017-06-29
12:40:20 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Add support for version ranges https://review.openstack.org/469090
12:40:21 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Support a list of interface values https://review.openstack.org/477169
12:40:22 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Support explicitly requesting the 'latest' version https://review.openstack.org/469089
12:40:23 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Add flags to turn discovery on and off https://review.openstack.org/469088
12:40:24 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Clean up a few review nits https://review.openstack.org/477657
12:40:25 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Plumb endpoint_override through get_endpoint_data https://review.openstack.org/469092
12:40:26 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Update docs and add a release note https://review.openstack.org/477566
12:40:27 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Ensure we discover only when we should https://review.openstack.org/477242
12:40:28 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Optimize matching version no microversion needed https://review.openstack.org/470274
12:40:29 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Refactor volume mock urls in identity_common tests https://review.openstack.org/477246
13:00:08 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Add support for version ranges https://review.openstack.org/469090
13:03:40 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Expose getting EndpointData on adapter and session https://review.openstack.org/469091
13:03:41 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Support a list of interface values https://review.openstack.org/477169
13:03:41 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Add support for version ranges https://review.openstack.org/469090
13:03:43 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Clean up a few review nits https://review.openstack.org/477657
13:03:44 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Plumb endpoint_override through get_endpoint_data https://review.openstack.org/469092
13:03:45 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Ensure we discover only when we should https://review.openstack.org/477242
13:03:45 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Update docs and add a release note https://review.openstack.org/477566
13:03:47 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Optimize matching version no microversion needed https://review.openstack.org/470274
13:03:48 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Refactor volume mock urls in identity_common tests https://review.openstack.org/477246
13:16:37 openstackgerrit Monty Taylor proposed openstack/service-types-authority master: Add script to prepare data for publication https://review.openstack.org/478541
13:30:08 casix hello, I'm using the python bindings to connect to openstack. I want to use the public endpoint but I don't know how to do it. It is using the internal endpoint. Thanks!
13:35:04 amotoki casix: which python binding do you use?
13:38:02 casix amotoki: python-keystoneclient==3.1.0,
13:40:39 amotoki casix: doesn't it work to specify interface='public'?
13:43:32 casix amotoki: where I have to specify that? I use the KeystoneIdentityV3.Password function (with url, username, password, domain.. parameters) to get an auth an then the KeystoneSession.Session with that auth to create the session.
13:45:06 amotoki casix: does this help you? https://docs.openstack.org/developer/python-keystoneclient/using-sessions.html
13:45:30 amotoki casix: it looks like the interface in endpoint_filters is what you need.
13:45:52 amotoki casix: I do not usually use the keystoneclient python binding, so i might be wrong.
13:48:06 casix amotoki: I will take a look, thanks!
13:49:13 amotoki casix: I usually instantiate keystoneclient via os-client-config. it seems to work as I expected so far.
13:51:58 casix I didn't know it, I will look at that too
13:51:59 casix thx
13:52:28 amotoki the simplest way is to:
13:52:35 amotoki import OS_*
13:52:37 amotoki run python
13:52:42 amotoki import os_client_config
13:52:54 amotoki keystone = os_client_config.make_client('identity')
13:53:05 amotoki now you can get keystoneclient instance.
13:55:52 casix amotoki: I will try it when I have some time :) thanks!!
13:56:16 amotoki casix: no problem. thanks
13:58:13 efried mordred ^
13:58:36 efried :)
13:59:19 amotoki :)
14:23:46 openstackgerrit Merged openstack/python-openstacksdk master: Replace six.iteritems() with .items() https://review.openstack.org/478726
14:24:24 elmiko edleafe: i *will* be at the meeting today, but might be a couple minutes late
14:25:34 edleafe elmiko: roger that
14:27:01 openstackgerrit Michael Johnson proposed openstack/python-openstackclient master: Add python-octaviaclient plugin https://review.openstack.org/478707
14:34:31 qwebirc56247 hi all, is this the channel for discussing issues related to the python openstack sdk?
14:35:47 elmiko indeed
14:36:51 qwebirc56247 Im am trying to switch from nova client to openstack and having troubles.
14:37:14 qwebirc56247 Getting 404 not found errors.
14:39:26 qwebirc56247 Is this the proper way to connect? https://gist.github.com/azweb76/1977df18c1e7ec892f8c97b00dc212c4
14:41:56 qwebirc56247 openstack cli works, but the client does not
14:45:07 elmiko qwebirc56247: i haven't used it recently, but that looks mostly correct
14:45:17 elmiko is the url for the auth endpoint correct?
14:46:13 qwebirc56247 I've tried many variations. https://mydomain.com:5000/
14:47:22 qwebirc56247 if I use https://...:5000/v2.0, it says cant use domain scope for v2
14:47:41 elmiko yeah, you would definitely need v3 for domain scoping
14:47:52 elmiko did you add ../v3 and try that?
14:48:59 qwebirc56247 ya, it says "public endpoint for compute service in phx3 region not found"
14:49:00 elmiko ideally, these endpoint entries should be in your keystone service catalog, might check there too
14:49:33 elmiko ok, well that's progress. sounds like it is able to connect to keystone but can't find the nova stuff
14:49:59 qwebirc56247 would that be the endpoint entries?
14:50:11 elmiko most likely
14:50:28 qwebirc56247 I try to `openstack endpoint list1` but I need to be admin and Im not
14:50:34 elmiko you've got a keystone client connection, but when it looks up the endpoint for the nova service in the phx3 region it isn't finding the proper info
14:50:55 elmiko are you sure that you are setting up the region stuff properly?
14:51:03 elmiko might need to consult your admins
14:51:13 elmiko good luck, i've got to run off to meeting
14:51:21 qwebirc56247 k, thank you
16:19:15 elmiko edleafe: let me know if that's ok, https://etherpad.openstack.org/p/api-wg-newsletter
16:19:34 openstackgerrit Merged openstack/api-wg master: Microversions: add next_min_version field in version body https://review.openstack.org/446138
16:19:42 edleafe elmiko: reading now...
16:22:59 edleafe elmiko: done.
16:23:27 elmiko edleafe: cool, thanks for the fixes =)
16:24:11 elmiko sent
16:24:12 openstackgerrit Merged openstack/api-wg master: Fix missing close bracket https://review.openstack.org/478603
16:24:17 openstackgerrit Merged openstack/api-wg master: Fix html_last_updated_fmt for Python3 https://review.openstack.org/475219
16:34:50 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Clean up a few review nits https://review.openstack.org/477657
16:34:59 openstackgerrit Harry Rybacki proposed openstack/python-openstackclient master: Implied Roles https://review.openstack.org/290253
16:54:28 qwebirc56247 Hi all, which openstack client manages floating ips if we cannot use the openstack SDK? We used to use novaclient, but floating_ips was removed.
17:00:21 elmiko qwebirc56247: depends on your network service, but probably https://github.com/openstack/python-neutronclient
17:21:14 openstackgerrit Michael Johnson proposed openstack/python-openstackclient master: Add python-octaviaclient plugin https://review.openstack.org/478707
17:43:30 openstackgerrit Merged openstack/python-openstackclient master: Updated from global requirements https://review.openstack.org/478696
18:08:32 openstackgerrit Merged openstack/cliff master: sphinxext: Use 'argparse.description', 'argparse.epilog' https://review.openstack.org/472206
18:34:32 efried mordred I feel like I need some kind of doggie treat after making it through https://review.openstack.org/#/c/459405/
18:41:20 mordred efried: thanks for all the comments! I'll work through those soon
18:42:19 efried mordred Sure thing. I admit they're mostly typos, cause I really don't fully understand what's going on here. Again, having pointers to a reference impl would probably make it a lot clearer.
18:43:30 mordred efried: indeed - well - you're in luck! https://review.openstack.org/#/q/status:open+project:openstack/keystoneauth+branch:master+topic:version-discovery :)
18:44:08 efried mordred Yeah, getting to those once I'm done ploughing through the api-wg docs changes. I think I'm over the hump there at this point.
18:44:19 mordred efried: (I didn't actually put pointers to any of that in the spec because the _flow_ is different due to pre-existing architecture
18:44:32 mordred but the logical results should be the same
18:56:27 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Clean up a few review nits https://review.openstack.org/477657
19:00:56 openstackgerrit Dean Troyer proposed openstack/cliff master: add hook for manipulating the argument parser https://review.openstack.org/468197
19:01:27 dtroyer dhellmann: when you get a minute, can you validate the tweak I made in PS3 ^^^^^^^
19:28:00 openstackgerrit Doug Hellmann proposed openstack/os-client-config master: use openstackdocstheme html context https://review.openstack.org/477005
19:42:35 openstackgerrit Merged openstack/cliff master: rearrange existing content to follow new standard https://review.openstack.org/476638
20:00:05 efried mordred "^v[0-9]{1,2}.?[0-9]{0,2}$" do JSON regexes not treat unescaped '.' as "any character"?
20:08:28 efried mordred Well, at least using jsonschema.Draft4Validator, it does.

Earlier   Later