Neutron parses the wrong json revert to shell/csv.
The neutron network provider is parsing the wrong json format leading
to an error when you're unlucky. Affected providers:
- neutron_port
- neutron_subnet
- neutron_router
- neutron_network
The neutron provider parses the json of the cliff-tablib's output while
the official one is the cliff' output[1].
As discussed in the ML[2] this patch implements a simple revert of the
json change.
Revert "Use json output instead plain-text"
This reverts commit 79f0e636c07b80b2c6699d934b42641bfef4352b[3]
and part of commit 791a0f146b28544ec3d70c0ab2a950c4d5ca9f98[4]
Reviewed: https:/ /review. openstack. org/275282 /git.openstack. org/cgit/ openstack/ puppet- neutron/ commit/ ?id=e95d00d7b6d 5f25b21d84928ce e6cff5f2f6ea3e
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit e95d00d7b6d5f25 b21d84928cee6cf f5f2f6ea3e
Author: Sofer Athlan-Guyot <email address hidden>
Date: Thu Dec 31 16:36:05 2015 +0100
Neutron parses the wrong json revert to shell/csv.
The neutron network provider is parsing the wrong json format leading
to an error when you're unlucky. Affected providers:
- neutron_port
- neutron_subnet
- neutron_router
- neutron_network
The neutron provider parses the json of the cliff-tablib's output while
the official one is the cliff' output[1].
As discussed in the ML[2] this patch implements a simple revert of the
json change.
Revert "Use json output instead plain-text"
This reverts commit 79f0e636c07b80b 2c6699d934b4264 1bfef4352b[ 3] ec3d70c0ab2a950 c4d5ca9f98[ 4]
and part of commit 791a0f146b28544
[1]: https:/ /bugs.launchpad .net/python- neutronclient/ +bug/1529914 lists.openstack .org/pipermail/ openstack- dev/2015- December/ 083172. html /review. openstack. org/#/c/ 238156/ /review. openstack. org/#/c/ 261418/
[2]: http://
[3]: https:/
[4]: https:/
Change-Id: I93263256eb9d83 544910ca4055bb3 e9a463645e3 3edf021fabbf77f f5054e7dd7)
Closes-bug: 1530163
(cherry picked from commit 273ef1b228fbcb7