Dublin vFWCL closed loop problem #appc


Gülsüm Atıcı
 

Hello,

I have  created  a  vFW  closed  service  by  following  the guide  https://docs.onap.org/en/casablanca/submodules/oom/offline-installer.git/docs/vFWCL-notes.html.
After  appc  mount  step, I verify  that  node  is  created  however  couldn't  check  the   pg streams with   below error. Additionaly  closed loop  is  not  working.  
What  can make the  closed  loop  to work ?  Could  you  please  help ?

sample-plugin\" module does not exist in mount point."
 

clusteradmin@compute112:~$ curl -X GET http://192.168.11.112:30230/restconf/operational/network-topology:network-topology/topology/topod    -H 'Accept: application/json' -H 'Authorization: Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ==' |  json_pp
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3249  100  3249    0     0  62480      0 --:--:-- --:--:-- --:--:-- 63705
{
   "node" : [
      {
         "node-id" : "b2dc53ac-f3f7-4786-a72e-79029af5140d",
         "netconf-node-topology:port" : 2831,
         "netconf-node-topology:unavailable-capabilities" : {},
         "netconf-node-topology:available-capabilities" : {
            "available-capability" : [
               {
                  "capability-origin" : "device-advertised",
                  "capability" : "urn:ietf:params:netconf:base:1.0"
               },
               {
                  "capability-origin" : "device-advertised",
                  "capability" : "urn:ietf:params:netconf:capability:candidate:1.0"
               },
               {
                  "capability" : "urn:ietf:params:netconf:base:1.1",
                  "capability-origin" : "device-advertised"
               },
               {
                  "capability" : "urn:ietf:params:netconf:capability:exi:1.0",
                  "capability-origin" : "device-advertised"
               },
               {
                  "capability-origin" : "device-advertised",
                  "capability" : "urn:ietf:params:netconf:capability:validate:1.0"
               },
               {
                  "capability-origin" : "device-advertised",
                  "capability" : "(urn:opendaylight:params:xml:ns:yang:mdsal:core:general-entity?revision=2015-09-30)odl-general-entity"
               },
               {
                  "capability-origin" : "device-advertised",
                  "capability" : "(urn:ietf:params:xml:ns:netmod:notification?revision=2008-07-14)nc-notifications"
               },
               {
                  "capability" : "(urn:ietf:params:xml:ns:netconf:notification:1.0?revision=2008-07-14)notifications",
                  "capability-origin" : "device-advertised"
               },
               {
                  "capability" : "(urn:ietf:params:xml:ns:yang:ietf-restconf-monitoring?revision=2017-01-26)ietf-restconf-monitoring",
                  "capability-origin" : "device-advertised"
               },
               {
                  "capability-origin" : "device-advertised",
                  "capability" : "(urn:ietf:params:xml:ns:yang:ietf-yang-library?revision=2016-06-21)ietf-yang-library"
               },
               {
                  "capability" : "(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)network-topology",
                  "capability-origin" : "device-advertised"
               },
               {
                  "capability-origin" : "device-advertised",
                  "capability" : "(urn:ietf:params:xml:ns:netconf:base:1.0?revision=2011-06-01)ietf-netconf"
               },
               {
                  "capability-origin" : "device-advertised",
                  "capability" : "(urn:ietf:params:xml:ns:yang:ietf-netconf-notifications?revision=2012-02-06)ietf-netconf-notifications"
               },
               {
                  "capability-origin" : "device-advertised",
                  "capability" : "(urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring-extension?revision=2013-12-10)ietf-netconf-monitoring-extension"
               },
               {
                  "capability-origin" : "device-advertised",
                  "capability" : "(urn:ietf:params:xml:ns:yang:ietf-yang-types?revision=2013-07-15)ietf-yang-types"
               },
               {
                  "capability-origin" : "device-advertised",
                  "capability" : "(urn:ietf:params:xml:ns:yang:ietf-inet-types?revision=2013-07-15)ietf-inet-types"
               },
               {
                  "capability" : "(urn:ietf:params:xml:ns:yang:ietf-interfaces?revision=2014-05-08)ietf-interfaces",
                  "capability-origin" : "device-advertised"
               },
               {
                  "capability" : "(urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?revision=2010-10-04)ietf-netconf-monitoring",
                  "capability-origin" : "device-advertised"
               },
               {
                  "capability" : "(urn:opendaylight:params:xml:ns:yang:stream-count?revision=2019-01-18)stream-count",
                  "capability-origin" : "device-advertised"
               },
               {
                  "capability" : "(urn:opendaylight:yang:extension:yang-ext?revision=2013-07-09)yang-ext",
                  "capability-origin" : "device-advertised"
               },
               {
                  "capability" : "(urn:ietf:params:xml:ns:yang:iana-if-type?revision=2014-05-08)iana-if-type",
                  "capability-origin" : "device-advertised"
               }
            ]
         },


**********************************************************
clusteradmin@compute112:~$ curl -v --noproxy '*' --user "admin":"Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U" -d -H "Accept: application/xml" -H "Content-type: application/xml" -X GET http://192.168.11.112:30230/restconf/config/network-topology:network-topology/topology/topology-netconf/node/b2dc53ac-f3f7-4786-a72e-79029af5140d  |  json_pp
* Port number ended with ' '
* Closing connection -1
curl: (3) Port number ended with ' '
*   Trying 192.168.11.112...
* TCP_NODELAY set
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Connected to 192.168.11.112 (192.168.11.112) port 30230 (#0)
* Server auth using Basic with user 'admin'
> GET /restconf/config/network-topology:network-topology/topology/topology-netconf/node/b2dc53ac-f3f7-4786-a72e-79029af5140d HTTP/1.1
> Host: 192.168.11.112:30230
> Authorization: Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ==
> User-Agent: curl/7.58.0
> Accept: */*
> Content-type: application/xml
> Content-Length: 2
} [2 bytes data]
* upload completely sent off: 2 out of 2 bytes
< HTTP/1.1 200 OK
< Set-Cookie: JSESSIONID=17z5jawtl93fu1582yl4b42ghj;Path=/
< Expires: Thu, 01 Jan 1970 00:00:00 GMT
< Set-Cookie: rememberMe=deleteMe; Path=/; Max-Age=0; Expires=Sun, 06-Oct-2019 07:55:22 GMT
< Content-Type: application/yang.data+json
< Content-Length: 262
{ [262 bytes data]
100   264  100   262  100     2  13100    100 --:--:-- --:--:-- --:--:-- 13894
* Connection #0 to host 192.168.11.112 left intact
{
   "node" : [
      {
         "netconf-node-topology:host" : "192.168.13.151",
         "netconf-node-topology:port" : 2831,
         "node-id" : "b2dc53ac-f3f7-4786-a72e-79029af5140d",
         "netconf-node-topology:tcp-only" : false,
         "netconf-node-topology:password" : "admin",
         "netconf-node-topology:username" : "admin"
      }
   ]
}
clusteradmin@compute112:~$ 
 
         "netconf-node-topology:clustered-connection-status" : {
            "netconf-master-node" : "akka.tcp://opendaylight-cluster-data@....0.1:2550"
         },
         "netconf-node-topology:connection-status" : "connected",
         "netconf-node-topology:host" : "192.168.13.151"
      }
   ]
}

***********************************

clusteradmin@compute112:~$ curl -X GET \
> http://192.168.11.112:30230/restconf/config/network-topology:network-topology/topology/topology-netconf/node/b2dc53ac-f3f7-4786-a72e-79029af5140d/yang-ext:mount/sample-plugin:sample-plugin/pg-streams \
> -H 'Accept: application/json' \
> -H 'Authorization: Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ=='
{"errors":{"error":[{"error-type":"protocol","error-tag":"unknown-element","error-message":"\"sample-plugin\" module does not exist in mount point."}]}}clusteradmin@compute112:~$ curl -X Gg-ext:mount/sample-plugin:sample-plugin/pg-streams -H 'Accept: application/json' -H 'Authorization: Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ==' |  json_pp
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   152  100   152    0     0   5066      0 --:--:-- --:--:-- --:--:--  5066
{
   "errors" : {
      "error" : [
         {
            "error-type" : "protocol",
            "error-tag" : "unknown-element",
            "error-message" : "\"sample-plugin\" module does not exist in mount point."
         }
      ]
   }
}

*********************************************


Michal Ptacek
 

Hi,

 

It has been some time sinc I was playing around Casablanca, that issue below seems to be related of problem with setting-up APPC mount point (w/o it CL will not happen)

I would check APPC karaf.log during setting-up APPC mount point … (Step 13.)

 

Br,

Michal

 

 

From: onap-discuss@... <onap-discuss@...> On Behalf Of gulsum.atici@...
Sent: Monday, October 7, 2019 10:01 AM
To: onap-discuss@...
Subject: [onap-discuss] Dublin vFWCL closed loop problem #appc

 

Hello,

I have  created  a  vFW  closed  service  by  following  the guide  https://docs.onap.org/en/casablanca/submodules/oom/offline-installer.git/docs/vFWCL-notes.html.
After  appc  mount  step, I verify  that  node  is  created  however  couldn't  check  the   pg streams with   below error. Additionaly  closed loop  is  not  working.  
What  can make the  closed  loop  to work ?  Could  you  please  help ?

sample-plugin\" module does not exist in mount point."
 

clusteradmin@compute112:~$ curl -X GET http://192.168.11.112:30230/restconf/operational/network-topology:network-topology/topology/topod    -H 'Accept: application/json' -H 'Authorization: Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ==' |  json_pp

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100  3249  100  3249    0     0  62480      0 --:--:-- --:--:-- --:--:-- 63705

{

   "node" : [

      {

         "node-id" : "b2dc53ac-f3f7-4786-a72e-79029af5140d",

         "netconf-node-topology:port" : 2831,

         "netconf-node-topology:unavailable-capabilities" : {},

         "netconf-node-topology:available-capabilities" : {

            "available-capability" : [

               {

                  "capability-origin" : "device-advertised",

                  "capability" : "urn:ietf:params:netconf:base:1.0"

               },

               {

                  "capability-origin" : "device-advertised",

                  "capability" : "urn:ietf:params:netconf:capability:candidate:1.0"

               },

               {

                  "capability" : "urn:ietf:params:netconf:base:1.1",

                  "capability-origin" : "device-advertised"

               },

               {

                  "capability" : "urn:ietf:params:netconf:capability:exi:1.0",

                  "capability-origin" : "device-advertised"

               },

               {

                  "capability-origin" : "device-advertised",

                  "capability" : "urn:ietf:params:netconf:capability:validate:1.0"

               },

               {

                  "capability-origin" : "device-advertised",

                  "capability" : "(urn:opendaylight:params:xml:ns:yang:mdsal:core:general-entity?revision=2015-09-30)odl-general-entity"

               },

               {

                  "capability-origin" : "device-advertised",

                  "capability" : "(urn:ietf:params:xml:ns:netmod:notification?revision=2008-07-14)nc-notifications"

               },

               {

                  "capability" : "(urn:ietf:params:xml:ns:netconf:notification:1.0?revision=2008-07-14)notifications",

                  "capability-origin" : "device-advertised"

               },

               {

                  "capability" : "(urn:ietf:params:xml:ns:yang:ietf-restconf-monitoring?revision=2017-01-26)ietf-restconf-monitoring",

                  "capability-origin" : "device-advertised"

               },

               {

                  "capability-origin" : "device-advertised",

                  "capability" : "(urn:ietf:params:xml:ns:yang:ietf-yang-library?revision=2016-06-21)ietf-yang-library"

               },

               {

                  "capability" : "(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)network-topology",

                  "capability-origin" : "device-advertised"

               },

               {

                  "capability-origin" : "device-advertised",

                  "capability" : "(urn:ietf:params:xml:ns:netconf:base:1.0?revision=2011-06-01)ietf-netconf"

               },

               {

                  "capability-origin" : "device-advertised",

                  "capability" : "(urn:ietf:params:xml:ns:yang:ietf-netconf-notifications?revision=2012-02-06)ietf-netconf-notifications"

               },

               {

                  "capability-origin" : "device-advertised",

                  "capability" : "(urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring-extension?revision=2013-12-10)ietf-netconf-monitoring-extension"

               },

               {

                  "capability-origin" : "device-advertised",

                  "capability" : "(urn:ietf:params:xml:ns:yang:ietf-yang-types?revision=2013-07-15)ietf-yang-types"

               },

               {

                  "capability-origin" : "device-advertised",

                  "capability" : "(urn:ietf:params:xml:ns:yang:ietf-inet-types?revision=2013-07-15)ietf-inet-types"

               },

               {

                  "capability" : "(urn:ietf:params:xml:ns:yang:ietf-interfaces?revision=2014-05-08)ietf-interfaces",

                  "capability-origin" : "device-advertised"

               },

               {

                  "capability" : "(urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?revision=2010-10-04)ietf-netconf-monitoring",

                  "capability-origin" : "device-advertised"

               },

               {

                  "capability" : "(urn:opendaylight:params:xml:ns:yang:stream-count?revision=2019-01-18)stream-count",

                  "capability-origin" : "device-advertised"

               },

               {

                  "capability" : "(urn:opendaylight:yang:extension:yang-ext?revision=2013-07-09)yang-ext",

                  "capability-origin" : "device-advertised"

               },

               {

                  "capability" : "(urn:ietf:params:xml:ns:yang:iana-if-type?revision=2014-05-08)iana-if-type",

                  "capability-origin" : "device-advertised"

               }

            ]

         },


**********************************************************

clusteradmin@compute112:~$ curl -v --noproxy '*' --user "admin":"Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U" -d -H "Accept: application/xml" -H "Content-type: application/xml" -X GET http://192.168.11.112:30230/restconf/config/network-topology:network-topology/topology/topology-netconf/node/b2dc53ac-f3f7-4786-a72e-79029af5140d  |  json_pp

* Port number ended with ' '

* Closing connection -1

curl: (3) Port number ended with ' '

*   Trying 192.168.11.112...

* TCP_NODELAY set

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Connected to 192.168.11.112 (192.168.11.112) port 30230 (#0)

* Server auth using Basic with user 'admin'

> GET /restconf/config/network-topology:network-topology/topology/topology-netconf/node/b2dc53ac-f3f7-4786-a72e-79029af5140d HTTP/1.1

> Host: 192.168.11.112:30230

> Authorization: Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ==

> User-Agent: curl/7.58.0

> Accept: */*

> Content-type: application/xml

> Content-Length: 2

} [2 bytes data]

* upload completely sent off: 2 out of 2 bytes

< HTTP/1.1 200 OK

< Set-Cookie: JSESSIONID=17z5jawtl93fu1582yl4b42ghj;Path=/

< Expires: Thu, 01 Jan 1970 00:00:00 GMT

< Set-Cookie: rememberMe=deleteMe; Path=/; Max-Age=0; Expires=Sun, 06-Oct-2019 07:55:22 GMT

< Content-Type: application/yang.data+json

< Content-Length: 262

{ [262 bytes data]

100   264  100   262  100     2  13100    100 --:--:-- --:--:-- --:--:-- 13894

* Connection #0 to host 192.168.11.112 left intact

{

   "node" : [

      {

         "netconf-node-topology:host" : "192.168.13.151",

         "netconf-node-topology:port" : 2831,

         "node-id" : "b2dc53ac-f3f7-4786-a72e-79029af5140d",

         "netconf-node-topology:tcp-only" : false,

         "netconf-node-topology:password" : "admin",

         "netconf-node-topology:username" : "admin"

      }

   ]

}

clusteradmin@compute112:~$ 

 

         "netconf-node-topology:clustered-connection-status" : {

            "netconf-master-node" : "akka.tcp://opendaylight-cluster-data@....0.1:2550"

         },

         "netconf-node-topology:connection-status" : "connected",

         "netconf-node-topology:host" : "192.168.13.151"

      }

   ]

}


***********************************

clusteradmin@compute112:~$ curl -X GET \

> -H 'Accept: application/json' \

> -H 'Authorization: Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ=='

{"errors":{"error":[{"error-type":"protocol","error-tag":"unknown-element","error-message":"\"sample-plugin\" module does not exist in mount point."}]}}clusteradmin@compute112:~$ curl -X Gg-ext:mount/sample-plugin:sample-plugin/pg-streams -H 'Accept: application/json' -H 'Authorization: Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ==' |  json_pp

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100   152  100   152    0     0   5066      0 --:--:-- --:--:-- --:--:--  5066

{

   "errors" : {

      "error" : [

         {

            "error-type" : "protocol",

            "error-tag" : "unknown-element",

            "error-message" : "\"sample-plugin\" module does not exist in mount point."

         }

      ]

   }

}


*********************************************