Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to start minikube in vSphere VM ( installed CentOS 7) -virError(Code=1, Domain=10, Message='internal error: process exited while connecting to monitor #3301

Closed
rogerlee6411 opened this issue Nov 6, 2018 · 4 comments
Labels
cause/nested-vm-config When nested VM's appear to play a role kind/bug Categorizes issue or PR as related to a bug. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. triage/duplicate Indicates an issue is a duplicate of other open issue. triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@rogerlee6411
Copy link

rogerlee6411 commented Nov 6, 2018

Is this a BUG REPORT or FEATURE REQUEST? (choose one)

Environment:
vSphere 6.5 VM with install CentOS 7
Install Docker
Install minikube 0.30.0

Minikube version (use minikube version):

  • OS (e.g. from /etc/os-release):
    [root@myxxx .minikube]# sudo cat /etc/os-release
    NAME="CentOS Linux"
    VERSION="7 (Core)"
    ID="centos"
    ID_LIKE="rhel fedora"
    VERSION_ID="7"
    PRETTY_NAME="CentOS Linux 7 (Core)"
    ANSI_COLOR="0;31"
    CPE_NAME="cpe:/o:centos:centos:7"
    HOME_URL="https://www.centos.org/"
    BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

  • VM Driver (e.g. cat ~/.minikube/machines/minikube/config.json | grep DriverName):
    [root@myxxx .minikube]# cat ~/.minikube/machines/minikube/config.json | grep DriverName
    "DriverName": "kvm2",

  • ISO version (e.g. cat ~/.minikube/machines/minikube/config.json | grep -i ISO or minikube ssh cat /etc/VERSION):
    [root@myxxx .minikube]# cat ~/.minikube/machines/minikube/config.json | grep -i ISO
    "Boot2DockerURL": "file:///root/.minikube/cache/iso/minikube-v0.30.0.iso",
    "ISO": "/root/.minikube/machines/minikube/boot2docker.iso",

What happened:
[root@myxxx .minikube]# minikube start
Starting local Kubernetes v1.10.0 cluster...
Starting VM...
E1106 23:01:15.832586 10599 start.go:168] Error starting host: Error starting stopped host: Error creating VM: virError(Code=1, Domain=10, Message='internal error: process exited while connecting to monitor: 2018-11-06T15:01:15.217685Z qemu-kvm: error: failed to set MSR 0x38d to 0x0
qemu-kvm: /builddir/build/BUILD/qemu-2.10.0/target/i386/kvm.c:1809: kvm_put_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed.').

[root@myxxx .minikube]# kubectl version
Client Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.1", GitCommit:"4ed3216f3ec431b140b1d899130a69fc671678f4", GitTreeState:"clean", BuildDate:"2018-10-05T16:46:06Z", GoVersion:"go1.10.4", Compiler:"gc", Platform:"linux/amd64"}
The connection to the server 10.0.48.115:6443 was refused - did you specify the right host or port?

What you expected to happen:
minikube can start to run single cluster service
How to reproduce it (as minimally and precisely as possible):

Output of minikube logs (if applicable):

Anything else do we need to know:

@balopat
Copy link
Contributor

balopat commented Nov 6, 2018

This seems like a dupe of #2968.
Can you provide more data on your nested virtualization setup?

@balopat balopat added kind/bug Categorizes issue or PR as related to a bug. triage/duplicate Indicates an issue is a duplicate of other open issue. cause/vm-networking Startup failures due to VM networking labels Nov 6, 2018
@tstromberg tstromberg added triage/needs-information Indicates an issue needs more information in order to work on it. cause/nested-vm-config When nested VM's appear to play a role priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. and removed cause/vm-networking Startup failures due to VM networking labels Jan 23, 2019
@afbjorklund
Copy link
Collaborator

Why are we doing nested virtualization, rather than just running kubeadm directly on Fedora ?
(alternatively setting up a docker machine with VMware beside it, whichever is easiest/suitable)

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 29, 2019
@tstromberg
Copy link
Contributor

I'm closing this issue as it hasn't seen activity in awhile, and it's unclear if this issue still exists. If this issue does continue to exist in the most recent release of minikube, please feel free to re-open it.

Thank you for opening the issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cause/nested-vm-config When nested VM's appear to play a role kind/bug Categorizes issue or PR as related to a bug. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. triage/duplicate Indicates an issue is a duplicate of other open issue. triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

6 participants