Samir, Hi, thanks for using the script, the cd.sh script assumes that your rancher cluster is fully setup or that you are using cd.sh to clone the oom repo - this includes installing Mike’s helm plugin deploy.sh script. This is done automatically in the cd.sh script if you use the -c true option (cd.sh clones the oom repo) – yes this is my script and I last added the helm plugin option after the clone so that we always get the latest version of plugin.sh from the oom repo – I may
https://git.onap.org/logging-analytics/tree/deploy/cd.sh#n103 sudo cp -R ~/oom/kubernetes/helm/plugins/ ~/.helm or follow the page https://wiki.onap.org/display/DW/OOM+Helm+%28un%29Deploy+plugins https://onap.readthedocs.io/en/latest/submodules/oom.git/docs/oom_quickstart_guide.html In a pending review for cd.sh to include intelligent sequencing of the pods – I have moved the helm plugin copy outside the loop – as it will cause issues for anyone with an existing oom repo - remember the cd.sh script is primariliy intended for CI/CD – where I throw out the oom repo on each run – I am making it dev friendly. Line 143 of https://gerrit.onap.org/r/#/c/75422/ for https://jira.onap.org/browse/LOG-898 I may just put a secondary wget and chmod 777 on the 2 files in https://git.onap.org/oom/tree/kubernetes/helm/plugins/deploy for the first run where there is no oom repo yet. do either of those or just run the helm deploy cp and you will be OK Remember that these deployment scripts are an attempt to fill in the devops hole to allow the logging project and any other project to get onap up – the goal is one-click through the templates but it is still a WIP because the helm/kubernetes tools are in constant motion and reflected in the scripts below https://git.onap.org/logging-analytics/tree/deploy/cd.sh https://git.onap.org/logging-analytics/tree/deploy/docker_prepull.sh https://git.onap.org/logging-analytics/tree/deploy/rancher/oom_rancher_setup.sh https://git.onap.org/logging-analytics/tree/deploy/aws/oom_cluster_host_install.sh https://git.onap.org/logging-analytics/tree/deploy/azure/oom_deployment.sh https://git.onap.org/logging-analytics/tree/deploy/heat/logging_openstack_13_16g.yaml thank you /michael From: [email protected] <[email protected]> On Behalf Of [email protected] Sent: Wednesday, January 9, 2019 1:31 AM To: [email protected] Subject: [onap-discuss] OOM issues after the Casablanca Release #oom Dear Good Folks, Looking for some help on below .. this has happened only after Casablanca :( am using the script cd.sh to deploy https://gerrit.onap.org/r/gitweb?p=logging-analytics.git;a=blob;f=deploy/cd.sh;h=616ba81af4fa7977f9d2a737d6faa8d9c5cc0f39;hb=HEAD Life is wonderful until i hit the line -175<https://gerrit.onap.org/r/gitweb?p=logging-analytics.git;a=blob;f=deploy/cd.sh;h=616ba81af4fa7977f9d2a737d6faa8d9c5cc0f39;hb=HEAD#l175> echo "report on non-running containers" and then this Happens -- 1 chart(s) linted, no failures Successfully packaged chart and saved it to: /home/ubuntu/logging-analytics/deploy/oom/kubernetes/dist/packages/onap-3.0.0.tgz make[1]: Leaving directory '/home/ubuntu/logging-analytics/deploy/oom/kubernetes' deploying empty onap deployment as base 1 of 3 Error: unknown command "deploy" for "helm" Run 'helm --help' for usage. deploying base onap pods as base 2 of 3 Error: unknown command "deploy" for "helm" Run 'helm --help' for usage. sleep 600 sec to allow base platform pods to complete - without a grep on 0/1|0/2| non-Complete jobs deploying rest of onap pods as base 3 of 3 Error: unknown command "deploy" for "helm" Run 'helm --help' for usage. wait for all pods up for 15-80 min report on non-running containers No resources found. No resources found. No resources found. No resources found. No resources found. No resources found. No resources found. No resources found. No resources found. No resources found. No resources found. No resources found. No resources found. No resources found. No resources found. No resources found. No resources found. No resources found. No resources found. No resources found. No resources found. No resources found. pending containers=0 check filebeat 2/2 count for ELK stack logging consumption sleep 5 min - to allow rest frameworks to finish Any Ideas/ thoughts .. the only thing is also common is below Error: unknown command "deploy" for "helm" Run 'helm --help' for usage. However this was also fixed in the script by Author --@Michael O'Brien 101<https://gerrit.onap.org/r/gitweb?p=logging-analytics.git;a=blob;f=deploy/cd.sh;h=616ba81af4fa7977f9d2a737d6faa8d9c5cc0f39;hb=HEAD#l101> git clone -b $BRANCH http://gerrit.onap.org/r/oom 102<https://gerrit.onap.org/r/gitweb?p=logging-analytics.git;a=blob;f=deploy/cd.sh;h=616ba81af4fa7977f9d2a737d6faa8d9c5cc0f39;hb=HEAD#l102> # https://wiki.onap.org/display/DW/OOM+Helm+%28un%29Deploy+plugins 103<https://gerrit.onap.org/r/gitweb?p=logging-analytics.git;a=blob;f=deploy/cd.sh;h=616ba81af4fa7977f9d2a737d6faa8d9c5cc0f39;hb=HEAD#l103> sudo cp -R ~/oom/kubernetes/helm/plugins/ ~/.helm This email and the information contained herein is proprietary and confidential and subject to the Amdocs Email Terms of Service, which you may review at https://www.amdocs.com/about/email-terms-of-service <https://www.amdocs.com/about/email-terms-of-service> -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14904): https://lists.onap.org/g/onap-discuss/message/14904 Mute This Topic: https://lists.onap.org/mt/28986503/21656 Mute #oom: https://lists.onap.org/mk?hashtag=oom&subid=2740164 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
