Project

General

Profile

Actions

Bug #21268

closed

`open': Not a directory - /var/lib/qpidd/.qpidd/qls/jrnl/<something> (Errno::ENOTDIR)

Added by Evgeni Golov over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Installer
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1500311

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):
Satellite 6.2.12

How reproducible:
100%

Steps to Reproduce:
1. touch /var/lib/qpidd/.qpidd/qls/jrnl/test.txt
2. upgrade from 6.2.10 to 6.2.12

Actual results:
/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)

Expected results:
Upgrade succeeds

Additional info:
Workaround: remove all non-directories from the jrnl folder

Actions #1

Updated by The Foreman Bot over 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-installer/pull/549 added
Actions #2

Updated by Evgeni Golov over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Justin Sherrill over 6 years ago

  • Subject changed from `open': Not a directory - /var/lib/qpidd/.qpidd/qls/jrnl/<something> (Errno::ENOTDIR) to `open': Not a directory - /var/lib/qpidd/.qpidd/qls/jrnl/<something> (Errno::ENOTDIR)
  • translation missing: en.field_release set to 284
Actions

Also available in: Atom PDF