oVirt provider: Creating a new host fails with 'action type cpu profile empty'

Hello,

when trying to create a new host on oVirt / compute this fails with:

action type cpu profile empty

please see ovirt engine log attached.

I talked to Doron Fediuck from ovirt on the [ML] and he pointed me to a
[BZ] (related) where this would be the intended behaviour to fail api
calls with cpu profile missing.

Question: Can anyone help me pinpoint the issue to Foreman or oVirt and
work around it? I tried a new template with a cpu profile in ovirt but
to no avail, so far I cannot create oVirt VMs in Foreman.

Verions applicable:
foreman 1.8.2
ovirt 3.5.3

Thanks,

[ML] https://www.mail-archive.com/users@ovirt.org/msg26804.html
[BZ] https://bugzilla.redhat.com/show_bug.cgi?id=1160846

Relevant engine log from transaction:
2015-06-29 09:44:59,890 INFO
[org.ovirt.engine.core.bll.AddVmFromScratchCommand]
(ajp–127.0.0.1-8702-2) [9551953] Lock Acquired to object EngineLock
[exclusiveLocks= key: wstest03-int-m-box-de value: VM_NAME
, sharedLocks= ]
2015-06-29 09:44:59,976 WARN
[org.ovirt.engine.core.bll.AddVmFromScratchCommand]
(ajp–127.0.0.1-8702-2) [9551953] CanDoAction of action AddVmFromScratch
failed for user admin@internal. Reasons:
VAR__ACTION__ADD,VAR__TYPE__VM,ACTION_TYPE_CPU_PROFILE_EMPTY
2015-06-29 09:44:59,977 INFO
[org.ovirt.engine.core.bll.AddVmFromScratchCommand]
(ajp–127.0.0.1-8702-2) [9551953] Lock freed to object EngineLock
[exclusiveLocks= key: wstest03-int-m-box-de value: VM_NAME
, sharedLocks= ]
2015-06-29 09:45:00,037 ERROR
[org.ovirt.engine.api.restapi.resource.AbstractBackendResource]
(ajp–127.0.0.1-8702-2) Operation Failed: [action type cpu profile empty]

··· -- Daniel Helgenberger Schivelbeiner Str. 46 10439 Berlin

Anyone?

··· On 30.06.2015 11:41, Daniel Helgenberger wrote: > Hello, > > when trying to create a new host on oVirt / compute this fails with: > > action type cpu profile empty > > please see ovirt engine log attached. > > I talked to Doron Fediuck from ovirt on the [ML] and he pointed me to a > [BZ] (related) where this would be the intended behaviour to fail api > calls with cpu profile missing. > > Question: Can anyone help me pinpoint the issue to Foreman or oVirt and > work around it? I tried a new template with a cpu profile in ovirt but > to no avail, so far I cannot create oVirt VMs in Foreman. > > Verions applicable: > foreman 1.8.2 > ovirt 3.5.3 > > Thanks, > > > [ML] https://www.mail-archive.com/users@ovirt.org/msg26804.html > [BZ] https://bugzilla.redhat.com/show_bug.cgi?id=1160846 > > > Relevant engine log from transaction: > 2015-06-29 09:44:59,890 INFO > [org.ovirt.engine.core.bll.AddVmFromScratchCommand] > (ajp--127.0.0.1-8702-2) [9551953] Lock Acquired to object EngineLock > [exclusiveLocks= key: wstest03-int-m-box-de value: VM_NAME > , sharedLocks= ] > 2015-06-29 09:44:59,976 WARN > [org.ovirt.engine.core.bll.AddVmFromScratchCommand] > (ajp--127.0.0.1-8702-2) [9551953] CanDoAction of action AddVmFromScratch > failed for user admin@internal. Reasons: > VAR__ACTION__ADD,VAR__TYPE__VM,ACTION_TYPE_CPU_PROFILE_EMPTY > 2015-06-29 09:44:59,977 INFO > [org.ovirt.engine.core.bll.AddVmFromScratchCommand] > (ajp--127.0.0.1-8702-2) [9551953] Lock freed to object EngineLock > [exclusiveLocks= key: wstest03-int-m-box-de value: VM_NAME > , sharedLocks= ] > 2015-06-29 09:45:00,037 ERROR > [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] > (ajp--127.0.0.1-8702-2) Operation Failed: [action type cpu profile empty] >


Daniel Helgenberger
Schivelbeiner Str. 46
10439 Berlin