ara-infra/website/content/blog/2018-05-03_ara-records-ansi.../index.md

4.8 KiB

author categories tags date title slug type
David Moreau Simard
development
changelog
ansible
openstack
2018-05-03 ARA Records Ansible 0.15 has been released ara-records-ansible-0.15-has-been-released post

I was recently writing that ARA was open to limited development for the stable release in order to improve the performance for larger scale users.

This limited development is the result of this 0.15.0 release.

{{< tweet 986675784478752770 >}}

Changelog for ARA Records Ansible 0.15.0

The following are highlights from the 0.15.0 release. The full list of changes between 0.14.6 and 0.15.0 are available on GitHub.

  • ARA: Ansible Run Analysis has been rebranded to ARA Records Ansible (Another Recursive Acronym)
  • Significant improvements to memory usage and performance when running ARA as a WSGI application with ara-wsgi or ara-wsgi-sqlite.
  • Resolved an issue where the ara-wsgi-sqlite middleware could serve a cached report instead of the requested one
  • Added support for configuring the SQLALCHEMY_POOL_SIZE, SQLALCHEMY_POOL_TIMEOUT and SQLALCHEMY_POOL_RECYCLE parameters. See configuration documentation for more information.
  • Logging was fixed and improved to provide better insight when in DEBUG level.
  • Vastly improved the default logging configuration. ARA will create a default logging configuration file in ~/.ara/logging.yml that you can customize, if need be. Deleting this file will make ARA create a new one with updated defaults.
  • Added python modules to help configure Ansible to use ARA, for example, python -m ara.setup.callback_plugins will print the path to ARA's callback plugins. You can find more examples in the configuration documentation.
  • Implemented a workaround for fixing a race condition where an ansible-playbook command may be interrupted after the playbook was recorded in the database but before playbook file was saved.
  • Flask 0.12.3 was blacklisted from ARA's requirements, this was a broken release.
  • The ARA CLI can now be called with "python -m ara". This can be useful if you need to specify a specific python interpreter, for example.
  • Updated and improved integration tests across different operating systems, python2 and python3 with different versions of Ansible. The full test matrix is available in the README.

Known issue: memory usage

Please note that there is a known issue regarding high memory usage when browsing reports in the web application for very large reports.

For the time being, we have put mitigations in place in order to prevent very high memory usage but this might be insufficient for large scale users.

{{< tweet 984265830052651008 >}}

If you'd like to help and contribute to resolve this, please reach out.

A disclaimer

As with previous releases of the 0.x series, this new version comes with a warning that we are not currently planning to provide backwards/forwards compatibility with the next major release of ARA, 1.0.

In practice, this means that we are trying to focus all of our current contribution efforts towards making 1.0 as great as possible without burdening our limited development resources with keeping backwards and forwards compatibility. This means your existing databases will not be upgradable to the new version so you will need to start from a new database.

One thing you don't have to worry about is that we are serious about keeping the project as simple as possible, in line with the project's manifesto and core values. ARA 1.0 will work the same way as it did before: pip install ara, export ANSIBLE_CALLBACK_PLUGINS=$ara_location/plugins/callbacks and you're good to go.

1.0 will provide additional features such as a revamped database, a backend rewritten from scratch, an improved frontend and a full REST API.

You can look at some of the work we have been doing for this new version here.

There are a lot exciting opportunities where you can contribute to the development of 1.0, please reach out to me (dmsimard) if you're interested in helping !

You can come chat with us on IRC or on Slack.