Bug 1856085
Summary: | Upload / download disk with python sdk on IPv6 host fails - ovirtsdk4.ConnectionError: Error while sending HTTP request: (7, '') | ||||||
---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-engine-sdk-python | Reporter: | Evelina Shames <eshames> | ||||
Component: | General | Assignee: | Ori Liel <oliel> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Avihai <aefrat> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.3.0 | CC: | aefrat, bugs, juan.hernandez, mburman, michal.skrivanek, mperina, nsoffer | ||||
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: | Environment: | ||||||
Last Closed: | 2020-07-14 11:07:31 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1805267 | ||||||
Attachments: |
|
Description
Evelina Shames
2020-07-12 15:16:27 UTC
This SDK issue is blocking IPv6 RFE bug 1805267, setting severity to high. Created attachment 1700735 [details]
Logs
vdsm-4.40.22-1.el8ev.x86_64
engine-4.4.1.8-0.7.el8ev
ovirt-imageio-client-2.0.9-1.el8ev.x86_64
Can you describe the tested environment? What do you mean by "IPv6 host"? Is this host have only ipv6? If this host has only ipv6, do we have ipv6 address on the engine and hosts (e.g. dual-stack)? I think running this on all hosts in the setup will make the issue more clear: ip addr Can you access engine or host using curl from "IPv6 host"? Here are few commands you can try in your environment: $ curl -i -k https://engine3/ovirt-engine/ HTTP/1.1 302 Found Date: Sun, 12 Jul 2020 17:14:05 GMT Server: Apache/2.4.37 (centos) OpenSSL/1.1.1c mod_wsgi/4.6.4 Python/3.6 Set-Cookie: JSESSIONID=SkNm29MUGg-iIRZhGQozZTVNaGtoxEz8Eq25bdr5.engine3; path=/ovirt-engine; secure; HttpOnly Set-Cookie: locale=en_US; path=/; secure; HttpOnly; Max-Age=2147483647; Expires=Fri, 30-Jul-2088 20:28:12 GMT X-XSS-PROTECTION: 1; MODE=BLOCK X-CONTENT-TYPE-OPTIONS: NOSNIFF X-FRAME-OPTIONS: SAMEORIGIN Location: https://engine3/ovirt-engine/login?scope=ovirt-ext%3Dauth%3Aidentity Content-Length: 0 $ curl -k -X OPTIONS https://host4:54322/images/* {"unix_socket": "\u0000/org/ovirt/imageio", "features": ["extents", "zero", "flush"]} If you cannot access engine and host using other tools this is not sdk issue but bad configuration that cannot work. after clarification please either close or add more information. Talked to Michael, there is no configuration error on the host. If it matters, the host is RHVH. Let me know if you need more information. Martin, do you think this a real bug or we can close this? See the discussion starting at comment 7. (In reply to Nir Soffer from comment #12) > Martin, do you think this a real bug or we can close this? > See the discussion starting at comment 7. I talked to Michael B. and there was connectivity/ping from host -> engine in IPv6. The issue was DNS IPV6 resolution was not available on the engine so the host did not reach it. Can we change the SDK script to use IPv6 directly to avoid this issue and see the script works (host IPv6 -> Engine has IPv6 but not resolved in DNS)? (In reply to Avihai from comment #13) > (In reply to Nir Soffer from comment #12) > > Martin, do you think this a real bug or we can close this? > > See the discussion starting at comment 7. ... > Can we change the SDK script to use IPv6 directly to avoid this issue and > see the script works (host IPv6 -> Engine has IPv6 but not resolved in DNS)? I don't think so. The SDK must use the DNS name to enable certificate verification, but infra folks should answer this. |