Bug 712719 - Pungi fails with: yum.Errors.GroupsError: No Groups Available in any repository
Summary: Pungi fails with: yum.Errors.GroupsError: No Groups Available in any repository
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: pungi
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-12 17:23 UTC by Erik M Jacobs
Modified: 2013-01-10 06:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-28 19:12:53 UTC
Type: ---


Attachments (Terms of Use)
simple kickstart (1.54 KB, application/octet-stream)
2011-06-19 18:41 UTC, Erik M Jacobs
no flags Details

Description Erik M Jacobs 2011-06-12 17:23:02 UTC
Description of problem:
When trying to run Pungi to create install media, it fails with yum.Errors.GroupsError: No Groups Available in any repository

Version-Release number of selected component (if applicable):
pungi-2.5-2.fc15.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install pungi
2. Run pungi
  
Actual results:
[root@t61dora F15custom]# pungi -c /var/www/html/fedora-desktop.cfg --destdir=/tmp/spins/F15custom --name Fedora Tweaked --ver 15 --nosource --force
WARNING: SELinux is enforcing.  This may lead to a compose with selinux disabled.
Consider running with setenforce 0.
Warning: Reusing existing destination directory.
Pungi:INFO: Getting sacks for arches ['athlon', 'i586', 'i486', 'noarch', 'i386', 'i686', 'src']
Traceback (most recent call last):
  File "/usr/bin/pungi", line 214, in <module>
    main()
  File "/usr/bin/pungi", line 88, in main
    mypungi.getPackageObjects()
  File "/usr/lib/python2.7/site-packages/pypungi/__init__.py", line 412, in getPackageObjects
    searchlist.extend(self.getPackagesFromGroup(group))
  File "/usr/lib/python2.7/site-packages/pypungi/__init__.py", line 306, in getPackagesFromGroup
    if not self.ayum.comps.has_group(group.name):
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 882, in <lambda>
    comps = property(fget=lambda self: self._getGroups(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 805, in _getGroups
    raise Errors.GroupsError, _('No Groups Available in any repository')
yum.Errors.GroupsError: No Groups Available in any repository

Expected results:
Pungi runs and completes as expected

Additional info:
Tried a yum clean all followed by yum grouplist followed by pungi again and still failed.
Tried with SELinux in permissive mode, still failed.
Tried with multiple kickstarts, all failed.

Comment 1 Jesse Keating 2011-06-13 18:05:39 UTC
What is in your kickstart file?  Pungi uses the kickstart file to define the repositories to use, and those repositories need to have group metadata in them.

Comment 2 Erik M Jacobs 2011-06-19 18:41:49 UTC
Created attachment 505497 [details]
simple kickstart

This is a simple kickstart I'm trying to use with Pungi on F15.

Comment 3 Jesse Keating 2011-06-28 19:12:53 UTC
I don't see a repo defined anywhere in this kickstart file.  Pungi needs repos defined in order to know where to get the packages from, it does not use your system yum configuration.


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