Hi [email protected],

Thank you for your reply over the email:

> 
> Hi,
> try this fix:
> 
> 
> File
> should be updated with the following:
> 
> 
> 
> line 113 change from 'if [ -z "$DATABASE_ALREADY_EXISTS" ]; then'
> 
> 
> 
> to
> 
> 
> 
> if [ "$DATABASE_ALREADY_EXISTS" = "false" ]; then
> 
> 
> 
> 
> 
> 
> 
> and line 347  ' if [ -z "$DATABASE_ALREADY_EXISTS" ]; then '
> 
> 
> 
> to
> 
> 
> 
> if [ "$DATABASE_ALREADY_EXISTS" = "false" ]; then
> 
> 
> 
> 
> 
> 
> 
> Second must thing is to enable cassandra in override file, but in OOM repo
> it is already enabled in all files. If you use different repo to install
> like oran-deployment they have cassandra disabled by default which causes
> a lot of troubles in starting of pods for components.
> 
> 
> 
> 
> 
> https://jira.onap.org/browse/OOM-3032

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


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#24180): https://lists.onap.org/g/onap-discuss/message/24180
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