Project

General

Profile

Bug #26658

[Kubevirt-Foreman] multiple PVCs can be selected with bootable option even when containerDisk was selected

Added by Shira Maximov over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1697298

Description of problem:
When creating a host with containerDisk Image, able to select Multiple PVC with option of `Bootable`. After selecting multiple disks with this, submitting request shows a error that the host already exists.

Version-Release number of selected component (if applicable):
plugin master

How reproducible:

Steps to Reproduce:
1.Select multiple PVCs with Bootable option
2.
3.

Actual results:
First, multiple PVCs can be selected as bootable when none should be able to selected when provisioning with containerDisk
Second, the error shown when submitting this request is wrong exception

Expected results:
Should not let you select bootable pvc with containerDisk, and not multiple PVCs as bootable in general
Also, should throw proper error

Additional info:

History

#1 Updated by Shira Maximov over 3 years ago

  • Project changed from Foreman to KubeVirt

#2 Updated by Moti Asayag over 3 years ago

  • Pull request https://github.com/theforeman/foreman_kubevirt/pull/81 added

#3 Updated by Shira Maximov over 3 years ago

  • Status changed from New to Assigned

#4 Updated by Moti Asayag over 3 years ago

  • Status changed from Assigned to Ready For Testing

#5 Updated by Moti Asayag about 3 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF