Bug 538290 - Unable to do a cobbler import of Fedora 12, missing the proper --os-version
Unable to do a cobbler import of Fedora 12, missing the proper --os-version
Status: CLOSED WONTFIX
Product: Fedora
Classification: Fedora
Component: cobbler (Show other bugs)
12
All Linux
low Severity medium
: ---
: ---
Assigned To: John Eckersberg
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-18 01:16 EST by Jacob Hunt
Modified: 2009-12-04 13:27 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-12-04 13:27:05 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Jacob Hunt 2009-11-18 01:16:42 EST
Description of problem:

Unable to do a cobbler import of Fedora 12


Version-Release number of selected component (if applicable):


cobbler-2.0.0-1.fc12.noarch
cobbler-web-2.0.0-1.fc12.noarch

How reproducible:

every time

Steps to Reproduce:
1. cobbler import --path=/mnt --name=fedora12

  
Actual results:

Tue Nov 17 22:43:14 2009 - INFO | Exception occured: <class 'cobbler.cexceptions.CX'>
Tue Nov 17 22:43:14 2009 - INFO | Exception value: '--os-version for breed redhat must be one of rhel2.1, rhel3, rhel4, rhel5, fedora5, fedora6, fedora7, fedora8, fedora9, fedora10, fedora11, generic24, generic26, virtio26, other, given was fedora12'
Tue Nov 17 22:43:14 2009 - INFO | Exception Info:
  File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 92, in run
    rc = self._run(self)
   File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 221, in runner
    self.logger
   File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 647, in import_tree
    return importer.run()
   File "/usr/lib/python2.6/site-packages/cobbler/action_import.py", line 227, in run
    self.kickstart_finder(distros_added)
   File "/usr/lib/python2.6/site-packages/cobbler/action_import.py", line 300, in kickstart_finder
    distro.set_os_version(version)
   File "/usr/lib/python2.6/site-packages/cobbler/item_distro.py", line 168, in set_os_version
    return utils.set_os_version(self,os_version)
   File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 1088, in set_os_version
    raise CX(_("--os-version for breed %s must be one of %s, given was %s") % (self.breed, nicer, os_version))

Tue Nov 17 22:43:14 2009 - ERROR | ### TASK FAILED ###


Expected results:

successful import of fedora12


Additional info:

the os-version of fedora12 isn't defined so the import fails.
Comment 1 John Eckersberg 2009-11-18 10:46:44 EST
This is fixed in commit 93d2dc8b2c2e7c060ca9948653041307bbe72f57
Comment 2 Vedran Miletić 2009-12-04 13:27:05 EST
The VERIFIED, FAILS_QA and RELEASE_PENDING bug states are not used by Fedora (they are used in the RHEL process).

I'm closing this bug ahead of time. It is possibly fixed, but Reporter, if you can reproduce it using a current version of Fedora (version 12), please reopen it.

---

Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

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