Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load inventory nodes due to vault parsing error #385

Open
diginote opened this issue Aug 16, 2024 · 4 comments
Open

Unable to load inventory nodes due to vault parsing error #385

diginote opened this issue Aug 16, 2024 · 4 comments

Comments

@diginote
Copy link

diginote commented Aug 16, 2024

Since the update from Rundeck v5.2.0 to v5.5.0, nodes cannot be loaded because reading vault files fails:

...
rundeck-app    | [2024-08-15T13:40:11,128] ERROR resources.ExceptionCatchingResourceModelSource - [ResourceModelSource: 1.source (com.batix.rundeck.plugins.AnsibleResourceModelSourceFactory), project: App-Test]
rundeck-app    | com.dtolabs.rundeck.core.resources.ResourceModelSourceException: Cannot load yaml data coming from Ansible: could not determine a constructor for the tag !vault
rundeck-app    |  in 'string', line 33, column 37:
rundeck-app    |               vault_app_admin_pw: !vault |
rundeck-app    |                                         ^
rundeck-app    |
...
rundeck-app    |        at java.lang.Thread.run(Thread.java:829) [?:?]
rundeck-app    | Caused by: org.yaml.snakeyaml.constructor.ConstructorException: could not determine a constructor for the tag !vault
rundeck-app    |  in 'string', line 33, column 37:
rundeck-app    |               vault_app_admin_pw: !vault |
rundeck-app    |                                         ^
...

Running the playbook without rundeck works as expected (same host as rundeck).

@diginote diginote changed the title cannot load inventory nodes because vault parsing error Unable to load inventory nodes due to vault parsing error Aug 16, 2024
@diginote
Copy link
Author

addition infromation:

this is the screenshot in rundeck, when inventory is loaded:
image

When downgrading to rundeck v5.2.0 everything works as expected.

@psykotox
Copy link

psykotox commented Sep 4, 2024

Same problem here 😬

@diginote
Copy link
Author

no change with the current Rundeck version v5.6.0 :(

@diginote
Copy link
Author

diginote commented Dec 6, 2024

Unfortunately, the problem still exists with the current plugin version v4.0.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants