Bug 972156 - iso sync let me sync a cdn repo without specifying the certs
Summary: iso sync let me sync a cdn repo without specifying the certs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: iso-support
Version: 2.2 Beta
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 2.3.0
Assignee: Michael Hrivnak
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-07 19:36 UTC by Preethi Thomas
Modified: 2013-12-09 14:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-09 14:30:19 UTC


Attachments (Terms of Use)

Description Preethi Thomas 2013-06-07 19:36:49 UTC
Description of problem:

I was able to sync a cdn iso repo without specifying the certs. Not sure if having created the repo previously had anything to do with it. I will explain the steps I did
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create CDN iso repo with certs
2.  Sync the repo
3. Delete the repo
4. Make sure that the iso files are deleted from the filesystem
5. Create a second repo with CDN feed  but do not use the certs
6. Sync the repo

Actual results:
cdn repos are able sync without the certs


Expected results:


Additional info:

Comment 1 Randy Barlow 2013-06-12 21:05:05 UTC
This is due to a bug in Nectar, which I've marked as a blocker for this bug.

Comment 2 Michael Hrivnak 2013-09-26 19:30:54 UTC
https://github.com/pulp/pulp_rpm/pull/341

The above PR should fix this as well.

Comment 3 Jeff Ortel 2013-09-26 20:54:13 UTC
build: 2.3.0-0.16.alpha

Comment 4 Preethi Thomas 2013-10-02 12:25:59 UTC
verified
[root@ibm-ls22-02 ~]# rpm -qa |grep pulp-server
pulp-server-2.3.0-0.16.alpha.el6.noarch
[root@ibm-ls22-02 ~]# 


[root@ibm-ls22-02 ~]# pulp-admin iso repo create --repo-id iso-rhel6 --feed https://cdn.redhat.com/content/dist/rhel/rhui/server/6/6.4/i386/iso/ 
Successfully created repository [iso-rhel6]


[root@ibm-ls22-02 ~]# 
[root@ibm-ls22-02 ~]# pulp-admin iso repo sync run --repo-id iso-rhel6
+----------------------------------------------------------------------+
                  Synchronizing Repository [iso-rhel6]
+----------------------------------------------------------------------+

This command may be exited by pressing ctrl+c without affecting the actual
operation on the server.

Downloading the Pulp Manifest...
Downloading the Pulp Manifest failed:

	{}

Comment 5 Preethi Thomas 2013-12-09 14:30:19 UTC
Pulp 2.3 released.


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