Bug 479637

Summary: RFE: Spacewalk should detect if it run in virtualization container (not only in xen)
Product: [Community] Spacewalk Reporter: Miroslav Suchý <msuchy>
Component: ServerAssignee: Tomas Lestach <tlestach>
Status: CLOSED DEFERRED QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: low    
Version: 0.5CC: cperry, jonathansteffan
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-23 12:22:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 737830    

Description Miroslav Suchý 2009-01-12 10:06:44 UTC
Description of problem:
Now Spacewalk can detect that the machine is XEN guest. But we may detect that it run in other containers as well.
Debian has package imvirt http://packages.debian.org/unstable/imvirt which has the logic we can take from. Beside XEN it can detect as well:
 VirtualBox
 Virtual PC/Server
 VMware
 QEMU
 KVM

Comment 1 Jonathan Steffan 2009-08-12 19:48:07 UTC
This would be of much value.

Comment 2 Jan Pazdziora 2010-11-19 16:04:07 UTC
Mass-moving to space13.

Comment 3 Jan Pazdziora 2010-11-26 14:51:54 UTC
Mirek, with flex guest support, isn't this RFE addressed?

Comment 4 Miroslav Suchý 2010-11-29 12:32:01 UTC
No. Flex guest currently only support XEN, KVM, Vmware, HyperV, Hitachi (how it called?). We still lack of VirtualBox and Virtual PC/Server.
BTW, imvirt is in Fedora now.

Comment 5 Clifford Perry 2010-11-29 15:29:00 UTC
BTW - if folks know the smbios strings to look for - and propose a patch maybe? 

http://git.fedorahosted.org/git/?p=spacewalk.git;a=blob;f=backend/server/handlers/xmlrpc/registration.py

Starting line #63 - basically we send up a bunch of data and then parse server side looking for specific strings. 

Cliff

Comment 6 Miroslav Suchý 2011-04-11 07:32:47 UTC
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.

Comment 7 Miroslav Suchý 2011-04-11 07:36:55 UTC
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.

Comment 8 Jan Pazdziora 2011-07-20 11:50:52 UTC
Aligning under space16.

Comment 9 Clifford Perry 2011-08-05 12:22:49 UTC
This is not a priority for Red Hat's Spacewalk developers and will likely not be completed by Red Hat in the next 2 years. We agree that this is a valid request and something that could be achieved. Will leave it open to allow for the potential of community contribution for this.

Again, as per comment #5, the strings is all we need to add, even if we cannot test those virtual systems added. 

Cliff

Comment 11 Michael Mráka 2020-03-23 12:22:08 UTC
Spacewalk project as an upstream for Red Hat Satellite 5 product is going to be End Of Life on May 31 2020.

Spacewalk 2.10 has been released as the last release of this project.
https://github.com/spacewalkproject/spacewalk/wiki/ReleaseNotes210

Any new feature will not be included therefore closing remaining RFEs to set expectations properly.