Core Installation Error

Hi Team,

We have build one server (8VCPU, 16GB RAM & 550 GB HDD) with these spec and installed the Ubuntu 20.04.3 LTS. after completed the prerequisites check we tried to install the core module on this server. We are getting the prompt to enter the core IP. Post enter the IP address we are getting the below error.

Note: its a fresh installation of core module only

"
Status: Downloaded newer image for dnif/datanode:v9.1.0

docker.io/dnif/datanode:v9.1.0

ENTER CORE IP: 192.168.101.104

[-] Starting container…

Creating datanode-master-v9 … error

Creating core-v9 …

ERROR: for datanode-master-v9 Cannot start service datanode-master: b"error while creating mount source path ‘/DNIF/common’: mkdir /DNIF: read-only file sysCreating core-v9 … error

ERROR: for core-v9 Cannot start service core: b"error while creating mount source path ‘/DNIF/CO’: mkdir /DNIF: read-only file system"

ERROR: for datanode-master Cannot start service datanode-master: b"error while creating mount source path ‘/DNIF/common’: mkdir /DNIF: read-only file system"

ERROR: for core Cannot start service core: b"error while creating mount source path ‘/DNIF/CO’: mkdir /DNIF: read-only file system"

ERROR: Encountered errors while bringing up the project.
"

+971-585866020

Hi Parthasarathi,

Kindly let us know if you have only one server with the above configuration or have different servers for AD DN and core.

Also as per the shared error details, the root or /DNIF partition is in read-only mode kindly check for the same.
to verify for read-only use below command:

$ touch /DNIF/xyz.txt
$ touch /xyz.txt

Currently we build one server only and tried to install core module. once this done then only we will build another servers for AD & DN.

Dear Team,

I read the document, we have another 2 servers are available for AD & DN modules. We are trying to install core on the first server from there we are getting this error

Dear Team,

Again i’m explain the issue.

1.We have build the 3 servers with the mentioned standard deployment Hardware allign.

  1. in the first server we installed the ubutu 20,04 OS

  2. We have verified the hardware audit prerequisites

  3. We followed the quick start guide and run the below command

**sudo bash -c "$(curl -s https://raw.githubusercontent.com/dnif/installer/main/install.sh)"**
**```**


*** Select a DNIF component you would like to install**
**    [1] Core (CO)**
**    [2] Console (LC)**
**    [3] Datanode (DN)**
**    [4] Adapter (AD)**

**Pick the number corresponding to the component (1 - 4): 1

5 . We have selected the core module and its starts download from the github portal


6. Post that its prompts to enter the core IP address. After enter the core IP address.
We are getting the below error.
![image|690x359](upload://kUcSbZqi38MeNhalrX3vs7VCaxt.png)

v9.1.0: Pulling from dnif/core
Digest: sha256:79b5d8a277add3da0313f7ee30d10646cfa34333d5e146b9a7103ebe4e0c494a
Status: Image is up to date for dnif/core:v9.1.0
docker.io/dnif/core:v9.1.0
[-] Pulling docker Image for Datanode

v9.1.0: Pulling from dnif/datanode
Digest: sha256:fed7edf0e549de2e0d5955a10da4f6e48dea1637d77d41468cc0e7001ce2587f
Status: Image is up to date for dnif/datanode:v9.1.0
docker.io/dnif/datanode:v9.1.0
ENTER CORE IP: 192.168.101.104
[-] Starting container...

Starting datanode-master-v9 ... error
Starting core-v9            ...

Starting core-v9            ... error

ERROR: for core-v9  Cannot start service core: b"error while creating mount source path '/DNIF/backup/core': mkdir /DNIF: read-only file system"

ERROR: for datanode-master  Cannot start service datanode-master: b"error while creating mount source path '/DNIF/DL': mkdir /DNIF: read-only file system"

ERROR: for core  Cannot start service core: b"error while creating mount source path '/DNIF/backup/core': mkdir /DNIF: read-only file system"
ERROR: Encountered errors while bringing up the project.
root@dnif:~#

Dear Support,

Anyone can update…

Hi parthasarathi,

I have also faced this issue so I tried by disabling the hardening of network and OS level also cross verify umask it should be 0022.

Hi.

Thanks for the details. Can you guide how to disable that

Hi,

You will have to figure out what all hardening is done on your OS. Below are the common steps you can execute to manage firewall and umask

For firewall
ufw enable
ufw disable
ufw status

For umask
umask 0022

Dear Team,

I have disabled the firewall & set the umask 0022. Then i tried to run the
sudo bash -c “$(curl -s https://raw.githubusercontent.com/dnif/installer/main/install.sh)”

Iam getting the same error…

ENTER CORE IP: 192.168.101.104
[-] Starting container…

Starting datanode-master-v9 … error
Starting core-v9 …

ERROR: for datanode-master-v9 Cannot start service datanode-master: b"error while creating mount source path ‘/DNIF/backup/dn’: mkdir /DNIF: read-only file Starting core-v9 … error

ERROR: for core-v9 Cannot start service core: b"error while creating mount source path ‘/DNIF/backup/core’: mkdir /DNIF: read-only file system"

ERROR: for datanode-master Cannot start service datanode-master: b"error while creating mount source path ‘/DNIF/backup/dn’: mkdir /DNIF: read-only file system"

ERROR: for core Cannot start service core: b"error while creating mount source path ‘/DNIF/backup/core’: mkdir /DNIF: read-only file system"
ERROR: Encountered errors while bringing up the project.
root@dnif:~#

Hello,

Its clear from the message that the file system of storage is in read-only state.
Check the storage that is mapped to mount point. Whether its in read only state. Go through the below link for the same

Hope your issue has been solved.

Dear Team,

We re provisioned the server with auto space alignment mode. post that its working fine.

thanks for the support.

Currently we are facing server down error when we run the workbook . I have posted that please respond on that