Bug 1628836 - hosted-engine VM created with node zero misses the console device
Summary: hosted-engine VM created with node zero misses the console device
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-setup
Version: 4.2.2
Hardware: All
OS: Linux
urgent
high
Target Milestone: ovirt-4.3.1
: 4.3.0
Assignee: Simone Tiraboschi
QA Contact: Nikolai Sednev
URL:
Whiteboard:
Depends On: 1561964
Blocks: 1590943
TreeView+ depends on / blocked
 
Reported: 2018-09-14 07:18 UTC by Gajanan
Modified: 2019-05-08 12:32 UTC (History)
23 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
This fix allows the self-hosted engine virtual machine to run on the host.
Clone Of: 1561964
Environment:
Last Closed: 2019-05-08 12:32:03 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github oVirt ovirt-ansible-hosted-engine-setup pull 111 0 None closed another try with serial console 2020-09-15 02:50:35 UTC
Red Hat Bugzilla 1568841 0 unspecified CLOSED Cant restore hosted-engine backup at deployment 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1644748 0 urgent CLOSED Engine not correctly constructing the OVF_STORE disks content. 2021-02-22 00:41:40 UTC
Red Hat Knowledge Base (Solution) 3613561 0 None None None 2018-09-14 07:36:33 UTC

Internal Links: 1568841 1644748

Comment 4 Sandro Bonazzola 2018-09-21 07:19:37 UTC
This issue should be fixed in 4.2.6. Can you please upgrade and confirm it's solved for you?

Comment 5 Sandro Bonazzola 2018-09-21 07:22:03 UTC
Marking as TestOnly in 4.2.7.

Comment 7 Liran Rotenberg 2018-10-04 07:52:14 UTC
Tried to verify on:
cockpit-ovirt-dashboard-0.11.34-1.el7ev.noarch
rhvm-appliance-4.2-20180828.0.el7.noarch
ovirt-hosted-engine-ha-2.2.17-1.el7ev.noarch
ovirt-hosted-engine-setup-2.2.27-1.el7ev.noarch

Steps:
1. Deploy HE with NFS storage via cockpit
2. Check HostedEngine's dumpxml (# virsh -r dumpxml HostedEngine)

Results:
After the deployment the dumpxml of the HostedEngine show no console.

# virsh -r dumpxml HostedEngine
<domain type='kvm' id='2'>
  <name>HostedEngine</name>
  <uuid>b38f9fd4-3283-42c5-a5d7-403dbb052abf</uuid>
  <metadata xmlns:ns0="http://ovirt.org/vm/tune/1.0" xmlns:ovirt-vm="http://ovirt.org/vm/1.0">
    <ns0:qos/>
    <ovirt-vm:vm xmlns:ovirt-vm="http://ovirt.org/vm/1.0">
    <ovirt-vm:clusterVersion>4.2</ovirt-vm:clusterVersion>
    <ovirt-vm:destroy_on_reboot type="bool">False</ovirt-vm:destroy_on_reboot>
    <ovirt-vm:launchPaused>false</ovirt-vm:launchPaused>
    <ovirt-vm:memGuaranteedSize type="int">1024</ovirt-vm:memGuaranteedSize>
    <ovirt-vm:minGuaranteedMemoryMb type="int">1024</ovirt-vm:minGuaranteedMemoryMb>
    <ovirt-vm:resumeBehavior>auto_resume</ovirt-vm:resumeBehavior>
    <ovirt-vm:startTime type="float">1538638133.3</ovirt-vm:startTime>
    <ovirt-vm:device mac_address="00:1a:4a:16:10:64">
        <ovirt-vm:network>ovirtmgmt</ovirt-vm:network>
        <ovirt-vm:custom>
            <ovirt-vm:queues>4</ovirt-vm:queues>
        </ovirt-vm:custom>
        <ovirt-vm:specParams/>
        <ovirt-vm:vm_custom/>
    </ovirt-vm:device>
    <ovirt-vm:device devtype="disk" name="vda">
        <ovirt-vm:domainID>e269ecb5-ef9a-4790-93d6-55e997303333</ovirt-vm:domainID>
        <ovirt-vm:imageID>39430c9c-03e1-4684-a31b-9207e011e64a</ovirt-vm:imageID>
        <ovirt-vm:poolID>00000000-0000-0000-0000-000000000000</ovirt-vm:poolID>
        <ovirt-vm:shared>exclusive</ovirt-vm:shared>
        <ovirt-vm:volumeID>1db60c79-2bd5-48dc-8011-112c7338b6b5</ovirt-vm:volumeID>
        <ovirt-vm:specParams>
            <ovirt-vm:pinToIoThread>1</ovirt-vm:pinToIoThread>
        </ovirt-vm:specParams>
        <ovirt-vm:vm_custom/>
        <ovirt-vm:volumeChain>
            <ovirt-vm:volumeChainNode>
                <ovirt-vm:domainID>e269ecb5-ef9a-4790-93d6-55e997303333</ovirt-vm:domainID>
                <ovirt-vm:imageID>39430c9c-03e1-4684-a31b-9207e011e64a</ovirt-vm:imageID>
                <ovirt-vm:leaseOffset type="int">0</ovirt-vm:leaseOffset>
                <ovirt-vm:leasePath>/rhev/data-center/mnt/yellow-vdsb.qa.lab.tlv.redhat.com:_Compute__NFS_GE_compute-he-5_hosted__engine__storage/e269ecb5-ef9a-4790-93d6-55e997303333/images/39430c9c-03e1-4684-a31b-9207e011e64a/1db60c79-2bd5-48dc-8011-112c7338b6b5.lease</ovirt-vm:leasePath>
                <ovirt-vm:path>/rhev/data-center/mnt/yellow-vdsb.qa.lab.tlv.redhat.com:_Compute__NFS_GE_compute-he-5_hosted__engine__storage/e269ecb5-ef9a-4790-93d6-55e997303333/images/39430c9c-03e1-4684-a31b-9207e011e64a/1db60c79-2bd5-48dc-8011-112c7338b6b5</ovirt-vm:path>
                <ovirt-vm:volumeID>1db60c79-2bd5-48dc-8011-112c7338b6b5</ovirt-vm:volumeID>
            </ovirt-vm:volumeChainNode>
        </ovirt-vm:volumeChain>
    </ovirt-vm:device>
    <ovirt-vm:device devtype="disk" name="hdc">
        <ovirt-vm:specParams/>
        <ovirt-vm:vm_custom/>
    </ovirt-vm:device>
</ovirt-vm:vm>
  </metadata>
  <maxMemory slots='16' unit='KiB'>66961408</maxMemory>
  <memory unit='KiB'>16740352</memory>
  <currentMemory unit='KiB'>16740352</currentMemory>
  <vcpu placement='static' current='4'>64</vcpu>
  <iothreads>1</iothreads>
  <resource>
    <partition>/machine</partition>
  </resource>
  <sysinfo type='smbios'>
    <system>
      <entry name='manufacturer'>oVirt</entry>
      <entry name='product'>RHEV Hypervisor</entry>
      <entry name='version'>7.6-4.el7</entry>
      <entry name='serial'>00000000-0000-0000-0000-ac1f6b57ae82</entry>
      <entry name='uuid'>b38f9fd4-3283-42c5-a5d7-403dbb052abf</entry>
    </system>
  </sysinfo>
  <os>
    <type arch='x86_64' machine='pc-i440fx-rhel7.5.0'>hvm</type>
    <boot dev='hd'/>
    <smbios mode='sysinfo'/>
  </os>
  <features>
    <acpi/>
    <vmcoreinfo state='on'/>
  </features>
  <cpu mode='custom' match='exact' check='full'>
    <model fallback='forbid'>Skylake-Server</model>
    <topology sockets='16' cores='4' threads='1'/>
    <feature policy='require' name='spec-ctrl'/>
    <feature policy='require' name='ssbd'/>
    <feature policy='require' name='hypervisor'/>
    <numa>
      <cell id='0' cpus='0-3' memory='16740352' unit='KiB'/>
    </numa>
  </cpu>
  <clock offset='variable' adjustment='0' basis='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>destroy</on_reboot>
  <on_crash>destroy</on_crash>
  <pm>
    <suspend-to-mem enabled='no'/>
    <suspend-to-disk enabled='no'/>
  </pm>
  <devices>
    <emulator>/usr/libexec/qemu-kvm</emulator>
    <disk type='file' device='cdrom'>
      <driver name='qemu' error_policy='report'/>
      <source startupPolicy='optional'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
      <alias name='ua-0a29d9d4-45ac-43f8-a945-ced75b2bd85f'/>
      <address type='drive' controller='0' bus='1' target='0' unit='0'/>
    </disk>
    <disk type='file' device='disk' snapshot='no'>
      <driver name='qemu' type='raw' cache='none' error_policy='stop' io='threads' iothread='1'/>
      <source file='/var/run/vdsm/storage/e269ecb5-ef9a-4790-93d6-55e997303333/39430c9c-03e1-4684-a31b-9207e011e64a/1db60c79-2bd5-48dc-8011-112c7338b6b5'/>
      <backingStore/>
      <target dev='vda' bus='virtio'/>
      <serial>39430c9c-03e1-4684-a31b-9207e011e64a</serial>
      <alias name='ua-39430c9c-03e1-4684-a31b-9207e011e64a'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
    </disk>
    <controller type='usb' index='0' model='piix3-uhci'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='virtio-serial' index='0' ports='16'>
      <alias name='ua-5ba4b149-3876-434c-82a3-cf2056baec53'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </controller>
    <controller type='scsi' index='0' model='virtio-scsi'>
      <driver iothread='1'/>
      <alias name='ua-c8179c34-dc41-432e-be09-357380b93612'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'>
      <alias name='pci.0'/>
    </controller>
    <controller type='ide' index='0'>
      <alias name='ide'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <lease>
      <lockspace>e269ecb5-ef9a-4790-93d6-55e997303333</lockspace>
      <key>1db60c79-2bd5-48dc-8011-112c7338b6b5</key>
      <target path='/rhev/data-center/mnt/yellow-vdsb.qa.lab.tlv.redhat.com:_Compute__NFS_GE_compute-he-5_hosted__engine__storage/e269ecb5-ef9a-4790-93d6-55e997303333/images/39430c9c-03e1-4684-a31b-9207e011e64a/1db60c79-2bd5-48dc-8011-112c7338b6b5.lease'/>
    </lease>
    <interface type='bridge'>
      <mac address='00:1a:4a:16:10:64'/>
      <source bridge='ovirtmgmt'/>
      <target dev='vnet0'/>
      <model type='virtio'/>
      <driver name='vhost' queues='4'/>
      <filterref filter='vdsm-no-mac-spoofing'/>
      <link state='up'/>
      <mtu size='1500'/>
      <alias name='ua-2898c613-cf17-43ce-92d5-1227e1674ccc'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channels/b38f9fd4-3283-42c5-a5d7-403dbb052abf.ovirt-guest-agent.0'/>
      <target type='virtio' name='ovirt-guest-agent.0' state='connected'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channels/b38f9fd4-3283-42c5-a5d7-403dbb052abf.org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
      <alias name='channel1'/>
      <address type='virtio-serial' controller='0' bus='0' port='2'/>
    </channel>
    <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0' state='disconnected'/>
      <alias name='channel2'/>
      <address type='virtio-serial' controller='0' bus='0' port='3'/>
    </channel>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channels/b38f9fd4-3283-42c5-a5d7-403dbb052abf.org.ovirt.hosted-engine-setup.0'/>
      <target type='virtio' name='org.ovirt.hosted-engine-setup.0' state='disconnected'/>
      <alias name='channel3'/>
      <address type='virtio-serial' controller='0' bus='0' port='4'/>
    </channel>
    <input type='mouse' bus='ps2'>
      <alias name='input0'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input1'/>
    </input>
    <graphics type='spice' port='5900' tlsPort='5901' autoport='yes' listen='10.35.30.1' passwdValidTo='1970-01-01T00:00:01'>
      <listen type='network' address='10.35.30.1' network='vdsm-ovirtmgmt'/>
      <channel name='main' mode='secure'/>
      <channel name='display' mode='secure'/>
      <channel name='inputs' mode='secure'/>
      <channel name='cursor' mode='secure'/>
      <channel name='playback' mode='secure'/>
      <channel name='record' mode='secure'/>
      <channel name='smartcard' mode='secure'/>
      <channel name='usbredir' mode='secure'/>
    </graphics>
    <graphics type='vnc' port='5902' autoport='yes' listen='10.35.30.1' keymap='en-us' passwdValidTo='1970-01-01T00:00:01'>
      <listen type='network' address='10.35.30.1' network='vdsm-ovirtmgmt'/>
    </graphics>
    <sound model='ich6'>
      <alias name='ua-65ed8ec0-d24a-4661-835a-e258c05e6e66'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </sound>
    <video>
      <model type='qxl' ram='65536' vram='32768' vgamem='16384' heads='1' primary='yes'/>
      <alias name='ua-ba254467-15c3-4f76-ac9c-bc435264148d'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <stats period='5'/>
      <alias name='ua-cb647112-afde-40d5-bdf6-cd1ce452c629'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
    </memballoon>
    <rng model='virtio'>
      <backend model='random'>/dev/urandom</backend>
      <alias name='ua-fd9dff98-0543-487f-9f6b-fe8913e92890'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
    </rng>
  </devices>
  <seclabel type='dynamic' model='selinux' relabel='yes'>
    <label>system_u:system_r:svirt_t:s0:c460,c582</label>
    <imagelabel>system_u:object_r:svirt_image_t:s0:c460,c582</imagelabel>
  </seclabel>
  <seclabel type='dynamic' model='dac' relabel='yes'>
    <label>+107:+107</label>
    <imagelabel>+107:+107</imagelabel>
  </seclabel>
</domain>

Trying to use # hosted-engine --console failed:
# hosted-engine --console
The engine VM is running on this host
Connected to domain HostedEngine
Escape character is ^]
error: internal error: cannot find character device <null>

Comment 12 Sandro Bonazzola 2018-10-12 11:43:46 UTC
Simone, I see bug with identical summary #1590943 is closed errata in 4.2.5.
What's real status of this bug?

Comment 13 Simone Tiraboschi 2018-10-12 12:38:51 UTC
(In reply to Sandro Bonazzola from comment #12)
> Simone, I see bug with identical summary #1590943 is closed errata in 4.2.5.
> What's real status of this bug?

I fear we still have some kind of race condition on this.
But I'm pretty sure that now the issue is not systematic.

Comment 14 Sandro Bonazzola 2018-10-15 05:32:13 UTC
Moved to 4.2.8 not being identified as 4.2.7 blocker

Comment 15 Sandro Bonazzola 2018-12-13 11:51:31 UTC
Moved to 4.3.0 not being identified as 4.2.8 blocker

Comment 16 Simone Tiraboschi 2018-12-19 16:04:41 UTC
This is probably just a side effect of 1644748

Comment 17 Sandro Bonazzola 2019-01-16 09:30:02 UTC
This should now be addressed by the fixes pushed to the hosted-engine-setup role for reducing the time for saving the OVF store. Moving to QE for testing.

Comment 18 Nikolai Sednev 2019-01-20 13:55:10 UTC
Steps to Reproduce: 
1. Deploy HE with NFS storage via cockpit
2. "hosted-engine --console" login to the HE-VM

alma03 ~]# hosted-engine --console
The engine VM is running on this host
Connected to domain HostedEngine
Escape character is ^]
error: internal error: cannot find character device <null>

ovirt-hosted-engine-setup-2.3.2-1.el7ev.noarch
ovirt-hosted-engine-ha-2.3.0-1.el7ev.noarch
rhvm-appliance-4.3-20190115.0.el7.x86_64
Linux 3.10.0-957.1.3.el7.x86_64 #1 SMP Thu Nov 15 17:36:42 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.6 (Maipo)

alma03 ~]# virsh -r dumpxml HostedEngine
<domain type='kvm' id='2'>
  <name>HostedEngine</name>
  <uuid>fa8d421a-4f5f-465d-9443-fff452e3673f</uuid>
  <metadata xmlns:ns0="http://ovirt.org/vm/tune/1.0" xmlns:ovirt-vm="http://ovirt.org/vm/1.0">
    <ns0:qos/>
    <ovirt-vm:vm xmlns:ovirt-vm="http://ovirt.org/vm/1.0">
    <ovirt-vm:clusterVersion>4.3</ovirt-vm:clusterVersion>
    <ovirt-vm:destroy_on_reboot type="bool">False</ovirt-vm:destroy_on_reboot>
    <ovirt-vm:launchPaused>false</ovirt-vm:launchPaused>
    <ovirt-vm:memGuaranteedSize type="int">1024</ovirt-vm:memGuaranteedSize>
    <ovirt-vm:minGuaranteedMemoryMb type="int">1024</ovirt-vm:minGuaranteedMemoryMb>
    <ovirt-vm:resumeBehavior>auto_resume</ovirt-vm:resumeBehavior>
    <ovirt-vm:startTime type="float">1547988356.59</ovirt-vm:startTime>
    <ovirt-vm:device mac_address="00:16:3e:7b:b8:53">
        <ovirt-vm:network>ovirtmgmt</ovirt-vm:network>
        <ovirt-vm:custom>
            <ovirt-vm:queues>4</ovirt-vm:queues>
        </ovirt-vm:custom>
    </ovirt-vm:device>
    <ovirt-vm:device devtype="disk" name="vda">
        <ovirt-vm:domainID>465dd8c1-7cc4-495e-a1fa-9ff133863bca</ovirt-vm:domainID>
        <ovirt-vm:guestName>/dev/vda</ovirt-vm:guestName>
        <ovirt-vm:imageID>09586c7b-a09d-4c8d-bc20-81b6a163ad61</ovirt-vm:imageID>
        <ovirt-vm:poolID>00000000-0000-0000-0000-000000000000</ovirt-vm:poolID>
        <ovirt-vm:shared>exclusive</ovirt-vm:shared>
        <ovirt-vm:volumeID>b0dc72f0-973e-47ce-837d-fc469b7ed2e2</ovirt-vm:volumeID>
        <ovirt-vm:specParams>
            <ovirt-vm:pinToIoThread>1</ovirt-vm:pinToIoThread>
        </ovirt-vm:specParams>
        <ovirt-vm:volumeChain>
            <ovirt-vm:volumeChainNode>
                <ovirt-vm:domainID>465dd8c1-7cc4-495e-a1fa-9ff133863bca</ovirt-vm:domainID>
                <ovirt-vm:imageID>09586c7b-a09d-4c8d-bc20-81b6a163ad61</ovirt-vm:imageID>
                <ovirt-vm:leaseOffset type="int">0</ovirt-vm:leaseOffset>
                <ovirt-vm:leasePath>/rhev/data-center/mnt/yellow-vdsb.qa.lab.tlv.redhat.com:_Compute__NFS_nsednev__he__1/465dd8c1-7cc4-495e-a1fa-9ff133863bca/images/09586c7b-a09d-4c8d-bc20-81b6a163ad61/b0dc72f0-973e-47ce-837d-fc469b7ed2e2.lease</ovirt-vm:leasePath>
                <ovirt-vm:path>/rhev/data-center/mnt/yellow-vdsb.qa.lab.tlv.redhat.com:_Compute__NFS_nsednev__he__1/465dd8c1-7cc4-495e-a1fa-9ff133863bca/images/09586c7b-a09d-4c8d-bc20-81b6a163ad61/b0dc72f0-973e-47ce-837d-fc469b7ed2e2</ovirt-vm:path>
                <ovirt-vm:volumeID>b0dc72f0-973e-47ce-837d-fc469b7ed2e2</ovirt-vm:volumeID>
            </ovirt-vm:volumeChainNode>
        </ovirt-vm:volumeChain>
    </ovirt-vm:device>
    <ovirt-vm:device devtype="disk" name="hdc"/>
</ovirt-vm:vm>
  </metadata>
  <maxMemory slots='16' unit='KiB'>67108864</maxMemory>
  <memory unit='KiB'>16777216</memory>
  <currentMemory unit='KiB'>16777216</currentMemory>
  <vcpu placement='static' current='4'>64</vcpu>
  <iothreads>1</iothreads>
  <resource>
    <partition>/machine</partition>
  </resource>
  <sysinfo type='smbios'>
    <system>
      <entry name='manufacturer'>Red Hat</entry>
      <entry name='product'>RHEV Hypervisor</entry>
      <entry name='version'>7.6-4.el7</entry>
      <entry name='serial'>4c4c4544-0059-4410-8053-b7c04f573032</entry>
      <entry name='uuid'>fa8d421a-4f5f-465d-9443-fff452e3673f</entry>
    </system>
  </sysinfo>
  <os>
    <type arch='x86_64' machine='pc-i440fx-rhel7.6.0'>hvm</type>
    <boot dev='hd'/>
    <smbios mode='sysinfo'/>
  </os>
  <features>
    <acpi/>
    <vmcoreinfo state='on'/>
  </features>
  <cpu mode='custom' match='exact' check='full'>
    <model fallback='forbid'>SandyBridge</model>
    <topology sockets='16' cores='4' threads='1'/>
    <feature policy='require' name='pcid'/>
    <feature policy='require' name='spec-ctrl'/>
    <feature policy='require' name='ssbd'/>
    <feature policy='require' name='vme'/>
    <feature policy='require' name='hypervisor'/>
    <feature policy='require' name='arat'/>
    <feature policy='require' name='xsaveopt'/>
    <numa>
      <cell id='0' cpus='0-3' memory='16777216' unit='KiB'/>
    </numa>
  </cpu>
  <clock offset='variable' adjustment='0' basis='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>destroy</on_reboot>
  <on_crash>destroy</on_crash>
  <pm>
    <suspend-to-mem enabled='no'/>
    <suspend-to-disk enabled='no'/>
  </pm>
  <devices>
    <emulator>/usr/libexec/qemu-kvm</emulator>
    <disk type='file' device='cdrom'>
      <driver name='qemu' error_policy='report'/>
      <source startupPolicy='optional'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
      <alias name='ua-519d6288-1820-48e9-b102-3308724ec9be'/>
      <address type='drive' controller='0' bus='1' target='0' unit='0'/>
    </disk>
    <disk type='file' device='disk' snapshot='no'>
      <driver name='qemu' type='raw' cache='none' error_policy='stop' io='threads' iothread='1'/>
      <source file='/var/run/vdsm/storage/465dd8c1-7cc4-495e-a1fa-9ff133863bca/09586c7b-a09d-4c8d-bc20-81b6a163ad61/b0dc72f0-973e-47ce-837d-fc469b7ed2e2'>
        <seclabel model='dac' relabel='no'/>
      </source>
      <backingStore/>
      <target dev='vda' bus='virtio'/>
      <serial>09586c7b-a09d-4c8d-bc20-81b6a163ad61</serial>
      <alias name='ua-09586c7b-a09d-4c8d-bc20-81b6a163ad61'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
    </disk>
    <controller type='scsi' index='0' model='virtio-scsi'>
      <driver iothread='1'/>
      <alias name='ua-008f1dfb-899a-48d5-a12b-2b1ff9b58525'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </controller>
    <controller type='virtio-serial' index='0' ports='16'>
      <alias name='ua-91925833-6910-4cfc-96a8-b5a19c650569'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </controller>
    <controller type='usb' index='0' model='piix3-uhci'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'>
      <alias name='pci.0'/>
    </controller>
    <controller type='ide' index='0'>
      <alias name='ide'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <lease>
      <lockspace>465dd8c1-7cc4-495e-a1fa-9ff133863bca</lockspace>
      <key>b0dc72f0-973e-47ce-837d-fc469b7ed2e2</key>
      <target path='/rhev/data-center/mnt/yellow-vdsb.qa.lab.tlv.redhat.com:_Compute__NFS_nsednev__he__1/465dd8c1-7cc4-495e-a1fa-9ff133863bca/images/09586c7b-a09d-4c8d-bc20-81b6a163ad61/b0dc72f0-973e-47ce-837d-fc469b7ed2e2.lease'/>
    </lease>
    <interface type='bridge'>
      <mac address='00:16:3e:7b:b8:53'/>
      <source bridge='ovirtmgmt'/>
      <target dev='vnet0'/>
      <model type='virtio'/>
      <driver name='vhost' queues='4'/>
      <filterref filter='vdsm-no-mac-spoofing'/>
      <link state='up'/>
      <mtu size='1500'/>
      <alias name='ua-164fb708-493c-44a5-ab35-5e4d78471f12'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channels/fa8d421a-4f5f-465d-9443-fff452e3673f.ovirt-guest-agent.0'/>
      <target type='virtio' name='ovirt-guest-agent.0' state='connected'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channels/fa8d421a-4f5f-465d-9443-fff452e3673f.org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
      <alias name='channel1'/>
      <address type='virtio-serial' controller='0' bus='0' port='2'/>
    </channel>
    <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0' state='disconnected'/>
      <alias name='channel2'/>
      <address type='virtio-serial' controller='0' bus='0' port='3'/>
    </channel>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channels/fa8d421a-4f5f-465d-9443-fff452e3673f.org.ovirt.hosted-engine-setup.0'/>
      <target type='virtio' name='org.ovirt.hosted-engine-setup.0' state='disconnected'/>
      <alias name='channel3'/>
      <address type='virtio-serial' controller='0' bus='0' port='4'/>
    </channel>
    <input type='mouse' bus='ps2'>
      <alias name='input0'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input1'/>
    </input>
    <graphics type='spice' port='5900' tlsPort='5901' autoport='yes' listen='10.35.92.3' passwdValidTo='1970-01-01T00:00:01'>
      <listen type='network' address='10.35.92.3' network='vdsm-ovirtmgmt'/>
      <channel name='main' mode='secure'/>
      <channel name='display' mode='secure'/>
      <channel name='inputs' mode='secure'/>
      <channel name='cursor' mode='secure'/>
      <channel name='playback' mode='secure'/>
      <channel name='record' mode='secure'/>
      <channel name='smartcard' mode='secure'/>
      <channel name='usbredir' mode='secure'/>
    </graphics>
    <graphics type='vnc' port='5902' autoport='yes' listen='10.35.92.3' keymap='en-us' passwdValidTo='1970-01-01T00:00:01'>
      <listen type='network' address='10.35.92.3' network='vdsm-ovirtmgmt'/>
    </graphics>
    <sound model='ich6'>
      <alias name='ua-11389fa6-aa1b-4c8f-b586-a04490cd5ff9'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </sound>
    <video>
      <model type='qxl' ram='65536' vram='32768' vgamem='16384' heads='1' primary='yes'/>
      <alias name='ua-af18ff5d-6c25-4576-96f5-4c49e830dee9'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <stats period='5'/>
      <alias name='ua-c9804e0e-4c9d-4114-b727-ac1f0065f54e'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
    </memballoon>
    <rng model='virtio'>
      <backend model='random'>/dev/urandom</backend>
      <alias name='ua-446465dd-9ec5-4dc9-9a78-c7c21ed5f063'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
    </rng>
  </devices>
  <seclabel type='dynamic' model='selinux' relabel='yes'>
    <label>system_u:system_r:svirt_t:s0:c336,c671</label>
    <imagelabel>system_u:object_r:svirt_image_t:s0:c336,c671</imagelabel>
  </seclabel>
  <seclabel type='dynamic' model='dac' relabel='yes'>
    <label>+107:+107</label>
    <imagelabel>+107:+107</imagelabel>
  </seclabel>
</domain>

In UI in engine "Enable VirtIO serial console" is not marked.

Moving back to assigned.

Comment 19 Sandro Bonazzola 2019-01-21 08:28:42 UTC
re-targeting to 4.3.1 since this BZ has not been proposed as blocker for 4.3.0.
If you think this bug should block 4.3.0 please re-target and set blocker flag.

Comment 21 Nikolai Sednev 2019-02-26 13:17:47 UTC
Steps to reproduce: 
1. Deploy HE over iSCSI storage via CLI.
2. "hosted-engine --console" login to the HE-VM

alma03 ~]# hosted-engine --console
The engine VM is running on this host
Escape character is ^]

Red Hat Enterprise Linux Server 7.6 (Maipo)
Kernel 3.10.0-957.5.1.el7.x86_64 on an x86_64

nsednev-he-1 login: root
Password: 
Last login: Tue Feb 26 14:43:35 from 192.168.122.1
[root@nsednev-he-1 ~]# 

Moving to verified.
BTW, escape sequence is ctrl+5.

Tested on:
ovirt-hosted-engine-setup-2.3.5-1.el7ev.noarch
ovirt-hosted-engine-ha-2.3.1-1.el7ev.noarch
ovirt-ansible-engine-setup-1.1.8-1.el7ev.noarch
rhvm-appliance-4.3-20190220.2.el7.x86_64
Linux 3.10.0-957.5.1.el7.x86_64 #1 SMP Wed Dec 19 10:46:58 EST 2018 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.6 (Maipo)

Comment 23 errata-xmlrpc 2019-05-08 12:32:03 UTC
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.

https://access.redhat.com/errata/RHEA-2019:1050


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