Comments (9)
Hi, where are you seeing that message? The PV directory is /mnt/pv-data, therefore I'm not sure where that /data directory comes from.
from mas-local.
Hi,
trying to use the script on both Linux and Windows OS, but in both cases installation does not go past 'create MongoDB cluster'.
I've managed to pinpoint the problem to the creating of PVC which throws error in log:
mkdir: can't create directory '/data/pvc-954d7733-57a1-47b9-ba9e-dc337106b055': Permission denied
Do You have any hints on that ?
Hi,
Are you trying to setup it on the physical machine or Virtual machine ?
from mas-local.
Hi,
trying to use the script on both Linux and Windows OS, but in both cases installation does not go past 'create MongoDB cluster'.
I've managed to pinpoint the problem to the creating of PVC which throws error in log:
mkdir: can't create directory '/data/pvc-954d7733-57a1-47b9-ba9e-dc337106b055': Permission denied
Do You have any hints on that ?
I tried this script last week and I got successes after some struggle and it took some more time around more than 24 hours.
After that, I investigated all and found that it was my mistakes while it took more time.
so I formatted my machine and started from the scratch with this script.
I would like to say I got success in around 14 hours (no dummy data)
I feel the script is working well because itβs just a wrapper of the original Ansible script.
I am glad i am able to achieve and got success to implement it on my local environment. Please share your experience and we We will try to figure out.
thanks & Regards,
Amit Sindha
from mas-local.
Hi, where are you seeing that message? The PV directory is /mnt/pv-data, therefore I'm not sure where that /data directory comes from.
I was trying to fix this issue and I've changed the directory in ConfigMap.
Following Amit response I've deleted all of the CRC cluster and started over from scratch. The result is the same (apart from the directory):
mkdir: can't create directory '/mnt/pv-data/pvc-0b656275-a4eb-468e-9019-34a619bdbbdd_mongoce_data-volume-mas-mongo-ce-0': Permission denied
This error comes from the Pod helper-pod-create-pvc during the
TASK [ibm.mas_devops.mongodb : mongodb/community : Wait for stateful set to be ready] ***
from mas-local.
OK, now we are back to what I was expecting. If you want to change the directory, you need to make sure the right SELinux context is set in the host.
In any case, back to this issue, I guess you are using the latest released CRC (2.11.0. Red Hat has changed the SELinux context, this is why the local path provisioner fails. The good news is that, in this latest version, they delivers their own local provisioned storage class.
I will therefore use that and dismiss the creation of the modified Rancher one I was using.
from mas-local.
I'm on CRC 2.11.0 and You are correct: there is a default PV and StorageClass defined.
I will try setting this up with that default SC and let You know.
from mas-local.
No need to. If you can wait a couple of hours, I'll upload the changes I'm just testing.
from mas-local.
Changing SC solved this problem. Thanks You!
Now facing another one on UDS install - I'm trying to install one locally instead of connecting to existing one, but that is not connected to this bug.
from mas-local.
Be aware that UDS is quite big and won't fit in the specs described here for MAS Local.
from mas-local.
Related Issues (7)
- when running masinst.bat, got "error: You must be logged in to the server (Unauthorized)"
- Installation with MSSQL, I got the error: the path "manageworkspace-masdemo-maslocal.yaml" does not exist
- Works well
- Custom Domain of local environment HOT 1
- Error with SQL server: resource mapping not found for name: "masdemo-maslocal" namespace: "mas-masdemo-manage" from "mssql/manageworkspace-masdemo-maslocal.yaml": no matches for kind "ManageWorkspace" in version "apps.mas.ibm.com/v1" ensure CRDs are installed first HOT 4
- Error from server (NotFound): error when creating "mssql/manageworkspace-masdemo-maslocal.yaml": namespaces "mas-masdemo-manage" not found C:\MAS8\mas-local> HOT 29
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mas-local.