Bug 1919883

Summary: Mandatory/compulsory fields should be marked properly on the Global Registration page.
Product: Red Hat Satellite Reporter: Ashish Humbe <ahumbe>
Component: RegistrationAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Stephen Wadeley <swadeley>
Severity: medium Docs Contact:
Priority: high    
Version: 6.9.0Keywords: UserExperience
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-25 11:23:31 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:

Description Ashish Humbe 2021-01-25 11:21:08 UTC
Description of problem:
Mandatory/compulsory fields should be marked properly on the Global Registration page.

While executing registration command generated from Satellite, it fails with error "Must specify an activation key"


# curl -X GET "https://dell-per320-3.gsslab.pnq.redhat.com/register?location_id=2&organization_id=1" -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjo0LCJpYXQiOjE2MTE1NzMxODksImp0aSI6IjhhZDg1NGE5NDEzNWIxMGVjZjg5NDMxOTE4ODE5OGU1OWJlMWJjZjVkMmY2NmQxMTZiNDMxZmQ3YTU0ODZjMDQiLCJleHAiOjE2MTE1ODc1ODl9.alZYzWzV2cGfxsdAKddGn176DP5m1AOXxcHd8mITos4' --insecure | bash

Loaded plugins: product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

Examining /tmp/tmp.ScDWs9424J.rpm: katello-ca-consumer-dell-per320-3.gsslab.pnq.redhat.com-1.0-6.noarch
/tmp/tmp.ScDWs9424J.rpm: does not update installed package.
Nothing to do
Error: Must specify an activation key


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

How reproducible:
Always

Steps to Reproduce:
1. Navigate to Hosts -> All Hosts -> Register Host
2. Generate registration command without passing activation key.
3.

Comment 1 Ashish Humbe 2021-01-25 11:23:31 UTC

*** This bug has been marked as a duplicate of bug 1919566 ***