Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-5920

Fail to create a volume with a Storage class using provisioner kubernetes.io/cinder and using Apps credentials

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • Rejected
    • ShiftStack Sprint 242, ShiftStack Sprint 243
    • 2
    • ?
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      When running the following test
      "[sig-storage] In-tree Volumes [Driver: cinder] [Testpattern: Dynamic PV (block volmode)] volumeMode should not mount / map unused volumes in a pod [LinuxOnly] [Skipped:NoOptionalCapabilities] [Suite:openshift/conformance/parallel] [Suite:k8s]"
      
      It fails because the volume fails to create. That happens when using a storage class with provisioner: kubernetes.io/cinder. When creating a volume where the 
      provisioner is  cinder.csi.openstack.org the volume is created.
      
      This behavior doesn't happen when not using app credentials.
      
      From CSI provisioner logs:
      E0117 13:20:21.764184       1 volume_store.go:144] error saving volume pvc-119d4c59-82d2-42bd-bc05-514234fec59c: persistentvolumes "pvc-119d4c59-82d2-42bd-bc05-514234fec59c" is forbidden: error querying Cinder volume 55ed6a38-40a4-4833-802a-ff1b14332ea0: unable to initialize cinder client for region: regionOne, err: cloud provider is not initialized: cannot initialize cloud provider using data from the secret: You must provide a password to authenticate

      Version-Release number of selected component (if applicable):

      4.12.0-0.nightly-2023-01-10-062211

      How reproducible:

       

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

       

      Expected results:

       

      Additional info:

       

              maandre@redhat.com Martin André
              itbrown@redhat.com Itshak Brown
              None
              None
              Itshak Brown Itshak Brown
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: