Red Hat Bugzilla – Bug 543538
Cobbler uses old python-netaddr API but the cobbler package does not depend on the old version
Last modified: 2009-12-04 13:27:08 EST
Description of problem:
Cobbler uses python-netaddr for network address handling. The netaddr API changed significantly between the 0.6.x series and the 0.7.x series.
Cobbler uses the 0.6.x API but the cobbler package only depends on 'python-netaddr', it does not list any version constraints in its dependencies.
The version of pytho-netaddr in F12 is 0.7.2. The API provided by this version is incompatible with cobbler currently.
This incompatibility manifests itself by being unable to specify an IP address when adding a system to cobbler. All of the following fail with the message "invalid format for IP address (<address>)". The profile "Centos5.4-x86_64" does exist.
sudo cobbler system add --name=node --ip=192.168.122.2 --profile=Centos5.4-x86_64
sudo cobbler system add --name=node --ip=192.168.122.0/24 --profile=Centos5.4-x86_64
sudo cobbler system add --name=node --ip=192.168.122.0/255.255.255.0 --profile=Centos5.4-x86_64
Version-Release number of selected component (if applicable):
Should be fixed already in the (upcoming) 2.0.2 release.
See commit 580bb48341d6e7527c334203d77c406ca3ed06b3, changed to support both the new and the old versions of python-netaddr.
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