Code Monkey home page Code Monkey logo

Comments (7)

DominikPieper avatar DominikPieper commented on June 1, 2024

Same problem here. I can't deploy any pods with storage.

from installcentos.

hhorak avatar hhorak commented on June 1, 2024

There are obviously some files in the MySQL directory /var/lib/mysql/data/. We saw errors like this and it was always some wrong configuration of PV, so I'd suggest to focus on that part.

from installcentos.

ryannix123 avatar ryannix123 commented on June 1, 2024

@hhorak @marekjelen I thought we solved this issue at Summit, however, there is an inheritance problem on the directory. I have to chmod 777 the pod to get the persistent volume claim to work. I even tried chmod g+s data/ on the directory, but the 777 perms won't inherit.

from installcentos.

marekjelen avatar marekjelen commented on June 1, 2024

Nope, they will not inherit, for each dir that is being used as a PV you need to set the selinux context and 777 explicitly.

from installcentos.

hhorak avatar hhorak commented on June 1, 2024

@ryannix123 is it possible to export the resulting OpenShift objects as a JSON file, so we can just take to reproduce the issue?

from installcentos.

hhorak avatar hhorak commented on June 1, 2024

@kubco2 FYI

from installcentos.

marekjelen avatar marekjelen commented on June 1, 2024

Updated the script to automatically create 200 PVs with Retain policy. This should be enough for playground clusters. There were two problems

a) the PV script was faulty
b) the Reclaim policy seems to remove the permissions set by the script

And so a) was an easy fixe, as for b) the Retain policy should help.

from installcentos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.