Actions
Bug #15824
closedEnabling a repository needs to fail on pulp error
Difficulty:
easy
Triaged:
Bugzilla link:
Pull request:
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.
Actions