Bug 1857181
Summary: | [v2v] [doc] VM import RHV to CNV targetVmName length 63 char limit | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Container Native Virtualization (CNV) | Reporter: | Amos Mastbaum <amastbau> | ||||||||
Component: | Documentation | Assignee: | Avital Pinnick <apinnick> | ||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Amos Mastbaum <amastbau> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 2.4.0 | CC: | cnv-qe-bugs, istein, ncredi | ||||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||||
Target Release: | 2.4.0 | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | 2.4.0 | Doc Type: | If docs needed, set a value | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | 1857165 | Environment: | |||||||||
Last Closed: | 2020-08-10 12:51:20 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Bug Depends On: | 1857165, 1858565 | ||||||||||
Bug Blocks: | |||||||||||
Attachments: |
|
Description
Amos Mastbaum
2020-07-15 11:07:37 UTC
@Piotr Can you attach the vm validation rule the cnv vm 'v2v-rhel8-vm-api-maybethistime' breaks so we can add it to 2.4.0 documentation? @Avital 1. Can you please also add to: Importing a Red Hat Virtualization virtual machine with the CLI (Step #3): A bullet next targetVmName, Emphasizing the targetVmName should be 23 chars or less, or the import will fail. 2. To the trouble shouting section - Error messages The following message may indicate the targetVmName is longer than 23 chars: Message: Error while importing disk image: *** Reason: DataVolumeCreationFailed" This is step 3: "In the Connect to Provider screen, select Red Hat Virtualization (RHV) from the Provider list." If the source VM name is preserved during import, I think we should add a prerequisite that the RHV VM name must be less than 23 characters. The UI does not have a field for the target VM name. How did you enter a long name? I will add a callout note about the target name in the VirtualMachineImport CR. *In Trouble Shooting, the Error Message Part, The second Bullet Please change the error message to: denied the request: must be no more than 63 characters *Regarding "Importing a Red Hat Virtualization virtual machine with the virtual machine wizard" I believe Step 10 should have a bullet for the name, right before the description. We'll focus this bug to provide instructions to user, in VM import configuration stage, on setting VM name limited to 23 chars in GUI & CLI. For the related error documentation, in trouble shooting section, we already have bug 1859198. After #1857165 (targeted to CNV-2.5) is fixed, the targetVmName limit will be 63 char with proper validation in the CR Creation level and UI. Created attachment 1702221 [details]
edit target vm name
**** Re: > I believe Step 10 should have a bullet for the name, right before the description. What do you mean? ***There are 2 ways the target vm is available for editing: 1. The default VM name is already in use. 2. The user clicks Edit button after selecting the source VM to import I have attached a Screenshot , the edit button is at the bottom. *** Re: > denied the request: must be no more than 63 characters Amos, that error message sounds strange. Please attach a screenshot. **Please Remove this error completely from Error Messages ("The following error message is displayed in the VM Import Controller Pod log if the target VM name exceeds 23 characters (BZ#1857165)") We will address this issue in https://bugzilla.redhat.com/show_bug.cgi?id=1859198 As far as I can tell, there is no way to enter a target VM name in the UI. In the CLI, I have a note indicating that the name must not be more than 23 characters. Created attachment 1702434 [details]
Current Documentation
" As far as I can tell, there is no way to enter a target VM name in the UI. " Please see the attached 2 files If user clicks edit, they can add a description, but they can also edit the name. Created attachment 1702435 [details]
UI Edit vm name
(In reply to Amos Mastbaum from comment #17) > Created attachment 1702435 [details] > UI Edit vm name OK. When I tested the web UI for importing the RHV VM, the "General" Screen was not working. I'll add the VM name field and a note about the length. Reopening for 2.4.1: 63 character limit for target VM name Changes merged |