Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: When creating the DB using the appliance console, the user is given the option to create it on /dev/sr0 which is a SCSI CDROM. Creating the DB on it will not ever succeed. Version-Release number of selected component (if applicable): CFME 5.10.2.2 How reproducible: always Steps to Reproduce: 1. Opt the CFME 5.10 from sprout on RHEVM provider 2. Configure database using appliance_console 3. Answer the quiestions until you get to 'Choose the database disk: |1| ' Actual results: # On 5.10, rhevm provider: # # database disk # # 1) /dev/sr0: 0 MB # 2) /dev/vdb: 4768 MB # 3) Don't partition the disk Expected results: # On 5.10, rhevm provider: # # database disk # # 1) /dev/vdb: 4768 MB # 2) Don't partition the disk Additional info:
On VMWARE and CF 4.7, i also saw /dev/fd0 as an option.
LJ and I were looking at this and determined that the issue isn't with the appliance OVAs. I think https://github.com/ManageIQ/linux_admin/commit/eaff9fccfb16dd111a4bbf45d561a1afd09ad9c4 introduced this issue since previously we were filtering out both /dev/fd0 and /dev/sr0 (it was previously `Dir.glob(['/dev/[vhs]d[a-z]', '/dev/xvd[a-z]']).collect`). The conclusion that LJ and I drew is that we could fix this by adding filtering on the linux admin side, since the filtering options available to us via lsblk seem rather limited. Specifically, the approach is to remove all block devices from the list with a size zero.
https://github.com/ManageIQ/linux_admin/pull/211
Please disregard comment 4, in its stead, see https://github.com/ManageIQ/linux_admin/pull/214