Hi Selain,

I tried the mentioned workaround, but it failed.

Since we were doing deployment of ONAP using OOM,

We changed the following: ~/oom/kubernetes/onap/charts/portal-10.0.0.tgz
We untared the zip file portal-10.0.0.tgz and changed to location:
portal/charts/portal-mariadb/resources/config/mariadb
We then edited the file "docker-entrypoint.sh" as you suggested. We then tared 
the file again and placed it in the folder "~/oom/kubernetes/onap/charts/".

We also made the suggested changes to file at the mentioned location  
"/kubernetes/portal/components/portal-mariadb/resources/config/mariadb/docker-entrypoint.sh
 ".

We then executed the command:
helm deploy development local/onap --namespace onap -f override-portal.yaml 
--set global.masterPassword=onap

Please find the enabled component as follows:

[root@ONAP kubernetes]# cat override-portal.yaml | grep -B1 "true"
  # flag to enable debugging - application support required
  debugEnabled: true
--
    enabled: false
    tls: true
--
  metrics:
    enabled: true
--
  # Keep it enabled in production
  aafEnabled: true
--
  # POC Mode, only for use in development environment
  msbEnabled: true
--
  # Enabling CMPv2
  cmpv2Enabled: true
--
  # Indicates offline deployment build
  # Set to true if you are rendering helm charts for offline deployment
--
aaf:
  enabled: true
--
cassandra:
  enabled: true
--
mariadb-galera:
  enabled: true
--
portal:
  enabled: true
--
uui:
  enabled: true
--
strimzi:
  enabled: true
--
cert-wrapper:
  enabled: true
repository-wrapper:
  enabled: true
roles-wrapper:
  enabled: true
[root@ONAP kubernetes]#

Could you please suggest some other workaround or something which we are 
missing.

Kindly help us out.

Thanks and Regards,
Kushagra Gupta

________________________________
From: [email protected] <[email protected]>
Sent: Monday, September 5, 2022 10:31 AM
To: Kushagra Gupta <[email protected]>; [email protected] 
<[email protected]>
Subject: Re: [onap-discuss] development-portal-db-667b754f9-wttmd

You don't often get email from [email protected]. Learn why this is 
important<https://aka.ms/LearnAboutSenderIdentification>

** External Email- Treat hyperlink and attachment with caution. **

Hi, you can try this fix:

Change in file 
kubernetes/portal/components/portal-mariadb/resources/config/mariadb/docker-entrypoint.sh
lines 113 and 347 from
if [ "$DATABASE_ALREADY_EXISTS" = "false" ]; then
to
if [ "$DATABASE_ALREADY_EXISTS" = "false" ]; then

Then start the installation again

https://gerrit.onap.org/r/c/oom/+/130711
DISCLAIMER: This electronic message and all of its contents, contains 
information which is privileged, confidential or otherwise protected from 
disclosure. The information contained in this electronic mail transmission is 
intended for use only by the individual or entity to which it is addressed. If 
you are not the intended recipient or may have received this electronic mail 
transmission in error, please notify the sender immediately and delete / 
destroy all copies of this electronic mail transmission without disclosing, 
copying, distributing, forwarding, printing or retaining any part of it. Hughes 
Systique accepts no responsibility for loss or damage arising from the use of 
the information transmitted by this email including damage from virus.


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#24179): https://lists.onap.org/g/onap-discuss/message/24179
Mute This Topic: https://lists.onap.org/mt/93416339/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to