i think this is related to https://github.com/ansible/ansible/issues/46603
my colleague had similar problems with ansible 2.7.0 and yum, he told me his issue went away with ansible 2.7.1
would be nice if oVirt ansible could be updated to 2.7.1

thx
matthias

Am 05.11.18 um 16:35 schrieb Matthias Leopold:
Hi,

just for the records:
I couldn't update my Spacewalk (2.6) registered Enterprise (CentOS) hosts from oVirt 4.2.6 to 4.2.7. Error message is

2018-11-05 15:03:51,059 p=2329 u=ovirt |  Using /usr/share/ovirt-engine/playbooks/ansible.cfg as config file 2018-11-05 15:03:52,152 passlib.registry registered 'md5_crypt' handler: <class 'passlib.handlers.md5_crypt.md5_crypt'> 2018-11-05 15:03:52,165 p=2329 u=ovirt |  PLAY [all] ********************************************************************* 2018-11-05 15:03:52,184 p=2329 u=ovirt |  TASK [ovirt-host-upgrade : Install ovirt-host package if it isn't installed] *** 2018-11-05 15:04:00,078 p=2329 u=ovirt |  fatal: [foo.bar.meduniwien.ac.at]: FAILED! => {
     "ansible_facts": {
         "pkg_mgr": "yum"
     },
     "changed": false
}

MSG:

Error from repoquery: ['/usr/bin/repoquery', '--show-duplicates', '--plugins', '--quiet', '-c', None, '--disablerepo', '', '--enablerepo', '', '--qf', '%{epoch}:%{name}-%{version}-%{release}.%{arch}', 'ovirt-host']: Error accessing file for config file:///root/--disablerepo
Error accessing file for config file:///root/--disablerepo

Since this is only a test environment and i could easily switch the hosts to upstream repo mirrors I didn't do any further debugging. Maybe the Spacewalk server is too old...

Matthias
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/OK4G6TCSXK65ZCREUM6X2666IHBSBPXC/

--
Matthias Leopold
IT Systems & Communications
Medizinische Universität Wien
Spitalgasse 23 / BT 88 /Ebene 00
A-1090 Wien
Tel: +43 1 40160-21241
Fax: +43 1 40160-921200
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/S7CI6PKCISXFHO7IE3JCSGOSLNTKEFET/

Reply via email to