<div dir="ltr">It may have been this commit: <a href="https://github.com/openstack/python-neutronclient/commit/53f4dced502a0da22538b2af57c2452b86311ca8">https://github.com/openstack/python-neutronclient/commit/53f4dced502a0da22538b2af57c2452b86311ca8</a><div><br></div><div>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?</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 6, 2017 at 10:50 AM, Ken D'Ambrosio <span dir="ltr"><<a href="mailto:ken@jots.org" target="_blank">ken@jots.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2017-01-05 20:59, Kevin Benton wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Since the neutron client versions are the same I suspect a unpinned<br>
dependency may be different between the two.<br>
<br>
Did you install the client via pip or your distro's package manager?<br>
</blockquote>
<br></span>
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.<br>
<br>
Guess not, eh?<br>
<br>
Thanks!<br>
<br>
-Ken<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
On Jan 5, 2017 10:34, "Ken D'Ambrosio" <<a href="mailto:ken@jots.org" target="_blank">ken@jots.org</a>> wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hey, all.  I'm writing some wrapper scripts to do some maintenance,<br>
and decided to install the client on my desktop Ubuntu machine just<br>
for ease-of-use.  And my script crashed and burned.  Initially, I'd<br>
assumed it was me screwing up Ruby... but then I realized that I'm<br>
getting completely different output from two different openstack<br>
clients, both showing v. 2.3.0 (with "-2" for the Ubuntu packages):<br>
<br>
ken@boatanchor:~ liberty(prod)$ neutron agent-show<br>
30d1048b-b508-4209-b6e4-8214ab<wbr>9de0f2 -f json<br>
Destop:<br>
{<br>
"binary": "neutron-vpn-agent",<br>
"description": "",<br>
"admin_state_up": true,<br>
"created_at": "2016-12-15 20:01:39",<br>
"alive": true,<br>
"id": "30d1048b-b508-4209-b6e4-8214a<wbr>b9de0f2",<br>
"topic": "l3_agent",<br>
"host": "wilted-attention",<br>
"agent_type": "L3 agent",<br>
"started_at": "2016-12-15 20:14:48",<br>
"heartbeat_timestamp": "2017-01-05 17:20:00",<br>
"configurations": "{\n     \"router_id\": \"\", \n<br>
\"agent_mode\": \"legacy\", \n     \"gateway_external_network_<wbr>id\":<br>
\"c1686e8a-ce41-48e6-a18d-77c2<wbr>8eccae50\", \n<br>
\"handle_internal_only_routers<wbr>\": false, \n     \"use_namespaces\":<br>
true, \n     \"routers\": 2, \n     \"interfaces\": 1, \n<br>
\"floating_ips\": 1, \n     \"interface_driver\":<br>
\"neutron.agent.linux.interfac<wbr>e.OVSInterfaceDriver\", \n<br>
\"log_agent_heartbeats\": false, \n     \"external_network_bridge\":<br>
\"br-ex\", \n     \"ex_gw_ports\": 2\n}"<br>
<br>
Server:<br>
<br>
gbadmin@openstack-cli:/tmp liberty(prod)$ neutron agent-show<br>
30d1048b-b508-4209-b6e4-8214ab<wbr>9de0f2 -f json<br>
[{"Field": "admin_state_up", "Value": true}, {"Field": "agent_type",<br>
"Value": "L3 agent"}, {"Field": "alive", "Value": true}, {"Field":<br>
"binary", "Value": "neutron-vpn-agent"}, {"Field": "configurations",<br>
"Value": "{\n     \"router_id\": \"\", \n     \"agent_mode\":<br>
\"legacy\", \n     \"gateway_external_network_<wbr>id\":<br>
\"c1686e8a-ce41-48e6-a18d-77c2<wbr>8eccae50\", \n<br>
\"handle_internal_only_routers<wbr>\": false, \n     \"use_namespaces\":<br>
true, \n     \"routers\": 2, \n     \"interfaces\": 1, \n<br>
\"floating_ips\": 1, \n     \"interface_driver\":<br>
\"neutron.agent.linux.interfac<wbr>e.OVSInterfaceDriver\", \n<br>
\"log_agent_heartbeats\": false, \n     \"external_network_bridge\":<br>
\"br-ex\", \n     \"ex_gw_ports\": 2\n}"}, {"Field": "created_at",<br>
"Value": "2016-12-15 20:01:39"}, {"Field": "description", "Value":<br>
""}, {"Field": "heartbeat_timestamp", "Value": "2017-01-05<br>
17:20:00"}, {"Field": "host", "Value": "wilted-attention"},<br>
{"Field": "id", "Value": "30d1048b-b508-4209-b6e4-8214a<wbr>b9de0f2"},<br>
{"Field": "started_at", "Value": "2016-12-15 20:14:48"}, {"Field":<br>
"topic", "Value": "l3_agent"}]<br>
<br>
---------------<br>
<br>
WAT?  Can someone essplain what I've got going on, here?  I admit<br>
that I vastly prefer the desktop's output -- I don't have to keep<br>
looping through stuff to pull key/value pairs -- but I've coded for<br>
the server's output.  More to the point, I'm completely at a loss to<br>
explain the disparity.  Some environmental variable or something?<br>
<br>
Other items of note:<br>
* I sniffed the API calls -- they are both receiving the same<br>
information back from the server.<br>
* YAML output has the same variations as the JSON.<br>
* Straight non-formatted output is identical between the two clients<br>
<br>
Thanks,<br>
<br>
-Ken<br>
<br>
______________________________<wbr>_________________<br>
Mailing list:<br>
</div></div><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a> [1]<br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe :<br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a> [1]<br>
</blockquote>
<br>
<br>
Links:<br>
------<br>
[1] <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a><br>
</blockquote>
</blockquote></div><br></div>