`open': Not a directory - /var/lib/qpidd/.qpidd/qls/jrnl/<something> (Errno::ENOTDIR)
Description of problem:
When there are files (not directories) in /var/lib/qpidd/.qpidd/qls/jrnl/, the upgrade fails when migrating the qpidd dirs, as it tries to chdir to a non-directory (file, symlink, whatever).
I understand that having non-directories is not really expected in the jrnl folder, but I still think the upgrade should cope with that.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. touch /var/lib/qpidd/.qpidd/qls/jrnl/test.txt
2. upgrade from 6.2.10 to 6.2.12
/usr/share/katello-installer-base/hooks/pre/30-upgrade.rb:124:in `open': Not a directory - /var/lib/qpidd/.qpidd/qls/jrnl/test.txt (Errno::ENOTDIR)
Workaround: remove all non-directories from the jrnl folder
#2 Updated by Evgeni Golov over 4 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello-installer|b7a1898a046d8734aa2d983a060de28f08a43edc.