Bug 1589265
Summary: | [RFE][v2v] V2V should differentiate whether logs are moved or not generated | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Yadnyawalk Tale <ytale> | ||||
Component: | V2V | Assignee: | Brett Thurber <bthurber> | ||||
Status: | CLOSED ERRATA | QA Contact: | Yadnyawalk Tale <ytale> | ||||
Severity: | medium | Docs Contact: | Red Hat CloudForms Documentation <cloudforms-docs> | ||||
Priority: | medium | ||||||
Version: | 5.9.0 | CC: | akarol, bthurber, fdupont, hkataria, lavenel, mfeifer, mpovolny, obarenbo, simaishi, smallamp, ytale | ||||
Target Milestone: | GA | Keywords: | FutureFeature | ||||
Target Release: | 5.10.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | v2v | ||||||
Fixed In Version: | 5.10.0.20 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-02-07 23:03:07 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | Bug | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | V2V | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1601090 | ||||||
Attachments: |
|
Description
Yadnyawalk Tale
2018-06-08 14:45:18 UTC
Can you check it in 5.9.3.4? If migration succeeds and log is created but moved, then getting following error. `Failed to download "ytale-v2v-4-win10.log". Reason - "SCP did not finish successfully (1): scp: /var/log/vdsm/import/v2v-import-20180704T063253-126596.log: No such file or directory "` and if migration fails and log is not get created, getting following error `Failed to download "ytale-v2v-4-win10.log". Reason - "Conversion host was not found: ID []. Cannot queue the download of transformation log."` Should be more specific as per description. Checked on 5.9.3.4. As per https://bugzilla.redhat.com/show_bug.cgi?id=1589265#c3, maybe display a more meaningful message based on the scenario. Please create an upstream issue for this BZ. @Brett, created upstream issue - https://github.com/ManageIQ/miq_v2v_ui_plugin/issues/478 Added issue into external tracker. New commit detected on ManageIQ/manageiq-v2v/hammer: https://github.com/ManageIQ/manageiq-v2v/commit/848437460e67f45eb99e96ada44b44f034e995f0 commit 848437460e67f45eb99e96ada44b44f034e995f0 Author: Michael Ro <mikerodev> AuthorDate: Mon Oct 15 16:29:04 2018 -0400 Commit: Michael Ro <mikerodev> CommitDate: Mon Oct 15 16:29:04 2018 -0400 Merge pull request #706 from AparnaKarve/disable_log_button_until_logfile_available Keep the Download Log button disabled until v2v log is available (cherry picked from commit 5464d9929c5eb38355a8a22e53845b002c9f45a8) https://bugzilla.redhat.com/show_bug.cgi?id=1589265 app/javascript/react/screens/App/Plan/components/PlanRequestDetailList/PlanRequestDetailList.js | 27 +- app/javascript/react/screens/App/Plan/helpers.js | 3 +- 2 files changed, 15 insertions(+), 15 deletions(-) Actual PR for this feature: https://github.com/ManageIQ/manageiq-v2v/pull/706 Created attachment 1514072 [details] fixed_proof.png We had discussion on this already https://github.com/ManageIQ/manageiq-v2v/issues/478#issuecomment-429139673, Now when it do not find file on conversion host, we get msg like - Failed to download "65ytale-mini7-001.log". Reason - "Could not get conversion log '/var/log/vdsm/import/v2v-import-20181213T084746-25838.log' from 'url' with [RuntimeError: open /var/log/vdsm/import/v2v-import-20181213T084746-25838.log: no such file (2)" When log not get generated, download log button get disabled. Verified on - 5.10.0.28.20181204160308_aa3b074 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://access.redhat.com/errata/RHSA-2019:0212 |