Earlier  
Posted Nick Remark
#openstack-sdks - 2017-05-16
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 identity commands https://review.openstack.org/464637
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:49 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Use cliff formattable columns in object storage commands https://review.openstack.org/464639
03:17:49 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Use cliff formattable columns in image commands https://review.openstack.org/464638
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:17 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Use cliff formattable columns in volume v1 commands https://review.openstack.org/464640
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:18 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Use cliff formattable columns in identity commands https://review.openstack.org/464637
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.....
07:55:12 LuigiOpenstack_ @amotoki, please check at http://paste.openstack.org/show/609741/
09:14:21 openstackgerrit Rui Chen proposed openstack/python-openstackclient master: [Compute]Make column content readable for both human and machine https://review.openstack.org/445794
12:16:23 amotoki LuigiOpenstack_: sorry for late. I am not sure glanceclient supports your way.
12:16:45 amotoki LuigiOpenstack_: at least the way described at https://docs.openstack.org/developer/python-glanceclient/apiv2.html works for me.
12:17:04 amotoki LuigiOpenstack_: thanks
12:22:58 LuigiOpenstack_ I havent tried this method let me try this one
12:34:42 openstackgerrit Jose Castro Leon proposed openstack/keystoneauth master: Parameter to tune mutual authentication in kerberos https://review.openstack.org/455330
12:47:26 openstackgerrit Merged openstack/python-openstackclient master: Updated from global requirements https://review.openstack.org/465372
13:27:10 openstackgerrit Gaëtan Trellu proposed openstack/keystoneauth master: [adapter.py] Add application/json header https://review.openstack.org/465555
13:34:20 openstackgerrit Gaëtan Trellu proposed openstack/keystoneauth master: Sorry, first review. I'm discovering the process. https://review.openstack.org/465559
13:35:48 openstackgerrit cooldharma06 proposed openstack/python-openstacksdk master: Add vlan-transparent field to network show https://review.openstack.org/465561
13:38:53 openstackgerrit Gaëtan Trellu proposed openstack/keystoneauth master: [adapter.py] Add application/json header https://review.openstack.org/465555
14:40:12 trevormc im trying to update docs from keystone references, what was tenant-create ported to? is it project create? The flags in the old client and the new one don't match very well for keystone.
14:40:36 trevormc so its hard for me to determine what is what without having to read through all the commands. :(
#openstack-sdks - 2017-05-18
02:11:47 openstackgerrit Qiming Teng proposed openstack/osc-lib master: Remove support to deprecated '--profile' option https://review.openstack.org/465782
03:33:09 openstackgerrit Qiming Teng proposed openstack/osc-lib master: Remove support to deprecated '--profile' option https://review.openstack.org/465782
03:35:33 openstackgerrit Rui Chen proposed openstack/python-openstackclient master: Refactor Extension show and list command https://review.openstack.org/449757
04:04:14 openstackgerrit Rui Chen proposed openstack/python-openstackclient master: [Compute]Make column content readable for both human and machine https://review.openstack.org/445794
07:03:12 openstackgerrit Rui Chen proposed openstack/python-openstackclient master: [Compute]Make column content readable for both human and machine https://review.openstack.org/445794
08:50:16 openstackgerrit Carlos Goncalves proposed openstack/python-openstackclient master: Add 'data_plane_status' option to Port classes https://review.openstack.org/458626
09:38:04 openstackgerrit Rui Chen proposed openstack/python-openstackclient master: Create server with security group ID and name https://review.openstack.org/462076
11:28:47 cdent mordred: are all of your current gerrit submission for api-wg still legit and currently appropriately based etc?
11:28:49 openstackgerrit Merged openstack/api-wg master: Print name of violating file in unittest https://review.openstack.org/462813
11:54:42 mordred cdent: they're pretty good - lemme take a quick pass ...
11:55:11 cdent mordred: I was seeing some colored dots when browsing around, but that may have been my fault
11:55:24 mordred I blame gerrit
11:55:30 cdent i'm in the process of reviewing some of them
11:56:05 mordred ah - neat. I'll take a pass through them and incorporate your reviews!
12:00:06 cdent i have a tendency to blame gerrit for most things
12:00:11 cdent bad weather today? gerrit
12:12:59 mordred yup
12:13:07 mordred the weather is gerrit's fault
12:14:03 cdent today's hayfever headache is _definitely_ gerrit's fault

Earlier   Later