Bug 543538 - Cobbler uses old python-netaddr API but the cobbler package does not depend on the old version
Summary: Cobbler uses old python-netaddr API but the cobbler package does not depend o...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: cobbler
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Devan Goodwin
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-02 15:46 UTC by Gordon Syme
Modified: 2009-12-04 18:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-04 18:27:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Gordon Syme 2009-12-02 15:46:11 UTC
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 15:57:43 UTC
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 18:27:08 UTC
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.