Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-5789

Enabling container tokens on a upgraded cluster fails SCM to start up

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 1.2.0
    • None

    Description

      Once a cluster is upgraded from 1.1.0 to latest master with SCM HA code. SCM fails to come up.
      When hdds.container.token.enabled is enabled in the cluster.

      This is due to below piece of code

      
          String certId = scmCertificateClient.getCertificate().getSerialNumber()
              .toString();
      

      On an upgraded cluster SCMCertificateClient is not initialized. It is initialized only for HA Clusters and when the cluster is freshly setup with SCM HA version code.

      Exception is posted in the comments.

      Attachments

        Issue Links

          Activity

            People

              bharat Bharat Viswanadham
              bharat Bharat Viswanadham
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: