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

Recommendation returns OK response if stack_advisor.py has SyntaxError

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • ambari-server
    • None

    Description

      In the case of having a syntax error in a stack_advisor.py, it is swallowed and call is returned with exit code 0.
      This means that configuration changes before the syntax error are applied, but changes after the syntax error are skipped.
      As a result the browser call returns with the response of 200 OK and configuration that looks to be correct, but it might be incorrect, since parts of the stack advisor is skipped.

      Attachments

        Activity

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

          People

            dgergely Daniel Gergely
            dgergely Daniel Gergely
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment