On Wed, Jan 17, 2018 at 3:49 PM, Dafna Ron <dron@redhat.com> wrote:
hi,
We are failing test 002_bootstrap.add_hosts on ovirt-engine-dashboard in the upgrade suite.

The error seems to be for missing metrics rules in the ansible playbook.

Link and headline of suspected patches:

https://gerrit.ovirt.org/#/c/86318/ -
add fc27.spec link for automation


Link to Job:

http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/4918/


Link to all logs:

http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/4918/artifact/


(Relevant) error snippet from the log:

<error>


2018-01-17 08:36:23,706 p=27149 u=ovirt |  Using /usr/share/ovirt-engine/playbooks/ansible.cfg as config file
2018-01-17 08:36:23,734 p=27149 u=ovirt |  ERROR! the role 'oVirt.metrics' was not found in /usr/share/ovirt-engine/playbooks/roles:/var/lib/ovirt-engine/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/usr/share/ovirt-engine/playbooks/roles:/usr/share/ovirt-engine/playbooks

The error appears to have been in '/usr/share/ovirt-engine/playbooks/roles/ovirt-host-deploy/meta/main.yml': line 6, column 5, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  - ovirt-host-deploy-firewalld
  - oVirt.metrics
    ^ here

Shirly/Didi, could you please take a look if ovirt-engine-metrics package is properly installed in OST?


2018-01-17 08:36:23,764-05 ERROR [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] (EE-ManagedThreadFactory-engine-Thread-1) [849756c] Host installation failed for host '61c7b24f-e19d-4101-a945-a65b30b7b488', 'lago-upgrade-
from-release-suite-master-host0': Failed to execute Ansible host-deploy role. Please check logs for more details: /var/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-20180117083623-lago-upgrade-from-release-suite-master-host0-8497
56c.log
2018-01-17 08:36:23,769-05 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (EE-ManagedThreadFactory-engine-Thread-1) [849756c] START, SetVdsStatusVDSCommand(HostName = lago-upgrade-from-release-suite-master-host0, SetVdsSta
tusVDSCommandParameters:{hostId='61c7b24f-e19d-4101-a945-a65b30b7b488', status='InstallFailed', nonOperationalReason='NONE', stopSpmFailureLogged='false', maintenanceReason='null'}), log id: 65b48a39
2018-01-17 08:36:23,773-05 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (EE-ManagedThreadFactory-engine-Thread-1) [849756c] FINISH, SetVdsStatusVDSCommand, log id: 65b48a39
2018-01-17 08:36:23,780-05 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-1) [849756c] EVENT_ID: VDS_INSTALL_FAILED(505), Host lago-upgrade-from-release-suite-master-host0 installation failed. Failed to execute Ansible host-deploy role. Please check logs for more details: /var/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-20180117083623-lago-upgrade-from-release-suite-master-host0-849756c.log.
2018-01-17 08:36:23,788-05 INFO  [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] (EE-ManagedThreadFactory-engine-Thread-1) [849756c] Lock freed to object 'EngineLock:{exclusiveLocks='[61c7b24f-e19d-4101-a945-a65b30b7b488=VDS]', sharedLocks=''}'


</error>



_______________________________________________
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel



--
Martin Perina
Associate Manager, Software Engineering
Red Hat Czech s.r.o.