[Bug 1274550] Re: wsmancli always returns zero even when the connection fails

Launchpad Bug Tracker 1274550 at bugs.launchpad.net
Fri Jan 31 09:37:18 UTC 2014


** Branch linked: lp:ubuntu/trusty-proposed/wsmancli

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1274550

Title:
  wsmancli always returns zero even when the connection fails

Status in “wsmancli” package in Ubuntu:
  Fix Committed

Bug description:
  wsmancli always returns a zero, even if it fails to connect to the
  endpoint in question.

  Example:

  wsman enumerate http://intel.com/wbem/wscim/1/ips-schema/1/IPS_KVMRedirectionSettingData
  -h 10.0.0.30 -P 16992 -u admin -p passw0rd1
  Connection failed. response code = 0
  Couldn't connect to server

  echo $?
  0

  This makes it difficult to do things like run bash scripts where
  multiple wsman commands are invovled. There's no way, for example, to
  bail out if wsman runs into a problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wsmancli/+bug/1274550/+subscriptions



More information about the Ubuntu-sponsors mailing list