Earlier  
Posted Nick Remark
#openstack-sdks - 2017-05-16
16:28:12 elmiko imo, it would be nice, but we (api-wg) don't exactly have a habit of chasing folks down to implement the guidelines
16:28:18 mordred magnum and zun at least - I haven't taken full catalog yet
16:28:57 cdent I thnk the change probably happeend because there's a conflict between the default version you get if you don't specific and the concept of "version"
16:28:59 cdent I would expect "version" to mean "what i get if I say nothing"
16:29:02 mordred elmiko: :) -- my next couple of months are going to be essentially chasing folks down to let me implement some of the guidelines ... so I'm kind of poking around the edges to figure out how it's gone so far
16:29:07 cdent which would mean min_version
16:29:15 elmiko mordred: ooh! neat =)
16:29:26 elmiko in that case, +1 to adding them
16:29:26 mordred elmiko: wish me luck!
16:29:41 cdent so by being explicit about max, min, we avoid the confusion
16:29:53 edleafe hmmm... maybe add a note to the microversion guideline about the existing services that don't follow
16:30:06 mordred edleafe: I can do that in one of my next passes through the stack
16:30:44 edleafe yeah, I mean, I know nova will never change this, so we should at least acknowledge reality
16:30:54 elmiko edleafe: good point
16:31:04 cdent we did manage to add support for openstack-api-version: compute x.y
16:31:17 cdent so we may not ever remove the old way, but we can add the new way
16:31:53 edleafe cdent: true, so maybe there's hope :)
16:36:16 elmiko bbl
16:53:22 mordred mugsie, sdague: the sub-elements patch has examples published herE: http://docs-draft.openstack.org/55/464255/5/check/gate-nova-api-ref-src/f02b170//api-ref/build/html/ - versions and list-sever-details are both good examples to look at for output
16:53:52 mordred I don't feel super strongly about this at all - it was more a thing I've hit up against before reading the docs so I thought I'd take a random stab at it
16:57:19 sdague mordred: ok looking
16:57:36 sdague mordred: have we gotten a read from horizon folks as to if they like this approach?
16:58:53 sdague I think it has definite advantages, we probably need a good glossary explaining how to read it (maybe if we had a footnote added to the bottom of every table automatically)
16:58:58 mordred sdague: I have not poked any of them but I can - what's the specific tie to horizon? (I may be missing context)
16:59:12 sdague just, they are folks that tend to read our api-ref
16:59:22 sdague honestly, I just want other readers
16:59:28 mordred ah- gotcha. yes- they would be great additional inputs
16:59:39 mugsie I agree with the problem statement - I am just not sold on the format
16:59:41 mugsie but
16:59:45 mugsie we could iterate that
16:59:48 sdague because I'm so steeped in this that I don't trust my judgement on better/worse
17:00:40 sdague if we had a couple of common consumers say "yes please", I'd be all for a "you betcha"
17:01:12 mugsie mordred: where did the '[]' come from - for me that looks a bit wierd
17:01:13 mordred I also am not sold on the format either- so feedback/suggestions from folks would be great
17:01:33 mordred mugsie: servers is an array - so servers.name looked weird to me
17:01:41 sdague mugsie: it is to distinguish array vs. object attr
17:01:45 sdague which makes sense
17:01:56 mordred yah. I also _think_ I got the idea from the GCE docs - but I might e lying about that
17:02:11 sdague so, because json requires a top level key, I do wonder if we can shorthand past the first key
17:02:30 mordred but it doesn't
17:02:41 mordred we actually do have APIs in openstack that do not return top level keys
17:02:50 sdague ... o really....
17:02:51 sdague where?
17:03:11 mordred yup. glance single version image discovery springs immediately to mind- but there are others - I could go look
17:03:29 mordred gah
17:03:35 mordred s/image discovery/version discovery/
17:04:33 mordred also I believe swift capabilities
17:16:26 openstackgerrit caoyuan proposed openstack/python-openstackclient master: Correct the "extra spec" command openstack https://review.openstack.org/465122
17:21:46 openstackgerrit Samuel de Medeiros Queiroz proposed openstack/keystoneauth master: Allow setting EndpointReference in ADFSPassword https://review.openstack.org/463432
19:58:00 chit Hi, could anybody give me a high-level overview of the openstackclient code base? As in, where the control flow starts, and what calls what first and when. Thanks :)
19:59:36 dtroyer chit: the basic structure is defined by cliff, the library that provides the app and command objects in use: http://git.openstack.org/cgit/openstack/cliff
20:00:14 dtroyer you will need python-openstackclient and osc-lib source to walk through the shell and ClientManager objects that do all of the cenral coordination
20:00:29 dtroyer specific commands are dispatched via setuptools' entry points
20:09:25 chit So when the client performs something like a "openstack server list", would the constructors defined in the cliff library get called? Would the App and Command objects get created from there?
20:13:38 dtroyer chit: yes they do
20:13:58 dtroyer command-wise, though, only for the command(s) being executed
20:14:40 openstackgerrit Merged openstack/keystoneauth master: Allow setting EndpointReference in ADFSPassword https://review.openstack.org/463432
23:14:30 openstackgerrit Monty Taylor proposed openstack/os-client-config master: Keep a singleton to support multiple get_config calls https://review.openstack.org/465195
23:33:14 openstackgerrit Merged openstack/keystoneauth master: Add ADFSPassword to keystoneauth1 entry points https://review.openstack.org/463234
#openstack-sdks - 2017-05-17
00:26:22 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Convert image functional tests into JSON format https://review.openstack.org/465203
01:28:37 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Convert image functional tests into JSON format https://review.openstack.org/465203
01:30:45 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Convert volume type functional tests into JSON format https://review.openstack.org/465208
01:42:12 openstackgerrit Rui Chen proposed openstack/python-openstackclient master: Make block-device-mapping more stable and clear https://review.openstack.org/438141
01:44:29 openstackgerrit Rui Chen proposed openstack/python-openstackclient master: [Compute]Make column content readable for both human and machine https://review.openstack.org/445794
01:51:10 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Convert volume functional tests into JSON format https://review.openstack.org/465208
01:51:40 openstackgerrit Rui Chen proposed openstack/python-openstackclient master: Create server with security group ID and name https://review.openstack.org/462076
01:52:05 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Convert image functional tests into JSON format https://review.openstack.org/465203
01:53:47 openstackgerrit Rui Chen proposed openstack/python-openstackclient master: Replace "Display Name" by "Name" in volume list https://review.openstack.org/423081
02:43:13 openstackgerrit Rui Chen proposed openstack/python-openstackclient master: Refactor Extension show and list command https://review.openstack.org/449757
03:17:47 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Use cliff formattable columns in volume v1 commands https://review.openstack.org/464640
03:17:48 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Use cliff formattable columns in volume v2 commands https://review.openstack.org/464641
03:17:48 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Use cliff formattable columns in identity commands https://review.openstack.org/464637
03:17:49 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Use cliff formattable columns in image commands https://review.openstack.org/464638
03:17:49 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Use cliff formattable columns in object storage commands https://review.openstack.org/464639
03:35:17 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Use cliff formattable columns in volume v1 commands https://review.openstack.org/464640
03:35:17 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Use cliff formattable columns in volume v2 commands https://review.openstack.org/464641
03:35:18 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Use cliff formattable columns in identity commands https://review.openstack.org/464637
03:35:18 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Use cliff formattable columns in image commands https://review.openstack.org/464638
03:35:19 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Use cliff formattable columns in object storage commands https://review.openstack.org/464639
03:39:54 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Use cliff formattable columns in object storage commands https://review.openstack.org/464639
03:42:31 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Use cliff formattable columns in identity commands https://review.openstack.org/464637
03:46:37 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Use cliff formattable columns in image commands https://review.openstack.org/464638
03:46:44 openstackgerrit OpenStack Proposal Bot proposed openstack/cliff master: Updated from global requirements https://review.openstack.org/464363
03:47:26 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Use cliff formattable columns in volume v1 commands https://review.openstack.org/464640
03:49:12 openstackgerrit OpenStack Proposal Bot proposed openstack/keystoneauth master: Updated from global requirements https://review.openstack.org/465255
03:50:07 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Use cliff formattable columns in volume v2 commands https://review.openstack.org/464641
03:53:18 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Convert image functional tests into JSON format https://review.openstack.org/465203
03:55:55 openstackgerrit OpenStack Proposal Bot proposed openstack/openstackclient master: Updated from global requirements https://review.openstack.org/440080
03:55:59 openstackgerrit OpenStack Proposal Bot proposed openstack/os-api-ref master: Updated from global requirements https://review.openstack.org/465332
03:56:21 openstackgerrit OpenStack Proposal Bot proposed openstack/osc-lib master: Updated from global requirements https://review.openstack.org/464442
03:58:25 openstackgerrit OpenStack Proposal Bot proposed openstack/python-openstackclient master: Updated from global requirements https://review.openstack.org/465372
03:58:28 openstackgerrit OpenStack Proposal Bot proposed openstack/python-openstacksdk master: Updated from global requirements https://review.openstack.org/464477
05:50:40 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Use cliff formattable columns in volume v1 commands https://review.openstack.org/464640
05:52:34 LuigiOpenstack_ Hi
05:53:41 LuigiOpenstack_ I am not able to list images in my code
05:53:44 LuigiOpenstack_ def get_credentials(): d = {} d['username'] = 'X' d['password'] = 'X' d['auth_url'] = 'X' d['tenant_name'] = 'X' d['endpoint'] = 'X' return d class LookupOpenstack(luigi.Task): d =[] def requires(self): pass def output(self): gc = glclient.Client(**get_credentials()) images = gc.images.list() print("images", images) for i in images: print(i) return MockFile("images", mirror
05:54:00 LuigiOpenstack_ can anyone tell me what is going wrong here?
07:13:15 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Network L3 Router Commands for OSC https://review.openstack.org/385729
07:29:54 amotoki LuigiOpenstack_: which SDK are you using?
07:30:31 amotoki LuigiOpenstack_: in addition, could you paste your code to some pastebin like paste.openstack.org? your copy-and-paste is hard to read.....

Earlier   Later