Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-1613

[SSO71] kcadm.sh isn't working with RH-SSO 7.1 image

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • SSO71 1.0.0.GA
    • RH-SSO, Upstream
    • None
    • User Experience
    • Hide

      How reproducible:
      Always

      Configure RH-SSO 7.1 image using e.g. mysql-persistent template:

      Current result:
      Attempt to use kcadm.sh reports above error message.

      Expected result:
      kcadm.sh runs correctly.

      Show
      How reproducible: Always Configure RH-SSO 7.1 image using e.g. mysql-persistent template: https://github.com/jboss-openshift/application-templates/blob/master/sso/sso71-mysql-persistent.json Connect to the pod, and try to use Keycloak admin CLI as documented in 2.5.5 documentation: http://www.keycloak.org/docs/2.5/server_admin/topics/admin-cli.html $ oc get pods NAME READY STATUS RESTARTS AGE sso-3-22g3n 1/1 Running 0 35m sso-mysql-4-khlzm 1/1 Running 0 3h $ oc rsh sso-3-22g3n sh-4.2$ cd /opt/eap/bin/ sh-4.2$ ./kcadm.sh help Picked up JAVA_TOOL_OPTIONS: -Duser.home=/home/jboss -Duser.name=jboss Error: Could not find or load main class org.keycloak.client.admin.cli.KcAdmMain Current result : Attempt to use kcadm.sh reports above error message. Expected result : kcadm.sh runs correctly.

    Description

      In RH-SSO 7.1 (based on Keycloak-2.5.5) some admin CLI configuration is intended to be performed by the kcadm.sh command / tool:

      But attempt to run this tool in RH-SSO 7.1 image currently returns:

      $ oc get pods
      NAME                READY     STATUS    RESTARTS   AGE
      sso-3-22g3n         1/1       Running   0          35m
      sso-mysql-4-khlzm   1/1       Running   0          3h
      $ oc rsh sso-3-22g3n
      sh-4.2$ cd /opt/eap/bin/
      sh-4.2$ ./kcadm.sh help
      Picked up JAVA_TOOL_OPTIONS: -Duser.home=/home/jboss -Duser.name=jboss
      Error: Could not find or load main class org.keycloak.client.admin.cli.KcAdmMain
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhn-jlieskov Ján Lieskovský
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: