Project

General

Profile

Actions

Bug #15824

closed

Enabling a repository needs to fail on pulp error

Added by Brad Buckingham about 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1335898
Description of problem:

A repository can be enabled even if there is an error in pulp.
Version-Release number of selected component (if applicable):
How reproducible:
%100
Steps to Reproduce:
1. Turn off a repo in pulp
2. Try to enable this repo
or
1. Don't install ostree
2. Try to enable an ostree repo
Actual results:
you should see a pulp error in /var/log/messages but the repo will be available in the Products page.
Expected results:
The repo is not able to be enabled and an appropriate message is returned to the user when enabling it errors in pulp.
Additional info:
This is related to how we handle the task in dynflow. We should be enabling the repo in pulp first before we add it to the the database.

Related issues 2 (1 open1 closed)

Has duplicate Katello - Bug #15516: enabling an ostree repository causes error on manifest refresh actionsDuplicate06/24/2016Actions
Blocks Katello - Tracker #15825: Sprint 1 : Content-FocusedNewBrad Buckingham07/24/2016

Actions
Actions

Also available in: Atom PDF