Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-24283

DB consistency warning due to config group without service name

    XMLWordPrintableJSON

Details

    Description

      STR:

      1. Deploy ZooKeeper with Ambari 2.5.2
      2. Create config group on UI
      3. Upgrade to Ambari 2.6.x

       group_id | group_name |    tag    | service_name
      ----------+------------+-----------+--------------
              3 | asdf       | ZOOKEEPER |
      

      Result: DB consistency check during startup after the upgrade produces false positive warning about the config group

      WARN - You have config groups present in the database with no corresponding service found, [(ConfigGroup, Service) => ( asdf, null )]. Run --auto-fix-database to fix this automatically.
      

      Following the instructions (--auto-fix-database) leads to deleting the config group.

      This check was added for the case where the service the config group belongs to was deleted from the cluster.

      Attachments

        Activity

          People

            kkasa Krisztian Kasa
            adoroszlai Attila Doroszlai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 7.5h
                7.5h