Bug 543538 - Cobbler uses old python-netaddr API but the cobbler package does not depend on the old version
Cobbler uses old python-netaddr API but the cobbler package does not depend o...
Status: CLOSED WONTFIX
Product: Fedora
Classification: Fedora
Component: cobbler (Show other bugs)
12
All Linux
low Severity medium
: ---
: ---
Assigned To: Devan Goodwin
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-02 10:46 EST by Gordon Syme
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:08 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Gordon Syme 2009-12-02 10:46:11 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):
cobbler.noarch 2.0.0-1.fc12


How reproducible:
Always
Comment 1 Devan Goodwin 2009-12-02 10:57:43 EST
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.
Comment 2 Vedran Miletić 2009-12-04 13:27:08 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.