Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1099981 - syncing repo with typo in URL creates lock
Summary: syncing repo with typo in URL creates lock
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Ivan Necas
QA Contact: Ales Dujicek
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-21 17:29 UTC by Jan Hutař
Modified: 2019-09-25 20:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-02 14:06:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 6072 0 None None None 2016-04-22 16:52:33 UTC

Description Jan Hutař 2014-05-21 17:29:43 UTC
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]

Comment 2 Ivan Necas 2014-05-28 08:59:41 UTC
I'm working on better handling of the error states in Dynflow as part of https://bugzilla.redhat.com/show_bug.cgi?id=1093124 so that at the end, it should finish the task with warnings instead of pausing in this case

Comment 3 Ivan Necas 2014-06-04 21:56:39 UTC
Created redmine issue http://projects.theforeman.org/issues/6072 from this bug

Comment 4 Ivan Necas 2014-06-10 11:35:20 UTC
Note for release nanny: depends on dynflow-0.7.0 and foreman-tasks-0.6.0

The changed in Katello were made in https://github.com/Katello/katello/pull/4219

Comment 7 Ales Dujicek 2014-06-16 13:04:35 UTC
created repository with wrong URL and synchronization task finished -> Verified.

Satellite-6.0.3-RHEL-6-20140612.1

Comment 8 Bryan Kearney 2014-07-02 14:06:00 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.


Note You need to log in before you can comment on or make changes to this bug.