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...
Alias: None
Product: Fedora
Classification: Fedora
Component: cobbler
Version: 12
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Devan Goodwin
QA Contact: Fedora Extras Quality Assurance
Depends On:
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:
Last Closed: 2009-12-04 18:27:08 UTC

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= --profile=Centos5.4-x86_64

sudo cobbler system add --name=node --ip= --profile=Centos5.4-x86_64

sudo cobbler system add --name=node --ip= --profile=Centos5.4-x86_64

Version-Release number of selected component (if applicable):
cobbler.noarch 2.0.0-1.fc12

How reproducible:

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

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