Project

General

Profile

Actions

Bug #6072

closed

syncing repo with typo in URL creates lock

Added by Ivan Necas over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1099981
Description of problem:
Syncing repo with typo in URL creates lock.

Version-Release number of selected component (if applicable):
Satellite-6.0.3-RHEL-6-20140521.0

How reproducible:
always

Steps to Reproduce:
1. Create new product in webUI:
Content -> Products -> [+ New Product]
Name: ISEProduct
2. Create new repository in the product:
Content -> Products -> ISEProduct -> [Create Repository]
Name: ISERepository
Type: yum
URL: http://www.redhat.com/notExistingRepo
3. Sync it (using Content -> Sync Status ... do not trigger this, just fails,
but I do not see the lock - strange (!))
Content -> Products -> ISEProduct -> ISERepository -> [Sync Now]
Also you can initialize sync using hammer.

Actual results:
Looks like some locks are left around.

Expected results:
Should fail without locks around or something.

Additional info:
To clean this, you have to release the lock:
Monitor -> Tasks -> <your_failed_task> -> [Force Stop] -> [Force Stop]

Actions

Also available in: Atom PDF