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

dcos-diagnostics long running command block status requests

    Details

    • Sprint:
      Cluster Ops Team Sprint 37, Foundation Sprint 38
    • Story Points:
      5

      Description

      There is a posibility that long running commands or large files or slow endpoint prevents user from getting bundle creation status

      How to reproduce

      1. Start a cluster

      dcos-docker create --license-key=/home/janisz/go/src/github.com/dcos/license.txt --masters=3 --agents=1 --public-agents=0 --custom-master-volume=/home:/home ~/repos/installs/ee/testing/master/dcos_generate_config.ee.sh
      

      2. Edit diagnostics endpooints configuration on one master by adding sleep command

      /opt/mesosphere/etc/dcos-diagnostics-endpoint-config-ee.json 
      
        "LocalCommands": [
            {
                "Command": ["sleep", "300"]
            },
      

      3. Restart dcos-diagnostics

      systemctl restart dcos-diagnostics.service
      

      4. Create a bundle

      $ dcos node diagnostics create all
      Warning: The attached cluster is running DC/OS 1.13 but this CLI only supports DC/OS 1.12.
      
      Job has been successfully started, available bundle: bundle-2018-12-17-1545060159.zip
      

      5. Checks status

      $ dcos node diagnostics --status  
      Warning: The attached cluster is running DC/OS 1.13 but this CLI only supports DC/OS 1.12.
      Error while fetching [http://172.17.0.2/system/health/v1/report/diagnostics/status/all]: HTTP 504: "Gateway Time-out".
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tomaszjaniszewski Tomasz Janiszewski
                Reporter:
                tomaszjaniszewski Tomasz Janiszewski
                Team:
                Cluster Ops Team
                Watchers:
                Daniel Baker, Mergebot, Tomasz Janiszewski
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: