Bug 1114631 - cannot list all puppet modules what were uploaded to repository
Summary: cannot list all puppet modules what were uploaded to repository
Keywords:
Status: CLOSED DUPLICATE of bug 1115089
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-30 14:13 UTC by Ales Dujicek
Modified: 2014-07-21 18:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-01 15:14:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ales Dujicek 2014-06-30 14:13:38 UTC
Description of problem:

some uploaded puppet modules to repository are not listed in repository


# hammer repository upload-content --id 12 --path puppetlabs-concat-1.0.2.tar.gz
Successfully uploaded file 'puppetlabs-concat-1.0.2.tar.gz'.

# hammer puppet-module list --repository-id 12
-------------------------------------|--------|---------|-----------
ID                                   | NAME   | VERSION | AUTHOR    
-------------------------------------|--------|---------|-----------
2c0028e0-5bee-4dd9-b046-6476d714bcac | concat | 1.0.2   | puppetlabs
-------------------------------------|--------|---------|-----------

# hammer repository upload-content --id 12 --path puppetlabs-apt-1.4.0.tar.gz
Successfully uploaded file 'puppetlabs-apt-1.4.0.tar.gz'.
# hammer repository upload-content --id 12 --path puppetlabs-inifile-1.0.3.tar.gz
Successfully uploaded file 'puppetlabs-inifile-1.0.3.tar.gz'.

# hammer puppet-module list --repository-id 12
-------------------------------------|--------|---------|-----------
ID                                   | NAME   | VERSION | AUTHOR    
-------------------------------------|--------|---------|-----------
2c0028e0-5bee-4dd9-b046-6476d714bcac | concat | 1.0.2   | puppetlabs
42931a34-a017-4f3b-bf8b-0c141b3c24db | apt    | 1.4.0   | puppetlabs
-------------------------------------|--------|---------|-----------

^^ puppetlabs-inifile-1.0.3.tar.gz missing
but when I upload the same module to another repo, then it is listed in both

# hammer repository upload-content --id 13 --path puppetlabs-inifile-1.0.3.tar.gz
Successfully uploaded file 'puppetlabs-inifile-1.0.3.tar.gz'.

# hammer puppet-module list --repository-id 12
-------------------------------------|---------|---------|-----------
ID                                   | NAME    | VERSION | AUTHOR    
-------------------------------------|---------|---------|-----------
98f3dbee-bb9c-47ae-a1dd-119f5940502d | inifile | 1.0.3   | puppetlabs
2c0028e0-5bee-4dd9-b046-6476d714bcac | concat  | 1.0.2   | puppetlabs
42931a34-a017-4f3b-bf8b-0c141b3c24db | apt     | 1.4.0   | puppetlabs
-------------------------------------|---------|---------|-----------



I also noticed that if I upload more versions of module, only the first one is listed

# hammer repository upload-content --id 12 --path puppetlabs-mysql-2.2.0.tar.gz
Successfully uploaded file 'puppetlabs-mysql-2.2.0.tar.gz'.
# hammer repository upload-content --id 12 --path puppetlabs-mysql-2.2.3.tar.gz 
Successfully uploaded file 'puppetlabs-mysql-2.2.3.tar.gz'.
# hammer puppet-module list --repository-id 12 ; hammer puppet-module list --repository-id 13
-------------------------------------|---------|---------|-----------
ID                                   | NAME    | VERSION | AUTHOR    
-------------------------------------|---------|---------|-----------
98f3dbee-bb9c-47ae-a1dd-119f5940502d | inifile | 1.0.3   | puppetlabs
2c0028e0-5bee-4dd9-b046-6476d714bcac | concat  | 1.0.2   | puppetlabs
42931a34-a017-4f3b-bf8b-0c141b3c24db | apt     | 1.4.0   | puppetlabs
fb3a6bfc-a9cb-459e-a4d4-3505f7a5c2ea | mysql   | 2.2.0   | puppetlabs
-------------------------------------|---------|---------|-----------


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

Comment 2 Brad Buckingham 2014-07-01 15:14:10 UTC

*** This bug has been marked as a duplicate of bug 1115089 ***


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