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

PEM profile property connectionOptimizationService value: "none' is invalid #36

Closed
azahajkiewicz opened this issue May 28, 2021 · 2 comments
Labels
bug Something isn't working jira Jira created for this issue
Milestone

Comments

@azahajkiewicz
Copy link

Environment

  • Application Services Version: 1.11.0
  • BIG-IP Version: 15.x

Summary

PEM property

Steps To Reproduce

Steps to reproduce the behavior:

  1. Convert following config:
ltm virtual /tenant_1/application_1/test_vs {
    description "Created by Web Configuration Utility for PEM Listener test_vs"
    destination /tenant_1/application_1/0.0.0.0:80
    ip-protocol udp
    mask any
    profiles {
        /Common/classification_pem {
            context clientside
        }
        /tenant_1/application_1/test_pem_profile {
            context clientside
        }
        /Common/udp_decrement_ttl { }
    }
    source 10.10.10.100/32
    source-address-translation {
        pool /Common/CGNAT_pool
        type lsn
    }
    translate-address disabled
    translate-port enabled
    vlans-enabled
}
ltm virtual-address /tenant_1/application_1/0.0.0.0 {
    address any
    arp disabled
    icmp-echo disabled
    mask any
    traffic-group /Common/traffic-group-1
}
pem profile radius-aaa /tenant_1/application_1/test_radius_profile {
    app-service none
    defaults-from /Common/radiusaaa
    description "Created by Web Configuration Utility for PEM Control Virtual /Common/radiusacct"
    password calypso
    shared-secret xxx
}
pem profile spm /tenant_1/application_1/test_pem_profile {
    app-service none
    description "Created by Web Configuration Utility for PEM Listener ..."
    fast-pem disabled
    fast-vs-name none
    global-policies-high-precedence {
        /Common/Parental_policy
    }
}
  1. Observe the following error message:

Declaration created by Charon:

            "test_pem_profile": {
                "remark": "xxx",
                "connectionOptimizationEnabled": false,
                "connectionOptimizationService": {
                    "use": "none"                                        # invalid reference          
                },
                "policiesGlobalHighPrecedence": [
                    {
                        "bigip": "/Common/Shared/Parental_policy"
                    }
                ],
                "class": "Enforcement_Profile"
            },

Error returned:

{
    "code": 422,
    "errors": [
        "/tenant_1/application_1/test_pem_profile/connectionOptimizationService/use: contains path to non-existent object none"
    ],
    "declarationFullId": "",
    "message": "declaration is invalid"
}

Expected Behavior

Not sure, but "connectionOptimizationService": { "use": "none" } is invalid.

@azahajkiewicz azahajkiewicz added the bug Something isn't working label May 28, 2021
@mdditt2000
Copy link

Created Jira CHARON-320 for PM tracking

@mdditt2000 mdditt2000 added the jira Jira created for this issue label Jun 8, 2021
@mdditt2000 mdditt2000 added this to the 1.13 milestone Jul 26, 2021
@mdditt2000
Copy link

Merge branch '320-pem-property' into 'develop' - resolved in ACC 1.13, Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working jira Jira created for this issue
Projects
None yet
Development

No branches or pull requests

2 participants