My Oracle Support Banner

OSM CN: Cannot create directory 'PVMount: Permission denied issue after configuring PV And PVC (Doc ID 2998984.1)

Last updated on JANUARY 26, 2024

Applies to:

Oracle Communications Order and Service Management - Version 7.5.0.0.0 and later
Information in this document applies to any platform.

Symptoms

On : 7.5.0.0.0 version, Cloud Native Toolkit

Customer encountered an issue while configuring PV (Persistent Volume) and PVC (Persistent Volume Claim) for OSM 7.5.0 CN in the osmtmxdev-quick-introspector pod.

Below logs from the osmtmxdev-quick-introspector pod
logs- kubectl logs osmtmxdev-quick-introspector-ndt44 -n osmtmxdev
@[2024-01-04T06:45:44.083030662Z][utils.sh:746][FINE] Auxiliary Image: Skipping auxiliary image checks (no auxiliary images configured).
@[2024-01-04T06:45:44.089516997Z][utils.sh:799][FINE] Compatibility Auxiliary Image: No init containers with auxiliary images configured.
@[2024-01-04T06:45:44.103814910Z][modelInImage.sh:81][FINE] Creating WDT standard output directory: '/logMount/osmtmxdev-quick/logs/'

@[2024-01-04T06:45:44.110547933Z][utils_base.sh:229][FINE] Creating folder '/logMount/osmtmxdev-quick/logs/' using command 'mkdir -m 750 -p /logMount/osmtmxdev-quick/logs/'. This folder is for holding Model In Image WDT command output files for logging purposes. If 'domain.spec.logHomeEnabled' is 'true', then it is located in 'domain.spec.logHome', otherwise it is located within '/tmp'.
mkdir: cannot create directory '/logMount/osmtmxdev-quick': Permission denied

 

@[2024-01-04T06:45:44.120981450Z][utils_base.sh:235][SEVERE] Unable to create folder '/logMount/osmtmxdev-quick/logs/' using command 'mkdir -m 750 -p /logMount/osmtmxdev-quick/logs/', error='mkdir: cannot create directory '/logMount/osmtmxdev-quick': Permission denied'. This folder is for holding Model In Image WDT command output files for logging purposes. If 'domain.spec.logHomeEnabled' is 'true', then it is located in 'domain.spec.logHome', otherwise it is located within '/tmp'.



ERROR
-----------------------

The error message indicates a permission problem: "mkdir: cannot create directory '/logMount/osmtmxdev-quick': Permission denied."

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.