Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-7375

After upgrade to 7, status command with keystore fails with Server Connection Closed

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Not a defect
    • Affects Version/s: 7.0.0
    • Fix Version/s: Not applicable
    • Component/s: tools, upgrade
    • Labels:
      None

      Description

      Found with 7.0.0-M c9119f11bf4

      In our upgrade job, we set up a 4.0.0 instance of DJ then upgrade it to 7.
      Then we run some tests on the status command.
      The one using the keystore fails this way:

      *** Starting status authenticated mode test with keystore option ***
      
      /tmp/clu_group/DJ1/opendj/bin/status -D "cn=myself" -w password -p 4444 -n -X  --certNickname server-cert --keystorepath /tmp/clu_group/DJ1/opendj/config/keystore --keystorepasswordfile /tmp/clu_group/DJ1/opendj/config/keystore.pin	
      15:59:10.065	WARN	ERROR:
      -- rc --
      returned 81, expected to be in [0]
      -- stdout --
      
      -- stderr --
      Server Connection Closed
      

      To trigger the upgrade mode, in config.cfg:

      [OpenDJ]
      host_name = ${Default:host_name}
      java_home = ${Default:java_home}
      java_args = ${Default:java_args}
      ; version = 7.0.0-SNAPSHOT
      version = ["6.5.0", "7.0.0-M"]
      ...
      

      test to run:

      ./run-pybot.py -nvs clu_group.Status -t *keystore opendj
      

        Attachments

          Activity

            People

            • Assignee:
              JnRouvignac Jean-Noël Rouvignac
              Reporter:
              cforel carole forel
              Dev Assignee:
              Jean-Noël Rouvignac
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: