Bug 1726377
| Summary: | [RFE] add option to filter VirtualMachineInstanceMigration (vmim) by uid or vmiName | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Denys Shchedrivyi <dshchedr> |
| Component: | Virtualization | Assignee: | Fabian Deutsch <fdeutsch> |
| Status: | CLOSED DEFERRED | QA Contact: | Denys Shchedrivyi <dshchedr> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.0 | CC: | cnv-qe-bugs, dshchedr, ipinto, ncredi, sgott |
| Target Milestone: | --- | ||
| Target Release: | 2.1.0 | ||
| 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-07-16 12:10:48 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: | |||
/kind feature request Description of problem: After running node maintenance VMIs create vmim jobs with random names: # oc get vmim NAME AGE kubevirt-evacuation-x6w72 12s kubevirt-evacuation-awds2 12s It's difficult to determine which VMIM belongs to which VMI, because we can't filter list of vmim jobs by uid or vmi names: # oc get vmim --field-selector metadata.uid=8fd776de-9cea-11e9-886a-664f163f5f0f No resources found. Error from server (BadRequest): Unable to find {"kubevirt.io" "v1alpha3" "virtualmachineinstancemigrations"} that match label selector "", field selector "metadata.uid=8fd776de-9cea-11e9-886a-664f163f5f0f": field label not supported: metadata.uid # oc get vmim --field-selector spec.vmiName=vm-cirros No resources found. Error from server (BadRequest): Unable to find {"kubevirt.io" "v1alpha3" "virtualmachineinstancemigrations"} that match label selector "", field selector "spec.vmiName=vm-cirros": field label not supported: spec.vmiName So, now for finding right vmim object I need to go thru all existing jobs and verify if it contains necessary UID (or vmiName). I think, it would be great to have an option to filter vmim output list by adding field-selector based on UID or vmiName. Also, it would be very useful to get UID and vmiName by running "oc get vmim" with "-o wide" option.