It may have been this commit: https://github.com/openstack/python-neutronclient/commit/53f4dced502a0da22538b2af57c2452b86311ca8
But that was much newer than 2.3.0. Are you sure trying to install via pip didn't partially work so somehow you are getting a newer client version? On Fri, Jan 6, 2017 at 10:50 AM, Ken D'Ambrosio <k...@jots.org> wrote: > On 2017-01-05 20:59, Kevin Benton wrote: > >> Since the neutron client versions are the same I suspect a unpinned >> dependency may be different between the two. >> >> Did you install the client via pip or your distro's package manager? >> > > I tried installing via pip on my Ubuntu server, but it broke. (I had to > specify search paths in a different order, which, in turn, broke other > python-dependent tools, so I backed out the pip version.) Both appear to > be installed via identical Ubuntu packages, but my desktop is running Linux > Mint, so the Python underpinnings may be -- and probably are -- slightly > different. It just really, really surprised me to see such different > output from the same raw data, and was wondering if I was missing something > *other* than Python underpinnings, like an environmental variable checked > for formatting or something. > > Guess not, eh? > > Thanks! > > -Ken > > > On Jan 5, 2017 10:34, "Ken D'Ambrosio" <k...@jots.org> wrote: >> >> Hey, all. I'm writing some wrapper scripts to do some maintenance, >>> and decided to install the client on my desktop Ubuntu machine just >>> for ease-of-use. And my script crashed and burned. Initially, I'd >>> assumed it was me screwing up Ruby... but then I realized that I'm >>> getting completely different output from two different openstack >>> clients, both showing v. 2.3.0 (with "-2" for the Ubuntu packages): >>> >>> ken@boatanchor:~ liberty(prod)$ neutron agent-show >>> 30d1048b-b508-4209-b6e4-8214ab9de0f2 -f json >>> Destop: >>> { >>> "binary": "neutron-vpn-agent", >>> "description": "", >>> "admin_state_up": true, >>> "created_at": "2016-12-15 20:01:39", >>> "alive": true, >>> "id": "30d1048b-b508-4209-b6e4-8214ab9de0f2", >>> "topic": "l3_agent", >>> "host": "wilted-attention", >>> "agent_type": "L3 agent", >>> "started_at": "2016-12-15 20:14:48", >>> "heartbeat_timestamp": "2017-01-05 17:20:00", >>> "configurations": "{\n \"router_id\": \"\", \n >>> \"agent_mode\": \"legacy\", \n \"gateway_external_network_id\": >>> \"c1686e8a-ce41-48e6-a18d-77c28eccae50\", \n >>> \"handle_internal_only_routers\": false, \n \"use_namespaces\": >>> true, \n \"routers\": 2, \n \"interfaces\": 1, \n >>> \"floating_ips\": 1, \n \"interface_driver\": >>> \"neutron.agent.linux.interface.OVSInterfaceDriver\", \n >>> \"log_agent_heartbeats\": false, \n \"external_network_bridge\": >>> \"br-ex\", \n \"ex_gw_ports\": 2\n}" >>> >>> Server: >>> >>> gbadmin@openstack-cli:/tmp liberty(prod)$ neutron agent-show >>> 30d1048b-b508-4209-b6e4-8214ab9de0f2 -f json >>> [{"Field": "admin_state_up", "Value": true}, {"Field": "agent_type", >>> "Value": "L3 agent"}, {"Field": "alive", "Value": true}, {"Field": >>> "binary", "Value": "neutron-vpn-agent"}, {"Field": "configurations", >>> "Value": "{\n \"router_id\": \"\", \n \"agent_mode\": >>> \"legacy\", \n \"gateway_external_network_id\": >>> \"c1686e8a-ce41-48e6-a18d-77c28eccae50\", \n >>> \"handle_internal_only_routers\": false, \n \"use_namespaces\": >>> true, \n \"routers\": 2, \n \"interfaces\": 1, \n >>> \"floating_ips\": 1, \n \"interface_driver\": >>> \"neutron.agent.linux.interface.OVSInterfaceDriver\", \n >>> \"log_agent_heartbeats\": false, \n \"external_network_bridge\": >>> \"br-ex\", \n \"ex_gw_ports\": 2\n}"}, {"Field": "created_at", >>> "Value": "2016-12-15 20:01:39"}, {"Field": "description", "Value": >>> ""}, {"Field": "heartbeat_timestamp", "Value": "2017-01-05 >>> 17:20:00"}, {"Field": "host", "Value": "wilted-attention"}, >>> {"Field": "id", "Value": "30d1048b-b508-4209-b6e4-8214ab9de0f2"}, >>> {"Field": "started_at", "Value": "2016-12-15 20:14:48"}, {"Field": >>> "topic", "Value": "l3_agent"}] >>> >>> --------------- >>> >>> WAT? Can someone essplain what I've got going on, here? I admit >>> that I vastly prefer the desktop's output -- I don't have to keep >>> looping through stuff to pull key/value pairs -- but I've coded for >>> the server's output. More to the point, I'm completely at a loss to >>> explain the disparity. Some environmental variable or something? >>> >>> Other items of note: >>> * I sniffed the API calls -- they are both receiving the same >>> information back from the server. >>> * YAML output has the same variations as the JSON. >>> * Straight non-formatted output is identical between the two clients >>> >>> Thanks, >>> >>> -Ken >>> >>> _______________________________________________ >>> Mailing list: >>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack [1] >>> Post to : openstack@lists.openstack.org >>> Unsubscribe : >>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack [1] >>> >> >> >> Links: >> ------ >> [1] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack