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

[BUG]: Generating bootstrap configuration is not idempotent #19

Open
przsus opened this issue Aug 8, 2024 · 0 comments
Open

[BUG]: Generating bootstrap configuration is not idempotent #19

przsus opened this issue Aug 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@przsus
Copy link
Contributor

przsus commented Aug 8, 2024

Summary

The task Generate bootstrap configuration for all devices is not idempotent. It fails upon execution after an already completed successful deployment, even though the machines already are in the desired state.

Logs and external information

TASK [cisco.catalystwan.sync_pnp_edges : Generate bootstrap configuration for all devices] **********************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: catalystwan.exceptions.ManagerHTTPError
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Could not perform 'Generate bootstrap configuration' action.\nManager error: message='Invalid vEdge cloud certificate state for generating bootstrap config' details='vEdge-C8K-220291CC-2003-3CDA-FDDA-F24D9E7B4B89 is not in \"Token Generated\" or \"Bootstrap Config Generated\" state. Bootstrap not allowed' code='VBOOTSTRAP0003'"}

Reproduction script

ansible-playbook playbooks/aws/full_deploy_and_configure.yml

Issue Severity

Low: It annoys me

@przsus przsus added the bug Something isn't working label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant