Giter Site home page Giter Site logo

Comments (2)

alonsocamaro avatar alonsocamaro commented on June 1, 2024

Looking into this another time, next are more details of the behaviour found where route-b is the offending VS:

2024/03/15 10:54:50 [ERROR] [AS3] Response from BIG-IP: code: 422 --- tenant:sc-twotier --- message: declaration failed
2024/03/15 10:54:50 [DEBUG] [AS3] Posting failed tenants configuration in 30s seconds

[cloud-user@ocp-provisioner routes-bigip]$ oc delete -f route-b.yaml 
virtualserver.cis.f5.com "route-b" deleted

2024/03/15 10:55:20 [DEBUG] [AS3] posting request to https://10.1.1.5/mgmt/shared/appsvcs/declare/sc-twotier
2024/03/15 10:55:29 [ERROR] [AS3] Raw response from Big-IP: map[code:422 declaration:HTML Tag-like Content in the Request URL/Body results:[map[code:422 declarationId:urn:uuid:85626792-9ee7-46bb-8fc8-4ba708cfdc1d host:localhost message:declaration failed response:01070022:3: The monitor template /Common/www.sc-twotier.com-shop was not found. runTime:1850 tenant:sc-twotier]]] 
2024/03/15 10:55:29 [ERROR] [AS3] Response from BIG-IP: code: 422 --- tenant:sc-twotier --- message: declaration failed
2024/03/15 10:55:29 [DEBUG] [AS3] Posting failed tenants configuration in 30s seconds


2024/03/15 10:55:59 [DEBUG] [AS3] posting request to https://10.1.1.5/mgmt/shared/appsvcs/declare/sc-twotier
2024/03/15 10:56:08 [ERROR] [AS3] Raw response from Big-IP: map[code:422 declaration:HTML Tag-like Content in the Request URL/Body results:[map[code:422 declarationId:urn:uuid:85626792-9ee7-46bb-8fc8-4ba708cfdc1d host:localhost message:declaration failed response:01070022:3: The monitor template /Common/www.sc-twotier.com-shop was not found. runTime:1966 tenant:sc-twotier]]] 
2024/03/15 10:56:08 [ERROR] [AS3] Response from BIG-IP: code: 422 --- tenant:sc-twotier --- message: declaration failed
2024/03/15 10:56:08 [DEBUG] [AS3] No change in sc-twotier tenant configuration

and many minutes afterwards:

[cloud-user@ocp-provisioner routes-bigip]$ oc delete -f route-a.yaml 
virtualserver.cis.f5.com "route-a" deleted
2024/03/15 11:03:19 [DEBUG] [AS3] PostManager Accepted the configuration
2024/03/15 11:03:19 [DEBUG] [AS3] Unified declaration: {"$schema":"https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/master/schema/3.45.0/as3-schema-3.45.0-5.json","class":"AS3","declaration":{"class":"ADC","controls":{"class":"Controls","userAgent":"CIS/v2.15.0 OCP/v4.12.20"},"id":"urn:uuid:85626792-9ee7-46bb-8fc8-4ba708cfdc1d","label":"CIS Declaration","remark":"Auto-generated by CIS","sc-twotier":{"Shared":{"class":"Application","template":"shared"},"class":"Tenant","label":"sc-twotier"},"schemaVersion":"3.45.0"}}
2024/03/15 11:03:19 [DEBUG] [AS3] posting request to https://10.1.1.5/mgmt/shared/appsvcs/declare/sc-twotier
[cloud-user@ocp-provisioner routes-bigip]$ 2024/03/15 11:03:28 [DEBUG] [AS3] Response from BIG-IP: code: 200 --- tenant:sc-twotier --- message: success

Please note that the offending roue is really route-b, not route-a. To verify this I re-apply one by one the two routes:

[cloud-user@ocp-provisioner routes-bigip]$ oc apply -f route-a.yaml 
virtualserver.cis.f5.com/route-a created
[cloud-user@ocp-provisioner routes-bigip]$ 2024/03/15 11:04:26 [DEBUG] [AS3] PostManager Accepted the configuration
2024/03/15 11:04:26 [DEBUG] [AS3] posting request to https://10.1.1.5/mgmt/shared/appsvcs/declare/sc-twotier
2024/03/15 11:04:36 [DEBUG] [AS3] Response from BIG-IP: code: 200 --- tenant:sc-twotier --- message: success

Then

[cloud-user@ocp-provisioner routes-bigip]$ oc apply -f route-b.yaml 
virtualserver.cis.f5.com/route-b created
[cloud-user@ocp-provisioner routes-bigip]$ 2024/03/15 11:05:33 [DEBUG] [AS3] PostManager Accepted the configuration
2024/03/15 11:05:33 [DEBUG] [AS3] posting request to https://10.1.1.5/mgmt/shared/appsvcs/declare/sc-twotier

[cloud-user@ocp-provisioner routes-bigip]$ 2024/03/15 11:05:42 [ERROR] [AS3] Raw response from Big-IP: map[code:422 declaration:HTML Tag-like Content in the Request URL/Body results:[map[code:422 declarationId:urn:uuid:85626792-9ee7-46bb-8fc8-4ba708cfdc1d host:localhost message:declaration failed response:01070022:3: The monitor template /Common/www.sc-twotier.com-shop was not found. runTime:1802 tenant:sc-twotier]]] 
2024/03/15 11:05:42 [ERROR] [AS3] Response from BIG-IP: code: 422 --- tenant:sc-twotier --- message: declaration failed
2024/03/15 11:05:42 [DEBUG] [AS3] Posting failed tenants configuration in 30s seconds

from k8s-bigip-ctlr.

trinaths avatar trinaths commented on June 1, 2024

Created [CONTCNTR-4648] for internal tracking,

from k8s-bigip-ctlr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.