Created attachment 1388244 [details] All the logs including engine.log vdsm.log host-deploy.log Description of problem: Failed to add vintage rhevh7.3 to compatibility 3.6 datacenter on rhvm4.2 due to failed to execute Ansible host-deploy role. Version-Release number of selected component (if applicable): rhvm-4.2.1.3-0.1.el7 rhev-hypervisor7-20180129.0 vdsm-4.17.44-2.el7ev.noarch How reproducible: 100% Steps to Reproduce: 1. Install the new vintage rhevh 2. Create a compatibility version 3.6 datacenter on rhvm4.2 Actual results: 1.After step#2, failed to add the rhevh to datacenter Expected results: 1. After step#2, add rhevh to rhvm4.2 successfully Additional info:
Didi - Is there something else missing here?
Ondra - can you please have a look? Thanks.
Does your engine machine has installed and configured ipa-client? Can you please share /etc/ssh/ssh_config from engine machine?
ipa-client is not installed or configured. The newest version of ovirt-host for 3.6 does not require this. If it's required, this should be added to the dependencies in ovirt-host, and that package rebuilt (a RHVH rebuild to follow).
I mean engine machine, for the issue in the description, the version of the host isn't important. But the engine machine is 4.2, so there is ipa-client installed for sure, but the question is if it is configured.
(In reply to Ondra Machacek from comment #3) > Does your engine machine has installed and configured ipa-client? Can you > please share /etc/ssh/ssh_config from engine machine? No ipa-client installed and configured indeed on my rhvm. [root@rhvm42-vlan50-1 host-deploy]# rpm -q rhvm rhvm-4.2.1.3-0.1.el7.noarch [root@rhvm42-vlan50-1 host-deploy]# rpm -q ipa-client package ipa-client is not installed The issue seems relate with the permission error we can see in the ansible host-deploy log. As indeed, no permission to create a folder under /root on vintage rhevh. ##################### Authentication or permission failure. In some cases, you may have been able to authenticate and did not have permissions on the target directory. Consider changing the remote temp path in ansible.cfg to a path rooted in "/tmp". Failed command was: ( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1517301852.65-221501879718420 `" && echo ansible-tmp-1517301852.65-221501879718420="` echo /root/.ansible/tmp/ansible-tmp-1517301852.65-221501879718420 `" ), exited with result 1 ######################
Created attachment 1388720 [details] ssh_config on engine
This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.
Description of problem: Failed to add vintage rhevh7.3 to compatibility 3.6 datacenter on rhvm4.2 again due to failed to execute Ansible host-deploy role. Version-Release number of selected component (if applicable): rhvm-4.2.1.3-0.1.el7 rhev-hypervisor7-7.3-20180206.0 vdsm-4.17.43-1.el7ev.noarch How reproducible: 100% Steps to Reproduce: 1. Install the new vintage rhevh 2. Create a compatibility version 3.6 datacenter on rhvm4.2 Actual results: 1.After step#2, failed to add the rhevh to datacenter Expected results: 1. After step#2, add rhevh to rhvm4.2 successfully Additional info:
It is not issue on site of hypervisor, but engine, patch is provided and tested with developer, now we are waiting for oficial build to consume
Tested against upstream build Software Version:4.2.2-1.el7 Host successfully added
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.2 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.