github StackStorm/st2 v2.5.1

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

https://stackstorm.com/2017/12/19/early-christmas-stackstorm-patch-release-2-5-1/

Added

  • Add new log_level runner parameter to Python runner. With this parameter, user can control which log messages generated by Python runner actions are output to action stderr. For backward compatibility reasons it defaults to debug.
    This functionality comes handy in situations when an action depends on an external library which logs a lot of information under debug, but you only want to see messages with log level error or higher (or similar). (new feature) #3824

  • Add stevedore related metadata to Python package setup.py files for runner packages. This way runners can be installed using pip and dynamically enumerated and loaded using stevedore and corresponding helper functions.

    All runners are now also fully fledged Python packages (previously they were single module
    Python packages which caused various install and distribution related issues when installing
    them via pip) (new feature)

  • Add new search rule criteria comparison operator. Please refer to the documentation for
    usage. (new feature) #3833

    Contributed by @ahubl-mz.

  • Added flag --auto-dict to st2 run and st2 execution re-run commands. This flag must now
    be specified in order to automatically convert list items to dicts based on presence of colon
    (:) in all of the list items (new feature) #3909

Changed

  • Update the output of st2 execution {run,get} CLI command to colorize the value of the
    status attribute (green for succeeded, red for failed, etc. aka the same as for the
    output of st2 execution list command). (improvement) #3810

    Contributed by Nick Maludy (Encore Technologies).

  • Update log messages in the datastore service to correctly use DEBUG log level instead of
    AUDIT. #3845

Fixed

  • Fix log messages generated by Python runner actions to include the correct action class name.
    Previously they always incorrectly used "ABCMeta" instead of the actual action class name. (bug fix) #3824
  • Fix st2 execution tail [last] CLI command so it doesn't throw an exception if there are no executions in the database. (bug fix) #3760 #3802
  • Fix a bug with datastore service used inside the Python runner actions not correctly scoping the auth token to the user who triggered the action. Token was incorrectly scoped to api_service user without any permissions. (bug fix) #3823 #3535
  • Fix edge case for workflows stuck in running state. When Mistral receives a connection error from the st2 API on requesting action execution, there's a duplicate action execution stuck in requested state. This leads to the st2resultstracker assuming the workflow is still running.
  • Fix a regression and a bug with no API validation being performed and API returning 500 instead of 400 status code if user didn't include any request payload (body) when hitting POST and PUT API endpoints where body is mandatory. (bug fix) #3864
  • Fix a bug in Python runner which would cause action log messages to be duplicated in action stderr output when utilizing action service / datastore service inside actions. (bug fix) #3893

Don't miss a new st2 release

NewReleases is sending notifications on new releases.