Skip to content
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

No other configuration item identifiers may be specified #3670

Open
Alppkr opened this issue Dec 3, 2024 · 2 comments
Open

No other configuration item identifiers may be specified #3670

Alppkr opened this issue Dec 3, 2024 · 2 comments
Labels
awaiting response Awaiting response bug

Comments

@Alppkr
Copy link

Alppkr commented Dec 3, 2024

Setup Details

CIS Version : 2.18.1
Build: f5networks/k8s-bigip-ctlr:latest
BIGIP Version: Big IP 17.1.1.3 to upgrade 17.1.1.4
AS3 Version: 3.52 build 5
Agent Mode: AS3
Orchestration: Amazon EKS
Orchestration Version: 1.30
Pool Mode: Cluster
Additional Setup details: Amazon VPC CNI

Hello,

After upgrading big IP from 17.1.1.3 to 17.1.1.4 we faced a declaration issue and could not find the main reason of this error message.

[ERROR] [Retry][AS3] Response from BIG-IP: code: 422 --- tenant:EKS --- message: declaration failed

[DEBUG] [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:No other configuration item identifiers may be specified if "all" is specified runTime:3352 tenant:EKS]]]

After upgrade process, all virtual servers were visible on the GUI, but AS3 was not accepting new deployments.

At the beginning we were using CIS 2.18.1, but CRD version was 2.17.1. We upgraded it to same version but nothing change.

@Alppkr Alppkr added bug untriaged no JIRA created labels Dec 3, 2024
@trinaths
Copy link
Contributor

trinaths commented Dec 4, 2024

@Alppkr Configure CIS with log-level AS3DEBUG and share the logs. Suggest try similar AS3 Config using restful client to debug BIG-IP 17.1.1.4 related issues if any.

@trinaths trinaths added awaiting response Awaiting response and removed untriaged no JIRA created labels Dec 4, 2024
@Alppkr
Copy link
Author

Alppkr commented Dec 4, 2024

This is the log from controller.

2024/12/04 13:39:38 [DEBUG] [AS3] Unified declaration: {"$schema":"https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/master/schema/3.50.0/as3-schema-3.50.0-5.json","class":"AS3","declaration":{"EKS":{"Shared":{"class":"Application","f5_newtest_80":{"class":"Service_HTTP","policyEndpoint":"/EKS/Shared/f5_newtest_80__policy","snat":"auto","source":"0.0.0.0/0","translateServerAddress":true,"translateServerPort":true,"virtualAddresses":["a.a.a.a"],"virtualPort":80},"f5_newtest_80__policy":{"class":"Endpoint_Policy","rules":[{"actions":[{"event":"request","select":{"pool":{"use":"tod2_mw_user_test_80_mw_user"}},"type":"forward"}],"name":"vs__tod2_mw_user_test_80_mw_user"}],"strategy":"first-match"},"template":"shared","tod2_mw_user_test_80_mw_user":{"class":"Pool","members":[{"addressDiscovery":"static","serverAddresses":["a.a.a.a"],"servicePort":8080}],"minimumMonitors":"all"}},"class":"Tenant","defaultRouteDomain":0,"label":"EKS"},"class":"ADC","controls":{"class":"Controls","userAgent":"CIS/v2.17.0 K8S/v1.30.6-eks-7f9249a"},"id":"urn:uuid:85626792-9ee7-46bb-8fc8-4ba708cfdc1d","label":"CIS Declaration","remark":"Auto-generated by CIS","schemaVersion":"3.50.0"}}

2024/12/04 13:39:38 [DEBUG] [AS3] posting request to https:///mgmt/shared/appsvcs/declare/EKS
2024/12/04 13:39:38 [INFO] [Retry][AS3] posting request to https:// for EKS tenants
2024/12/04 13:39:45 [INFO] [Retry][AS3] post resulted in FAILURE
2024/12/04 13:39:45 [ERROR] [Retry][AS3] Response from BIG-IP: code: 422 --- tenant:EKS --- message: declaration failed
2024/12/04 13:39:45 [DEBUG] [AS3] Raw response from Big-IP: map[code:422 declaration:map[class:ADC controls:map[archiveTimestamp:2024-12-04T13:39:42.425Z class:Controls userAgent:CIS/v2.17.0 K8S/v1.30.6-eks-7f9249a] id:urn:uuid:85626792-9ee7-46bb-8fc8-4ba708cfdc1d label:CIS Declaration remark:Auto-generated by CIS schemaVersion:3.50.0 updateMode:selective] results:[map[code:422 declarationId:urn:uuid:85626792-9ee7-46bb-8fc8-4ba708cfdc1d host:localhost message:declaration failed response:No other configuration item identifiers may be specified if "all" is specified runTime:2378 tenant:EKS]]]
2024/12/04 13:39:45 [DEBUG] [AS3] Posting failed tenants configuration in 30s seconds

This is the response from rest client.

{
"results": [
{
"code": 422,
"message": "declaration failed",
"response": "No other configuration item identifiers may be specified if \"all\" is specified",
"host": "localhost",
"tenant": "EKS",
"runTime": 2299,
"declarationId": "urn:uuid:85626792-9ee7-46bb-8fc8-4ba708cfdc1d"
}
],
"declaration": {
"class": "ADC",
"controls": {
"class": "Controls",
"userAgent": "CIS/v2.17.0 K8S/v1.30.6-eks-7f9249a",
"archiveTimestamp": "2024-12-04T13:38:45.957Z"
},
"id": "urn:uuid:85626792-9ee7-46bb-8fc8-4ba708cfdc1d",
"label": "CIS Declaration",
"remark": "Auto-generated by CIS",
"schemaVersion": "3.50.0",
"updateMode": "selective"
},
"code": 422
}

Also, when we send get request to https:///mgmt/shared/appsvcs/declare/EKS, it returns 204 No Content

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting response Awaiting response bug
Projects
None yet
Development

No branches or pull requests

2 participants