Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1079358

Summary: hwcert-backend plan ignores --server on first run
Product: [Retired] Red Hat Hardware Certification Program Reporter: Greg Nichols <gnichols>
Component: Test Suite (harness)Assignee: Greg Nichols <gnichols>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.6.5CC: bbrock, qcai, rlandry
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hwcert-client 1.6.5.2-20140321 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1074524 Environment:
Last Closed: 2014-05-21 19:20:54 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: 1052387    
Attachments:
Description Flags
patch fixing --server, adding validation none

Description Greg Nichols 2014-03-21 13:11:40 UTC
+++ This bug was initially created as a clone of Bug #1074524 +++

Description of problem:

The hwcert-client (hwcert command) prompts for the local hwcert test server.  It would be helpful that if the user enters a URL, hwcert-client would strip the hostname out of the URL.   Otherwise, mysterious errors appear later when the the server hostname is used.

Version-Release number of selected component (if applicable):

hwcert-client 1.7, 1.6.

--- Additional comment from Greg Nichols on 2014-03-21 08:51:07 EDT ---


There are some other problems with applying the local test server.   If hwcert-backend plan --server <host> on a new or clean (after hwcert-backend clean all) system.  The <host> is verified, but later ignored when filling in certification fields.

It should really appear as the default, editable value when the local test server host is requested by the prompts.

Also, invalid host names should be checked-for.

--- Additional comment from Greg Nichols on 2014-03-21 09:10:14 EDT ---

Comment 1 Greg Nichols 2014-03-21 14:05:04 UTC
Created attachment 877290 [details]
patch fixing --server, adding validation

Comment 5 errata-xmlrpc 2014-05-21 19:20:54 UTC
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-0532.html