Bug 1331072
Summary: | RHEV Hypervisor setup TUI doesn't allow to use a local file | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | ahauser <alexis.hauser> |
Component: | ovirt-node-plugin-hosted-engine | Assignee: | Douglas Schilling Landgraf <dougsland> |
Status: | CLOSED ERRATA | QA Contact: | cshao <cshao> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | dfediuck, dougsland, fdeutsch, gklein, lsurette, mgoldboi, pstehlik, sbonazzo, srevivo, ycui, ykaul |
Target Milestone: | ovirt-3.6.9 | Keywords: | ZStream |
Target Release: | --- | Flags: | dougsland:
needinfo-
|
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rhev-hypervisor7-7.2-20160826.1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-09-26 14:42:48 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Node | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1354597 |
Description
ahauser
2016-04-27 15:26:20 UTC
That's actually a good catch. Douglas, can you check if we are intentionally blocking file:// urls or if our retrieval method does not support this. Regardless - In RHEV-H 4.0 this will be fixed, because RHEV-H will align with the functionality on RHEL-H. (In reply to Fabian Deutsch from comment #1) > That's actually a good catch. > > Douglas, can you check if we are intentionally blocking file:// urls or if > our retrieval method does not support this. > > Regardless - In RHEV-H 4.0 this will be fixed, because RHEV-H will align > with the functionality on RHEL-H. Fabian, adjusting the validators() to not allow only URL() should be enough to handle such cases as I have tested. diff --git a/src/hosted_engine_page.py b/src/hosted_engine_page.py index ac1da87..7aec7a5 100755 --- a/src/hosted_engine_page.py +++ b/src/hosted_engine_page.py @@ -84,7 +84,7 @@ class Plugin(plugins.NodePlugin): return self._model def validators(self): - return {"hosted_engine.diskpath": valid.Empty() | valid.URL()} + return {"hosted_engine.diskpath": valid.Empty() | valid.Text()} def ui_content(self): # Update the status on a page refresh What's the status of this bug? Certainly doesn't look like it's going to 3.6.8. Delay or close? (In reply to Yaniv Kaul from comment #3) > What's the status of this bug? Certainly doesn't look like it's going to > 3.6.8. Delay or close? Hi Yaniv, we have the code ready. I will do a couple of tests and 3.6.9 should be fine. Dropping 4.0 flags, this is a 3.6 only bug. On 4.0 the TUI doesn't exist anymore. Test version: rhev-hypervisor7-7.2-20160829.0 ovirt-hosted-engine-setup-1.3.7.3-1.el7ev.noarch ovirt-hosted-engine-ha-1.3.5.8-1.el7ev.noarch Test step: 1. Go in RHEV-H configuration menu 2. navigate to Hosted engine section 3. Activate "Deploy Hosted Engine" 4. Press F2 key drop to shell, create a local folder. 5. type a file:///data/cshao/*.ova 6. Start deploy HE. Test result: RHEV-H setup TUI allow to use a local file now. So the bug is fixed, change bug status to VERIFIED. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-1936.html |