Bug 641038

Summary: packagegroup create does not check if the repoid exists or not
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: z_otherAssignee: John Matthews <jmatthew>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: jmatthew
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-16 14:01:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 641987    

Description Preethi Thomas 2010-10-07 15:46:04 UTC
Description of problem:


[root@localhost ~]# pulp-admin packagegroup create --repoid=f15 --id=pkggrp1 --name=pkggrp1
+------------------------------------------+
 Package Group [pkggrp1] created in repository [f15]
+------------------------------------------+
[root@localhost ~]# pulp-admin packagegroup list --repoid=f15
PackageGroups not found in repo [f15]
[root@localhost ~]# pulp-admin repo list
+------------------------------------------+
       List of Available Repositories
+------------------------------------------+

Label              	f13                      
Name               	f13                      
Feed               	{u'url': u'http://download.devel.redhat.com/released/F-13/GOLD/Fedora/x86_64/os/', u'type': u'yum', u'supported_types': [u'yum', u'local', u'rhn']}
Arch               	x86_64                   
Sync Schedule      	None                     
Packages           	3079                     
Files              	8                        


Label              	f12                      
Name               	f12                      
Feed               	{u'url': u'http://download.devel.redhat.com/released/F-12/GOLD/Fedora/x86_64/os/', u'type': u'yum', u'supported_types': [u'yum', u'local', u'rhn']}
Arch               	x86_64                   
Sync Schedule      	0,30 8-17 * * 1-5        
Packages           	3018                     
Files              	8                        

You have new mail in /var/spool/mail/root
[root@localhost ~]#

Comment 1 John Matthews 2010-10-15 13:35:06 UTC
Added check for status on client side, also added a message to log file for all client requests which result in a 404.

http://git.fedorahosted.org/git/?
p=pulp.git;a=commit;h=de2670d4f782e2ffda0b8afde9275eeddab495eb

Comment 2 Jay Dobies 2010-10-15 18:52:42 UTC
Included in build 0.74.

Comment 3 Preethi Thomas 2010-10-18 15:01:21 UTC
verified
[root@preethi ~]# pulp-admin packagegroup create --repoid=f15 --id=pkggrp1 --name=pkggrp1
Unable to create package group [pkggrp1] in repository [f15]

Comment 4 Preethi Thomas 2011-08-16 14:01:10 UTC
Closing with Community Release 15

pulp-0.0.223-4.