File python-ara.changes of Package python-ara
-------------------------------------------------------------------
Tue Aug 24 08:35:20 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.5.7:
UI
--
- Added a new "hosts" page to browse and search reports by host name
- Improved page HTML titles to be dynamic based on the context
- Added a note highlighting if a task has been delegated to another host
(https://github.com/ansible-community/ara/issues/282)
- Improved how long file paths or playbook names are truncated and displayed
API
---
- Added a new read-only API endpoint: /api/v1/latesthosts
It provides the latest playbook result for each host name.
Under the hood, it implements the machinery for updating the latest host
every time a host is created or deleted and includes a SQL migration to
initially populate a new database table with the latest hosts.
- Added a `delegated_to` field to results in order to record a host id to which
a task has been delegated.
- Added support for finding results delegated to a specific host:
/api/v1/results?delegated_to=<host_id>
Callback plugin
---------------
- Fixed tasks and results being recorded out of order when using "strategy: free"
(https://github.com/ansible-community/ara/issues/260)
- Added support for recording 'delegate_to' on tasks
Documentation
-------------
- Removed an unused sphinx lexer to allow recent versions of sphinx>=4
- Created a new troubleshooting guide with common issues:
https://ara.readthedocs.io/en/latest/troubleshooting.html
- Added a database relationship graph to the endpoint documentation:
https://ara.readthedocs.io/en/latest/api-documentation.html#relationship-between-objects
Upgrade notes
-------------
It is always recommended to take a backup of your database before upgrading.
This release includes two database migrations that must be run:
- One for populating the data for the new /api/v1/latesthosts endpoint as well
as the new 'hosts' page
- One for adding a `delegated_to` field in the results.
Note that delegated tasks will only be recorded as such from 1.5.7 on.
- After upgrading to 1.5.7, database migrations can be run manually with the
`ara-manage migrate` command if they are not taken care of automatically by the
callback plugin.
Known issues
------------
- ara will not record task delegation for tasks that are skipped or for
items in a loop that are skipped because Ansible doesn't provide the
necessary information in those cases.
- from version 1.5.6
UI
--
- Refactored the built-in reporting UI with the bootstrap CSS framework using themes from bootswatch
- Added a dark theme in addition to the default light theme (toggle at the top right)
- Improved the mobile version of the reporting interface
- Improved the playbook and task result tables
- Revamped search forms for playbook and playbook results
- Revamped hosts table in playbook reports
- Added task results to the host details page that includes host facts
- Moved ansible-playbook CLI arguments to a modal
- Added an "about" modal with the version of ara and links to resources
- Moved the link to the documentation to the "about" modal
- Clicking on a host or task name in a playbook report will now filter results for that host or task
- bugfix: Links to files including a lineno will now highlight that line (https://github.com/ansible-community/ara/issues/154)
- bugfix: Fixed broken documentation link to ara_record (https://github.com/ansible-community/ara/issues/219)
API
---
- Playbook references will now always include CLI arguments, for example:
/api/v1/tasks/1 ->
{
"id": 1,
"playbook": {
"id": 1,
"arguments": {
#...
}
}
}
Callback plugin
---------------
- bugfix: Truncate play UUIDs given back by ansible-runner when running
in serial (https://github.com/ansible-community/ara/issues/211)
- from version 1.5.5
API
---
- Added support for searching playbooks by ansible_version, for example:
/api/v1/playbooks?ansible_version=2.10
UI
--
- Added syntax highlighting to task results
- Added support for rendering nested results for tasks with loops
- Added support for rendering diffs provided by "ansible-playbook --diff"
- Added support for searching playbooks by ansible_version
- The playbook links in the index no longer filter to changed results
- Ordering by date or duration no longer discards existing search arguments
- Clicking on the logo or the "playbooks" link now discards existing search arguments
CLI
---
- Added support for searching playbooks by ansible_version
- Added missing argument for --controller to "ara playbook metrics"
-------------------------------------------------------------------
Mon Mar 15 08:27:33 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 1.5.4:
- ara playbook metrics: provides stats aggregated by name, path, ansible version or controller
- ara host metrics: provides task result stats for hosts across playbooks
- ara task metrics: provides duration stats aggregated by task name, action/module or path
- Threading is now disabled by default to avoid running into sqlite locking contention
For details, see: https://github.com/ansible-community/ara/issues/195
- The callback didn't provide a timezone for timestamps which could result in a wrong
interpretation by the API server. Timestamps are now provided as UTC.
- The hostname of the controller that ran the playbook is now recorded by ara
- ARA API server container images are now published to quay.io/recordsansible/ara-api
in addition to hub.docker.com/r/recordsansible/ara-api.
- The 'which' package is now installed as a dependency
- Removed a temporary workaround for dynaconf switching from PyYAML to ruamel.yaml
- Added missing information about the play when browsing details for a task result
- switch to single build, this is a ansible plugin and cli tool
-------------------------------------------------------------------
Thu Nov 12 03:36:12 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.5.3:
* Significant performance improvement by running non-blocking API calls in threads
* Handler tasks are now also recorded in addition to regular tasks
* API
+ Add support for searching handler tasks (ex: /api/v1/tasks?handler=true)
* UI
+ Hosts in the playbook report are now sorted alphabetically by hostname
+ Added a column to display the number of tasks in the playbook summary
-------------------------------------------------------------------
Wed Sep 30 04:12:22 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.5.1:
* A new 'ara' CLI API client is now available.
* New settings have been added:
+ ARA_EXTERNAL_AUTH for enabling Django's external authentication.
+ ARA_DATABASE_OPTIONS for passing options to the Django database
backend such as SSL.
* Nested children resources are no longer returned, improving performance
considerably for larger playbooks.
* A new status was added for playbooks, plays and tasks: "expired".
* URLs have been pluralized to match the endpoints provided by the API.
* The introduction of the new CLI adds a requirement on the cliff python
library.
* ara 1.5.0 introduces significant API changes, some of which aren't
backwards compatible such as no longer returning nested resources.
* Two small SQL migrations have been added to remove result statuses and
add the expired status for playbooks, plays and tasks. Run them with
"ara-manage migrate".
-------------------------------------------------------------------
Tue Sep 15 06:02:23 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.4.3:
* Improvements to the interface scaling and rendering for mobile devices
* The playbook index has been refactored from a list of cards to a table view
* and searching/filtering controls are no longer hidden in a submenu
* Sorting by playbook date and duration is now built into the table headers
* The Ansible CLI arguments are now available from the playbook index
* The host stats summary now displays colors and icons for the different
statuses
* Task result columns were re-ordered and statuses now have colors and icons
* Long task results or host facts should no longer render off-screen
* Added search for ignore_errors in results
* Added search for task by action
* Adjusted search for file paths to be partial
* Added search for task by path
-------------------------------------------------------------------
Wed May 27 09:36:03 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
- %python3_only -> %python_alternative
-------------------------------------------------------------------
Thu May 7 05:28:19 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.4.0:
* Added support for searching plays, tasks and hosts by name
* Added support for searching playbooks by label
* Fixed label representation to be consistent through different calls
* Reversed the default sort order for playbooks, plays, tasks and results
* Validate that settings.yaml (or ARA_SETTINGS) exists before launching (thank you @zswanson!)
* Template the default settings file without objects generated by python-box
* Added a default robots.txt to prevent crawling
* Added support for searching by label
* Improved the display of labels in the playbook list
* Added pagination support when browsing the playbook report list
* Use relative links for pagination (thank you @flowerysong !)
* Bumped included patternfly CSS from 2.21.5 to 2.56.3
* Provide sensible PATH defaults when virtualenvs are not used
* Added support for installing from Fedora packages
* Only run SQL migrations once when necessary
* Allow retries when attempting to run SQL migrations
* Ensure settings.yaml permissions are 0640
* Added "ara_api_secure_logging" variable to control behavior of sensitive tasks with no_log
* Properly default to IPv6 when no IPv4 is available
* Default gunicorn worker count based on number of available CPU cores
* Added support for deploying on EL8
* New Ansible plugins: ara_playbook and ara_api
* Improved consistency of stored task results (thank you @flowerysong!)
* Fix bad logic when determining if labels should be updated
* Added support for not saving files based on patterns (thank you @LaurentDumont!)
* Added support for specifying default playbook labels
* 1.4 introduces a new SQL migration to ensure labels are unique. If upgrading
from a previous version, you will need to run SQL migrations with ``ara-manage migrate``.
-------------------------------------------------------------------
Fri Jan 17 15:45:50 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- update to 1.3.2
* ara_api role: add support for installing from fedora packages
* ara_api role: provide sensible PATH defaults without venv
* api: Use basename instead of base_name in URL mapping
* Bump Ansible versions in CI tests
* callback: recover host facts for setup *and* gather_facts
* cli: Add ara-manage prune to delete old playbooks
* Remove f-strings to remove requirement on py36
* api: Add support for ordering objects by fields
* API client: Add support for disabling SSL verification
* add django-healthcheck and /healthcheck/ endpoint
* Ensure endpoint doesn't contain trailing slash
* API: Use local timezone by default instead of UTC
* UI: Autoescape untrusted content
* Add a simple built-in web interface
-------------------------------------------------------------------
Tue Sep 24 07:42:45 UTC 2019 - pgajdos@suse.com
- version update to 1.1.0
* Added support for dynamically serving multiple sqlite databases
dynamically from a single API server instance [1]
* ara_record no longer instanciates it's own API client and will
instead retrieve the client instance used by the callback.
* Django's CONN_MAX_AGE database setting for configuring the
duration of a database connection is now exposed [2]
* The ARA API client timeout as configured by Ansible through the
callback plugin is now always an integer.
* The offline API client now has an argument to prevent SQL
migrations from running automatically [3]
- test package (multibuild)
-------------------------------------------------------------------
Wed Jul 3 14:57:08 UTC 2019 - Itxaka serrano <igarcia@suse.com>
- Move some requirements into recommends.
Ara has changed and its no longer bundling the server with the
main package, so most of the requirements related to the
django server can be moved into recommends. Ara will raise a
message if a user tries to execute the server part but the
requirements are missing.
-------------------------------------------------------------------
Sun Jun 30 12:12:16 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Update descriptions.
-------------------------------------------------------------------
Wed Jun 19 11:28:57 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
- Initial packaging (version 1.0.1)