Description of problem: Currently, when editing VM and trying to add custom script or ignition script, the user experience of this textbox is low: 1. The text box default size is of 2 lines (while there is no sciprt usually smaller than 3 lines). 2. Entering more than 2 lines, the upper lines disappear and needs to be scrolled back using arrow keys or by changing textbox size using mouse in order to see them. 3. Same as 2. for copy&paste into the textbox. 4. Even when changing the textbox size with the mouse, still, the edit VM dialog page needs to be scrolled down in order to see everything. 5. After applying edit VM (saving configuration) and opening edit VM dialog, again, the textbox size is 2 line although there's a bigger script inside there. Version-Release number of selected component (if applicable): ovirt-engine-4.4.0-0.19.master.el7 vdsm-4.40.2-1.el8ev.x86_64 How reproducible: 100% Steps to Reproduce: 1. Edit VM -> initial run -> check "use cloud-init"/"ignition" checkbox. 2. Enter script in "custom script"/"ignition script" 3. Actual results: User experience of the textbox is poor Expected results: It should be easier and more convenient to use this field Additional info: screenshots attached
Created attachment 1662126 [details] First view of edit VM custom script textbox (textbox size if only 2 lines)
Created attachment 1662127 [details] not all lines are visible
Created attachment 1662128 [details] dialog is out of scale if using "long" lines
Created attachment 1662130 [details] After saving VM configuration, the textbox size changed again to 2 lines although there are more lines now in the textbox
Lucia, want to see if we can make the UX more like cloud-init?
Verification builds: ovirt-engine-4.4.0-0.26.master.el8ev.noarch vdsm-4.40.7-1.el8ev.x86_64 cloud-init/ignition Text box is not bigger and more easier to use. OCP bootstrap script for example, is now more nice to read/edit.
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.