Hello,
Sandro set BZ1160846 to resolved for 3.5.4, yet the same issue still
exists with cpu profiles (I even remember a duplicate poining to this BZ
but seem to be unable to find it).
Steps:
1. Set up forman provisoniong for ovirt
2. Add a second cpu profile to cluster
3. Provision a VM using foreman
Result:
Error: action type cpu profile empty
after removing any extra CPU profiles leaving only 'Default', vm
provisioning works again.
engine.log:
2015-09-10 13:07:20,573 INFO
[org.ovirt.engine.core.bll.aaa.LoginUserCommand] (ajp--127.0.0.1-8702-5) Running command:
LoginUserCommand internal: false.
2015-09-10 13:07:20,790 INFO [org.ovirt.engine.core.bll.AddVmCommand]
(ajp--127.0.0.1-8702-5) [3651d332] Lock Acquired to object EngineLock [exclusiveLocks=
key: test03 value: VM_NAME
2015-09-10 13:07:20,845 WARN [org.ovirt.engine.core.bll.AddVmCommand]
(ajp--127.0.0.1-8702-5) [3651d332] CanDoAction of action AddVm failed for user
admin@internal. Reasons: VAR__ACTION__ADD,VAR__TYPE__VM,ACTION_TYPE_CPU_PROFILE_EMPTY
2015-09-10 13:07:20,846 INFO [org.ovirt.engine.core.bll.AddVmCommand]
(ajp--127.0.0.1-8702-5) [3651d332] Lock freed to object EngineLock [exclusiveLocks= key:
test03 value: VM_NAME
2015-09-10 13:07:20,905 ERROR
[org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (ajp--127.0.0.1-8702-5)
Operation Failed: [action type cpu profile empty]
Versions:
ovirt-engine-3.5.4.2-1.el7.centos.noarch
Foreman 1.8.3
If nobody objects I would open a BZ asap.
Thanks,
On 20.08.2015 14:41, Daniel Helgenberger wrote:
Hello,
I still seem to have an issue in ovirt with a [BZ1160846].
In my case, foreman is unable to add hosts if I have multiple CPU
Profiles defined in the cluster:
Failed to create a compute oVirt (oVirt) instance $hostname: action type
cpu profile empty
BZ says this was resolved in RHEV 3.5.1; but running 3.5.3 I still have
this issue (if this BZ is even applicable)
Thanks!
Versions:
oVirt 3.5.3 el7
Foreman 1.8.2
Thanks!
[BZ1160846]
https://bugzilla.redhat.com/show_bug.cgi?id=1160846
--
Daniel Helgenberger
m box bewegtbild GmbH
P: +49/30/2408781-22
F: +49/30/2408781-10
ACKERSTR. 19
D-10115 BERLIN
www.m-box.de www.monkeymen.tv
Geschäftsführer: Martin Retschitzegger / Michaela Göllner
Handeslregister: Amtsgericht Charlottenburg / HRB 112767