Uploaded image for project: 'KIE Cloud'
  1. KIE Cloud
  2. KIECLOUD-101

Missing secrets for RHPAM deployment created by APB image with LDAP configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.2.0.GA
    • None
    • RHPAM
    • None
    • Hide

      oc run apb-pod-14d0 --env=POD_NAME=apb-pod-14d0 --env=POD_NAMESPACE=jschwan-rhpam-d9ca --image=docker-registry.default.svc:5000/openshift/rhpam72-apb --restart=Never --attach=true --serviceaccount=apb – provision --extra-vars {"apb_kie_admin_pwd":"adminUser1!", "_apb_plan_id":"authoring", "apb_kieserver_db_type":"MySQL", "apb_maven_repo_url":"http://nexus.project.openshiftdomain/repository/maven-snapshots", "cluster":"openshift", "apb_auth_ldap_default_role":"guest", "apb_auth_ldap_bind_dn":"cn=Manager,dc=example,dc=com", "apb_auth_ldap_role_recursion":"1", "apb_kieserver_keystore_pwd":"test", "apb_maven_repo_pwd":"admin123", "apb_auth_ldap_search_scope":"SUBTREE_SCOPE", "apb_controller_user":"controllerUser", "apb_kieserver_pwd":"usetheforce123@", "apb_kie_admin_user":"adminUser", "apb_auth_ldap_url":"ldap://master.openshiftdomain:30389", "apb_auth_ldap_roles_ctx_dn":"ou=roles,dc=example,dc=com", "apb_auth_ldap_bind_credential":"admin", "apb_kieserver_keystore_alias":"jboss", "apb_auth_ldap_base_filter":"(uid=

      {0}

      )", "apb_businesscentral_keystore_pwd":"test", "apb_kieserver_user":"yoda", "apb_image_stream_tag":"1.0", "apb_kieserver_secret_name":"rhpam-certs", "image_stream_namespace":"jschwan-rhpam-d9ca", "apb_businesscentral_maven_repo_pwd":"mavenUser1!", "apb_businesscentral_secret_name":"rhpam-certs", "apb_businesscentral_keystore_alias":"jboss", "apb_controller_pwd":"controllerUser1!", "namespace":"jschwan-rhpam-d9ca", "apb_businesscentral_volume_size":"1Gi", "apb_businesscentral_maven_repo_user":"mavenUser", "apb_auth_ldap_search_time_limit":"10000", "apb_auth_ldap_base_ctx_dn":"ou=people,dc=example,dc=com", "apb_maven_repo_user":"admin", "apb_auth_ldap_role_filter":"(memberOf=

      {1}

      )", "apb_auth_ldap_role_attribute_id":"cn"}

      Show
      oc run apb-pod-14d0 --env=POD_NAME=apb-pod-14d0 --env=POD_NAMESPACE=jschwan-rhpam-d9ca --image=docker-registry.default.svc:5000/openshift/rhpam72-apb --restart=Never --attach=true --serviceaccount=apb – provision --extra-vars {"apb_kie_admin_pwd":"adminUser1!", "_apb_plan_id":"authoring", "apb_kieserver_db_type":"MySQL", "apb_maven_repo_url":"http://nexus.project.openshiftdomain/repository/maven-snapshots", "cluster":"openshift", "apb_auth_ldap_default_role":"guest", "apb_auth_ldap_bind_dn":"cn=Manager,dc=example,dc=com", "apb_auth_ldap_role_recursion":"1", "apb_kieserver_keystore_pwd":"test", "apb_maven_repo_pwd":"admin123", "apb_auth_ldap_search_scope":"SUBTREE_SCOPE", "apb_controller_user":"controllerUser", "apb_kieserver_pwd":"usetheforce123@", "apb_kie_admin_user":"adminUser", "apb_auth_ldap_url":"ldap://master.openshiftdomain:30389", "apb_auth_ldap_roles_ctx_dn":"ou=roles,dc=example,dc=com", "apb_auth_ldap_bind_credential":"admin", "apb_kieserver_keystore_alias":"jboss", "apb_auth_ldap_base_filter":"(uid= {0} )", "apb_businesscentral_keystore_pwd":"test", "apb_kieserver_user":"yoda", "apb_image_stream_tag":"1.0", "apb_kieserver_secret_name":"rhpam-certs", "image_stream_namespace":"jschwan-rhpam-d9ca", "apb_businesscentral_maven_repo_pwd":"mavenUser1!", "apb_businesscentral_secret_name":"rhpam-certs", "apb_businesscentral_keystore_alias":"jboss", "apb_controller_pwd":"controllerUser1!", "namespace":"jschwan-rhpam-d9ca", "apb_businesscentral_volume_size":"1Gi", "apb_businesscentral_maven_repo_user":"mavenUser", "apb_auth_ldap_search_time_limit":"10000", "apb_auth_ldap_base_ctx_dn":"ou=people,dc=example,dc=com", "apb_maven_repo_user":"admin", "apb_auth_ldap_role_filter":"(memberOf= {1} )", "apb_auth_ldap_role_attribute_id":"cn"}

      When is created APB with LDAP configuration then APB is not able to create secret, or configure already created secret to deployment.

      In attachment is log from APB pod. And in steps to reproduce is oc run command to start the APB image with ldap configuration.
      Same properties I placed to the WEB UI and created application had same issue.

            rhn-support-rromerom Ruben Romero Montes
            jakubschwan Jakub Schwan
            Jakub Schwan Jakub Schwan
            Jakub Schwan Jakub Schwan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: