Bug 543538

Summary: Cobbler uses old python-netaddr API but the cobbler package does not depend on the old version
Product: [Fedora] Fedora Reporter: Gordon Syme <gordonsyme>
Component: cobblerAssignee: Devan Goodwin <dgoodwin>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: awood, dgoodwin, jeckersb
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-04 18:27:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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