Thanks David for raising this topic, we also in offline deployments hit similar issues.
For us redeploying using „undeploy / deploy“ end up with new environment in FAILED state, most likely because of some dependencies. So I guess it’s about finding individual not cleaned k8s artifacts after “undeploy“ before attempting new „deploy“. Undeploy/deploy works for us if we do it with full environment …. Also the procedure with upgrading current setup with --set sdc.enabled=false (and later with --set sdc.enabled=true) seems to work weel for us … as described in onap wiki https://wiki.onap.org/display/DW/OOM+Helm+%28un%29Deploy+plugins regards, Michal PS: some notes from undeploy I am doing helm undeploy dev --purge kubectl delete namespace onap kubectl delete persistentvolumes --all kubectl delete secrets --all kubectl delete clusterrolebindings --all # clean /dockerdata-nfs before starting new deploy From: [email protected] [mailto:[email protected]] On Behalf Of David Darbinyan Sent: Friday, February 1, 2019 8:57 AM To: [email protected] Subject: [onap-discuss] re-deployment procedure Hi gurus! pls explain me where am i wrong.... according to current documentation, I deployed casablanca release with the following command: (being in /root/oom/kubernetes ) # helm deploy development local/onap --namespace onap some of components, i.e. "portal" , gave STATUS Error, or Init:Error or CrashLoopBackOff. as example.... # kubectl get pods --namespace onap ... development-aaf-aaf-sshsm-testca-fqxd6 0/1 Error 0 13h development-aaf-aaf-sshsm-testca-g9d4w 0/1 Error 0 10h development-aaf-aaf-sshsm-testca-gx4gg 0/1 Init:Error 0 19h development-aaf-aaf-sshsm-testca-ww6rs 0/1 Init:Error 0 18h ... development-dmaap-dmaap-dr-prov-6d65874bdb-hkj5f 0/1 CrashLoopBackOff 109 18h ... (portal is already removed so i cant past it here. sorry) so we decided to reinstall them. steps: # helm undeploy development-portal --purge # helm deploy development-portal local/portal --namespace onap -f portal/values.yaml fetching local/portal release "development-portal" deployed BUT after it i cannot see "portal" in the any pod's list. or any deployment's list. # kubectl get pods --namespace onap | grep portal development-sdnc-sdnc-portal-5f74b7fdc7-z4xc9 1/1 Running 0 19h # kubectl get services | grep portal EMPTY Did i re-deployed "portal" correctly ? How can I remove or install(deploy) individual component (portal for example) ? Thanks -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15298): https://lists.onap.org/g/onap-discuss/message/15298 Mute This Topic: https://lists.onap.org/mt/29615809/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
