Project

General

Profile

Actions

Bug #12478

closed

Virtual interfaces with :attached_to defined can't be updated by Host::Base.populate_fields_from_facts

Added by Brandon Weeks almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Network
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

When a virtual interfaces has a value for :attached_to, it fails to get updated when Host::Base.populate_fields_from_facts runs. This is because (at least in Puppet environments) the facts table does not contain a value for :attached_to.

The resulting error:

2015-11-13 17:19:14 [sql] [W] Saving bond0 NIC for host host.example.com failed, skipping because:
2015-11-13 17:19:14 [sql] [W] Attached to can't be blank

PR incoming. :)

Actions

Also available in: Atom PDF