Bug 1660850
| Summary: | Cannot create virtualmachine from provision source URL | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Guohua Ouyang <gouyang> |
| Component: | User Experience | Assignee: | Tomas Jelinek <tjelinek> |
| Status: | CLOSED DUPLICATE | QA Contact: | Guohua Ouyang <gouyang> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.4 | CC: | cnv-qe-bugs, gouyang, qixuan.wang, rawagner |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-01-04 08:15:52 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Guohua Ouyang
2018-12-19 11:35:42 UTC
If create a template with URL as the source, and create vm from the template, it also meet this error. Just to make sure, can you try CLI oc create on
apiVersion: kubevirt.io/v1alpha2
kind: VirtualMachine
metadata:
labels:
kubevirt.io/vm: vm-alpine-datavolume
name: vm-alpine-datavolume
spec:
running: false
template:
metadata:
labels:
kubevirt.io/vm: vm-alpine-datavolume
spec:
domain:
devices:
disks:
- disk:
bus: virtio
name: datavolumedisk1
volumeName: datavolumevolume1
resources:
requests:
memory: 64M
volumes:
- dataVolume:
name: alpine-dv
name: datavolumevolume1
dataVolumeTemplates:
- metadata:
name: alpine-dv
spec:
pvc:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2Gi
source:
http:
url: http://cdi-http-import-server.kubevirt/images/alpine.iso
if it still fails then It is the same issue as https://bugzilla.redhat.com/show_bug.cgi?id=1663238
Create VM from above example meet error 'The "" is invalid: : spec.dataVolumeTemplates.status in body is required'. Feel free to close the bug if it's the same bug with 1663238 *** This bug has been marked as a duplicate of bug 1663238 *** |