[ 
https://issues.apache.org/jira/browse/FINERACT-1294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17266738#comment-17266738
 ] 

Michael Vorburger commented on FINERACT-1294:
---------------------------------------------

So what you're doing in https://github.com/apache/fineract/pull/1578/files is 
just "inversing" the order, and doing the `fineractmysql-initdb` PVC **before** 
the `fineractmysql-persistent-storage`.. that does seem logical, and if you say 
that helps for the problem above, then sure let's do that. It probably won't 
"hurt" or "break" anything, right [~xurror]?

But I have not actually verified that there is the problem you report in 
FINERACT-1294, and I think it worked for other people, so perhaps this only 
appears with certain versions, or is timing dependant, or something.

I'll merge it and Resolve this. [~xurror] please re-open this and comment if 
you disagree with this (up to reverting the merged PR #1578 if you find it to 
be fundamtenally wrong).

> Error in volume mounting in mysql 5.7 container
> -----------------------------------------------
>
>                 Key: FINERACT-1294
>                 URL: https://issues.apache.org/jira/browse/FINERACT-1294
>             Project: Apache Fineract
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>         Environment: Kubectl Client Version -  1.20.1
> Kubectl Server Version - 1.19.2
> OS - Ubuntu 20.04
>            Reporter: Benura Abeywardena
>            Assignee: Benura Abeywardena
>            Priority: Blocker
>             Fix For: 1.5.0
>
>
> In mysql container there'll be an error coming out when mounting the path 
> /var/lib/mysql/ using PVC. Fineract container will be switched to a 
> CrashLoopBackOff due to access denied issue. Even when trying to run 
> mysqladmin command inside mysql5.7 docker image, it's giving the same issue 
> "Access Denied to root@localhost (Using Password: YES)"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to