Oh ok.

What I did was like:

helm undeploy  dev-appc --purge

That will only purge all APPC pods.

Then del pvc, rm NFS contents for only APPC.

Then (do a helm search appc, make sure your local helm repo has local/appc)

helm deploy dev-appc local/appc --namespace onap --verbose

that would undeploy/deploy for only APPC pods.

From: [email protected] <[email protected]>
Sent: Tuesday, June 25, 2019 9:20 AM
To: CHO, TAKAMUNE <[email protected]>; [email protected]; 
[email protected]
Subject: RE: [onap-discuss] Regarding failed test case of APPC

Thanks Taka, actually we are really using it with „deploy“ but setting 
component to xxx.enabled=false
I am afraid that this undeploy will uninstall it fully, this 2x deploy off/on 
is very quick instead

M.

From: CHO, TAKAMUNE <[email protected]<mailto:[email protected]>>
Sent: Tuesday, June 25, 2019 3:12 PM
To: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
Subject: RE: [onap-discuss] Regarding failed test case of APPC

Michal,

A typo in your reply 😊

Taka

From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> On Behalf Of 
Michal Ptacek via Lists.Onap.Org
Sent: Tuesday, June 25, 2019 1:53 AM
To: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
Subject: Re: [onap-discuss] Regarding failed test case of APPC

Hi,

this or similar problem is appearing also in our lab (even in Dublin), usually 
it helps to redeploy failing component. E.g. appc in this case

# undeploy APPC
helm undeploy onap local/onap --namespace onap -f /mnt/opt/onap/override.yaml 
--timeout 1800 --set appc.enabled=false

# clean rubbish
kubectl delete pvc -n onap 
onap-appc-appc-ansible-server-data-onap-appc-appc-ansible-server-0 
onap-appc-appc-data-onap-appc-appc-0 onap-appc-appc-db-data-onap-appc-appc-db-0 
onap-appc-appc-db-data-onap-appc-appc-db-1 
onap-appc-appc-db-data-onap-appc-appc-db-2

# cross-check that we dont have any persistent k8s artifacts
for i in persistentvolumes  pvc pods secrets clusterrolebindings; do kubectl 
get $i -n onap | grep appc;done

# clean nfs-share on k8s node
rm -rf /dockerdata-nfs/onap-appc

# deploy APPC once again
helm deploy onap local/onap --namespace onap -f /mnt/opt/onap/override.yaml 
--timeout 1800 --set appc.enabled=true


as per my understanding it’s ONAP stability issue and there are some race 
conditions and unhandled dependencies between components during startup,
installation result varies depends on performance and size of k8s cluster,
it’s possible to use MichalOBrian’s cd.sh script for step-by-step deployment 
but we are not using that as of now,

best regards,
Michal


From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> On Behalf Of 
SIG ONAP
Sent: Tuesday, June 25, 2019 11:27 AM
To: [email protected]<mailto:[email protected]>
Subject: [onap-discuss] Regarding failed test case of APPC

Hi,

I installed ONAP with Kubernetes and Rancher ( version Casablanca 3.0.2 ). All 
the test cases passed except APPC and PORTAL. APPC has an error 401!=200. 
Therefore, I tried the certificate  fix told here 
https://wiki.onap.org/display/DW/Modify+APPC+Helm+Chart+to+override+the+pk12+certificate<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_Modify-2BAPPC-2BHelm-2BChart-2Bto-2Boverride-2Bthe-2Bpk12-2Bcertificate&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=i5VHNTZ3SDPgIii87sudZA&m=txiGbxq8wGBcTQzlHc2d4kT3W6HogPBi5t4F9NjPVyU&s=vDKYf_G3uCxAtZbp_kMoNrCrooF9v7erY5DDqgaWzgY&e=>
 but it didn't work.
Kindly let me know how to proceed.

Thanks & Regards.

[http://ext.w1.samsung.net/mail/ext/v1/external/status/update?userid=m.ptacek&do=bWFpbElEPTIwMTkwNjI1MDU1MjI4ZXVjYXMxcDFjZGM1YWY4MzIzMzA0NWQyODNhMmYyMGYzMzk2OGJmZSZyZWNpcGllbnRBZGRyZXNzPW9uYXAtZGlzY3Vzc0BsaXN0cy5vbmFwLm9yZw__]






 [cid:[email protected]]

[http://ext.w1.samsung.net/mail/ext/v1/external/status/update?userid=m.ptacek&do=bWFpbElEPTIwMTkwNjI1MTMxOTU3ZXVjYXMxcDFhZWVkYTkyYzA3NmUzYTlkOWEwNWJmMzQ5NmQ1NTU5NiZyZWNpcGllbnRBZGRyZXNzPXRjMDEyY0BhdHQuY29t]

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

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

Reply via email to