Won,
Please expose the NodePort for blueprint processor http service.

Kubectl -n onap get service|grep cds                      / which shall return 
all the cds service.
Kubectl -n onap edit service $blueprint-processor-http-service                  
   /edit the service to expose the nodePort.

Use both the workerNodeIP and Blueprint processor http port for the service 
PORT to execute the cds bootstrap command.


Can you share the Policy images your using for Frankfurt.



[cid:[email protected]]

Yuriy Malakov
ONAP/ECOMP SA/SE
732-420-3030, Q-Chat<qto://talk/ym9479>
[email protected]<mailto:[email protected]>

From: [email protected] <[email protected]> On Behalf Of Won
Sent: Tuesday, June 02, 2020 1:40 AM
To: [email protected]
Subject: [onap-discuss] [Frankfurt] vLB CDS bootstrap and Plicy naming modeling 
error

Hi all,
I tried to frankfurt vLB usecase demo. (E2E Automation vLB w/ CDS Use Case 
Frankfurt)https://wiki.onap.org/pages/viewpage.action?pageId=71838898<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_pages_viewpage.action-3FpageId-3D71838898&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=4IIOMdJjMRUSnNTEG5jeUQ&m=aAyb26_zDIhILLIE177NENP4GQY5u7N3U7RP8yhirwM&s=JguoAOSWsjLsQe-iYvJSgLmzJP0Q_LXC_sFBWoQdx3Y&e=>
I have successfully deployed the onap frankfurt version via the given 
override.yaml file.
And I confirmed that all onap components are working properly through ROBOT 
Health Check.

In CDS Modeling & Distribution and Policy Naming Modeling stage, I faced a 
problem.
bootstrapcurl --location --request POST 
'http://10.12.5.250:30087/api/v1/blueprint-model/bootstrap<https://urldefense.proofpoint.com/v2/url?u=http-3A__10.12.5.250-3A30087_api_v1_blueprint-2Dmodel_bootstrap&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=4IIOMdJjMRUSnNTEG5jeUQ&m=aAyb26_zDIhILLIE177NENP4GQY5u7N3U7RP8yhirwM&s=Ij54nvoLYN6U1bJpE9GwHHkcbvE81Z3YIZkZ4WBKUYk&e=>'
 \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==' \
--header 'Content-Type: text/plain' \
--data-raw '{
"loadModelType" : true,
"loadResourceDictionary" : true,
"loadCBA" : true
}'

I don't know what to write for IP and port in the above bootstrap command. 
because No ONAP component has node port 30087.

Second, SDNC naming policy.
kubectl -n onap exec -it dev-policy-xacml-pdp-659bd78bb7-lvz2k bash

 bash-5.0$ curl -k --silent -X POST --header 'Content-Type: application/json' 
--user 'healthcheck:zb!XztG34' -d '{ "ONAPName": "SDNC", 
"ONAPComponent":"SNDC-component", "ONAPInstance": "SDNC-component-instance", 
"requestId": "unique-request-sdnc-1", "action": "naming", "resource": { 
"policy-id": "SDNC_Policy.ONAP_NF_NAMING_TIMESTAMP"}}' 
'https://policy-xacml-pdp:6969/policy/pdpx/v1/decision<https://urldefense.proofpoint.com/v2/url?u=https-3A__policy-2Dxacml-2Dpdp-3A6969_policy_pdpx_v1_decision&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=4IIOMdJjMRUSnNTEG5jeUQ&m=aAyb26_zDIhILLIE177NENP4GQY5u7N3U7RP8yhirwM&s=gVzm1MDlV1bnoXiZIxhb_XWYh2rgrKyWSpRKFBB6z4g&e=>'
{"status":"error","policies":{}}bash-5.0$  bash-5.0$
in override.yaml there is
policy:  enabled: true  config:    preloadPolicies: true
but naming policy seemes to have some problems.

Please help me to understand and resolve this problem. Thank you so much in 
advance.

Regards,
Won.



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#21223): https://lists.onap.org/g/onap-discuss/message/21223
Mute This Topic: https://lists.onap.org/mt/74622353/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to