Bug 1125228
Summary: | Usability: preupg tells me to upload results to UI which does not work | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Branislav Blaškovič <bblaskov> |
Component: | preupgrade-assistant | Assignee: | Jakub Dorňák <jdornak> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.6 | CC: | fkluknav, hhorak, jkurik, jmarko, mkovarik, ovasik, phracek, ttomecek |
Target Milestone: | rc | Keywords: | Extras |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-10-14 10:08:46 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: |
Description
Branislav Blaškovič
2014-07-31 11:22:19 UTC
This is great example what is more user-friendly behaviour: # redhat-upgrade-tool-cli --network 7.0 --instrepo http://download.eng.brq.redhat.com/rel-eng/latest-RHEL-7/compose/Server/x86_64/os/ --addrepo optional=http://download.eng.brq.redhat.com/rel-eng/latest-RHEL-7/compose/Server-optional/x86_64/os/ Command not found. Install package 'redhat-upgrade-tool' to provide command 'redhat-upgrade-tool-cli'? [N/y] * Running.. * Resolving dependencies.. * Waiting for authentication.. * Resolving dependencies.. * Downloading packages.. * Testing changes.. * Installing packages.. I find it pretty obvious that if you haven't installed and set up your instance of UI, uploading results to non-existent server will fail. I guess that we could improve the message to something like: "Cannot connect to UI. Is it set up? Can this machine access it?" Yes you find it obvious because you developed it. I dont find it obvious because I dont know that tool as well as you. That UI is part of preupgrade, preupg command tells me to do something with it and it just does not work! Some additional text with hints what is problem would be great. I agree text should be improved - however as I see there e.g. (exempli gratia) , it is obvious to me that this is just example of the "upload command" - and not something for cut&paste. I have fixed this in upstream. commit 97346b1f8ee802728c4a47259faad1028468415f Author: Jakub Dorňák <jdornak> Date: Wed Sep 3 15:50:19 2014 +0200 Usability: suggest to install UI Resolves: #1125228 preup/application.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) Verified on preupgrade-assistant-2.0.1-1.el6.x86_64. [root@system1 ~]# preupg -u http://127.0.0.1:8099/submit/ -r /root/preupgrade-results/preupg_results-*.tar.gz Usage: preupg [options] preupg: error: Can't connect to preupgrade assistant WEB-UI at http://127.0.0.1:8099/submit/. Please ensure that package preupgrade-assistant-ui has been installed on target system and firewall is set up to allow connections on port 8099. 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. http://rhn.redhat.com/errata/RHBA-2014-1394.html |