Bug 2103670 - Creating hosts with Libvirt-7.6.0 doesn't work
Summary: Creating hosts with Libvirt-7.6.0 doesn't work
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Compute Resources - libvirt
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Lukáš Hellebrandt
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-04 12:43 UTC by Leos Stejskal
Modified: 2022-07-26 08:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-26 08:30:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 35158 0 Normal New Creating hosts with Libvirt-7.6.0 doesn't work 2022-07-04 12:43:45 UTC
Red Hat Bugzilla 2103671 0 unspecified CLOSED Libvirt issues 2024-04-24 08:48:40 UTC

Internal Links: 2103671

Description Leos Stejskal 2022-07-04 12:43:44 UTC
<pre>
Foreman: develop
Libvirt: 7.6.0
OS: Fedora 35
qemu-kvm: 6.1.0 (qemu-6.1.0-15.fc35)
</pre>

**Steps to reproduce**
* Try to create host with libvirt CR

**Error:**
<pre>
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'
</pre>

Comment 1 Leos Stejskal 2022-07-04 12:43:48 UTC
Created from redmine issue https://projects.theforeman.org/issues/35158

Comment 2 Leos Stejskal 2022-07-04 12:43:49 UTC
Upstream bug assigned to None

Comment 3 Leos Stejskal 2022-07-26 08:30:50 UTC
I'm closing the BZ,
looks like misconfiguration on my setup


Note You need to log in before you can comment on or make changes to this bug.