[BGPCEP-277] TCPMD5 password Validation exception Created: 07/Sep/15  Updated: 03/Mar/19  Resolved: 09/Sep/15

Status: Resolved
Project: bgpcep
Component/s: PCEP
Affects Version/s: Bugzilla Migration
Fix Version/s: Bugzilla Migration

Type: Bug
Reporter: Claudio David Gasparini Assignee: Claudio David Gasparini
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 4267

 Description   

ConfigTransaction-132-136
org.opendaylight.controller.config.api.JmxAttributeValidationException: Client password is not compatible with selected dispatcher
at org.opendaylight.controller.config.api.JmxAttributeValidationException.checkCondition(JmxAttributeValidationException.java:88)
at org.opendaylight.controller.config.yang.pcep.topology.provider.PCEPTopologyProviderModule.customValidation(PCEPTopologyProviderModule.java:110)
at org.opendaylight.controller.config.yang.pcep.topology.provider.AbstractPCEPTopologyProviderModule.validate(AbstractPCEPTopologyProviderModule.java:74)



 Comments   
Comment by Claudio David Gasparini [ 08/Sep/15 ]

After replicate the issue and research, the problem its in the Test. Steps need be done as explained on guide https://wiki.opendaylight.org/view/BGP_LS_PCEP:TCP_MD5_Guide.

Test are trying to insert dependency directly doing PUT:
http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/controller-config/yang-ext:mount/config:modules/module/odl-pcep-impl-cfg:pcep-dispatcher-impl/global-pcep-dispatcher/odl-pcep-impl-cfg:md5-channel-factory

<md5-channel-factory xmlns="urn:opendaylight:params:xml:ns:yang:controller:pcep:impl">
<type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:tcpmd5:netty:cfg">prefix:md5-channel-factory</type>
<name>md5-client-channel-factory</name>
</md5-channel-factory>

But it, need to be approach by doing a PUT of the whole module:
(Further explanation why its required-->NETCONF-30)

http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/controller-config/yang-ext:mount/config:modules/module/odl-pcep-impl-cfg:pcep-dispatcher-impl/global-pcep-dispatcher/

<module xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
<type xmlns:x="urn:opendaylight:params:xml:ns:yang:controller:pcep:impl">x:pcep-dispatcher-impl</type>
<name>global-pcep-dispatcher</name>
<pcep-extensions xmlns="urn:opendaylight:params:xml:ns:yang:controller:pcep:impl">
<type xmlns:x="urn:opendaylight:params:xml:ns:yang:controller:pcep:spi">x:extensions</type>
<name>global-pcep-extensions</name>
</pcep-extensions>
<pcep-session-proposal-factory xmlns="urn:opendaylight:params:xml:ns:yang:controller:pcep:impl">
<type xmlns:x="urn:opendaylight:params:xml:ns:yang:controller:pcep">x:pcep-session-proposal-factory</type>
<name>stateful07-proposal</name>
</pcep-session-proposal-factory>
<boss-group xmlns="urn:opendaylight:params:xml:ns:yang:controller:pcep:impl">
<type xmlns:x="urn:opendaylight:params:xml:ns:yang:controller:netty">x:netty-threadgroup</type>
<name>global-boss-group</name>
</boss-group>
<worker-group xmlns="urn:opendaylight:params:xml:ns:yang:controller:pcep:impl">
<type xmlns:x="urn:opendaylight:params:xml:ns:yang:controller:netty">x:netty-threadgroup</type>
<name>global-worker-group</name>
</worker-group>
<md5-channel-factory xmlns="urn:opendaylight:params:xml:ns:yang:controller:pcep:impl">
<type xmlns:x="urn:opendaylight:params:xml:ns:yang:controller:tcpmd5:netty:cfg">x:md5-channel-factory</type>
<name>md5-client-channel-factory</name>
</md5-channel-factory>
<md5-server-channel-factory xmlns="urn:opendaylight:params:xml:ns:yang:controller:pcep:impl">
<type xmlns:x="urn:opendaylight:params:xml:ns:yang:controller:tcpmd5:netty:cfg">x:md5-server-channel-factory</type>
<name>md5-server-channel-factory</name>
</md5-server-channel-factory>
</module>

Comment by Vratko Polak [ 09/Sep/15 ]

Clarifications with respect to "tcpmd5user" test suite.

There is a real NETCONF-30 which can have many consequences. BGPCEP-277 documents one consequence, but it needs a non-standard (as in different from wiki) workflow to hit 3753.

This suite was using the BGPCEP-277 workflow, and it looked as Tcpmd5 is unusable because of it. Resolved/invalid is there to inform it is not a blocker, and the wiki way works without issues.

Generated at Wed Feb 07 19:12:33 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.