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 1193846

Summary: docker registry creation should require the URL
Product: Red Hat Satellite Reporter: Elyézer Rezende <erezende>
Component: WebUIAssignee: Daniel Lobato Garcia <dlobatog>
WebUI sub component: Foreman QA Contact: jcallaha
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: bkearney, jcallaha, jmontleo
Version: 6.1.0Keywords: Triaged
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/9456
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 05:25:01 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: 1190289    

Description Elyézer Rezende 2015-02-18 12:06:36 UTC
Description of problem:
When creating a docker registry just its name is required, but having a registry without a URL is not useful. Then the URL should be required and validated during the registry creation.


Version-Release number of selected component (if applicable):
Satellite-6.1.0-RHEL-$OS_VERSION-20150217.0


How reproducible:
Aways


Steps to Reproduce:
1. Visit Containers > Registries and click on New registry
2. Fill just the name and submit

Actual results:
The registry is created with a blank URL


Expected results:
The creation should not happen and the form should raise validation errors requiring for a valid URL.


Additional info:

Comment 2 Daniel Lobato Garcia 2015-02-19 07:50:06 UTC
Created redmine issue http://projects.theforeman.org/issues/9456 from this bug

Comment 3 Bryan Kearney 2015-02-19 09:06:56 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/9456 has been closed
-------------
Daniel Lobato Garcia
Applied in changeset commit:foreman-docker|394e988330feccea21993256ff258d525c4abc94.

Comment 6 jcallaha 2015-02-26 18:45:55 UTC
Verified in Satellite 6.1.0 snap 4 compose 2.

Version tested:
RHEL 66
RHEL 71

Comment 7 Bryan Kearney 2015-08-11 13:34:48 UTC
This bug is slated to be released with Satellite 6.1.

Comment 8 errata-xmlrpc 2015-08-12 05:25:01 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.

https://access.redhat.com/errata/RHSA-2015:1592