github StackStorm/st2 v2.7.0

latest releases: v3.8.1, v3.8.0, v3.7.0...
6 years ago

Added

  • Update st2 execution tail command so it supports double nested workflows (workflow ->
    workflow -> execution). Previously, only top-level executions and single nested workflows
    (workflow -> execution) were supported. (improvement) #3962 #3960

  • Add support for utf-8 / unicode characters in the pack config files. (improvement) #3980 #3989

    Contributed by @sumkire.

  • Added the ability of st2ctl to utilize environment variables from /etc/default/st2ctl
    (for Ubuntu/Debian) and /etc/sysconfig/st2ctl (RHEL/CentOS). This allows
    deployments to override COMPONENTS and ST2_CONF in a global location
    so st2ctl can start/stop/restart selected components and utilize a non-default
    location for st2.conf.
    (new feature) #4027

    Contributed by Nick Maludy (Encore Technologies).

  • Add support for new optional content_version runner parameter to the Python and Local Shell
    Script runner. This parameter can contain a git commit hash / tag / branch from a pack git
    repository and runner will ensure this revision of the pack content (Python action / local shell
    script action) is used for a particular action execution.

    Keep in mind that providing this parameter only ensures a particular revision of the pack content
    is used. Python runner virtual environment and dependencies are outside of this scope.

    Note: To be able to utilize this functionality, git version >= 2.5.0 must be installed on the
    system.
    (new feature) #3997

  • Update windows runner to correctly handle and use timeout action execution status.
    (improvement) #4047

  • Add missing scope, decrypt and encrypt arguments to the datastore management
    related methods on the SensorService class. (improvement) #3895 #4057 #4058

    Reported by @djh2020, @mxmader.

Changed

  • Modified RabbitMQ connection error message to make clear that it is an MQ connection issue. #3992

  • Additional refactor which makes action runners fully standalone and re-distributable Python
    packages. Also add support for multiple runners (runner modules) inside a single Python package
    and consolidate Python packages from two to one for the following runners: local runners, remote
    runners, windows runners. (improvement) #3999

  • Upgrade eventlet library to the latest stable version (0.22.1) (improvement) #4007 #3968

  • Increase maximum retry delay for action.retry policy from 5 seconds to 120 seconds. Because
    of the way retries are currently implemented (they are not st2notifier service restart safe),
    long retry delays are not recommended. For more information on this limitation please refer to
    the documentation - https://docs.stackstorm.com/reference/policies.html#retry. #3630 #3637

  • Update Python runner so it throws a more user-friendly exception in case Python script tries to
    access a key in self.config dictionary which doesn't exist. (improvement) #4014

  • Update various Python dependencies to the latest stable versions (apscheduler, gitpython,
    pymongo, stevedore, paramiko, tooz, flex, webob, prance).

  • Refactored mistral runner to support callback from mistral instead of relying on st2resultstracker.
    This reduces the unnecessary traffic and CPU time by querying the mistral API. Included a command to
    manually add a state entry for Mistral workflow execution to recover from any callback failures.
    (improvement)

  • Throw a more user-friendly error when writing pack data files to disk and when an invalid file
    path is provided (e.g. path is outside the pack directory, etc.). (improvement) #4039 #4046

  • Change the output object returned by Windows runners so it matches the format from the local and
    remote runner.

    Note: This change is backward incompatible - result attribute has been removed (same
    information is available in stdout attribute), exit_code renamed to return_code and
    two new attributes added - succeeded and failed.

    For more information, please refer to the upgrade notes. #4044 #4047

Fixed

  • Fix Python runner actions and Argument list too long error when very large parameters are
    passed into the action. The fix utilizes stdin to pass parameters to the Python action wrapper
    process instead of CLI argument list. (bug fix) #1598 #3976

  • Fix a regression in POST /v1/webhooks/<webhook name> API endpoint introduced in v2.4.0
    and add back support for arrays. In 2.4.0 support for arrays was inadvertently removed and
    only objects were supported. Keep in mind that this only applies to custom user-defined
    webhooks and system st2 webhook still requires input to be an object (dictionary).
    (bug fix) #3956 #3955

  • Fix a bug in the CLI causing st2 execution pause and st2 execution resume
    to not work. (bugfix) #4001

    Contributed by Nick Maludy (Encore Technologies).

  • Fixed missing "paused" status option from "st2 execution list" help output. (bugfix) #4037

    Contributed by Ben Hohnke (NTT Communications ICT Solutions)

  • Fix "st2 pack install" command so it doesn't require access to pack index (index.stackstorm.org)
    when installing a local pack (pack name starting with "file://"). (bug fix) #3771 #3772

  • Fix rules engine so it correctly handles and renders action parameters which contain Jinja
    expressions and default values. (bug fix) #4050 #4050

    Reported by @rakeshrm.

  • Make sure observer system role also grants pack_search permission. (bug fix) #4063 #4064

    Reported by @SURAJTHEGREAT.

  • Fix st2 webhook get -h which was asking for a name or id as opposed to the URL of the webhook.
    Also, fix st2 webhook list to explicitly add a webhook column. (bugfix) #4048

Don't miss a new st2 release

NewReleases is sending notifications on new releases.