[Bug 1109832] New: libvirt-daemon-config-network not installed by yast vm
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832 Bug ID: 1109832 Summary: libvirt-daemon-config-network not installed by yast vm Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Virtualization:Other Assignee: virt-bugs@suse.de Reporter: rbrown@suse.com QA Contact: qa-bugs@suse.de CC: aginies@suse.com Found By: --- Blocker: --- As discussed in https://progress.opensuse.org/issues/41093 yast vm installs patterns-server-kvm_server patterns-server-kvm_server does not install libvirt-daemon-config-network libvirt-daemon-config-network is only required by libvirt, which is a suggests for the kvm_server pattern Therefore any libvirt/yast vm installation doesn't have the default network, which is required by a great many use cases and tools, such as virt-install Expected behaviour patterns-server-kvm_server should install libvirt-daemon-config-network and/or libvirt -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c1
James Fehlig
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c2
Antoine Ginies
As discussed in https://progress.opensuse.org/issues/41093
yast vm installs patterns-server-kvm_server
patterns-server-kvm_server does not install libvirt-daemon-config-network
libvirt-daemon-config-network is only required by libvirt, which is a suggests for the kvm_server pattern
Therefore any libvirt/yast vm installation doesn't have the default network, which is required by a great many use cases and tools, such as virt-install
Expected behaviour
patterns-server-kvm_server should install libvirt-daemon-config-network and/or libvirt
i don't think there is a patterns-server-kvm_tools and patterns-server-xen_tools in openSUSE, and in these patterns there is a requires for libvirt-daemon-config-network, so we don't have the issue on SLE. The split was made on purpose to be able to install only the basement of KVM and XEN hypervisor. So maybe it could be a good idea to get this patterns available in openSUSE and use them. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c3
--- Comment #3 from James Fehlig
i don't think there is a patterns-server-kvm_tools and patterns-server-xen_tools in openSUSE, and in these patterns there is a requires for libvirt-daemon-config-network, so we don't have the issue on SLE. The split was made on purpose to be able to install only the basement of KVM and XEN hypervisor. So maybe it could be a good idea to get this patterns available in openSUSE and use them.
The distinction doesn't make sense to me. Does openSUSE prefer a limited number of patterns? If the goal is a "base" KVM or Xen setup then the SLE {kvm,xen}_server pattern is the way to go. This gives you the most basic components required to run a KVM or Xen VM. If you want all the basic tools to create and manage VMs as well, then go with the {kvm,xen}_tools. IMO openSUSE should provide the same patterns as SLE. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c4
--- Comment #4 from Antoine Ginies
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c6
Antoine Ginies
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c8
Guillaume GARDET
I have issued a pull request for this change. It is pending a review.
Charles, do you have an SR number to share, please? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c9
--- Comment #9 from Charles Arnold
(In reply to Charles Arnold from comment #7)
I have issued a pull request for this change. It is pending a review.
Charles, do you have an SR number to share, please?
No, the pull request is still waiting review. Once accepted it will automatically be sent to Factory and on to a Tumbleweed release. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c10
--- Comment #10 from Richard Brown
(In reply to Guillaume GARDET from comment #8)
(In reply to Charles Arnold from comment #7)
I have issued a pull request for this change. It is pending a review.
Charles, do you have an SR number to share, please?
No, the pull request is still waiting review. Once accepted it will automatically be sent to Factory and on to a Tumbleweed release.
Can we have a link to the pull request then please? Who is the review waiting on? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c11
--- Comment #11 from Guillaume GARDET
(In reply to Charles Arnold from comment #9)
(In reply to Guillaume GARDET from comment #8)
(In reply to Charles Arnold from comment #7)
I have issued a pull request for this change. It is pending a review.
Charles, do you have an SR number to share, please?
No, the pull request is still waiting review. Once accepted it will automatically be sent to Factory and on to a Tumbleweed release.
Can we have a link to the pull request then please? Who is the review waiting on?
Seems to be https://github.com/yast/yast-vm/pull/36 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c12
--- Comment #12 from Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c13
--- Comment #13 from Guillaume GARDET
@Charles, your PR has been reviewed. Could you update it accordingly, please?
Charles updated the PR, which is now merged on github. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c14
--- Comment #14 from Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c15
--- Comment #15 from Antoine Ginies
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c16
--- Comment #16 from Antoine Ginies
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c17
--- Comment #17 from Richard Brown
Any update?
Happy New Year....any update? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c18
--- Comment #18 from Charles Arnold
(In reply to Antoine Ginies from comment #16)
Any update?
Happy New Year....any update?
From my perspective this bug is fixed and may be closed. The issue brought up by Antoine in comment #15 seems to be unrelated to whether libvirt-daemon-config-network is installed by yast2-vm.
If there are problems with libvirt starting the network (assuming libvirt-daemon-config-netwok is installed), that would be a new bug and it probably should be assigned to Jim Fehlig. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
Max Lin
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c19
--- Comment #19 from Max Lin
It would be nice to get the full log of the libvirtd starting. # journalctl -u libvirtd > libvirtd.log
Sounds like there is an issue with starting the network. Please check:
# virsh net-list
The list is empty.
default network should be available
# virsh netinfo default
as the attached image. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c20
--- Comment #20 from Max Lin
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c21
--- Comment #21 from Max Lin
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c22
--- Comment #22 from James Fehlig
# virsh net-list
The list is empty.
'virsh net-list' only shows active networks. You would see the network named 'default' if you added the --all option.
default network should be available
# virsh netinfo default
as the attached image.
Note that default network is not active. You can activate it with 'virsh net-start default'. To activate it at boot, set the autostart property. E.g. 'virsh net-autostart default'. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c23
--- Comment #23 from James Fehlig
Jan 10 09:59:13 susetest libvirtd[24917]: 2019-01-10 14:59:13.387+0000: 24917: warning : netcfIfaceRegister:1275 : Failed to intialize libnetcontrol. Management of interface devices is disabled
libvirt uses libnetcontrol for management of interface devices, e.g. the 'virsh iface-*' commands. libnetcontrol is not compatible with NetworkManager. Are you using NetworkManager? If you want to manage interface devices (bridges, vlans, bonds, etc) with libvirt, then you must use wicked and disable NetworkManager. But I doubt you want to use libvirt to manage interface devices. NetworkManager is a better tool for that task. And yast is a better tool if using wicked. libvirt is great for managing virtual networks (virsh net-*), but platform tools are much better for managing devices. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c24
--- Comment #24 from Max Lin
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c25
--- Comment #25 from Ludwig Nussel
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c26
James Fehlig
So the question still remained is: Why does libvirt network 'default' get activated when wicked is the default network stack, but not with NM?
Are you encountering problems activating the default network when using NM? Does 'virsh net-start default' fail? As I already wrote, you can't use libvirt to manage *interface* devices when using NM, but there should be no problems managing virtual networks. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
Alexander Graul
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832#c27
Alexander Graul
http://bugzilla.opensuse.org/show_bug.cgi?id=1109832
Oliver Kurz
participants (1)
-
bugzilla_noreply@novell.com