Comment 3 for bug 1526772

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix merged to puppet-modules/puppet-neutron (mos-8.0)

Reviewed: https://review.fuel-infra.org/14798
Submitter: Ivan Berezovskiy <email address hidden>
Branch: mos-8.0

Commit: 03c382df6a788271ea3c928d506cefdcff54576c
Author: Sergey Vasilenko <email address hidden>
Date: Thu Dec 17 16:41:02 2015

Use json output instead plain-text

Openstack CLI utilities can return warning messages while
run to stderr. It's a normal behavior for Openstack CLI.
But Puppet mixs stderr and stdout for commands.

For preventing parsing warning messages,
I propose got response from Neutron CLI as JSON if it required
and parse it by ruby JSON parser.

JSON is a more usable format for interprocess communication,
than plain-text or CSV.

Change-Id: Ibc1105bc119272715fa211ac129a366fe50cbf47
Closes-bug: #1508511
Related-bug: #1526772