StackStorm v0.13.0 Release Notes

Release Date: 2015-08-24 // over 8 years ago
  • โž• Added

    
    * โž• Add new OpenStack Keystone authentication backend.
      [Itxaka Serrano]
    * ๐Ÿ‘Œ Support for RabbitMQ cluster. StackStorm works with a RabbitMQ cluster and switches
      nodes on failover. (feature)
    * Introduce a Paramiko SSH runner that uses eventlets to run scripts or commands in parallel.
      (improvement) (experimental)
    * โž• Add action parameters validation to Mistral workflow on invocation. (improvement)
    * ๐Ÿ‘ Allow user to include files which are written on disk inside the action create API payload.
      (new feature)
    * ๐Ÿ‘ Allow user to retrieve content of a file inside a pack by using the new
      ``/packs/views/files/`` API endpoint. (new feature)
    * โž• Add OpenStack Keystone authentication configuration for Mistral. (improvement)
    * Ability to add trace tag to TriggerInstance from Sensor. (feature)
    * Ability to view trace in CLI with list and get commands. (feature)
    * โž• Add ability to add trace tag to ``st2 run`` CLI command. (feature)
    * โž• Add ability to specify trace id in ``st2 run`` CLI command. (feature)
    * โž• Add ``X-Request-ID`` header to all API calls for easier debugging. (improvement)
    * โž• Add new CLI commands for disabling and enabling content pack resources
      (``{sensor,action,rule} {enable, disable} <ref or id>``) (feature)
    
    ๐Ÿ”„ Changed
    
    • Information about parent workflow is now a dict in child's context field. (improvement)
    • โž• Add support for restarting sensors which exit with a non-zero status code to the sensor container. Sensor container will now automatically try to restart (up to 2 times) sensor processes which die with a non-zero status code. (improvement)
    • โž• Add index to the ActionExecution model to speed up query. (improvement)
    • ๐Ÿ“‡ Rename notification "channels" to "routes". (improvement)
    • ๐Ÿ”ง Turn on paramiko ssh runner as the default ssh runner in prod configuration. To switch to fabric runner, set use_paramiko_ssh_runner to false in st2.conf. (improvement)

    ๐Ÿ›  Fixed

    
    * ๐Ÿ›  Fix a bug when some runner parameter default values were not overridden when a
      false value was used in the action metadata parameter override (e.g. False, 0).
      [Eugen C.]
    * Correctly return 404 if user requests an invalid path which partially maps to an existing
      path. (bug-fix)
    * ๐Ÿ›  Fix sort key in the ActionExecution API controller. (bug-fix)
    * ๐Ÿ›  Fix key name for error message in liveaction result. (bug-fix)
    * ๐Ÿ›  Fix 500 API response when rule with no pack info is supplied. (bug-fix)
    * ๐Ÿ›  Fix bug in trigger-instance re-emit (extra kwargs passed to manager is now handled). (bug-fix)
    * ๐Ÿ‘‰ Make sure auth hook and middleware returns JSON and "Content-Type: application/json" header
      in every response. (improvement, bug-fix)
    * ๐Ÿ›  Fix bug in triggers emitted on key value pair changes and sensor spawn/exit. When
      dispatching those triggers, the reference used didn't contain the pack names
      which meant it was invalid and lookups in the rules engine would fail. (bug-fix)
    * ๐Ÿ– Handle ``sudo`` in paramiko remote script runner. (bug-fix)
    * โšก๏ธ Update ``st2ctl`` to correctly start ``st2web`` even if Mistral is not installed.
      (bug-fix, improvement)
    * ๐Ÿ›  Fix a bug in handling positional arguments with spaces. (bug-fix)
    * ๐Ÿ‘‰ Make sure that the ``$PATH`` environment variable which is set for the sandboxed Python
      process contains ``<virtualenv path>/bin`` directory as the first entry. (bug fix)