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