Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-16456

Amster export-config fails if transport keys are configured

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 14.0.0, 14.1.0, 14.1.1, 14.5.0, 14.5.1, 5.5.1, 14.1.1.1, 14.1.1.2, 14.1.1.3, 6.0.0, 6.0.0.1, 6.0.0.2, 6.0.0.3, 6.0.0.4, 14.1.1.4, 6.0.0.5, 14.1.1.5, 14.1.2.2, 6.5.0, 6.0.0.6, 6.5.0.1, 6.0.0.7, 14.1.2.3, 6.5.1, 6.5.0.2, 14.1.2.4, 6.5.2, 6.5.2.1, 6.5.2.2, 6.5.2.3, 14.1.1.8, 5.5.2, 14.1.2.5, 14.1.2.11
    • Fix Version/s: None
    • Component/s: Amster
    • Labels:
      None
    • Environment:
      Oracle JDK 1.8.0_201
      Apache Tomcat 9.0.8
      AM 6.5.2.3
      amster 6.5.2.3
    • Support Ticket IDs:

      Description

      Bug description

      Amster export-config fails when a bigger amount of configuration/realms exist and transport keys are configured.

      How to reproduce the issue

      1. Setup DS 6.5.2 with AM Config Store and Identity Store profile
      2. Configure AM and use external DS as AM configuration data store and identity store
      3. Setup ssoadm admin tools (for convenience)
      4. (stop AM and DS to backup initial config)
      5. start DS and AM
      6. use ssoadm batch script to create realms 'sub1' to 'sub554'
      7. use ssoadm batch script to create 54 OAuth2 clients in every realm
      8. Create transport keys for amster
      9. run amster export-config ....
      Expected behaviour
      amster export-config should export all configuration in a timely manner
      
      Current behaviour
      amster export-config shows timeouts message
      amster export-config does not fisnish correclty
      the export does include all data 
      

      On my MacBook the export takes over 2.5 hours when the transport keys are configured.
      When deleting the transport keys, 'export-config' works fine and takes about 20 minutes.
      Memory consumption of AM and DS, monitored on a high level with JConsole , where similar when running the export with configured transport keys or without.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bthalmayr Bernhard Thalmayr
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: