Guys,
   I think your deployment timing may be suspect – if you sequence the deploys 
on a slow system or allow enough time for the config jobs to complete without 
“contention” so will startup ok.
   I am almost finished a version of cd.sh that allows for each component to 
complete deployment before the next – preliminary testing shows a stable 
Casablanca deploy – but it will take 8 hours on openlab and 2-4 on aws/azure.
https://jira.onap.org/browse/LOG-326

20190106: 3.0.0-ONAP (mine)
onap          onap-so-so-75bb4b68bb-qnwsh                                    
1/1       Running            0          5h
onap          onap-so-so-bpmn-infra-56f99599b6-5c8pt                         
1/1       Running            0          5h
onap          onap-so-so-catalog-db-adapter-7994778fd9-nlrc4                 
1/1       Running            0          5h
onap          onap-so-so-mariadb-795cf844d8-nqtfx                            
1/1       Running            0          5h
onap          onap-so-so-monitoring-b75b95f76-b8thq                          
1/1       Running            0          5h
onap          onap-so-so-openstack-adapter-78dc84b88f-jjl2m                  
1/1       Running            1          5h
onap          onap-so-so-request-db-adapter-64ff55cb79-95jhm                 
1/1       Running            0          5h
onap          onap-so-so-sdc-controller-d89d44595-hqkf7                      
1/1       Running            0          5h
onap          onap-so-so-sdnc-adapter-8db65dfb8-sbrn6                        
1/1       Running            0          5h
onap          onap-so-so-vfc-adapter-6c4d54b6fd-qhh6f                        
1/1       Running            0          5h

thank you
/michael

yours
dev-so-so-55989bb965-p9sbp                                    0/1       
CrashLoopBackOff   57         5h
dev-so-so-bpmn-infra-ffb4cc955-wtbhj                          0/1       
CrashLoopBackOff   56         5h
dev-so-so-catalog-db-adapter-7c795454b4-s244t                 0/1       
CrashLoopBackOff   54         5h
dev-so-so-mariadb-5f854cbbbb-sdkwd                            1/1       Running 
           1          23h
dev-so-so-monitoring-6c76f45c4f-x7mkz                         1/1       Running 
           0          23h
dev-so-so-openstack-adapter-5575bc5f4d-8p5lm                  0/1       
CrashLoopBackOff   59         5h
dev-so-so-request-db-adapter-8544595dc6-5cpx6                 0/1       
CrashLoopBackOff   56         5h
dev-so-so-sdc-controller-7954c6c74b-5flvr                     0/1       
CrashLoopBackOff   57         5h
dev-so-so-sdnc-adapter-747bfc998f-rnbn2                       1/1       Running 
           0          23h



From: [email protected] <[email protected]> On Behalf Of 
[email protected]
Sent: Friday, January 4, 2019 10:55 AM
To: gulsum atici <[email protected]>; [email protected]
Subject: Re: [onap-discuss] casablanca SO pods are crashing (Application 
exiting with status code 1) #so #casablanca

Hello,

We had the same issue and figured out this is because mariadb is not 
initialized properly. Mariadb is not installed as secure mode so it denied 
accessing with the password. The problem is mariadb script access to mysql 
using password so database could not be initialized properly.
If you cannot access to mysql with below command and see the same error 
message, it will be the same issue.
       [root@mariadb]mysql -u root -ppassword
       ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using 
password: YES)


Try to run below command and set the password for 'root' user. (Password: 
'password')

[root@mariadb] mysql_secure_installation


nter password for user root:



The existing password for the user account root has expired. Please set a new 
password.



New password: password



Re-enter new password: password

Estimated strength of the password: 100

Do you wish to continue with the password provided?(Press y|Y for Yes, any 
other key for No) : Y

By default, a MySQL installation has an anonymous user,

allowing anyone to log into MySQL without having to have

a user account created for them. This is intended only for

testing, and to make the installation go a bit smoother.

You should remove them before moving into a production

environment.



Remove anonymous users? (Press y|Y for Yes, any other key for No) : Y

Success.





Normally, root should only be allowed to connect from

'localhost'. This ensures that someone cannot guess at

the root password from the network.



Disallow root login remotely? (Press y|Y for Yes, any other key for No) : N

Success.



By default, MySQL comes with a database named 'test' that

anyone can access. This is also intended only for testing,

and should be removed before moving into a production

environment.





Remove test database and access to it? (Press y|Y for Yes, any other key for 
No) : Y

 - Dropping test database...

Success.



 - Removing privileges on test database...

Success.



Reloading the privilege tables will ensure that all changes

made so far will take effect immediately.



Reload privilege tables now? (Press y|Y for Yes, any other key for No) : Y

Success.



All done!
If you can login with the password with below command, you can initialize the 
DB by running the scripts.

Test mysql secure login setting.
    [root@mariadb] mysql -u root -ppassword

Run Scripts
    [root@mariadb] cd docker-entrypoint-initdb.d
    [root@mariadb:/docker-entrypoint-initdb.d] ./01-create-camundabpmn.sh
    [root@mariadb:/docker-entrypoint-initdb.d] ./02-create-requestdb.sh
    [root@mariadb:/docker-entrypoint-initdb.d] ./03-create-catalogdb.sh
    [root@mariadb:/docker-entrypoint-initdb.d] ./04-create-so-user.sh
    [root@mariadb:/docker-entrypoint-initdb.d] ./05-create-so-admin.sh






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 (#14825): https://lists.onap.org/g/onap-discuss/message/14825
Mute This Topic: https://lists.onap.org/mt/28873133/21656
Mute #so: https://lists.onap.org/mk?hashtag=so&subid=2740164
Mute #casablanca: https://lists.onap.org/mk?hashtag=casablanca&subid=2740164
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to