-
Notifications
You must be signed in to change notification settings - Fork 181
Closed
Description
What is the issue ?
With release of ruamel.yaml 0.18 ara fails the playbook execution with the following error in output:
2023-10-24 07:47:54.494053 | ubuntu-jammy | /opt/ansible-runtime/lib/python3.10/site-packages/ara/server/settings.py:306: DeprecationWarning:
2023-10-24 07:47:54.635779 | ubuntu-jammy | dump has been removed, use
2023-10-24 07:47:54.635841 | ubuntu-jammy |
2023-10-24 07:47:54.635849 | ubuntu-jammy | yaml=YAML(typ='unsafe', pure=True)
2023-10-24 07:47:54.635857 | ubuntu-jammy | yaml.dump(...)
2023-10-24 07:47:54.635863 | ubuntu-jammy |
2023-10-24 07:47:54.635868 | ubuntu-jammy | instead of
2023-10-24 07:47:54.635874 | ubuntu-jammy |
2023-10-24 07:47:54.635899 | ubuntu-jammy | yaml.dump({"default": SETTINGS}, settings_file, default_flow_style=False)
2023-10-24 07:47:54.635911 | ubuntu-jammy | [ara] No setting found for SECRET_KEY. Generating a random key...
2023-10-24 07:47:54.635918 | ubuntu-jammy | [ara] Creating data & configuration directory: /root/.ara/server
2023-10-24 07:47:54.635924 | ubuntu-jammy | [ara] Writing default settings to /root/.ara/server/settings.yaml
2023-10-24 07:47:54.635939 | ubuntu-jammy |
Bringing version of the package <0.18 solves the issue.
Metadata
Metadata
Assignees
Labels
No labels