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

Old Status Command Structured Output is Returned on Every Status Command Causing Upgrades to Fail

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.5.1
    • 2.5.1
    • ambari-server
    • None

    Description

      Possibly caused by AMBARI-20750:

      Upgrades are failing because of a VERSION_MISMATCH between all components of the upgrade. Initially, on restart, the version comes back correct and the host component transitions into COMPLETED.

      However, the following status command returns the old version, forcing the component back into the VERSION_MISMATCH state.

      What's odd is that no status commands should be returning the component version. It seems like what's happening is that /var/lib/ambari-agent/data/structured-out-status.json is being read even if the status command did not update the file.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jonathanhurley Jonathan Hurley Assign to me
            jonathanhurley Jonathan Hurley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment