Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-22515

[2142929] Permission denied when try get instancestypes

XMLWordPrintable

    • Medium
    • None

      Description of problem:
      When running oc adm must-gather --image=quay.io/kubevirt/must-gather – /usr/bin/gather --instancetypes
      I get the following output:

      [must-gather ] OUT Using must-gather plug-in image: quay.io/kubevirt/must-gather
      When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information:
      ClusterID: bac2cac4-f347-4bd8-a5b4-5afe3c517d0d
      ClusterVersion: Stable at "4.12.0-ec.5"
      ClusterOperators:
      clusteroperator/kube-apiserver is not upgradeable because UnsupportedConfigOverridesUpgradeable: setting: [admission.pluginConfig.PodSecurity.configuration.apiVersion admission.pluginConfig.PodSecurity.configuration.defaults.audit admission.pluginConfig.PodSecurity.configuration.defaults.audit-version admission.pluginConfig.PodSecurity.configuration.defaults.enforce admission.pluginConfig.PodSecurity.configuration.defaults.enforce-version admission.pluginConfig.PodSecurity.configuration.defaults.warn admission.pluginConfig.PodSecurity.configuration.defaults.warn-version admission.pluginConfig.PodSecurity.configuration.kind]

      [must-gather ] OUT namespace/openshift-must-gather-kdpwl created
      [must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-2kk9x created
      [must-gather ] OUT pod for plug-in image quay.io/kubevirt/must-gather created
      [must-gather-n2wmj] POD 2022-11-15T12:28:39.976245081Z running gather_instancetypes
      [must-gather-n2wmj] POD 2022-11-15T12:28:39.977810803Z /usr/bin/gather: line 167: /usr/bin/gather_instancetypes: Permission denied
      [must-gather-n2wmj] POD 2022-11-15T12:28:39.978216846Z running logs
      [must-gather-n2wmj] POD 2022-11-15T12:28:39.982116987Z + export BASE_COLLECTION_PATH=/must-gather
      [must-gather-n2wmj] POD 2022-11-15T12:28:39.982116987Z + BASE_COLLECTION_PATH=/must-gather
      [must-gather-n2wmj] POD 2022-11-15T12:28:39.982116987Z + NAMESPACE_FILE=/var/run/secrets/kubernetes.io/serviceaccount/namespace
      [must-gather-n2wmj] POD 2022-11-15T12:28:39.982116987Z + [[ -f /var/run/secrets/kubernetes.io/serviceaccount/namespace ]]
      [must-gather-n2wmj] POD 2022-11-15T12:28:40.014180888Z ++ sed -E 's|pod/([^ ]+).*|\1|'
      [must-gather-n2wmj] POD 2022-11-15T12:28:40.014180888Z ++ grep '^pod'
      [must-gather-n2wmj] POD 2022-11-15T12:28:40.014180888Z ++ oc status
      [must-gather-n2wmj] POD 2022-11-15T12:28:43.030072231Z + POD=must-gather-n2wmj
      [must-gather-n2wmj] POD 2022-11-15T12:28:43.045117383Z ++ cat /var/run/secrets/kubernetes.io/serviceaccount/namespace
      [must-gather-n2wmj] POD 2022-11-15T12:28:43.045327286Z + oc logs --timestamps=true -n openshift-must-gather-kdpwl must-gather-n2wmj -c gather
      [must-gather-n2wmj] OUT waiting for gather to complete
      [must-gather-n2wmj] OUT downloading gather output
      [must-gather-n2wmj] OUT receiving incremental file list
      [must-gather-n2wmj] OUT ./
      [must-gather-n2wmj] OUT must-gather.log
      [must-gather-n2wmj] OUT
      [must-gather-n2wmj] OUT sent 46 bytes received 515 bytes 224.40 bytes/sec
      [must-gather-n2wmj] OUT total size is 974 speedup is 1.74
      [must-gather ] OUT namespace/openshift-must-gather-kdpwl deleted
      [must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-2kk9x deleted

      Reprinting Cluster State:
      When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information:
      ClusterID: bac2cac4-f347-4bd8-a5b4-5afe3c517d0d
      ClusterVersion: Stable at "4.12.0-ec.5"
      ClusterOperators:
      clusteroperator/kube-apiserver is not upgradeable because UnsupportedConfigOverridesUpgradeable: setting: [admission.pluginConfig.PodSecurity.configuration.apiVersion admission.pluginConfig.PodSecurity.configuration.defaults.audit admission.pluginConfig.PodSecurity.configuration.defaults.audit-version admission.pluginConfig.PodSecurity.configuration.defaults.enforce admission.pluginConfig.PodSecurity.configuration.defaults.enforce-version admission.pluginConfig.PodSecurity.configuration.defaults.warn admission.pluginConfig.PodSecurity.configuration.defaults.warn-version admission.pluginConfig.PodSecurity.configuration.kind]

              rh-ee-orevah Ohad Revah
              rh-ee-orevah Ohad Revah
              Zhe Peng Zhe Peng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: