Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-17076

Return sensible HTTP status code such as "503" during backup instead of "500" or 302 redirect to errorEvents.action

    • 0
    • 2
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Problem Definition

      When Bamboo is down for maintenance during a backup / export, calls to the Bamboo web server return an HTTP status code of 500 or 302 redirect to errorEvents.action, which is defined as "Internal Server Error: A generic error message, given when an unexpected condition was encountered and no more specific message is suitable." (from Wikipedia)
      This may present issues for customers looking to monitor their applications by HTTP status code, as a 500 response could be indicative of a number of different issues and can't necessarily be considered a "working" response.

      Suggested Solution

      Bamboo should instead return 503, defined as "Service Unavailable: The server is currently unavailable (because it is overloaded or down for maintenance). Generally, this is a temporary state." This would provide a more specific and accurate HTTP response.

      REST endpoints to return the server status such as rest/api/latest/server, should be exempt from the 302 redirect and return the server state as part of the response aka state:MAITENANCE

      Workaround

      N/A

            [BAM-17076] Return sensible HTTP status code such as "503" during backup instead of "500" or 302 redirect to errorEvents.action

            Ishwinder Kaur made changes -
            Resolution New: Low Engagement [ 10300 ]
            Status Original: Gathering Interest [ 11772 ] New: Closed [ 6 ]
            Ishwinder Kaur made changes -
            Labels New: cleanup-seos-fy25
            SET Analytics Bot made changes -
            UIS Original: 1 New: 0
            SET Analytics Bot made changes -
            UIS Original: 0 New: 1
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3018138 ] New: JAC Suggestion Workflow 3 [ 3597723 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing v4 [ 2703363 ] New: JAC Suggestion Workflow [ 3018138 ]
            Krystian Brazulewicz made changes -
            UIS New: 0
            SET Analytics Bot made changes -
            Support reference count New: 2
            Owen made changes -
            Issue Type Original: Improvement [ 4 ] New: Suggestion [ 10000 ]
            Owen made changes -
            Status Original: Not Being Considered [ 11776 ] New: Gathering Interest [ 11772 ]

              Unassigned Unassigned
              dchevell Dave Chevell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: