Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-30881

Crictl/Minikube version mismatch causes errors in k8s setup

    XMLWordPrintableJSON

Details

    Description

      We observed constant failures in the e2e k8s tests with permission issues. This was initially accidentally reported through FLINK-29671. But FLINK-29671 actually covers a different instability.

      Here are the build failures initially reported in FLINK-29671:

      Feb 01 11:00:45 Starting minikube ...
      Feb 01 11:00:45 * minikube v1.29.0 on Ubuntu 20.04
      Feb 01 11:00:45 * Using the none driver based on existing profile
      Feb 01 11:00:45 * Starting control plane node minikube in cluster minikube
      Feb 01 11:00:45 * Restarting existing none bare metal machine for "minikube" ...
      Feb 01 11:00:45 * OS release is Ubuntu 20.04.5 LTS
      Feb 01 11:01:22 
      X Exiting due to RUNTIME_ENABLE: Temporary Error: sudo /usr/local/bin/crictl version: exit status 1
      stdout:
      [...]  
      Feb 01 11:01:22 
      E0201 11:01:22.809164  241870 root.go:80] failed to log command start to audit: failed to open the audit log: open /home/vsts/.minikube/logs/audit.json: permission denied
      Feb 01 11:01:22 
      X Exiting due to HOST_HOME_PERMISSION: open /home/vsts/.minikube/profiles/minikube/config.json: permission denied
      * Suggestion: Your user lacks permissions to the minikube profile directory. Run: 'sudo chown -R $USER $HOME/.minikube; chmod -R u+wrx $HOME/.minikube' to fix
      * Related issue: https://github.com/kubernetes/minikube/issues/9165
      [...]

      Attachments

        Issue Links

          Activity

            People

              mapohl Matthias Pohl
              mapohl Matthias Pohl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: