[
https://issues.apache.org/jira/browse/FINERACT-1294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17266743#comment-17266743
]
Benura Abeywardena commented on FINERACT-1294:
----------------------------------------------
Privileges for the root user will not be granting properly when we configure
the volume mounting as before. And the logs of MYSQL pod will keep saying
"Access Denied for root@localhost" without this modification. And the fineract
server will move on to a CrashLoopBackOff state due to this "Access Denied"
issue. I tried with various approaches like changing the initial delay seconds
of liveliness probe etc.. I was able to resolve that issue by changing the
order of volume mounting. If there's a better approach I would like to hear
that :)
> 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
> Minikube Version - 1.14.2
> 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)