Bug 743619 - Can't import Fedora 16
Summary: Can't import Fedora 16
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: cobbler
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: James C.
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 751256 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-05 14:35 UTC by Kamil Páral
Modified: 2012-04-17 00:57 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-17 00:54:54 UTC
Type: ---


Attachments (Terms of Use)

Description Kamil Páral 2011-10-05 14:35:24 UTC
Description of problem:
I am completely new to cobbler. I was running according to:
https://fedorahosted.org/cobbler/wiki/UsingCobblerImport

I mounted and tried to import Fedora 16 Beta i386 DVD ISO.

It failed with this exception:

received on stderr: 
associating kickstarts
scanning /var/www/cobbler/ks_mirror/F16Beta_i386/images/pxeboot for distro signature
scanning /var/www/cobbler/ks_mirror/F16Beta_i386/images for distro signature
scanning /var/www/cobbler/ks_mirror/F16Beta_i386 for distro signature
found content (breed=redhat) at /v
Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: '--os-version for breed redhat must be one of rhel2.1, rhel3, rhel4, rhel5, rhel6, fedora5, fedora6, fedora7, fedora8, fedora9, fedora10, fedora11, fedora12, fedora13, fedora14, fedora15, generic24, generic26, virtio26, other, given was fedora16'
Exception Info:
  File "/usr/lib/python2.7/site-packages/cobbler/remote.py", line 95, in run
    rc = self._run(self)
   File "/usr/lib/python2.7/site-packages/cobbler/remote.py", line 225, in runner
    self.logger
   File "/usr/lib/python2.7/site-packages/cobbler/api.py", line 659, in import_tree
    return importer.run()
   File "/usr/lib/python2.7/site-packages/cobbler/action_import.py", line 227, in run
    self.kickstart_finder(distros_added)
   File "/usr/lib/python2.7/site-packages/cobbler/action_import.py", line 300, in kickstart_finder
    distro.set_os_version(version)
   File "/usr/lib/python2.7/site-packages/cobbler/item_distro.py", line 174, in set_os_version
    return utils.set_os_version(self,os_version)
   File "/usr/lib/python2.7/site-packages/cobbler/utils.py", line 1258, in set_os_version
    raise CX(_("--os-version for breed %s must be one of %s, given was %s") % (self.breed, nicer, os_version))

!!! TASK FAILED !!!


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

Comment 1 Robert Hoekstra 2011-11-10 16:04:02 UTC
Same here for the final release.

Comment 2 Fedora Admin XMLRPC Client 2012-04-11 22:00:24 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 James C. 2012-04-17 00:54:54 UTC
This works as of the 2.2.0 release. If you continue to have issues with imports of F16, please open a new issue via the github issue tracker: https://github.com/cobbler/cobbler/issues

Comment 4 James C. 2012-04-17 00:57:10 UTC
*** Bug 751256 has been marked as a duplicate of this bug. ***


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