Description of problem: KVM guest provisioning on RHEL7 VHOst using Satellite WebUI creates guest having no graphics just only serial console. Version-Release number of selected component (if applicable): koan-2.0.7-41.el7sat.noarch spacewalk-koan-2.0.1-3.el7sat.noarch How reproducible: 100% Steps to Reproduce: 1. Use Satellite webUI to provision RHEL5/6 KVM guest on RHEL7 KVM host. This command is issued: # rhn_check -vv [...] D: handle_action{'action': "<?xml version='1.0'?>\n<methodCall>\n<methodName>kickstart_guest.initiate</methodName>\n<params>\n<param>\n<value><string>[SAT]</string></value>\n</param>\n<param>\n<value><string>[VHOST]:1:kvmsystem</string></value>\n</param>\n<param>\n<value><string>qemu</string></value>\n</param>\n<param>\n<value><int>482</int></value>\n</param>\n<param>\n<value><string>kvmsystem</string></value>\n</param>\n<param>\n<value><int>512</int></value>\n</param>\n<param>\n<value><int>1</int></value>\n</param>\n<param>\n<value><int>3</int></value>\n</param>\n<param>\n<value><string>virbr0</string></value>\n</param>\n<param>\n<value><string>/var/lib/libvirt/images/kvmsystem</string></value>\n</param>\n<param>\n<value><string> </string></value>\n</param>\n</params>\n</methodCall>\n", 'version': 2, 'id': 15477} D: handle_action actionid = 15477, version = 2 D: do_call kickstart_guest.initiate('<SAT>', '<VHOST>:1:kvmsystem', 'qemu', 482, 'kvmsystem', 512, 1, 3, 'virbr0', '/var/lib/libvirt/images/kvmsystem', ' '){'cache_only': None} - looking for Cobbler at http://<SAT>/cobbler_api - reading URL: http://<SAT>/cblr/svc/op/ks/system/<VHOST>:1:kvmsystem install_tree: http://<SAT>/ty/PDDQsUo1 - ['rpm', '-q', 'virt-install'] - ['virt-install', '--version'] - ['virt-install', '--os-variant', 'list'] - adding disk: /var/lib/libvirt/images/kvmsystem of size 3 (driver type=None) - ['virt-install', '--connect', 'qemu:///system', '--name', 'kvmsystem', '--ram', '512', '--vcpus', '1', '--autostart', '--nographics', '--virt-type', 'kvm', '--machine Starting install... [...] Actual results: VM has no gfx Expected results: VM has gfx and display defined Additional info: when koan invokes virt-install it should omit '--nographics' option. (This options is not related to the type of install method)
If I want look at progress of installation in virt-manager (when option "--nographics" is set and I can't use graphics) I need add extra kernel's parameter "console=ttyS0" for working serial console mode. My expected behaviour is * if graphics is disabled, then a serial console works correct * if serial console is disabled, then a graphics works correct
Update: this is unrelated to RHEL 7, this is how spacewalk-koan has always worked. I'm not saying we shouldn't fix it, just that it's not new behavior.
LPramuk told me I need to take another look at this so I have. There is in fact a behavior difference between RHEL 5, 6 hosts and RHEL 7 hosts. The koan package that we provide on RHEL 5, 6 hosts fails to deal correctly with the no_gfx option (when using kvm/qemu virtualization) that spacewalk-koan has always set. So the upshot was that you would always get a vnc graphical console even though spacewalk-koan was trying to tell it not to. In RHEL 7 koan is actually correctly doing what we're telling it to do, which is undesired behavior. Since no one has ever complained about having this graphical console, I will remove the bit from spacewalk-koan that sets the no_gfx option. This will make RHEL 7 guest provisioning work the same as it does on RHEL 6 and 5, and enable to you easily watch what is happening on the guest through virt-viewer or whatever.
Committed to Spacewalk master: 5becd6d5b0b267908f4202dcb8b9aea39646ae36
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-0676.html