Bug 641038 - packagegroup create does not check if the repoid exists or not
Summary: packagegroup create does not check if the repoid exists or not
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: John Matthews
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: pulp-verified
TreeView+ depends on / blocked
 
Reported: 2010-10-07 15:46 UTC by Preethi Thomas
Modified: 2011-08-16 14:01 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-08-16 14:01:10 UTC
Embargoed:


Attachments (Terms of Use)

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.


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