Project

General

Profile

Actions

Bug #18703

closed

Unable to delete the composite content view version after upgrade

Added by Brad Buckingham about 7 years ago. Updated almost 6 years ago.

Status:
Duplicate
Priority:
Normal
Category:
Content Views
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Description of problem:

When deleting the version of a content view the task gives an error and keeps hanging.
Now they have an 'emtpy' content view version which can't deleted

Here is the error message while deleting the content view version:

The error messages says : "[Errno 2] No such file or directory: '/var/lib/pulp/published/yum/https/repos/Default_Organization/content_views/CV_ALL/6.0/custom/EPEL/listing'"

On file system, we see that there is no directory for the version "6.0"

  1. ls l /var/lib/pulp/published/yum/https/repos/Default_Organization/content_views/CV_ALL
    total 4
    drwxr-xr-x. 4 apache apache 47 Aug 4 10:21 8.0
    drwxr-x--
    . 4 apache apache 47 Aug 12 13:50 8.1
    rw-r--r-. 1 apache apache 11 Aug 12 13:50 listing

How reproducible:
only on user environment

Additional Info:

  • We tried creating the directory path manually with proper permissions but still that could not help.
  1. mkdir -p /var/lib/pulp/published/yum/https/repos/Default_Organization/content_views/CV_ALL/6.0/custom/EPEL
  2. touch /var/lib/pulp/published/yum/https/repos/Default_Organization/content_views/CV_ALL/6.0/custom/EPEL/listing
  3. chown apache:apache -R /var/lib/pulp/published/yum/https/repos/Default_Organization/content_views/CV_ALL/6.0
  • The user tried to delete the CCV but still, server does not allow to delete and fail with the same error:

    description: 'Pulp exception occurred: PulpExecutionException'
    sub_errors:
    - code: PLP0000
    data: {}
    description: "[Errno 2] No such file or directory: '/var/lib/pulp/published/yum/https/repos/Default_Organization/content_views/CV_ALL/6.0/custom/EPEL/listing'"
    sub_errors: []


Related issues 1 (0 open1 closed)

Is duplicate of Katello - Bug #15567: Katello 3.0 - Failed to delete a content viewResolvedJustin Sherrill07/03/2016Actions
Actions

Also available in: Atom PDF