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

Bug 1074524

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 EOL QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.7CC: rlandry
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hwcert-client 1.7.0-20140321 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1079358 (view as bug list) Environment:
Last Closed: 2020-03-27 15:42:52 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: 1052374    
Attachments:
Description Flags
patch fixing --server, adding validation none

Description Greg Nichols 2014-03-10 13:07:38 UTC
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.

Comment 1 Greg Nichols 2014-03-21 12:51:07 UTC
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.

Comment 2 Greg Nichols 2014-03-21 13:10:14 UTC
Created attachment 877269 [details]
patch fixing --server, adding validation