openstack provider Instances suppresses errors

Bug #1222413 reported by John A Meinel
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Medium
Martin Packman
1.24
Fix Released
Medium
Martin Packman

Bug Description

The code in the openstack provider's implementation of Instances suppresses any errors generated while running collectInstances.

Specifically, the code gets in a list of ids to check on, and an "out" parameter with information about the ones it found. And then a list of Ids it was unable to process.

However, if you get an error calling GetServer or ListServersDetail, it just returns the list of Ids passed in.

At a minimum, it should probably log the error.

The issue is that it treats all errors as non-fatal. I ran into this trying to test the HTTP disable-hostname-validation. As we get Certificate failures there, but Instances just returns the "no instances found" error.

Curtis Hovey (sinzui)
tags: added: openstack
Martin Packman (gz)
Changed in juju-core:
assignee: nobody → Martin Packman (gz)
Martin Packman (gz)
Changed in juju-core:
status: Triaged → In Progress
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: none → 1.17.0
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.17.0 → 2.0
Curtis Hovey (sinzui)
tags: added: openstack-provider
removed: openstack
Curtis Hovey (sinzui)
Changed in juju-core:
status: In Progress → Triaged
assignee: Martin Packman (gz) → nobody
Changed in juju-core:
importance: High → Medium
Martin Packman (gz)
Changed in juju-core:
milestone: none → 1.24-alpha1
assignee: nobody → Martin Packman (gz)
status: Triaged → In Progress
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.24-alpha1 → none
Martin Packman (gz)
Changed in juju-core:
milestone: none → 1.25.0
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.