Bug 1483418 - Missing keycloak-client-registration-cli-2.5.7.Final-redhat-2.jar from SSO71 template.
Summary: Missing keycloak-client-registration-cli-2.5.7.Final-redhat-2.jar from SSO71 ...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Templates
Version: 3.6.0
Hardware: All
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.7.z
Assignee: kconner
QA Contact: XiuJuan Wang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-21 05:19 UTC by Glenn West
Modified: 2017-10-25 20:59 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-25 20:59:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CLOUD-2019 0 Major New Missing keycloak-client-registration-cli-2.5.7.Final-redhat-2.jar from SSO71 image 2018-11-22 16:29:15 UTC
Red Hat Issue Tracker RHSSO-1113 0 Major Closed [7.1.z] Missing bin/client/keycloak-client-registration-cli-2.5.7.Final-redhat-2.jar from overlay zip 2018-11-22 16:29:15 UTC

Description Glenn West 2017-08-21 05:19:44 UTC
Description of problem:
In automation for ocp 3.6 reference architecture, the tmplate needs to auto configure
sso as the identity provider. As part of that a client must be automatically added.
kcreg.sh executed within the container provides that functionality. kcreg.sh uses
keycloak-client-registration-cli-2.5.7.Final-redhat-2.jar, which is not in the docker container. It is in the full sso71 tar ball. 

Version-Release number of selected component (if applicable):
sso 71 template on ocp 3.6

How reproducible:


Steps to Reproduce:
1.Use https://github.com/glennswest/createsso.git 
script is create_login.sh which auto creates a sso71 container on ocp 3.6
2. run create_login.sh
3. ocp rsh {podname}
4. /opt/eap/bin/kcreg.sh

Actual results:
sh-4.2$ ./kcreg.sh
Picked up JAVA_TOOL_OPTIONS: -Duser.home=/home/jboss -Duser.name=jboss
Error: Could not find or load main class org.keycloak.client.registration.cli.KcRegMain
sh-4.2$ 

Expected results:
kcreg runs, and prints header 

Additional info:

Comment 2 Glenn West 2017-10-25 08:46:20 UTC
this is signifcant major functionality that is missing in the openshift image guys.
It burens a burned a huge amount of my time, and forced me to write signficant code
that was totally un-needed with this functioanltiy.

Its a missing package in the container. 

Doc actually specifically mentions using this vs using the rest api. 
Yet the container does not have the tool. 
This makes automations really difficult and documentation misleading at best.

Comment 3 Ben Parees 2017-10-25 20:59:53 UTC
As this is not an openshift issue and the owning team tracks issues via JIRA, I am closing this bug.


Note You need to log in before you can comment on or make changes to this bug.