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

Recon shows zero datanodes with `./compose/upgrade/compose/ha/`

    XMLWordPrintableJSON

Details

    Description

      Need to investigate. Possibly `./compose/upgrade/compose/ha/docker-compose.yaml` has incorrect (SCM, or Recon, or DN) configs that prevents Recon from getting Datanodes information?

      Repro (just boot the compose cluster up, without doing anything else):

      mvn clean install -Pdist -DskipTests -e -Dmaven.javadoc.skip=true
      cd hadoop-ozone/dist/target/ozone-1.3.0-SNAPSHOT/compose/upgrade/compose/ha
      
      docker-compose up -d --scale datanode=3
      
      # Wait for a minute for the Docker Compose cluster to boot up
      

      Then navigate to http://localhost:9888/, you will be greeted with 0/0 Datanodes:

      Clicking into the Datanodes page gives nothing:

      But in the Pipelines page it clearly shows live datanodes with OPEN Ratis 1 and 3 pipelines:

      SCM Web UI shows 3 healthy, in-service datanodes correctly:

      This bug was also observed in this comment (unrelated issue), which uses the same docker-compose.yaml.

      Note that ./compose/ozone wasn't bothered with the same issue (Recon displays datanodes just fine).

      Attachments

        1. good_scm_1.png
          78 kB
          Siyao Meng
        2. bug_recon_3.png
          354 kB
          Siyao Meng
        3. bug_recon_2.png
          112 kB
          Siyao Meng
        4. bug_recon_1.png
          105 kB
          Siyao Meng

        Issue Links

          Activity

            People

              zitadombi Zita Dombi
              smeng Siyao Meng
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: