FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 04-02-2011, 10:15 AM
Romu
 
Default RHEL6 Anaconda Exception: KeyError

Hi,

I used 'network --device=00:22:19:5A:40:BF ... ' in kickstart file:

network --bootproto=static --device=00:22:19:5a:40:bf --gateway=...
--hostname=... --ip=... --netmask=255.255.252.0
network --bootproto=static --device=00:22:19:5a:40:c1 --gateway=...
--hostname=... --ip=... --nameserver=... --netmask=255.255.252.0
network --bootproto=static --device=00:15:17:97:80:ac --ip=...
--netmask=255.255.252.0

and anaconda had a problem with that (see below traceback message).
Is this an anaconda bug or am I missing something in the kickstart?


==========================
Traceback (most recent call first):
File "/usr/lib/anaconda/network.py", line 407, in setGateway
self.netdevices[device].set(('GATEWAY', gw))
File "/usr/lib/anaconda/kickstart.py", line 618, in execute
anaconda.id.network.setGateway(self.gateway, device)
File "/usr/lib/anaconda/kickstart.py", line 1149, in execute
obj.execute(self.anaconda)
File "/usr/bin/anaconda", line 1102, in <module>
ksdata.execute()
KeyError: '00:22:19:5a:40:bf'

id.network: Network instance, containing members:
id.network.netdevices: {'eth5': DEVICE="eth5"
BOOTPROTO="dhcp"
DNS1="10.126.125.5"
HWADDR="00:22:19:5A:40:C1"
NM_CONTROLLED="yes"
ONBOOT="yes"

, 'eth4': DEVICE="eth4"
BOOTPROTO="static"
HWADDR="00:22:19:5A:40:BF"
IPADDR="147.165.51.172"
NETMASK="255.255.252.0"
NM_CONTROLLED="yes"
ONBOOT="yes"

, 'eth3': DEVICE="eth3"
HWADDR="00:15:17:97:80:CB"
NM_CONTROLLED="yes"
ONBOOT="no"

, 'eth2': DEVICE="eth2"
HWADDR="00:15:17:97:80:CA"
NM_CONTROLLED="yes"
ONBOOT="no"

, 'eth1': DEVICE="eth1"
HWADDR="00:15:17:97:80:AD"
NM_CONTROLLED="yes"
ONBOOT="no"

, 'eth0': DEVICE="eth0"
HWADDR="00:15:17:97:80:AC"
NM_CONTROLLED="yes"
ONBOOT="no"

}
========================


Thanks,
rmu

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 04-04-2011, 10:51 AM
Radek Vykydal
 
Default RHEL6 Anaconda Exception: KeyError

On 04/02/2011 12:15 PM, Romu wrote:

Hi,

I used 'network --device=00:22:19:5A:40:BF ... ' in kickstart file:

network --bootproto=static --device=00:22:19:5a:40:bf --gateway=...
--hostname=... --ip=... --netmask=255.255.252.0
network --bootproto=static --device=00:22:19:5a:40:c1 --gateway=...
--hostname=... --ip=... --nameserver=... --netmask=255.255.252.0
network --bootproto=static --device=00:15:17:97:80:ac --ip=...
--netmask=255.255.252.0

and anaconda had a problem with that (see below traceback message).
Is this an anaconda bug or am I missing something in the kickstart?



The kickstart looks ok - it is an anaconda bug, I filed
http://bugzilla.redhat.com/show_bug.cgi?id=693302
for Fedora 15. For rhel 6 it should be fixed in current
version of anaconda (6.1 beta).

Radek

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 06:57 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org