Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 743883

Summary: provider create --url http(s):// should fail
Product: Red Hat Satellite Reporter: Garik Khachikyan <gkhachik>
Component: katello-agentAssignee: Ivan Necas <inecas>
Status: CLOSED CURRENTRELEASE QA Contact: Garik Khachikyan <gkhachik>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0.1CC: inecas, mkoci
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 17:59:44 UTC Type: ---
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: 747354    

Description Garik Khachikyan 2011-10-06 11:38:16 UTC
Description of problem:
the method of creating provider with --url http:// (or https://) right now works ok. IMO it should fail and require at least 1 more letter there.

Version-Release number of selected component (if applicable):
recent: katello-cli-0.1.10-1.git.579.a1ea7bc.el6.noarch

How reproducible:
Always when providing the url with: http:// or https://

Steps to Reproduce:
1.see above
2.
3.
  
Actual results:
succeeds and provider gets prepared with that "url"s


Expected results:
Should throw an exception

Additional info:

Comment 1 Ivan Necas 2011-10-10 15:34:38 UTC
Fixed in commit 76ff5953afc972fc48457fb8779a10a92e71e1b4

Comment 2 Garik Khachikyan 2011-11-14 09:55:25 UTC
# VERIFIED 

fixed in providers creation / update scenarios. 
Now it returns with: "katello: error: Option --url is not in a valid format"

packages:
katello-cli-0.1.11-1.git.0.facb3bb.el6.noarch
katello-0.1.101-1.git.30.d57dd1d.el6.x86_64

Comment 5 Mike McCune 2013-08-16 18:20:21 UTC
getting rid of 6.0.0 version since that doesn't exist