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 759533 - Can't promote a product with a distribution
Summary: Can't promote a product with a distribution
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: API
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Mike McCune
QA Contact: Jitendra Yejare
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2011-12-02 15:47 UTC by Mike McCune
Modified: 2019-09-25 21:27 UTC (History)
2 users (show)

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


Attachments (Terms of Use)
Promotion success (169.10 KB, image/png)
2011-12-21 13:19 UTC, Kedar Bidarkar
no flags Details

Description Mike McCune 2011-12-02 15:47:14 UTC
You get an error when trying to promote a product (repo) with a distribution

Steps:

1) If you sync: "Red Hat Enterprise Linux 6 Server RPMs 61 x86_64" it should pull down 1 Distribution associated with that repo.  

2) Setup a DEV env

3) Create changeset, add "Red Hat Enterprise Linux" proudct

4) Review -> Promote

5) Notice error dialog: 

"Pulp::Distribution: 404 Resource Not Found not found (GET /pulp/api/distribution/ks-Red%20Hat%20Enterprise%20Linux-Server-6.1-x86_64/): not found"

Comment 1 Mike McCune 2011-12-02 22:48:13 UTC
the problem is in the path above:

/pulp/api/distribution/

should be:

/pulp/api/distributions/

fixed in: 

commit 4f256020689e7034aaba1ea3845df6f124775694
Author: Mike McCune <mmccune>
Date:   Fri Dec 2 14:46:23 2011 -0800

    759533 - proper path for distributions

Comment 2 Lukas Zapletal 2011-12-06 15:47:34 UTC
Mike, I have to revert your change:

5f04fc8 Revert "759533 - proper path for distributions"

You have been using pulp-testing build, this is planned for community release next week. It broke it.

Please note this BZ:

https://bugzilla.redhat.com/show_bug.cgi?id=753813

and all dependencies.

Setting back to ASSIGNED, once CR is ready we should commit it again.

Comment 4 Mike McCune 2011-12-07 02:18:03 UTC
reverted the revert and mailed katello-devel:

https://www.redhat.com/archives/katello-devel/2011-December/msg00033.html

Comment 5 Lukas Zapletal 2011-12-07 09:38:47 UTC
Okay, sorry about that. Marking the other one as FIXED too.

Comment 6 Kedar Bidarkar 2011-12-21 13:19:29 UTC
Created attachment 549023 [details]
Promotion success

Comment 7 Kedar Bidarkar 2011-12-21 13:20:44 UTC
WE no longer face this issue with RHEL6.1 distribution


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