-
Notifications
You must be signed in to change notification settings - Fork 48
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
fortios_address, fortios_config, fortios_ipv4_policy removed in patch release without deprecation #38
Comments
Also, when releasing new versions, please stick to semantic versioning. Patch releases must only contain bugfixes, minor releases can have new features, and only major versions are allowed to break backwards compatibility (i.e. remove something). |
Thank you for pointing out the issue and the helpful guidance! We do have equivalent modules that operate the same functionalities. We're going to add a meta/runtime.ym to direct to the new files. Thank you, |
Thanks for the quick response. Could you please let me know which the new modules are so I can update ansible-base |
hi @gundalow, these are with latest collection: https://github.com/fortinet-ansible-dev/ansible-galaxy-fortios-collection/tree/fos_v6.0.0/galaxy_1.0.14 thanks, |
Hi, just FYI I tried to install that version but I get this error
|
The latest release on galaxy is 1.0.13, released two months ago: https://galaxy.ansible.com/fortinet/fortios @chillancezen is there a reason that 1.0.14 was not published to galaxy? |
hi @felixfontein @aegiacometti , oh, I thought what we have to do is to make a new branch to github, not Galaxy. thanks, |
hi @aegiacometti @felixfontein , we have uploaded Galaxy FortiOS 1.0.14. please help review. thanks, |
Can you please rebuild the docs for 1.0.14? Thanks! |
sure, I was planing to fix document before the end of tomorrow. thanks Michel. |
Thanks I will try it as soon as I say. (I like your nickname😉)Adrián.-El 15 ago. 2020 21:34, "Jie (Link) Zheng" <notifications@github.com> escribió:
@chillancezen
Can you please rebuild the docs for 1.0.14?
Thanks!
sure, I was planing to fix document before the end of tomorrow.
thanks Michel.
Link
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.
|
The module fortios_system_config_backup_restore depends on fortiosapi. I understood that we should avoid that and use the httpapi were possible instead. Is there any plans to update the module to use the httpapi or should I consider fortiosapi a requirement moving forward? |
per team's discussion, deprecating legacy |
@chillancezen This is the PB (copied from
And this is the output error
|
This module is the only one relies on fortiosapi, which will be deprecated in the next major release. Can you please check if fortiosapi is installed? |
This module is the only one relies on fortiosapi, which will be deprecated in the next major release. Can you please check if fortiosapi is installed? Using command: pip list to check. Because it's using the legacy mode you cannot using any variables starting with ansible in your hosts file, like ansible_username etc. Here's a workaround to solve the issue.
|
@JieX19
From there I found that the user profile for backup HAS to be So, sorry, my bad. Thanks a lot for your quick support!!! |
Hi,
In ea07b61 you deleted:
fortios_address
fortios_config
fortios_ipv4_policy
Without going through any deprecation cycle, also this was done in a patch release.
As these modules were released in Ansible 2.3 & 2.4 ea07b61#diff-2fc04ddd652278d20701a1eb10e7334dL18 you've broken anyone upgrading from Ansible 2.9 to 2.10 by deleting these three modules without going via any notice period.
If there are equalivent modules with new functionality you need to add a
meta/runtime.yml
direct to the new fileOr if not, you need to restore the files, mark as deprecated, then removed in a later release, see ansible-collections/community.kubernetes#165 for how a deprecated redirect would look like (search for k8s_facts).
@chillancezen @frankshen01 @JieX19 @bjolivot Could you please respond to this today.
The text was updated successfully, but these errors were encountered: