f5-appsvcs-extension
f5-appsvcs-extension copied to clipboard
FTP profile creation error - "This is only valid on BIG-IP versions 14.0 and above."
Environment
- Application Services Version: 3.43.0
- BIG-IP Version: 15.1.8.2
Summary
I am attemping to create an FTP profile using the F5 Extension in vscode. I connect to BIG-IQ 8.2.0.1 and the target device is BIG-IP 15.1.8.2. It's complaining about two different parameters: enforceTlsSessionReuseEnabled activeModeEnabled
Steps To Reproduce
Steps to reproduce the behavior:
- Submit the following declaration:
{
"$schema": "https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/master/schema/3.43.0/as3-schema.json",
"class": "AS3",
"action": "deploy",
"persist": true,
"declaration": {
"class": "ADC",
"schemaVersion": "3.43.0",
"updateMode": "selective",
"target": {
"address": "10.250.10.102"
},
"SECURETRANSPORT": {
"class": "Tenant",
"QF0": {
"class": "Application",
"template": "generic",
"ftp_SECURETRANSPORT": {
"activeModeEnabled": true,
"enforceTlsSessionReuseEnabled": false,
"ftpsMode": "disallow",
"inheritParentProfileEnabled": false,
"port": 20,
"securityEnabled": false,
"translateExtendedEnabled": true,
"class": "FTP_Profile"
}
}
}
}
}
- Observe the following error response:
{
"id": "8aa71a9b-b5d1-468e-a791-d78f8e11b836",
"results": [
{
"message": "success",
"dryRun": false,
"host": "localhost",
"tenant": "STS",
"runTime": 19700,
"code": 200,
"warnings": [
{
"tenant": "STS",
"dataPath": "/STS/QF0/ftp_STS/enforceTlsSessionReuseEnabled",
"keyword": "f5PostProcess(minVersion)",
"params": {},
"message": "FTP_Profile.enforceTlsSessionReuseEnabled ignored. This is only valid on BIG-IP versions 14.0 and above."
},
{
"tenant": "STS",
"dataPath": "/STS/QF0/ftp_STS/activeModeEnabled",
"keyword": "f5PostProcess(minVersion)",
"params": {},
"message": "FTP_Profile.activeModeEnabled ignored. This is only valid on BIG-IP versions 14.0 and above."
}
]
}
],
"declaration": {
"STS": {
"class": "Tenant",
"QF0": {
"class": "Application",
"template": "generic",
"ftp_STS": {
"activeModeEnabled": true,
"enforceTlsSessionReuseEnabled": false,
"ftpsMode": "disallow",
"inheritParentProfileEnabled": false,
"port": 20,
"securityEnabled": false,
"translateExtendedEnabled": true,
"class": "FTP_Profile"
}
}
},
"class": "ADC",
"schemaVersion": "3.43.0",
"updateMode": "selective",
"target": {
"address": "10.250.10.102"
},
"controls": {
"class": "Controls",
"userAgent": "vscode-f5/3.14.0",
"archiveTimestamp": "2023-08-08T19:43:52.143Z"
},
"id": "autogen_0f1458de-8393-423d-b94a-5e20d7ac37d5"
}
}
Expected Behavior
I expect the FTP profile to be created without errors since I am deploying to BIG-IP version >14.0.
Actual Behavior
The FTP profile does not get created and the declaration fails with two errors: "message": "FTP_Profile.enforceTlsSessionReuseEnabled ignored. This is only valid on BIG-IP versions 14.0 and above." "message": "FTP_Profile.activeModeEnabled ignored. This is only valid on BIG-IP versions 14.0 and above."