RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1866225 - [machines] Can not get the input content for "Target Path" when Creating storage pool
Summary: [machines] Can not get the input content for "Target Path" when Creating stor...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: cockpit-appstream
Version: 8.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 8.5
Assignee: Katerina Koukiou
QA Contact: Xianghua Chen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-05 06:22 UTC by Xianghua Chen
Modified: 2021-11-09 21:23 UTC (History)
5 users (show)

Fixed In Version: cockpit-appstream-249-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-09 17:53:43 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:4178 0 None None None 2021-11-09 17:53:55 UTC

Description Xianghua Chen 2020-08-05 06:22:47 UTC
Description of problem: 
Can not get the input content for "Target Path" when Creating storage pool

Version-Release number of selected component (if applicable):
cockpit-machines-224.1-1.el8.noarch
libvirt-dbus-1.3.0-2.module+el8.3.0+6423+e4cb6418.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Enter "Storage Pools"
2. Click "Create Storage Pool" , input "Name" and "Target Path"   (do not click the paths which are listed in the drop-down box)
3. Click "Create"
 
 
Actual results:
In step 2, failed to create the storage pool because the "Target Path" is empty with an error:
"Target path should not be empty"

Expected results:
The Target Path should be input correctly and the storage pool should be created.

Additional info:
Not only for create storage pool, but also for create vm, all the drop-down box can not get the input value I think.

Comment 1 Katerina Koukiou 2020-08-06 07:14:23 UTC
This is most likely a bug in the react components we are using from Patternfly. We reported it upstream, https://github.com/patternfly/patternfly/issues/3378
In the meantime I will try to implement a workaround.

Comment 3 Katerina Koukiou 2021-01-22 16:07:50 UTC
We need to find a workaround for this, it makes the file autocomplete fields very hard to use.

Comment 4 Matej Marušák 2021-07-21 11:17:33 UTC
Sent PR https://github.com/cockpit-project/cockpit-machines/pull/263

Comment 9 Katerina Koukiou 2021-07-26 11:24:08 UTC
Upstream test testAddDiskCustomPath was extended to verify the fix.

https://github.com/cockpit-project/cockpit-machines/commit/5d9e9b268cffac84d77e5b27633f56a2b49a5a1c

Comment 10 Xianghua Chen 2021-07-27 10:42:14 UTC
Verified with packages:
cockpit-machines-249-1.el8.noarch
libvirt-dbus-1.3.0-2.module+el8.3.0+6423+e4cb6418.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Enter "Storage Pools"
2. Click "Create Storage Pool" , input "Name" and "Target Path"   (do not click the paths which are listed in the drop-down box)
3. Click "Create"
 
 
Can create the storage pool successfully now. So verified.

Comment 12 errata-xmlrpc 2021-11-09 17:53:43 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 (cockpit-appstream bug fix and enhancement 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/RHBA-2021:4178


Note You need to log in before you can comment on or make changes to this bug.