Description of problem: Single Node OpenShift (SNO) installation through Assisted Installer failed with following error ``` Error This host failed its installation. Failed - failed after 3 attempts, last error: failed executing nsenter [-t 1 -m -i -- coreos-installer install --insecure -i /opt/openshift/master.ign /dev/disk/by-id/wwn-0x55cd2e4150c050fa], Error exit status 1, LastOutput "Error: checking for exclusive access to /dev/disk/by-id/wwn-0x55cd2e4150c050fa Caused by: couldn't find /sys/block directory for partition /dev/sda1 of /dev/disk/by-id/wwn-0x55cd2e4150c050fa". ``` When i attempted to reinstall using a different disk partition, installation was successful. Version-Release number of selected component (if applicable): SNO 4.8-alpha How reproducible: I attempted only once, but i believe we can reproduce it again if we attempt to install SNO on /dev/sda1 disk again. Steps to Reproduce: 1. Start SNO installation using Assisted Installation 2. If default disk is not set to /dev/sda1, set it to /dev/sda1 and continue installation 3. It should fail, while copying the live disk to this partition. Actual results: Failed to copy live disk to the partition because of the permission issue. Expected results: Successful SNO installation using /dev/sda1 Additional info:
@atraeger, @rfreiman I don't think we support installing on a partition instead on a disk. Maybe we should verify this in the API?
We are validating that the selected disk is one of those that is in the inventory, so we should already be validating that. Looks like either a bug in the validation, or the inventory includes partitions as well as full disks (probably the latter).
@avishnoi did you mount the disk manually? do you have any idea why the disk was busy? just want to verify that it's not related to the machine
do you have logs to share? thanks
Got access to the machine, attempted installation on /dev/sda, issue did not reproduce
Reporter recalls generating an ISO, waiting too long (8 hours or so), attempting an install on /dev/sda, failing due to some error (maybe certificate expiry), then generating a new ISO and trying on /dev/sda again - that's when the bug occurred.
according to Ronnie, this issue might be already fixed - Anil can you see if it reproduces to you?
I tried creating 2 partitions on /dev/sda, but the installer only lets me choose between /dev/sda and /dev/sdb. There is no resolution to partitions. Verified in v1.5.22 (backend 1.0.22.1)