409 error code in L2vpn and L3vpn cnc policy creation: While creating l2vpn/l3vpn policies via API, for eg : l2vpn_untagged_rsvp_R1_R10 we are getting 409 error code.Steps followed :1. Creating rsvp tunnel2. verified TSDN CFP data3. creating l2vpn service with below payload -Create L2VPN Payload is :{"ietf-l2vpn-ntw:vpn-service": {"vpn-nodes": {"vpn-node": [{"vpn-node-id": "R1", "ne-id": "R1", "te-service-mapping": {"te-mapping": {"te-tunnel-list": {"te-tunnel-id": "77"}}}, "signaling-options": [{"type": "vpn-common:t-ldp", "t-ldp-pwe": {"ac-pw-list": [{"peer-addr": "6.1.1.10", "vc-id": "1"}]}}], "vpn-network-accesses": {"vpn-network-access": [{"id": "3334", "Interface-mtu": "9000", "connection": {"encapsulation-type": "vpn-common:untagged-int", "untagged-interface": {"untagged": {"physical-inf": "GigabitEthernet0/0/0/3"}, "l2-access-type": "vpn-common:untagged-int"}}}]}}, {"vpn-node-id": "R10", "ne-id": "R10", "te-service-mapping": {"te-mapping": {"te-tunnel-list": {"te-tunnel-id": "78"}}}, "signaling-options": [{"type": "vpn-common:t-ldp", "t-ldp-pwe": {"ac-pw-list": [{"peer-addr": "6.1.1.1", "vc-id": "10"}]}}], "vpn-network-accesses": {"vpn-network-access": [{"id": "3334", "Interface-mtu": "9000", "connection": {"encapsulation-type": "vpn-common:untagged-int", "untagged-interface": {"untagged": {"physical-inf": "GigabitEthernet0/0/0/3"}, "l2-access-type": "vpn-common:untagged-int"}}}]}}]}, "vpn-id": "L2vpn_tldp_R1_R10_untagged_rsvp", "vpn-svc-type": "vpn-common:t-ldp"}}338: URI: 339: Requested Post URL : ,4. verified TSDN CFP data5. while verifying L2vpnService plan data, getting this error :356: Get L2VPN Service Plan Status :L2vpn_tldp_R1_R10_untagged_rsvp357: URL: 358: 409359: Error occurred: Failed with 409 code and {"errors":{"error":[{"error-type":"application","error-tag":"data-missing","error-info":"Failed to lookup prefix ncs","error-message":"Data Not Found"}]}} data360: Exception in Getting service plan data : Failed with 409 code and {"errors":{"error":[{"error-type":"application","error-tag":"data-missing","error-info":"Failed to lookup prefix ncs","error-message":"Data Not Found"}]}} data361: ERROR occurred in Creation of L2VPN Service: Exception in Getting service plan data362: The result of section createService is => FAILEDLog for same :Can someone please check on the issue.Setup details :CW ip : 172.29.128.241 (admin/Cwork123!)Thanks,Meenakshi
Hi MeenakshiPlease provide NSO setup and the service payload that has the issue. I would like to debug on NSO side.Thanks,LinhNSO LSA setup details :ssh kafka@172.23.247.43 (jumphost)nso-rfs -> admin@10.11.0.150 nso-cfs -> admin@10.11.0.153And this is the service payload :336: create_l2vpn_service: Creating l2vpn service337: Create L2VPN Payload is :{"ietf-l2vpn-ntw:vpn-service": {"vpn-nodes": {"vpn-node": [{"vpn-node-id": "R1", "ne-id": "R1", "te-service-mapping": {"te-mapping": {"te-tunnel-list": {"te-tunnel-id": "77"}}}, "signaling-options": [{"type": "vpn-common:t-ldp", "t-ldp-pwe": {"ac-pw-list": [{"peer-addr": "6.1.1.10", "vc-id": "1"}]}}], "vpn-network-accesses": {"vpn-network-access": [{"id": "3334", "Interface-mtu": "9000", "connection": {"encapsulation-type": "vpn-common:untagged-int", "untagged-interface": {"untagged": {"physical-inf": "GigabitEthernet0/0/0/3"}, "l2-access-type": "vpn-common:untagged-int"}}}]}}, {"vpn-node-id": "R10", "ne-id": "R10", "te-service-mapping": {"te-mapping": {"te-tunnel-list": {"te-tunnel-id": "78"}}}, "signaling-options": [{"type": "vpn-common:t-ldp", "t-ldp-pwe": {"ac-pw-list": [{"peer-addr": "6.1.1.1", "vc-id": "10"}]}}], "vpn-network-accesses": {"vpn-network-access": [{"id": "3334", "Interface-mtu": "9000", "connection": {"encapsulation-type": "vpn-common:untagged-int", "untagged-interface": {"untagged": {"physical-inf": "GigabitEthernet0/0/0/3"}, "l2-access-type": "vpn-common:untagged-int"}}}]}}]}, "vpn-id": "L2vpn_tldp_R1_R10_untagged_rsvp", "vpn-svc-type": "vpn-common:t-ldp"}}Password is same for all the devices mentioned : Cwork123! I used postman to push the payloads to your CFS and it works fineadmin@ncs> show l2vpn-ntw vpn-services vpn-service-plan L2vpn_tldp_R1_R10_untagged_rsvp plan | tab                                                                        POST                       BACK     STATUS                                        ACTIONTYPE                  NAME TRACK GOAL CODE  STATE                   STATUS  WHEN         ref STATUS--------------------------------------------------------------------------------------------------------------------------------------------------------self                  self false -   -    init                    reached 2022-05-26T21:12:09 -  -                                 ready                   reached 2022-05-26T21:12:24 -  -ietf-l2vpn-ntw-nano-services:vpn-node R1  false -   -    init                    reached 2022-05-26T21:12:09 -  -                                 ietf-l2vpn-ntw-nano-services:config-apply reached 2022-05-26T21:12:09 -  -                                 ready                   reached 2022-05-26T21:12:24 -  -ietf-l2vpn-ntw-nano-services:vpn-node R10  false -   -    init                    reached 2022-05-26T21:12:09 -  -                                 ietf-l2vpn-ntw-nano-services:config-apply reached 2022-05-26T21:12:09 -  -                                 ready                   reached 2022-05-26T21:12:24 -  -So the issue is not in CFP side. Probably you miss setting between CNC and NSO-LinhHi Linh,Ya creation is fine, after that we do these 2 steps :Get TSDN CFP data and then Get L2vpnService plan data Here, Get TSDN CFP data ( hitting this url : ) worksbut the second one for Get L2vpnService plan data ( hitting this url : ) , we are getting this error :359: Error occurred: Failed with 409 code and {"errors":{"error":[{"error-type":"application","error-tag":"data-missing","error-info":"Failed to lookup prefix ncs","error-message":"Data Not Found"}]}} data360: Exception in Getting service plan data : Failed with 409 code and {"errors":{"error":[{"error-type":"application","error-tag":"data-missing","error-info":"Failed to lookup prefix ncs","error-message":"Data Not Found"}]}} data361: ERROR occurred in Creation of L2VPN Service: Exception in Getting service plan dataI am also attaching screenshots of the packages on both CFS and RFS nodes .The IP that you used in the rest call is not NSO IP, likely it is CW CNC IP. Since I am able to push l2vpn service directly to NSO successfully, it likely has the incorrect setting in CNC UI, please contact CNC team to verify your setting.About the packages on both CFS and RFS, they are fine.Hi,I was retrying the entire setup to reconfirm on this, but this during installation itself getting this failure during load merge of bootstrap data on cfs node :admin@ncs%load merge SR-status-codes.xmlError: on line 2: unknown namespace: in status-code-cfpadmin@ncs%load merge RSVP-TE-status-codes.xmlError: on line 2: unknown namespace: in status-code-cfpadmin@ncs%load merge L3VPN-status-codes.xmlError: on line 2: unknown namespace: in status-code-cfpCould you please suggest what could be the issue here ?Like we discussed on the other thread, cfs is missing quite a number of packages. Is there any other issue? If I am not hear any from you in next few days, I am going to close this issue.ThanksLinhYou can close this case. the issue has been fixed via this bug : CSCwc01654