Project

General

Profile

Bug #14204

Host creation fails when creating libvirtd VM with bridged network

Added by Marek Hulán almost 5 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Compute resources - libvirt
Target version:
Difficulty:
Triaged:
Bugzilla link:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1276780
Description of problem:
Host creation fails with the message:
Unable to save
Failed to power up a compute KVM (Libvirt) instance test.example.com: Call to virDomainCreateWithFlags failed: Unable to add bridge em1 port vnet0: Operation not supported

Version-Release number of selected component (if applicable):

How reproducible:
Consistent.

Steps to Reproduce:
1.Setup a KVM env and inetgrate with Satellite 6.1.3. Setup a bridged network in the KVM.
2.Create the host with physical (Bridge)network to encounter this error.
3.

Actual results:

Host creation fails.
Expected results:
Should accept bridged network.

Additional info:
Workaround: Continue selecting Virtual NAT network with default network. Complete creating the host. Go to virt-manager, select the console for the new VM, and manually change the NIC setting to bridge desired.

Associated revisions

Revision 01fde835 (diff)
Added by Marek Hulán almost 5 years ago

Fixes #14204 - list only bridges for bridged networking

Revision 341bb2c0 (diff)
Added by Marek Hulán almost 5 years ago

Refs #14204 - safer libvirt bridge detection

History

#1 Updated by Marek Hulán almost 5 years ago

  • Category changed from Inventory to Compute resources - libvirt
  • Status changed from New to Assigned

#2 Updated by The Foreman Bot almost 5 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3328 added

#3 Updated by Marek Hulán almost 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Dominic Cleal almost 5 years ago

  • Legacy Backlogs Release (now unused) set to 136

#5 Updated by The Foreman Bot almost 5 years ago

  • Pull request https://github.com/theforeman/foreman/pull/3334 added

Also available in: Atom PDF