Open pbystrov opened 1 year ago
Hi, thanks for reporting. Internal tracking ID for this issue is: INFRAANO-1045, thanks!
Hi @pbystrov , which object has space in the name so I can test the device_info module with that. I tried to reproduce the issue by fetching info for a gtm server with name like "foo gtm server" and it worked fine without any error.
Hi @urohit011, sorry for delay in my reply 😖 Since my initial report we have updated our BIG-IP DNS (GTM) device as well as execution environment, but still encounter this error.
# list gtm server "host.domain.com - CA"
gtm server "host.domain.com - CA" {
addresses {
11.22.33.44 {
device-name "host.domain.com - CA"
}
}
datacenter VX
devices {
"host.domain.com - CA" {
addresses {
11.22.33.44 { }
}
}
}
monitor gateway_icmp
product generic-host
virtual-servers {
"host_domain_com - CA_HTTPS" {
destination 11.22.33.44:https
}
}
}
ansible [core 2.15.12]
config file = /home/pbystrov-a/.ansible.cfg
configured module search path = ['/home/pbystrov-a/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/pbystrov-a/venv/f5/lib/python3.9/site-packages/ansible
ansible collection location = /home/pbystrov-a/.ansible/collections
executable location = /home/pbystrov-a/venv/f5/bin/ansible
python version = 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] (/home/pbystrov-a/venv/f5/bin/python3)
jinja version = 3.1.4
libyaml = True
Sys::Version
Main Package
Product BIG-IP
Version 17.1.1.3
Build 0.0.5
Edition Point Release 3
Date Thu Mar 21 04:23:27 PDT 2024
$ ansible-galaxy collection list f5networks.f5_modules
# /home/pbystrov-a/.ansible/collections/ansible_collections
Collection Version
--------------------- -------
f5networks.f5_modules 1.31.0
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
It looks like the error started from v1.14.0
of f5networks.f5_modules
, I am not getting this error in v1.13.0
COMPONENT NAME
bigip_device_info, gtm-servers subset
Environment
ANSIBLE VERSION
BIGIP VERSION
CONFIGURATION
None
OS / ENVIRONMENT
SUMMARY
bigip_device_info gtm-servers subset gathering fails if there are objects with spaces in name. This is not working since version 1.14.0
STEPS TO REPRODUCE
EXPECTED RESULTS
List of gtm-server objects saved to
_bigip_gtm_servers_facts
variableACTUAL RESULTS