I was afraid of that – a full install uses jsut the first (in your case “onap”) 
so it works they way we usually use it but not for the “dash named” projects.

Can I suggest taht you do a one time edit to the deploy.sh and set 
RELEASE=mariadb-galera ; do your install and then revert the change
(or fix the cut line)

https://jira.onap.org/browse/OOM-2285 created to track this.

Brian


From: Abdelmuhaimen Seaudi <[email protected]>
Sent: Thursday, January 30, 2020 2:50 PM
To: [email protected]; FREEMAN, BRIAN D <[email protected]>
Cc: [email protected]
Subject: Re: [onap-discuss] Helm deploy command issue

Hi ,

I found this in the deploy.sh script:

  # determine if upgrading individual subchart or entire parent + subcharts
  SUBCHART_RELEASE="$(cut -d'-' -f2 <<<"$RELEASE")"
  # update specified subchart without parent
  RELEASE="$(cut -d'-' -f1 <<<"$RELEASE")"

So

root@rancher-2:~# RELEASE=onap-mariadb-galera
root@rancher-2:~# cut -d'-' -f1 <<<"$RELEASE"
onap
root@rancher-2:~# cut -d'-' -f2 <<<"$RELEASE"
mariadb
root@rancher-2:~#

This means the deploy script cannot deploy a chart that has a dash in the 
middle like mariadb-galera


Abdelmuhaimen Seaudi, CCIE # 25265
Email: [email protected]<mailto:[email protected]>
Skype: aseaudi
LinkedIn: 
www.linkedin.com/in/aseaudi<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.linkedin.com_in_aseaudi&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=0eimH0_el1JvSL-SNswLDgF5bYLUdbY7dZrIUyALRUc&s=6WxJpTjmn2NO2mWOjFLx45M4M0nGGBE1jhPgxj3vr-U&e=>
Telephone: +2012 84644 733



On Thu, Jan 30, 2020 at 3:57 PM Brian Freeman 
<[email protected]<mailto:[email protected]>> wrote:

I suspect the helm plugin under .helm/plugins/deploy  is having problems 
parsing – we dont usually deploy mariadb by itself since its shared 
infrastructure (so many thinngs need to be redeployed in mariadb or cassaandra 
isnt up)

You can try removing the cache directory under helm/plugins/deploy

Make sure your override file has mariadb enabled (compare it with the full onap 
settings)

Also – make all; make onap of your helm charts to make sure you have them

Helm can be tricky with these silent failures – for me its usually that I have 
a typo and helm doesnt think the chart is part of the same deployment.

Brian


From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> On Behalf Of 
Abdelmuhaimen Seaudi via 
Lists.Onap.Org<https://urldefense.proofpoint.com/v2/url?u=http-3A__Lists.Onap.Org&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=0eimH0_el1JvSL-SNswLDgF5bYLUdbY7dZrIUyALRUc&s=ubSEKgQSrCtJhlfxi2lla_33v4qy_4a6mvD-5AkbeD4&e=>
Sent: Thursday, January 30, 2020 3:53 AM
To: [email protected]<mailto:[email protected]>
Subject: [onap-discuss] Helm deploy command issue

Hi

When I say:
helm deploy onap-cassandra local/onap -f dev.yaml --namespace onap
It works

Same as with the rest of onap components

Except when I say:
helm deploy onap-mariadb-galera local/onap -f dev.yaml --namespace onap
It won't work, even when I add --verbose, tere are no logs, and helm return to 
the linux prompt.

Any idea why ?

A. Seaudi

_________________________________________________________________________________________________________________________



Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.



This message and its attachments may contain confidential or privileged 
information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete 
this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.

Thank you.


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

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

Reply via email to