On Tue, Sep 5, 2017 at 9:04 AM, Sandro Bonazzola <sbonazzo@redhat.com> wrote:
http://jenkins.ovirt.org/job/ovirt-system-tests_he-basic-suite-master/20/artifact/exported-artifacts/test_logs/he-basic-suite-master/post-002_bootstrap.py/lago-he-basic-suite-master-host0/
In hosted engine setup logs:
2017-09-04 23:06:33,705-0400 DEBUG otopi.plugins.gr_he_setup.vm.runvm mixins._create_vm:283 {u'status': {'message': 'Done', 'code': 0}, u'emulatedMachine': u'pc', u'vmId': u'cef091fe-ff3e-4a90-b2f1-674773eac4ce', u'devices': [{u'device': u'scsi', u'model': u'virtio-scsi', u'type': u'controller'}, {u'device': u'console', u'specParams': {u'enableSocket': u'true'}, u'type': u'console', u'deviceId': u'494ce6e1-b43d-4c57-acd7-7a6c4943cc5a', u'alias': u'console0'}, {u'index': u'2', u'iface': u'ide', u'specParams': {}, u'readonly': u'true', u'deviceId': u'cfa4e0a2-6261-4055-b815-91bff9b78ab6', u'address': {u'bus': u'1', u'controller': u'0', u'type': u'drive', u'target': u'0', u'unit': u'0'}, u'device': u'cdrom', u'shared': u'false', u'path': u'/tmp/tmpnlD4s1/seed.iso', u'type': u'disk'}, {u'index': u'0', u'iface': u'virtio', u'format': u'raw', u'bootOrder': u'1', u'poolID': u'00000000-0000-0000-0000-000000000000', u'volumeID': u'e2a2e6cb-6f0f-4824-b581-e949ce07f612', u'imageID': u'93d9c21e-b029-45a2-997f-ba5e65fcc9a2', u'specParams': {}, u'readonly': u'false', u'domainID': u'6ae9f9dd-930b-4894-92e0-c9e3bfc0d875', u'optional': u'false', u'deviceId': u'93d9c21e-b029-45a2-997f-ba5e65fcc9a2', u'address': {u'slot': u'0x06', u'bus': u'0x00', u'domain': u'0x0000', u'type': u'pci', u'function': u'0x0'}, u'device': u'disk', u'shared': u'exclusive', u'propagateErrors': u'off', u'type': u'disk'}, {u'nicModel': u'pv', u'macAddr': u'54:52:c0:a8:c8:63', u'linkActive': u'true', u'network': u'ovirtmgmt', u'specParams': {}, u'deviceId': u'977a4b82-06bb-48ee-b71c-5c87b88488af', u'address': {u'slot': u'0x03', u'bus': u'0x00', u'domain': u'0x0000', u'type': u'pci', u'function': u'0x0'}, u'device': u'bridge', u'type': u'interface'}, {u'device': u'vga', u'alias': u'video0', u'type': u'video'}, {u'device': u'vnc', u'type': u'graphics'}, {u'device': u'virtio', u'specParams': {u'source': u'urandom'}, u'model': u'virtio', u'type': u'rng'}], u'guestDiskMapping': {}, u'vmType': u'kvm', u'smp': u'2', u'display': u'vnc', u'memSize': 3171, u'cpuType': u'SandyBridge', u'clientIp': u'', u'statusTime': u'4295135080', u'vmName': u'HostedEngine', u'spiceSecureChannels': u'smain,sdisplay,sinputs,scursor,splayback,srecord,ssmartcard,susbredir', u'maxVCpus': u'2'}
2017-09-04 23:06:33,722-0400 DEBUG otopi.plugins.gr_he_setup.vm.runvm mixins._create_vm:300 {'status': {'message': 'Done', 'code': 0}, 'items': [{u'username': u'Unknown', u'displayInfo': [], u'hash': u'4313467795400122059', u'acpiEnable': u'true', u'guestFQDN': u'', u'monitorResponse': u'0', u'vmId': u'cef091fe-ff3e-4a90-b2f1-674773eac4ce', u'kvmEnable': u'true', u'elapsedTime': u'0', u'vmType': u'kvm', u'session': u'Unknown', u'status': u'WaitForLaunch', u'guestCPUCount': -1, u'appsList': [], u'timeOffset': u'0', u'memUsage': u'0', u'guestIPs': u'', u'statusTime': u'4295135100', u'vmName': u'HostedEngine', u'clientIp': u''}]}
2017-09-04 23:06:36,734-0400 DEBUG otopi.plugins.gr_he_setup.vm.runvm mixins._create_vm:300 {'status': {'message': 'Done', 'code': 0}, 'items': [{u'status': u'Down', u'exitMessage': u'invalid argument: could not find capabilities for arch=x86_64 domaintype=kvm ', u'vmId': u'cef091fe-ff3e-4a90-b2f1-674773eac4ce', u'exitReason': 1, u'statusTime': u'4295138120', u'exitCode': 1}]}
2017-09-04 23:06:36,735-0400 DEBUG otopi.context context._executeMethod:142 method exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in _executeMethod
    method['method']()
  File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-setup/vm/runvm.py", line 168, in _boot_from_hd
    self._create_vm()
  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/mixins.py", line 315, in _create_vm
    'The VM is not powering up: please check VDSM logs'
RuntimeError: The VM is not powering up: please check VDSM logs

In VDSM logs I see:
2017-09-04 23:06:33,702-0400 INFO  (vm/cef091fe) [vdsm.api] START prepareImage(sdUUID=u'6ae9f9dd-930b-4894-92e0-c9e3bfc0d875', spUUID=u'00000000-0000-0000-0000-000000000000', imgUUID=u'93d9c21e-b029-45a2-997f-ba5e65fcc9a2', leafUUID=u'e2a2e6cb-6f0f-4824-b581-e949ce07f612', allowIllegal=False) from=internal, task_id=127e77e0-29cd-47e2-870f-491fb34a001d (api:46)
2017-09-04 23:06:33,708-0400 ERROR (jsonrpc/6) [virt.vm] (vmId='cef091fe-ff3e-4a90-b2f1-674773eac4ce') Error fetching vm stats (vm:1676)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 1672, in _getRunningVmStats
    vm_sample.interval)
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vmstats.py", line 47, in produce
    balloon(vm, stats, last_sample)
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vmstats.py", line 153, in balloon
    balloon_info = vm.get_balloon_info()
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 4947, in get_balloon_info
    dev = self._devices[hwclass.BALLOON][0]
IndexError: list index out of range
2017-09-04 23:06:33,713-0400 INFO  (jsonrpc/6) [jsonrpc.JsonRpcServer] RPC call VM.getStats succeeded in 0.00 seconds (__init__:630)
I checked the code and I see old Francesco's patch [1] so adding him to the thread.


[1] https://gerrit.ovirt.org/#/c/77992/

 
And
2017-09-04 23:06:34,180-0400 ERROR (vm/cef091fe) [virt.vm] (vmId='cef091fe-ff3e-4a90-b2f1-674773eac4ce') The vm start process failed (vm:877)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 811, in _startUnderlyingVm
    self._run()
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 2543, in _run
    dom = self._connection.createXML(domxml, flags)
  File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 125, in wrapper
    ret = f(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 586, in wrapper
    return func(inst, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3782, in createXML
    if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
libvirtError: invalid argument: could not find capabilities for arch=x86_64 domaintype=kvm 

--

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D

Red Hat EMEA