Uploaded image for project: 'DC/OS'
  1. DC/OS
  2. DCOS_OSS-1542

Fall back to HTTP when polling Mesos state in dcos-metrics

    Details

    • Story Points:
      5

      Description

      At present, dcos-metrics will poll using https whenever an IAM option is supplied in its config parameters. Otherwise it will use HTTP. This is normally fine, because Mesos will serve a 307 redirect to HTTP when the SSL_DOWNGRADE is enabled, and dcos-metrics respects the redirect, 

      However, it's possible for Mesos to get itself into a state where the SSL handshake fails. In this case, metrics crashes with the message "Get https://leader.mesos:5050/state: EOF". 

      We should attempt to fall back to http when this occurs. 

        Attachments

          Activity

            People

            • Assignee:
              philip Philip Norman (Inactive)
              Reporter:
              philip Philip Norman (Inactive)
              Team:
              DELETE Cluster Ops Team
              Watchers:
              Jan-Philip Gehrcke (Inactive), Kevin Klues (Inactive), Philip Norman (Inactive)
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your JIRA administrators.