F5Networks / f5-ansible

Imperative Ansible modules for F5 BIG-IP products
GNU General Public License v3.0
375 stars 231 forks source link

bigip_iapp_template: doesn't update the template #546

Closed alonsocamaro closed 6 years ago

alonsocamaro commented 6 years ago
ISSUE TYPE
COMPONENT NAME

bigip_iapp_template

ANSIBLE VERSION

Ansible Tower 3.1.5

(ansible)[root@rhel74-1-ucamaro vcpe]# ansible --version
ansible 2.4.0.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.5 (default, May  3 2017, 07:55:04) [GCC 4.8.5 20150623 (Red Hat 4.8.5-14)]
PYTHON VERSION
(ansible)[root@rhel74-1-ucamaro ~]# python -V
Python 2.7.5
BIGIP VERSION
[root@bigip1:Eval:Active:Standalone] tmp # tmsh show sys version

Sys::Version
Main Package
  Product     BIG-IP
  Version     13.0.0
  Build       2.0.1671
  Edition     Hotfix HF2
  Date        Fri Apr 28 20:36:43 PDT 2017
LIBRARY VERSIONS
(ansible)[root@rhel74-1-ucamaro ~]# pip freeze | egrep '(f5-sdk|bigsuds)'
f5-sdk==3.0.4
CONFIGURATION

I'm using bigip_iapp_template from github (that is the latest version) rather than the one installed from ansible

OS / ENVIRONMENT

RHEL 7.4

SUMMARY

This happens using force:false or force:true. In any case not having a service instantiated.

It always reports "Ok" rather than "changed" which is what I would expect

TASK [add-customer-services : Add to the BIG-IP library the iApp file customer-services.tmpl] ***
ok: [10.105.211.111 -> localhost]

but the iApp template is not really updated, in the BIG-IP nothing is shown in the logs. If using force: true then I get the following in the logs.

Dec 26 11:11:00 bigip1 err mcpd[5915]: 01070734:3: Configuration error: When updating status on AppTemplate /Common/customer-services, signature verification of included scripts failed
Dec 26 11:11:00 bigip1 err tmsh[20264]: 01420006:3: 01070734:3: Configuration error: When updating status on AppTemplate /Common/customer-services, signature verification of included scripts failed
Dec 26 11:11:00 bigip1 err mcpd[5915]: 0107167d:3: Data publisher not found or not implemented when processing request (unknown request), tag (51666).
Dec 26 11:11:01 bigip1 err mcpd[5915]: 01070734:3: Configuration error: When updating status on AppTemplate /Common/ansible-eb99dde5-602b-44d2-93ce-733699cbd595, signature verification of included scripts failed
Dec 26 11:11:01 bigip1 err tmsh[20270]: 01420006:3: 01070734:3: Configuration error: When updating status on AppTemplate /Common/ansible-eb99dde5-602b-44d2-93ce-733699cbd595, signature verification of included scripts failed

I found this is happening from some time now but I failed to report it before.

STEPS TO REPRODUCE

Just try to update an iApp template, there is no need to have an iapp instance of the template

Please let me know if I can help any way.

caphrim007 commented 6 years ago

this issue appears to no longer be an issue after talking with Ulises