test for osnailyfacter url_available tries to connect to external hosts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Medium
|
slava valyavskiy |
Bug Description
The url_available function test in osnailyfacter actually attempts to validate urls. So for hosts without connectivity this test fails. We should mock out requests to prevent external access.
We've had several failures in CI when hosts can't reach externally.
2016-04-15 13:01:03.403 | Failures:
2016-04-15 13:01:03.403 |
2016-04-15 13:01:03.403 | 1) the structure function with single values should be able to process a single value
2016-04-15 13:01:03.403 | Failure/Error: raise Puppet::Error, "ERROR: Unable to fetch url '#{uri}', error '#{e}'. Please verify node connectivity to this URL, or remove it from the settings page if it is invalid."
2016-04-15 13:01:03.404 |
2016-04-15 13:01:03.404 | Puppet::Error:
2016-04-15 13:01:03.404 | ERROR: Unable to fetch url 'http://
2016-04-15 13:01:03.404 | # ./lib/puppet/
2016-04-15 13:01:03.404 | # ./lib/puppet/
2016-04-15 13:01:03.404 | # ./lib/puppet/
2016-04-15 13:01:03.404 | # /home/jenkins/
2016-04-15 13:01:03.404 | # /home/jenkins/
2016-04-15 13:01:03.404 | # /home/jenkins/
2016-04-15 13:01:03.404 | # /home/jenkins/
2016-04-15 13:01:03.405 | # /home/jenkins/
2016-04-15 13:01:03.405 | # ./spec/
Changed in fuel: | |
status: | New → Confirmed |
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → slava valyavskiy (slava-val-al) |
Fix proposed to branch: master /review. openstack. org/308083
Review: https:/