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 768012 - manifest import fails - 404 Resource Not Found
Summary: manifest import fails - 404 Resource Not Found
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: API
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: Unspecified
Assignee: Ivan Necas
QA Contact: Garik Khachikyan
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2011-12-15 14:20 UTC by Garik Khachikyan
Modified: 2019-09-25 21:08 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 18:14:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Garik Khachikyan 2011-12-15 14:20:00 UTC
Description of problem:
on very last commits seems manifest import got broken.

Version-Release number of selected component (if applicable):
katello-0.1.144-1.git.3.fac6c90.el6.noarch
katello-cli-0.1.27-1.el6.noarch

How reproducible:
always on latest code

Steps to Reproduce:
1.on clean katello do import manifest from cli
2.
3.
  
Actual results:
exception dump: http://pastebin.test.redhat.com/71231

Expected results:
no errors, manifest gets imported.

Additional info:
http://pastebin.test.redhat.com/71231

Comment 1 Garik Khachikyan 2011-12-15 14:28:07 UTC
removing "Regression" - as on the "older" katello the same issue happens.

seems something on CDN side (format or anything else) got changed.

Comment 2 Todd Sanders 2011-12-15 14:31:10 UTC
Seeing same issue on EL6.1.

From production.log -> http://pastebin.test.redhat.com/71236

katello-trusted-ssl-cert-1.0-1.noarch
katello-glue-pulp-0.1.144-1.el6.noarch
katello-cli-common-0.1.27-1.el6.noarch
katello-certs-tools-1.0.1-1.el6.noarch
katello-httpd-ssl-key-pair-1.0-1.noarch
katello-all-0.1.144-1.el6.noarch
katello-glue-foreman-0.1.144-1.el6.noarch
katello-glue-candlepin-0.1.144-1.el6.noarch
katello-cli-0.1.27-1.el6.noarch
katello-configure-0.1.37-1.el6.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-common-0.1.144-1.el6.noarch
katello-0.1.144-1.el6.noarch
katello-repos-0.1.4-1.el6.noarch

Comment 3 Garik Khachikyan 2011-12-15 15:05:28 UTC
There was a missing listing file on CDN side:
---
<inecas> gkhachik: the import fails on CDN:
/content/beta/rhel/server/5/5Server/listing file missing
<gkhachik> broken cdn ?
---

tsanders> gkhachik, dgregor just put the missing listing file back in place.
can you retest?

And now it fixed.
I'll keep the bug open - I think we need to provide better error
handling/rollback scenario in such case(s).

lowering priority for now

Comment 4 Ivan Necas 2012-01-05 14:58:46 UTC
I slightly changed the algorithm for computing substitutions in content url:
all substitutions get calculated before starting creating repositories in Pulp. This way, we notice the problem before messing up the Pulp repositories, which enables reimporting the manifest once the CDN problem is gone.

It also gives much more descriptive error, something like:

 CDN loading error: https://cdn.redhat.com/content/dist/rhel/server/6/6.1/listing not found

Added in commit 87aaa9248d69945b10cc1135053b932ff2e87cc2

Comment 5 Garik Khachikyan 2012-01-13 14:40:57 UTC
# VERIFIED

The symptoms above are not reproducible any more. moving to verified.

Import of manifest works fine now.

feel free to reopen with details if it would start to fail :)

checked on:

katello-0.1.174-2.el6.noarch
katello-cli-0.1.35-1.el6.noarch
pulp-0.0.256-1.el6.noarch
candlepin-0.5.8-1.el6.noarch

Comment 8 Mike McCune 2013-08-16 17:54:48 UTC
getting rid of 6.0.0 version since that doesn't exist


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