Hi Subhash,

Thanks for your response.

AAI-1 and AAI-2 all dockers  are up and running  and  Robot health check are 
passed.  It would be really helpful if you share some input to make “demo.sh 
init”  successful or is there any other way to run vFW demo successful.

From the following logs it seems AAI could not fine some object.

https://10.10.1.21:8443 "PUT /aai/v8/business/customers/customer/Demonstration 
HTTP/1.1" 404 None

13:49:16.643 DEBUG put response: 
{"requestError":{"serviceException":{"messageId":"SVC3003","text":"Failed to 
make edge
to missing target node of type %3 with keys %4 performing %1 on %2 (msg=%5)
 
(ec=%6)","variables":["PUT","business/customers/customer/Demonstration","tenant","/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/74c7fa9e54f246f5878c902c346e590d",
"Error making edge to target node:Node of type tenant. Could not find object at:
 
/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/74c7fa9e54f246f5878c902c346e590d","ERR.5.4.6129"]}}}

AAI logs:-

root@vm1-aai-inst1:~# docker ps -a
CONTAINER ID        IMAGE                                                 
COMMAND                  CREATED             STATUS              PORTS          
                    NAMES
03e94ca6e342        nexus3.onap.org:10001/openecomp/search-data-service   
"/opt/app/search-d..."   2 days ago          Up 2 days           
0.0.0.0:9509->9509/tcp             
testconfig_aai.searchservice.simpledemo.openecomp.org_1
0a586f4c660e        nexus3.onap.org:10001/openecomp/data-router           
"/opt/app/data-rou..."   2 days ago          Up 2 days           
0.0.0.0:9502->9502/tcp             testconfig_datarouter_1
475977a8bbf6        nexus3.onap.org:10001/openecomp/model-loader          
"/opt/app/model-lo..."   2 days ago          Up 2 days                          
                    testconfig_model-loader_1
3de2f7799226        nexus3.onap.org:10001/openecomp/sparky-be             
"/bin/sh -c /opt/a..."   2 days ago          Up 2 days           8000/tcp, 
0.0.0.0:9517->9517/tcp   testconfig_sparky-be_1
7a34fe4abfb5        aaionap/haproxy                                       
"/docker-entrypoin..."   2 days ago          Up 2 days           
0.0.0.0:8443->8443/tcp             testconfig_aai.api.simpledemo.openecomp.org_1
cb36afe7eb94        nexus3.onap.org:10001/openecomp/aai-traversal         
"/bin/bash /opt/ap..."   2 days ago          Up 2 days           
0.0.0.0:8446->8446/tcp, 8447/tcp   
testconfig_aai-traversal.api.simpledemo.openecomp.org_1
b3ac47cadbe0        nexus3.onap.org:10001/openecomp/aai-resources         
"/bin/bash /opt/ap..."   2 days ago          Up 2 days           
0.0.0.0:8447->8447/tcp             
testconfig_aai-resources.api.simpledemo.openecomp.org_1
root@vm1-aai-inst1:~#



root@vm1-aai-inst2:~# docker ps -a
CONTAINER ID        IMAGE                 COMMAND                   CREATED     
        STATUS              PORTS                                               
                                                                                
                                                                NAMES
4bab1b9f5a94        elasticsearch:2.4.1   "/docker-entrypoin..."    2 days ago  
        Up 2 days           0.0.0.0:9200->9200/tcp, 9300/tcp                    
                                                                                
                                                                elasticsearch
3b80dcd7fefc        aaionap/hbase:1.2.0   "/bin/sh -c \"/entr..."   2 days ago  
        Up 2 days           0.0.0.0:2181->2181/tcp, 0.0.0.0:8080->8080/tcp, 
0.0.0.0:8085->8085/tcp, 0.0.0.0:9090->9090/tcp, 0.0.0.0:16000->16000/tcp, 
0.0.0.0:16010->16010/tcp, 9095/tcp, 0.0.0.0:16201->16201/tcp, 16301/tcp   
testconfig_aai.hbase.simpledemo.openecomp.org_1
root@vm1-aai-inst2:~#

Robot health check logs:-

root@vm1-robot:/opt# ./ete.sh health
Starting Xvfb on display :88 with res 1280x1024x24
Executing robot tests at log level TRACE
==============================================================================
OpenECOMP ETE
==============================================================================
OpenECOMP ETE.Robot
==============================================================================
OpenECOMP ETE.Robot.Testsuites
==============================================================================
OpenECOMP ETE.Robot.Testsuites.Health-Check :: Testing ecomp components are...
==============================================================================
Basic DCAE Health Check                                               [ WARN ] 
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) 
after connection broken by 
'NewConnectionError('<urllib3.connection.HTTPConnection object at 
0x7f30c8513790>: Failed to establish a new connection: [Errno 111] Connection 
refused',)': /healthcheck
[ WARN ] Retrying (Retry(total=1, connect=None, read=None, redirect=None, 
status=None)) after connection broken by 
'NewConnectionError('<urllib3.connection.HTTPConnection object at 
0x7f30c8513850>: Failed to establish a new connection: [Errno 111] Connection 
refused',)': /healthcheck
[ WARN ] Retrying (Retry(total=0, connect=None, read=None, redirect=None, 
status=None)) after connection broken by 
'NewConnectionError('<urllib3.connection.HTTPConnection object at 
0x7f30c8513e90>: Failed to establish a new connection: [Errno 111] Connection 
refused',)': /healthcheck
| FAIL |
ConnectionError: HTTPConnectionPool(host='10.10.1.24', port=9998): Max retries 
exceeded with url: /healthcheck (Caused by 
NewConnectionError('<urllib3.connection.HTTPConnection object at 
0x7f30c853abd0>: Failed to establish a new connection: [Errno 111] Connection 
refused',))
------------------------------------------------------------------------------
Basic SDNGC Health Check                                              | PASS |
------------------------------------------------------------------------------
Basic A&AI Health Check                                               | PASS |
------------------------------------------------------------------------------
Basic Policy Health Check                                             | PASS |
------------------------------------------------------------------------------
Basic MSO Health Check                                                | PASS |
------------------------------------------------------------------------------
Basic ASDC Health Check                                               | PASS |
------------------------------------------------------------------------------
Basic APPC Health Check                                               | PASS |
------------------------------------------------------------------------------
Basic Portal Health Check                                             | PASS |
------------------------------------------------------------------------------
Basic Message Router Health Check                                     | PASS |
------------------------------------------------------------------------------
Basic VID Health Check                                                | PASS |
------------------------------------------------------------------------------
Basic Microservice Bus Health Check                                   | PASS |
------------------------------------------------------------------------------
Basic CLAMP Health Check                                              | PASS |
------------------------------------------------------------------------------
catalog API Health Check                                              | PASS |
------------------------------------------------------------------------------
emsdriver API Health Check                                            | PASS |
------------------------------------------------------------------------------
gvnfmdriver API Health Check                                          | PASS |
------------------------------------------------------------------------------
huaweivnfmdriver API Health Check                                     | PASS |
------------------------------------------------------------------------------
jujuvnfmdriver API Health Check                                       | PASS |
------------------------------------------------------------------------------
multicloud API Health Check                                           | PASS |
------------------------------------------------------------------------------
multicloud-ocata API Health Check                                     | PASS |
------------------------------------------------------------------------------
multicloud-titanium_cloud API Health Check                            | PASS |
------------------------------------------------------------------------------
multicloud-vio API Health Check                                       | PASS |
------------------------------------------------------------------------------
nokiavnfmdriver API Health Check                                      | PASS |
------------------------------------------------------------------------------
nslcm API Health Check                                                | PASS |
------------------------------------------------------------------------------
resmgr API Health Check                                               | PASS |
------------------------------------------------------------------------------
usecaseui-gui API Health Check                                        | PASS |
------------------------------------------------------------------------------
vnflcm API Health Check                                               | PASS |
------------------------------------------------------------------------------
vnfmgr API Health Check                                               | PASS |
------------------------------------------------------------------------------
vnfres API Health Check                                               | PASS |
------------------------------------------------------------------------------
workflow API Health Check                                             | PASS |
------------------------------------------------------------------------------
ztesdncdriver API Health Check                                        | PASS |
------------------------------------------------------------------------------
ztevmanagerdriver API Health Check                                    | PASS |
------------------------------------------------------------------------------
OpenECOMP ETE.Robot.Testsuites.Health-Check :: Testing ecomp compo... | FAIL |
31 critical tests, 30 passed, 1 failed
31 tests total, 30 passed, 1 failed



Thanks
Kapil

From: Subhash Kumar Singh [mailto:[email protected]]
Sent: 02 November 2017 12:45
To: Kapil Gupta (c) <[email protected]>; [email protected]; 
[email protected]
Cc: Kanagaraj Manickam <[email protected]>
Subject: RE: vFW demo.sh init error

Hello Kapil,

For us “Demo.sh init” executed successfully.
From logs it seems AAI is down. Could you please try to run robot health check 
and confirm AAI is up.

--
Regards,
Subhash Kumar Singh

***************************************************************************************
本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!**************************************************************************************

***************************************************************************************
This e-mail and its attachments contain confidential information from HUAWEI, 
which is intended only for the person  or entity whoseaddress is listed above. 
Any use of the information contained herein in any way (including, but not   
limited to, total or partial disclosure,reproduction, or dissemination) by 
persons other than the intended recipient(s) is  prohibited. If you receive 
this e-mail in error, pleasenotify the sender by phone or email immediately and 
delete it!
***************************************************************************************

From: 
[email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Kapil Gupta (c)
Sent: Wednesday, November 01, 2017 3:09 PM
To: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
Subject: [onap-discuss] vFW demo.sh init error

Hi

We have deployed ONAP ver 1.1 with onap_openstack.yaml/env files.

We are following following link for vFW demo setup.
https://wiki.onap.org/display/DW/Tutorial%3A+Creating+a+Service+Instance+from+a+Design+Model<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_Tutorial-253A-2BCreating-2Ba-2BService-2BInstance-2Bfrom-2Ba-2BDesign-2BModel&d=DwMGaQ&c=uilaK90D4TOVoH58JNXRgQ&r=KYd7-0nxrY2EiEpL_EoVwF2Zson1LwfrCKuuF-ewWPs&m=X2Qrfk4TSgkIiEMhEG0r6nqJuNvlK_Td4u8adBL3bXs&s=4bVsIEKl0S1K5viNXiCvlakZqCEJJ1GAlEU9dnzbtDg&e=>

“./demo.sh init”  failed with  “Initialize Customer And Models  , '404' does 
not match '^(200|201|412)$'” . Any pointers to resolve the issue are 
appreciated.

From log.html we can see it failed at
demo_preload . Create Customer For VNF Demo ${CUSTOMER_NAME}, ${CUSTOMER_NAME}, 
INFRA, ${GLOBAL_AAI_CLOUD_OWNER}, ${region}, ${TENANT_ID}
Documentation:

{resp} = RequestsLibrary . Put Request aai, ${data_path}, data=${data}, 
headers=${headers}
Documentation:

Send a PUT request on the session object found using the

Start / End / Elapsed:

20171101 13:49:16.362 / 20171101 13:49:16.643 / 00:00:00.281

00:00:00.000 KEYWORD BuiltIn . Log Received response from aai ${resp.text}
Documentation:

Logs the given message with the given level.

Start / End / Elapsed:

20171101 13:49:16.644 / 20171101 13:49:16.644 / 00:00:00.000


13:49:16.644

TRACE

Arguments: [ 'Received response from aai 
{"requestError":{"serviceException":{"messageId":"SVC3003","text":"Failed to 
make edge to missing target node of type %3 with keys %4 performing %1 on %2 
(msg=%5) 
(ec=%6)","variables":["PUT","business/customers/customer/Demonstration","tenant","/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/74c7fa9e54f246f5878c902c346e590d","Error
 making edge to target node:Node of type tenant. Could not find object at: 
/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/74c7fa9e54f246f5878c902c346e590d","ERR.5.4.6129"]}}}'
 ]


13:49:16.644

INFO

Received response from aai 
{"requestError":{"serviceException":{"messageId":"SVC3003","text":"Failed to 
make edge to missing target node of type %3 with keys %4 performing %1 on %2 
(msg=%5) 
(ec=%6)","variables":["PUT","business/customers/customer/Demonstration","tenant","/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/74c7fa9e54f246f5878c902c346e590d","Error
 making edge to target node:Node of type tenant. Could not find object at: 
/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/74c7fa9e54f246f5878c902c346e590d","ERR.5.4.6129"]}}}


13:49:16.644

TRACE

Return: None

13:49:16.356

TRACE

Arguments: [ ${data_path}='/aai/v8/business/customers/customer/Demonstration' | 
${data}={'global-customer-id': 'Demonstration', 'service-subscriptions': 
{'service-subscription': [{'relationship-list': {'relationship': 
[{'related-to': 'tenant', 'relationship-data': [{'relationship-key': 
'cloud-region.cloud-owner', 'relationship-value': 'CloudOwner'}, 
{'relationship-key': 'cloud-region.cloud-region-id', 'relationship-value': 
'RegionOne'}, {'relationship-key': 'tenant.tenant-id', 'relationship-value': 
'74c7fa9e54f246f5878c902c346e590d'}]}]}, 'service-type': 'vFW'}, 
{'relationship-list': {'relationship': [{'related-to': 'tenant', 
'relationship-data': [{'relationship-key': 'cloud-region.cloud-owner', 
'relationship-value': 'CloudOwner'}, {'relationship-key': 
'cloud-region.cloud-region-id', 'relationship-value': 'RegionOne'}, 
{'relationship-key': 'tenant.tenant-id', 'relationship-value': 
'74c7fa9e54f246f5878c902c346e590d'}]}]}, 'service-type': 'vLB'}, 
{'relationship-list': {'relationship': [{'related-to': 'tenant', 
'relationship-data': [{'relationship-key': 'cloud-region.cloud-owner', 
'relationship-value': 'CloudOwner'}, {'relationship-key': 
'cloud-region.cloud-region-id', 'relationship-value': 'RegionOne'}, 
{'relationship-key': 'tenant.tenant-id', 'relationship-value': 
'74c7fa9e54f246f5878c902c346e590d'}]}]}, 'service-type': 'vCPE'}, 
{'relationship-list': {'relationship': [{'related-to': 'tenant', 
'relationship-data': [{'relationship-key': 'cloud-region.cloud-owner', 
'relationship-value': 'CloudOwner'}, {'relationship-key': 
'cloud-region.cloud-region-id', 'relationship-value': 'RegionOne'}, 
{'relationship-key': 'tenant.tenant-id', 'relationship-value': 
'74c7fa9e54f246f5878c902c346e590d'}]}]}, 'service-type': 'vIMS'}]}, 
'subscriber-name': 'Demonstration', 'subscriber-type': 'INFRA'} ]



13:49:16.644

TRACE

Return: <Response [404]>


13:49:16.645

INFO

${put_resp} = <Response [404]>



Thanks
Kapil
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to