My Oracle Support Banner

While Installing Cuke4BRM Framework on CNE It Is Giving Unable To Mount the Volume (Doc ID 2816113.1)

Last updated on OCTOBER 27, 2021

Applies to:

Oracle Communications Billing and Revenue Management - Version 12.0.0.4.0 and later
Information in this document applies to any platform.

Goal

While installing Cuke4BRM framework on Cloud Native Environment (CNE) it is giving unable to mount the volume errors as shown below and still it is ContainerCreating state.
How to fix this issue?

Steps followed :

  1. Loaded the base docker image 
       ---------------------
         docker load --input  cne_validation_cst_12.0.0.4.0.tar
     
    2. Created custom docker image to load our feature file and json file
        ------------------------------------------
    docker build -t cdsopc/cne_validation_cst:12.0.0.4.0-05OCT20215 -f om-cne-validation-dockerfile .
    docker push cdsopc/cne_validation_cst:12.0.0.4.0-05OCT20215

    3. Run the below command to grant permission at the cluster level and in all namespaces.
    kubectl create clusterrolebinding serviceaccounts-cluster-admin --clusterrole=cluster-admin --group=system:serviceaccounts

    4. Deploy CNE images in Billing and Revenue Management(BRM) helm chart name space
       -----------------------------
    4.1) Extract the given oc-cn-cne-validation-helm-chart-12.0.0.4.0.tgz helm chart 
                tar -xf oc-cn-cne-validation-helm-chart-12.0.0.4.0.tgz
        4.2) Copy override.yaml/value.yaml from installed Cloud Native BRM ,to oc-cn-cne-validation-helm-chart/override_file/override-brm.yaml file
        4.3) Add the below section in oc-cn-cne-validation-helm-chart/override_file/override-brm.yaml
            
            cne_validation:
    deployment:
                imageName: cne_validation_cst
                imageTag: 12.0.0.4.0-05OCT20215
                host: cne-validation
                helmrelBrm : brm12-core-ps4
                exec_bats : all
                pod_timeout : 20

        4.4)  deploy the helm chart using helm command in Cloud Native BRM namespace
                 helm install cuke4brm ../oc-cn-cne-validation-helm-chart -n brm12-ps4-apps --values ../oc-cn-cne-validation-helm-chart/override_file/override-brm.yaml --timeout 1200s

           NAME: cuke4brm
               LAST DEPLOYED: Thu Oct 14 15:23:15 2021
       NAMESPACE: brm12-ps4-apps
       STATUS: deployed
       REVISION: 1
       TEST SUITE: None
       
    5. verify the status of the cne pod, it is in container-creating state
      ---------------------------
        5.1) kubectl get pods -n brm12-ps4-apps
       cne-validation-b779b5978-frw9k        0/1     ContainerCreating   0          2m52s
       
    5.2)when describe the pod, getting this unmounted-volume warring 
    Events:
      Type     Reason       Age    From               Message
      ----     ------       ----   ----               -------
      Normal   Scheduled    3m18s  default-scheduler  Successfully assigned brm12-ps4-apps/cne-validation-b779b5978-frw9k to cnmultischema
      Warning  FailedMount  75s    kubelet            Unable to attach or mount volumes: unmounted volumes=[data virtual-time-volume], unattached volumes=[data host_name secret-volume secret-volume-cne-validation testnap-pin-conf-cuke4brm-volume infranet-properties-cuke4brm-volume override-brm-values-cuke4brm-volume virtual-time-volume]: timed out waiting for the condition

 

Solution

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
Goal
Solution


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