Bug 2030530

Summary: VM created via customize wizard has single quotation marks surrounding its password
Product: OpenShift Container Platform Reporter: Guohua Ouyang <gouyang>
Component: Console Kubevirt PluginAssignee: Hilda Stastna <hstastna>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: low Docs Contact:
Priority: low    
Version: 4.10CC: aos-bugs, gouyang, tnisan
Target Milestone: ---   
Target Release: 4.11.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: 2022-08-10 10:40:31 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:
Attachments:
Description Flags
reproduce video none

Description Guohua Ouyang 2021-12-09 04:15:59 UTC
Description of problem:
VM created via customize wizard has single quotation marks surround password.

   volumes:
        - cloudInitNoCloud:
            userData: |
              #cloud-config
              user: fedora
              password: 'qk7g-i3ew-ckbi'
              chpasswd:

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
single quotation mards surrounds the password

Expected results:
no the single quotation mards around the password

Additional info:

Comment 3 Hilda Stastna 2022-01-18 12:45:53 UTC
Exact steps to reproduce:

1. Go to Virtualization -> Templates (VM templates list)
2. Choose some common template (not user-created template) and click on "Create VM"
3. Click on "Customize virtual machine"
4. Fill in the general required info
5. Click on "Review and confirm" (don't click on "Next" button)
6. Click on "Create Virtual Machine"
7. Check the "password" in the VM details (YAML tab)

Comment 4 Guohua Ouyang 2022-01-18 12:59:35 UTC
Created attachment 1851562 [details]
reproduce video

Comment 5 Hilda Stastna 2022-01-18 13:59:39 UTC
Note:
it may be possible to reproduce the bug also when clicking on Next button (step 5 from my previous comment).

Comment 8 Guohua Ouyang 2022-02-11 05:23:03 UTC
verified on master

Comment 10 errata-xmlrpc 2022-08-10 10:40:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: OpenShift Container Platform 4.11.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5069