Repository navigation
Conversation
…dules route_maps was the only resource module without a short-name redirect. vyos_interface, vyos_l3_interface, vyos_linkagg, vyos_lldp, vyos_lldp_interface and vyos_static_route were removed in 4.0.0 but had no tombstone, while their action plugins were left behind. Add tombstones pointing to the replacement modules and delete the dead action plugins and their sanity ignore entries.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change Summary
meta/runtime.ymlhas a short-name redirect for every resource module exceptroute_maps, sovyos.vyos.route_mapsdoes not resolve.The modules removed in 4.0.0 (
vyos_interface,vyos_l3_interface,vyos_linkagg,vyos_lldp,vyos_lldp_interface,vyos_static_route) have no tombstone, so playbooks that still use them fail with a generic "couldn't resolve module/action" error instead of naming the replacement. Their action plugins are still shipped although the modules are gone.Types of changes
Related Task(s)
Related PR(s)
Component(s) name
meta/runtime.yml
Proposed changes
route_maps: redirect: vyos.vyos.vyos_route_maps.vyos_names, in the same format as the existingloggingones:removal_version: 4.0.0,warning_text: use <replacement> instead.action-plugin-docslines intests/sanity/ignore-2.16to2.22.How to test
Test results
Both pass with ansible-core 2.18 on Python 3.12. As a negative check, setting
removal_versionto 99.0.0 makesruntime-metadatafail, so the tombstones are validated. Unit suite unchanged (598 passed). Not run on ansible-core 2.19 to 2.22.Tested against VyOS versions:
Checklist:
changelogs/fragmentsto describe the changes