Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-21283

18.0.13-20250925.165646 - openstackprovisionser - `/copy_out.sh` exists but it is not executable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • rhos-product-reldel
    • None
    • Important

      Provisioning baremetal nodes fails in rhoso version 18.0.13-20250925.165646

      The openstackprovisionser pod fails with the following:

      $ oc describe pod openstack-data-plane-provisionserver-openstackprovisionser89xbh 
      [...]
      Events:                                                                                                                                                           
        Type     Reason  Age                     From     Message                                                                                                       
        ----     ------  ----                    ----     -------                                                                                                       
        Warning  Failed  73m (x6187 over 23h)    kubelet  Error: container create failed: the path `/copy_out.sh` exists but it is not executable: Operation not permitted       
      

      Check copy_out.sh permissions in current pod vs previous version:

      $ podman run -ti registry.redhat.io/rhoso/edpm-hardened-uefi-rhel9@sha256:2d006dec2c810733bb433d048a0fff0955461223be7e8cd7284fc4af5110171d ls -l /copy_out.sh
      -rw-r--r--. 1 root root 2201 Sep 24 16:54 /copy_out.sh
      

      Previous:

      $ podman run -ti registry.redhat.io/rhoso/edpm-hardened-uefi-rhel9@sha256:c18ec7023fbcc4ab5183f689adc1f01a626a4923c15c61a37388f99904db7bc3 ls -l /copy_out.sh
      -rwxrwxr-x. 1 root root 2201 Aug 13 12:12 /copy_out.sh
      

      Workaround, modify openstackversion cr to use previous version:

      $ cat openstackversionpatch.yaml
        spec:
          customContainerImages:
            osContainerImage: registry.redhat.io/rhoso/edpm-hardened-uefi-rhel9@sha256:c18ec7023fbcc4ab5183f689adc1f01a626a4923c15c61a37388f99904db7bc3
      
      oc apply -f openstackversionpatch.yaml
      

              Unassigned Unassigned
              mflusche@redhat.com Mathew Flusche
              rhos-product-reldel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: