Hi all,
On Tue, Jun 1, 2021 at 5:23 AM <jenkins(a)jenkins.phx.ovirt.org> wrote:
This has been failing for a week now. Not sure about the root cause.
From HE deploy code POV:
https://jenkins.ovirt.org/job/ovirt-system-tests_he-basic-suite-master/20...
:
2021-06-01 04:22:22,497+0200 DEBUG var changed: host "localhost" var
"cluster_facts" type "<class 'dict'>" value: "{
"changed": false,
"failed": false,
"ovirt_clusters": [
{
"affinity_groups": [],
"ballooning_enabled": true,
"comment": "",
"cpu": {
"architecture": "undefined",
"type": ""
},
Meaning, the engine says that cluster Default's cpu type is "". The
code uses this value as-is, and a few tasks later fails in:
2021-06-01 04:22:26,815+0200 DEBUG ansible on_any args TASK:
ovirt.ovirt.hosted_engine_setup : Convert CPU model name kwargs
is_conditional:False
2021-06-01 04:22:26,816+0200 DEBUG ansible on_any args localhost TASK:
ovirt.ovirt.hosted_engine_setup : Convert CPU model name kwargs
2021-06-01 04:22:26,974+0200 DEBUG var changed: host "localhost" var
"ansible_play_hosts" type "<class 'list'>" value:
"[]"
2021-06-01 04:22:26,974+0200 DEBUG var changed: host "localhost" var
"ansible_play_batch" type "<class 'list'>" value:
"[]"
2021-06-01 04:22:26,974+0200 DEBUG var changed: host "localhost" var
"play_hosts" type "<class 'list'>" value:
"[]"
2021-06-01 04:22:26,975+0200 ERROR ansible failed {
"ansible_host": "localhost",
"ansible_playbook":
"/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml",
"ansible_result": {
"_ansible_no_log": false,
"msg": "The task includes an option with an undefined
variable. The error was: 'dict object' has no attribute ''\n\nThe
error appears to be in
'/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/create_target_vm/01_create_target_hosted_engine_vm.yml':
line 64, column 5, but may\nbe elsewhere in the file depending on the
exact syntax problem.\n\nThe offending line appears to be:\n\n {{
server_cpu_list['ovirt_system_option']['values'][0]['value'].split(';
')|list|difference(['']) }}\n - name: Convert CPU model name\n ^
here\n"
},
"ansible_task": "Convert CPU model name",
"ansible_type": "task",
"status": "FAILED",
"task_duration": 0
}
Any ideas?
Thanks and best regards,
--
Didi