Project

General

Profile

Actions

Bug #9966

closed

Add debug logging when host interfaces cannot be matched to VM interfaces

Added by Dominic Cleal over 9 years ago. Updated over 6 years ago.

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

Description

#7456 changes compute orchestration to match host interfaces to the VM interfaces, which is usually matching based on the hypervisor network.

The orchestration iterates over host interfaces and attempts to find a VM interface, but if this fails then there's no logging provided to debug the situation.

https://github.com/theforeman/foreman/blob/1.8.0-RC2/app/models/concerns/orchestration/compute.rb#L294-L295

Here's an example of adding some debug:
https://github.com/theforeman/foreman/compare/develop...tstrachota:nic_debug


Related issues 2 (0 open2 closed)

Related to Foreman - Refactor #7456: Extract primary interface from hostClosedGreg Sutcliffe09/16/2014Actions
Related to Foreman - Bug #9871: Provisioning a new vmware hosts fails with 'Invalid MAC 'Resolved03/23/2015Actions
Actions

Also available in: Atom PDF