Skip to content

salt-api seems to ignore rest_timeout since 2016.11.0 #38524

Closed

Description

@rbjorklin

Description of Issue/Question

We're using the Jenkins saltstack-plugin and before upgrading to 2016.11.0 (or possibly 2016.11.1) Jenkins successfully waited for the saltstack job to return. This is no longer the case, it instead reports http status code 504 after 300 seconds. Looking at the code for api_config it changed between 2016.3.4 and 2016.11.0 and if I'm reading it correctly it will always overwrite the user set rest_timeout with the defaults.

Setup

(Please provide relevant configs and/or SLS files (Be sure to remove sensitive info).)

Steps to Reproduce Issue

(Include debug logs if possible and relevant.)

Versions Report

$ salt --versions-report
Salt Version:
           Salt: 2016.11.1

Dependency Versions:
           cffi: 0.8.6
       cherrypy: 3.2.2
       dateutil: 1.5
          gitdb: Not Installed
      gitpython: Not Installed
          ioflo: Not Installed
         Jinja2: 2.7.2
        libgit2: Not Installed
        libnacl: Not Installed
       M2Crypto: 0.21.1
           Mako: Not Installed
   msgpack-pure: Not Installed
 msgpack-python: 0.4.8
   mysql-python: Not Installed
      pycparser: 2.14
       pycrypto: 2.6.1
         pygit2: Not Installed
         Python: 2.7.5 (default, Sep 15 2016, 22:37:39)
   python-gnupg: Not Installed
         PyYAML: 3.11
          PyZMQ: 15.3.0
           RAET: Not Installed
          smmap: Not Installed
        timelib: Not Installed
        Tornado: 4.2.1
            ZMQ: 4.1.4

System Versions:
           dist: centos 7.2.1511 Core
        machine: x86_64
        release: 3.10.0-327.36.3.el7.x86_64
         system: Linux
        version: CentOS Linux 7.2.1511 Core

Activity

  1. added
    bug
    severity-medium
    needs-more-info
    P4
    RIoT
    on Jan 4, 2017
  2. added this to the Blocked milestone on Jan 4, 2017
  3. Ch3LL commented on Jan 4, 2017

    @Ch3LL
    Contributor

    Please see my comments on the PR concerning this issue. Thanks

  4. stale commented on Aug 17, 2018

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

    If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4RIoTSalt-APIbugneeds-more-infoseverity-mediumstale

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions