Closed wfan-epic closed 2 months ago
Hi,
Thanks for reporting. Added to the backlog and internal tracking ID for this request is: INFRAANO-1608.
The issue has been resolved and will be included in the next release. MR : https://gitswarm.f5net.com/f5ansible/f5_bigip/-/merge_requests/167
COMPONENT NAME
f5networks.f5_bigip.bigip_as3_deploy
Environment
ANSIBLE VERSION
BIGIP VERSION
The device has F5 AS3 v3.51.0 installed.
CONFIGURATION
N/A
OS / ENVIRONMENT
N/A
SUMMARY
Attempting to deploy an AS3 declaration with
f5networks.f5_bigip.bigip_as3_deploy
v3.4.0 or newer against a BIG-IP with F5 AS3 v3.50.0 or newer installed fails with the following error:I'm fairly certain this is because the
perAppDeployment
feature flag was moved frombetaOptions
to GA with AS3 v3.50.0+, and the corresponding property from/mgmt/shared/appsvcs/settings
was moved up to the top level of the JSON response:So the return statement for
bigip_as3_deploy.ModuleManager.check_settings()
should be updated to:I've verified that this works by modifying the module locally.
It would also be nice to have an additional check for the AS3 version before determining whether per-app deployment is enabled to provide backwards compatibility, or just have a fall-through check for all possible
perAppDeploymentAllowed
locations.If you don't want to provide backwards support for older AS3 versions with newer versions of this Ansible module, please increment the module's major version and explicitly declare that this is a breaking change in your changelogs. :smile:
See also: Declaration deployment produces an non-descriptive error message "betaOptions"! · Issue #830 · F5Networks/f5-appsvcs-extension
STEPS TO REPRODUCE
f5networks.f5_bigip
v3.4.0+, attempt to deploy the declaration to a BIG-IP with AS3 v3.50.0+ installed:EXPECTED RESULTS
The
bigip_as3_deploy
module should progress pastcheck_settings()
.ACTUAL RESULTS
Observe the following error from running the Ansible playbook: