Project

General

Profile

Actions

Bug #35158

open

Creating hosts with Libvirt-7.6.0 doesn't work

Added by Leos Stejskal almost 2 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Compute resources - libvirt
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Foreman: develop
Libvirt: 7.6.0
OS: Fedora 35
qemu-kvm: 6.1.0 (qemu-6.1.0-15.fc35)
Steps to reproduce
  • Try to create host with libvirt CR

Error:

Failed to power up a compute L7.6.0 (Libvirt) instance jesse-kimmins.kokos.loc: C
all to virDomainCreateWithFlags failed: Cannot get interface MTU on '': No such device
ESC[32m2022-07-04T14:33:04ESC[0m [ESC[32mIESC[0m|ESC[36mappESC[0m|3da41144] Backtrace for 'Failed to power up a compute L7.6.0 (Libvirt) instance jesse-kimmi
ns.kokos.loc: Call to virDomainCreateWithFlags failed: Cannot get interface MTU on '': No such device' error (Libvirt::Error): Call to virDomainCreateWithFla
gs failed: Cannot get interface MTU on '': No such device
 3da41144 | /home/projects/foreman/.bundle/ruby/2.7.0/gems/fog-libvirt-0.9.0/lib/fog/libvirt/requests/compute/vm_action.rb:7:in `create'
 3da41144 | /home/projects/foreman/.bundle/ruby/2.7.0/gems/fog-libvirt-0.9.0/lib/fog/libvirt/requests/compute/vm_action.rb:7:in `vm_action'
 3da41144 | /home/projects/foreman/.bundle/ruby/2.7.0/gems/fog-libvirt-0.9.0/lib/fog/libvirt/models/compute/server.rb:76:in `start'
 3da41144 | /home/projects/foreman/app/models/compute_resource.rb:187:in `start_vm'
 3da41144 | /home/projects/foreman/app/models/concerns/orchestration/compute.rb:229:in `setComputePowerUp'
 3da41144 | /home/projects/foreman/app/models/concerns/orchestration.rb:227:in `execute'
 3da41144 | /home/projects/foreman/app/models/concerns/orchestration.rb:152:in `block in process'
 3da41144 | /home/projects/foreman/app/models/concerns/orchestration.rb:144:in `each'
 3da41144 | /home/projects/foreman/app/models/concerns/orchestration.rb:144:in `process'
 3da41144 | /home/projects/foreman/app/models/concerns/orchestration.rb:44:in `around_save_orchestration'

Actions #1

Updated by Leos Stejskal almost 2 years ago

  • Description updated (diff)
Actions #2

Updated by Leos Stejskal almost 2 years ago

  • Bugzilla link set to 2103670
Actions #3

Updated by Matt Darcy almost 2 years ago

it's working for me - on 7.6 (and it looks like 8 - but 8 it broken due to vnc password, but it does look like it provisions the network ok)
I suspect this is a support request to debug it around the specific interface you're using

Actions #4

Updated by Amit Upadhye over 1 year ago

  • Target version changed from 3.4.0 to 3.5.0
Actions #5

Updated by Ewoud Kohl van Wijngaarden over 1 year ago

  • Target version deleted (3.5.0)
Actions

Also available in: Atom PDF