1
0
-1

Running the ete health scripts fails for a few components (so, vid, vnfsdk) in an early step and I narrowed it down to this (for vid at least): 

  • the request to vid.<namespace>:8080 fails while the request to the resolved address works! I am at a complete loss why the server will have different behavior for these two requests; anybody has any idea?

    Fails:
    /# curl -v -X GET http://vid.kyp6:8080/vid/healthCheck -H 'accept: application/json' -H 'X-FromAppId: robot-ete' -H 'content-type: application/json' -H 'X-TransactionId: robot-ete-9afc213e-3fcd-4b56-86e7-4b19719257dc' -H 'accept: application/json' -H 'username: Default' -H 'password: AppPassword!1' Note: Unnecessary use of -X or --request, GET is already inferred.
    * Trying 10.43.69.34...
    * TCP_NODELAY set
    * Connected to vid.kyp6 (10.43.69.34) port 8080 (#0)
    > GET /vid/healthCheck HTTP/1.1
    > Host: vid.kyp6:8080
    > User-Agent: curl/7.58.0
    > accept: application/json
    > X-FromAppId: robot-ete
    > content-type: application/json
    > X-TransactionId: robot-ete-9afc213e-3fcd-4b56-86e7-4b19719257dc
    > accept: application/json
    > username: Default
    > password: AppPassword!1
    >
    < HTTP/1.1 400 Bad Request
    < Server: Apache-Coyote/1.1
    < Transfer-Encoding: chunked
    < Date: Wed, 25 Jul 2018 17:23:53 GMT
    < Connection: close
    <
    * Closing connection 0

    Works(!!!):
    root@kyp6-robot-86bc89c994-jzqpg:/# curl -v -X GET http://10.43.69.34:8080/vid/healthCheck -H 'accept: application/json' -H 'X-FromAppId: robot-ete' -H 'content-type: application/json' -H 'X-TransactionId: robot-ete-9afc213e-3fcd-4b56-86e7-4b19719257dc' -H 'accept: application/json' -H 'username: Default' -H 'password: AppPassword!1'
    Note: Unnecessary use of -X or --request, GET is already inferred.
    * Trying 10.43.69.34...
    * TCP_NODELAY set
    * Connected to 10.43.69.34 (10.43.69.34) port 8080 (#0)
    > GET /vid/healthCheck HTTP/1.1
    > Host: 10.43.69.34:8080
    > User-Agent: curl/7.58.0
    > accept: application/json
    > X-FromAppId: robot-ete
    > content-type: application/json
    > X-TransactionId: robot-ete-9afc213e-3fcd-4b56-86e7-4b19719257dc
    > accept: application/json
    > username: Default
    > password: AppPassword!1
    >
    < HTTP/1.1 200 OK
    < Server: Apache-Coyote/1.1
    < X-ECOMP-RequestID-echo: 7246bbfd-1f4e-47d5-a44e-11b66fdee71e
    < Content-Type: application/json
    < Transfer-Encoding: chunked
    < Date: Wed, 25 Jul 2018 17:24:10 GMT
    <
    * Connection #0 to host 10.43.69.34 left intact
    {"statusCode":200,"message":"health check succeeded","date":null}


Thanks!

    CommentAdd your comment...