kubevirt / demo

Easy to use KubeVirt demo based on minikube.
Apache License 2.0
109 stars 59 forks source link

Transform demo vm yaml to new api version format #103

Closed booxter closed 5 years ago

booxter commented 5 years ago

The old api for volumes results in the following error when applied:

error: unable to recognize "vm.yaml": no matches for kind "VirtualMachine" in version "kubevirt.io/v1alpha2"

booxter commented 5 years ago

@fabiand I believe CI fails here b/c traviskube is locked to 0.14.0. Please consider https://github.com/fabiand/traviskube/pull/37

booxter commented 5 years ago

/assign @fabiand

booxter commented 5 years ago

CI failures should be fixed by https://github.com/fabiand/traviskube/pull/37 that bumps kubevirt version.

booxter commented 5 years ago

ci test please

booxter commented 5 years ago

CI should be fixed by enabling software emulation: https://github.com/fabiand/traviskube/pull/39

fabiand commented 5 years ago

Please rebase

booxter commented 5 years ago

This is comical now. Now it fails (in one job only) with:

Error from server (InternalError): error when creating "manifests/vm.yaml": Internal error occurred: failed calling webhook "virtualmachine-validator.kubevirt.io": Post https://virt-api.kubevirt.svc:443/virtualmachines-validate?timeout=30s: dial tcp 10.110.29.209:443: connect: connection refused

I guess we don't wait for virt-api to start and post manifest immediately? I see virt-api is ContainerCreating.

fabiand commented 5 years ago

Ah. We need to wait for the operator to become functional.

fabiand commented 5 years ago

Oh, we already do.