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

not all disk types can be selected as the boot source #7080

Merged

Conversation

glekner
Copy link
Contributor

@glekner glekner commented Nov 3, 2020

No description provided.

@openshift-ci-robot openshift-ci-robot added the component/kubevirt Related to kubevirt-plugin label Nov 3, 2020
@glekner
Copy link
Contributor Author

glekner commented Nov 3, 2020

image

@matthewcarleton @jelkosz can you approve the validation message

@glekner
Copy link
Contributor Author

glekner commented Nov 3, 2020

@suomiy can you review

<FormSelectOption key={storage.id} value={storage.id} label={storage.disk?.name} />
),
)}
{ignoreCaseSort(storages, null, (storage) => storage.disk?.name).map((storage) => (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are we including the disks they cannot select?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok let's show all disks

@@ -1,3 +1,5 @@
export const ATTACH_CD = 'Attach CD-ROM';
export const NO_BOOTABLE_ATTACHED_DISK_ERROR = 'A bootable attached disk could not be found';
export const BOOTABLE_ATTACHED_DISK_MESSAGE = 'Boot disks can not have a blank source';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blank source has a special meaning. Shouldn't we say something like that selecting a boot source is required?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@matthewcarleton can you jump in?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What we want to communicate is that the disk they are selecting must have a source defined and can not be blank.
Could we say:
"A boot source disk must have a source and can not be blank"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if we want to mention other invalid sources (which is not just blank type), but ok let's put this message

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 3, 2020
@glekner
Copy link
Contributor Author

glekner commented Nov 3, 2020

added CONTAINER_DISK as a viable boot source @suomiy

@atiratree
Copy link
Member

+1, just this left #7080 (comment)

@glekner
Copy link
Contributor Author

glekner commented Nov 4, 2020

@suomiy updated string

@atiratree
Copy link
Member

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 4, 2020
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: glekner, suomiy

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit c41b530 into openshift:master Nov 4, 2020
@spadgett spadgett added this to the v4.7 milestone Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. component/kubevirt Related to kubevirt-plugin lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants