Hi Devan,
I checked the devel list, and found out 2.0.2 is in the fedora testing,
installed it, and it appears the problem is indeed fixed.
Ashley
On Fri, 2009-12-18 at 09:30 +1000, Ashley Wright wrote:
Thanks Devan,
I am running Fedora 12 (maybe I should have installed 11, 12 just seems
like trouble), it comes with python-netaddr = 0.7.2.
Do you know when 2.0.2 is due out? Or is it possible to patch my 2.0.0
version?
Cheers,
Ashley
On Fri, 2009-12-18 at 00:29 +1000, Devan Goodwin wrote:
> Quite sure you must be on an OS with python netaddr >= 0.7. They
> changed some API calls drastically between releases.
>
> More info here:
https://bugzilla.redhat.com/show_bug.cgi?id=543538
>
> Good news is this should be fixed in Cobbler 2.0.2.
>
> Cheers,
>
> Devan
>
> On Thu, Dec 17, 2009 at 2:36 AM, Ashley Wright <a2.wright(a)qut.edu.au> wrote:
> > Hi,
> >
> > I have been setting up cobbler over the last couple of days. All has
> > been going well, can network boot using profiles. Was trying to add a
> > system with a fixed IP address (would like DHCP to configure this for
> > me). So tried the following and got these errors when I try to add an ip
> > address:
> >
> > #cobbler system add --name=leo-d --mac=00:10:18:41:49:38
> > --profile=optiportal
> > #cobbler system edit --name=leo-d --interface=eth1 --ip=192.168.1.4
> > invalid format for IP address (192.168.1.4)
> >
> > I am not sure what is wrong with the format of my IP address?
> >
> > /var/log/cobbler/cobbler.log
> >
> > # tail -n20 /var/log/cobbler/cobbler.log
> > Thu Dec 17 16:33:18 2009 - INFO | get_item; ['system',
'leo-d']
> > Thu Dec 17 16:33:18 2009 - DEBUG | authorize; ['<DIRECT>',
> > 'modify_system', <cobbler.item_system.System instance at
> > 0x7fc460088050>, 'modify_interface', True]
> > Thu Dec 17 16:33:18 2009 - INFO | REMOTE authorization result: True;
> > user(?)
> > Thu Dec 17 16:33:18 2009 - INFO | find_items; ['system']
> > Thu Dec 17 16:33:18 2009 - INFO | Exception occured: <class
> > 'cobbler.cexceptions.CX'>
> > Thu Dec 17 16:33:18 2009 - INFO | Exception value: 'invalid format for
> > IP address (192.168.1.4)'
> > Thu Dec 17 16:33:18 2009 - INFO | Exception Info:
> > File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line
1725,
> > in _dispatch
> > return method_handle(*params)
> > File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line
829,
> > in xapi_object_edit
> > self.modify_system(handle, 'modify_interface', imods, token)
> > File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line
755,
> > in modify_system
> > return self.modify_item("system",object_id,attribute,arg,token)
> > File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line
748,
> > in modify_item
> > return method(arg)
> > File "/usr/lib/python2.6/site-packages/cobbler/item_system.py",
line
> > 511, in modify_interface
> > if field == "ipaddress" : self.set_ip_address(value,
interface)
> > File "/usr/lib/python2.6/site-packages/cobbler/item_system.py",
line
> > 295, in set_ip_address
> > raise CX(_("invalid format for IP address (%s)") % address)
> >
> > Any help would be appreciated?
> > Thanks,
> > Ashley
> >
> > --
> > Ashley Wright
> > HPC and Research Support Group
> > Queensland University of Technology (QUT)
> >
> > _______________________________________________
> > cobbler mailing list
> > cobbler(a)lists.fedorahosted.org
> >
https://fedorahosted.org/mailman/listinfo/cobbler
> >
>
>
>
--
Ashley Wright
HPC and Research Support Group
Queensland University of Technology (QUT)
Ph: (07) 3138 1813
Mobile: (04) 0531 3124
QUT: #66866
Email: a2.wright(a)qut.edu.au
Postal:
HPC and Research Support Group,
Block V, Level 7, Room V718,
Gardens Point Campus,
Queensland University of Technology,
GPO Box 2434,
Brisbane Qld 4001
Google Calendar: