Hi Andreas

OK thanks
Could you submit a patch for that?

These scripts are not part of the official documentation to deploy ONAP
There are for Integration team within Windriver context but it is better to 
maintain them anyway..
We do not use them on Orange side.
Maybe it would make sense to precise in a README or in a comment that the 
official doc is in OOM

What is your view?

Morgan


De : Andreas Geissler [[email protected]]
Envoyé : lundi 22 juin 2020 17:33
À : RICHOMME Morgan TGI/OLN; [email protected]
Objet : Re: [onap-discuss] [Frankfurt] -During Helm deploy [mariadb-galera] 
[cassandra] [aaf] components deploying twice,due to this [SO,SDNC,NBI] 
mariadb-galera DB-configs are failing




Hi Morgan,

finally I found the problem with the MariaDB-Galera upgrade (also Cassandra, 
AAF,...) steps, which caused the initially mentioned problems (which do not 
appear in our Daily deployments).

In the NFS server startup script 
(https://git.onap.org/integration/tree/deployment/heat/onap-rke/nfs_vm_entrypoint.sh)
 the deploy.sh of the helm plugin is patched.

This causes somehow to install AAF, MariaDB-Galera, Cassandra and DMaaP before 
installation of each helm module in alphabetic order, where the mentioned 
components are upgraded (which fails for MariaDB-Galera).

After commenting out the workaround checkout and the patches on the deploy.sh 
in the nfs_vm_entrypoint.sh, the problems disappeared:

# Clone OOM repo
cd ~
git clone --recurse-submodules -b __oom_gerrit_branch__ 
https://gerrit.onap.org/r/oom
cd oom
if [ ! -z "__oom_gerrit_refspec__" ]; then
    git fetch https://gerrit.onap.org/r/oom __oom_gerrit_refspec__
    git checkout FETCH_HEAD
fi
#git checkout -b workarounds
#git log -1
...

# install helm deploy plugin
rsync -avt ~/oom/kubernetes/helm/plugins ~/.helm/
# temporary workaround to throttle the helm deploy to alleviate startup disk 
contention issues
#if [ ! -z "__helm_deploy_delay__" ]; then
#    sed -i "/\^enabled:/a\      echo sleep __helm_deploy_delay__\n      sleep 
__helm_deploy_delay__" ~/.helm/plugins/deploy/deploy.sh
#    sed -i 's/for subchart in \*/for subchart in aaf cassandra mariadb-galera 
dmaap */' ~/.helm/plugins/deploy/deploy.sh
#fi



_________________________________________________________________________________________________________________________

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 (#21465): https://lists.onap.org/g/onap-discuss/message/21465
Mute This Topic: https://lists.onap.org/mt/74984907/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to