** Description changed: Cobbler in Oneiric does not know that precise is a supported release. This has already been fixed in precise and needs to be SRU'd. + + + Output from orchestra-import-isos: + + creating new distro: precise-x86_64 + Exception occured: <class 'cobbler.cexceptions.CX'> + Exception value: '--os-version for breed ubuntu must be one of dapper, hardy, intrepid, jaunty, karmic, lucid, maverick, natty, oneiric, given was precise' + Exception Info: + File "/usr/lib/python2.7/dist-packages/cobbler/remote.py", line 93, in run + rc = self._run(self) + File "/usr/lib/python2.7/dist-packages/cobbler/remote.py", line 227, in runner + self.logger + File "/usr/lib/python2.7/dist-packages/cobbler/api.py", line 756, in import_tree + return manager.run(pkgdir,mirror_url,mirror_name,network_root,kickstart_file,rsync_flags,arch,breed,os_version) + File "/usr/lib/python2.7/dist-packages/cobbler/modules/manage_import_debian_ubuntu.py", line 275, in run + os.path.walk(self.path, self.distro_adder, distros_added) + File "/usr/lib/python2.7/posixpath.py", line 229, in walk + func(arg, top, names) + File "/usr/lib/python2.7/dist-packages/cobbler/modules/manage_import_debian_ubuntu.py", line 420, in distro_adder + adtls.append(self.add_entry(dirname,kernel,initrd)) + File "/usr/lib/python2.7/dist-packages/cobbler/modules/manage_import_debian_ubuntu.py", line 482, in add_entry + distro.set_os_version(self.os_version) + File "/usr/lib/python2.7/dist-packages/cobbler/item_distro.py", line 176, in set_os_version + return utils.set_os_version(self,os_version) + File "/usr/lib/python2.7/dist-packages/cobbler/utils.py", line 1328, 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 !!! + failed to import precise-x86_64 + internal error, unknown profile name precise-x86_64 + profile precise-x86_64 not found, inheritance not possible + + See full activity log + + + ====== SRU Justification ====== + + [Impact] + This causes that cobbler fails to import an Ubuntu Precise ISO. Backporting this fix, will allow the import of Precise ISOs. + + [Development Fix] + This has been fixed in precise. + + [Test Case] + Try to import the precise iso with: + + sudo cobbler import --name=precise-<arch> --path=/path/where/iso/mounted + --os-version=precise + + [Regression Potential] + Minimal, this only hardcodes the new release by updating the ubuntu patch that adds the other ubuntu releases. This has been tested and works as expected.
** Patch added: "cobbler.debdiff" https://bugs.launchpad.net/ubuntu/+source/cobbler/+bug/899283/+attachment/2616725/+files/cobbler.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/899283 Title: [SRU] [oneiric] Oneiric cobbler cannot import precise To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cobbler/+bug/899283/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs