Bug 1540101 - Add vintage rhevh7.3 to compatibility 3.6 datacenter on rhvm4.2 failed
Summary: Add vintage rhevh7.3 to compatibility 3.6 datacenter on rhvm4.2 failed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Host-Deploy
Version: ---
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ovirt-4.2.2
: ---
Assignee: Ondra Machacek
QA Contact: Pavol Brilla
URL:
Whiteboard:
Depends On:
Blocks: 1539820
TreeView+ depends on / blocked
 
Reported: 2018-01-30 09:45 UTC by dguo
Modified: 2018-03-29 11:04 UTC (History)
16 users (show)

Fixed In Version: ovirt-engine-4.2.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-29 11:04:59 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-4.2+
rule-engine: blocker+


Attachments (Terms of Use)
All the logs including engine.log vdsm.log host-deploy.log (79.02 KB, application/x-gzip)
2018-01-30 09:45 UTC, dguo
no flags Details
ssh_config on engine (2.22 KB, text/plain)
2018-01-31 03:34 UTC, dguo
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 86949 0 master MERGED core: Don't run Ansible on oVirt Vintage Node 2018-02-07 11:27:07 UTC
oVirt gerrit 87267 0 ovirt-engine-4.2 MERGED core: Don't run Ansible on oVirt Vintage Node 2018-02-08 10:08:45 UTC

Description dguo 2018-01-30 09:45:18 UTC
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:

Comment 1 Ryan Barry 2018-01-30 10:04:52 UTC
Didi -

Is there something else missing here?

Comment 2 Yedidyah Bar David 2018-01-30 10:35:31 UTC
Ondra - can you please have a look? Thanks.

Comment 3 Ondra Machacek 2018-01-30 10:44:14 UTC
Does your engine machine has installed and configured ipa-client? Can you please share /etc/ssh/ssh_config from engine machine?

Comment 4 Ryan Barry 2018-01-30 10:49:46 UTC
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).

Comment 5 Ondra Machacek 2018-01-30 11:27:48 UTC
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.

Comment 6 dguo 2018-01-31 03:33:12 UTC
(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
######################

Comment 7 dguo 2018-01-31 03:34:13 UTC
Created attachment 1388720 [details]
ssh_config on engine

Comment 8 Red Hat Bugzilla Rules Engine 2018-02-01 12:27:29 UTC
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.

Comment 9 yisong 2018-02-07 07:56:04 UTC
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:

Comment 10 Pavol Brilla 2018-02-07 13:30:37 UTC
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

Comment 11 Pavol Brilla 2018-02-15 15:34:29 UTC
Tested against upstream build
Software Version:4.2.2-1.el7


Host successfully added

Comment 12 Sandro Bonazzola 2018-03-29 11:04:59 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.