Bug 1779742
| Summary: | tests/00-geo-rep/00-georep-verify-non-root-setup.t fail on freshly installed builder | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | M. Scherer <mscherer> | ||||
| Component: | tests | Assignee: | Sunny Kumar <sunkumar> | ||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | |||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | mainline | CC: | bugs, dkhandel, khiremat, pasik, sabose, sankarshan.mukhopadhyay, sheggodu, sunkumar | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1784790 1784796 (view as bug list) | Environment: | |||||
| Last Closed: | 2019-12-18 08:11:04 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1784790, 1784796 | ||||||
| Attachments: |
|
||||||
|
Description
M. Scherer
2019-12-04 15:50:39 UTC
You might want to change the severity of this RHBZ if this is blocking the CentOS 8 builder upgrade tests. Kotresh, can you please take a look at the failing test? Hi Deepshikha, Looking at it. /sunny Hi, Can you provide machine for further analysis, it will help to resolve this faster. /sunny Created attachment 1645578 [details]
proposed patch
There isn't a need for much analysis, the problem is that on a new system, the remote key need to be accepted by ssh-copy-id, that's why it is blocked on the command: "ssh -v -o PreferredAuthentications=, -o ControlPath=none nroot.0.1". I do not know how that was supposed to work in the first place, but I suspect this did worked by accident, because we do not reinstall the builder on each run. The attached patch should work, and to test it, no need for anything special, just use a fresh VM (either vagrant, virt-builder, anything) and test. just make sure the know_hosts file of root is empty, since that's the state of a freshly install VM. (In reply to M. Scherer from comment #6) > There isn't a need for much analysis, the problem is that on a new system, > the remote key need to be accepted by ssh-copy-id, that's why it is blocked > on the command: "ssh -v -o PreferredAuthentications=, -o ControlPath=none > nroot.0.1". > Thanks for analysis and patch. > I do not know how that was supposed to work in the first place, but I > suspect this did worked by accident, because we do not reinstall the builder > on each run. Yes, I suppose it worked because builders were not freshly installed. >The attached patch should work, and to test it, no need for > anything special, just use a fresh VM (either vagrant, virt-builder, > anything) and test. just make sure the know_hosts file of root is empty, > since that's the state of a freshly install VM. REVIEW: https://review.gluster.org/23887 (test: fix non-root test case for geo-rep) posted (#1) for review on master by Sunny Kumar The option for maintaining order for authentication method: "PreferredAuthentications: publickey" -- fails on regression as well on local system. I have changed its order to password. Update: Can be reproduced in system by removing/making_empty "~/.ssh/known_hosts" file for root. Works with patch: https://review.gluster.org/#/c/glusterfs/+/23887/2/ /sunny REVIEW: https://review.gluster.org/23887 (test: fix non-root test case for geo-rep) merged (#3) on master by Amar Tumballi |