NFS install failure
> This *was* working with 11.4.0.16 (caveat, I hacked it to *not*
> require the latest libdhcp code which today I've capitulated to) > Now, it fails when it tries to mount the NFS root. It gets a > valid IP setup via DHCP to fetch the kickstart file, but fails > when mounting NFS because the interface seems to have been left > up and there is an error [re]adding the route(s). > > ERROR: add: failed - 17: Netlink Error (errno = File exists) > ERROR: nic_configure: failed to add route. Dunno about this problem, but... > note: there are still lots of other problems with this. As soon > as I added 'headless' on the command line, anaconda threw a Python > exception parsing the kickstart file. I figured I'd update first > before trying to track that one down. I'd be interested to see what sort of traceback you are getting here. - Chris _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list |
NFS install failure
Chris Lumens wrote:
This *was* working with 11.4.0.16 (caveat, I hacked it to *not* require the latest libdhcp code which today I've capitulated to) Now, it fails when it tries to mount the NFS root. It gets a valid IP setup via DHCP to fetch the kickstart file, but fails when mounting NFS because the interface seems to have been left up and there is an error [re]adding the route(s). ERROR: add: failed - 17: Netlink Error (errno = File exists) ERROR: nic_configure: failed to add route. Dunno about this problem, but... note: there are still lots of other problems with this. As soon as I added 'headless' on the command line, anaconda threw a Python exception parsing the kickstart file. I figured I'd update first before trying to track that one down. I'd be interested to see what sort of traceback you are getting here. I have to fix the first problem to get back to this one. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list |
NFS install failure
Chris Lumens wrote:
This *was* working with 11.4.0.16 (caveat, I hacked it to *not* require the latest libdhcp code which today I've capitulated to) Now, it fails when it tries to mount the NFS root. It gets a valid IP setup via DHCP to fetch the kickstart file, but fails when mounting NFS because the interface seems to have been left up and there is an error [re]adding the route(s). ERROR: add: failed - 17: Netlink Error (errno = File exists) ERROR: nic_configure: failed to add route. Dunno about this problem, but... note: there are still lots of other problems with this. As soon as I added 'headless' on the command line, anaconda threw a Python exception parsing the kickstart file. I figured I'd update first before trying to track that one down. I'd be interested to see what sort of traceback you are getting here. Log file an kickstart file attached. (I worked around the other problem for the moment by putting the kickstart file in my initrd image) -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ # Kickstart file automatically generated by anaconda. install nfs --server=192.168.1.94 --dir=/mnt/work/fedora/AM lang en_US.UTF-8 keyboard us network --device eth0 --bootproto dhcp network --device eth1 --onboot no --bootproto dhcp rootpw --iscrypted $1$92jEj0uR$S6cW3hg1Lxh84OHM1pgNx0 firewall --enabled --port=22:tcp authconfig --enableshadow --enablemd5 selinux --disabled timezone --utc America/Denver bootloader --location=mbr --driveorder=sda --append="rhgb quiet" # The following is the partition information you requested # Note that any partitions you deleted are not expressed # here so unless you clear all partitions first, this is # not guaranteed to work clearpart --linux --drives=sda part /boot --fstype ext3 --size=200 --ondisk=sda part pv.6 --size=0 --grow --ondisk=sda volgroup VolGroup00 --pesize=32768 pv.6 logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=256 --grow --maxsize=512 %packages @core @base %end _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list |
NFS install failure
Gary Thomas wrote:
Chris Lumens wrote: This *was* working with 11.4.0.16 (caveat, I hacked it to *not* require the latest libdhcp code which today I've capitulated to) Now, it fails when it tries to mount the NFS root. It gets a valid IP setup via DHCP to fetch the kickstart file, but fails when mounting NFS because the interface seems to have been left up and there is an error [re]adding the route(s). ERROR: add: failed - 17: Netlink Error (errno = File exists) ERROR: nic_configure: failed to add route. Dunno about this problem, but... note: there are still lots of other problems with this. As soon as I added 'headless' on the command line, anaconda threw a Python exception parsing the kickstart file. I figured I'd update first before trying to track that one down. I'd be interested to see what sort of traceback you are getting here. Log file an kickstart file attached. (I worked around the other problem for the moment by putting the kickstart file in my initrd image) My bad - I jumped the gun here. I think the problem has to do with the fact that I tried to enable the disk partitioning code in the kickstart file, not the 'headless' option. Note: my kickstart file was initially created by doing a normal install on this platform. I uncommented all of the disk partition commands, in the hope of a total recreation process. It looks like this is where the problem is. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list |
NFS install failure
> Traceback (most recent call last):
> File "/usr/bin/anaconda", line 986, in <module> > kickstart.processKickstartFile(anaconda, opts.ksfile) > File "/usr/lib/anaconda/kickstart.py", line 879, in processKickstartFile > ksparser.readKickstart(file) > File "/usr/lib/python2.5/site-packages/pykickstart/parser.py", line 675, in readKickstart > self._stateMachine (lambda: fh.readline()) > File "/usr/lib/python2.5/site-packages/pykickstart/parser.py", line 553, in _stateMachine > self.handleCommand(lineno, args) > File "/usr/lib/anaconda/kickstart.py", line 831, in handleCommand > KickstartParser.handleCommand(self, lineno, args) > File "/usr/lib/python2.5/site-packages/pykickstart/parser.py", line 407, in handleCommand > self.handler.dispatcher(args, lineno) > File "/usr/lib/python2.5/site-packages/pykickstart/base.py", line 321, in dispatcher > self.commands[cmd].parse(args[1:]) > File "/usr/lib/anaconda/kickstart.py", line 488, in parse > fsprofile = pd.fsprofile) > AttributeError: FC4_PartData instance has no attribute 'fsprofile' This will be fixed in the next build of anaconda. Thanks. - Chris _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list |
NFS install failure
Chris Lumens wrote:
Traceback (most recent call last): File "/usr/bin/anaconda", line 986, in <module> kickstart.processKickstartFile(anaconda, opts.ksfile) File "/usr/lib/anaconda/kickstart.py", line 879, in processKickstartFile ksparser.readKickstart(file) File "/usr/lib/python2.5/site-packages/pykickstart/parser.py", line 675, in readKickstart self._stateMachine (lambda: fh.readline()) File "/usr/lib/python2.5/site-packages/pykickstart/parser.py", line 553, in _stateMachine self.handleCommand(lineno, args) File "/usr/lib/anaconda/kickstart.py", line 831, in handleCommand KickstartParser.handleCommand(self, lineno, args) File "/usr/lib/python2.5/site-packages/pykickstart/parser.py", line 407, in handleCommand self.handler.dispatcher(args, lineno) File "/usr/lib/python2.5/site-packages/pykickstart/base.py", line 321, in dispatcher self.commands[cmd].parse(args[1:]) File "/usr/lib/anaconda/kickstart.py", line 488, in parse fsprofile = pd.fsprofile) AttributeError: FC4_PartData instance has no attribute 'fsprofile' This will be fixed in the next build of anaconda. Thanks. Could you send me the patch(es)? I have to build anaconda myself (other reasons because I'm working with a non-standard embedded platform) anyway. Thanks -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list |
NFS install failure
On Mon, 14 Jan 2008 10:27:28 -0700
Gary Thomas <gary@mlbassoc.com> wrote: > This *was* working with 11.4.0.16 (caveat, I hacked it to *not* > require the latest libdhcp code which today I've capitulated to) > Now, it fails when it tries to mount the NFS root. It gets a > valid IP setup via DHCP to fetch the kickstart file, but fails > when mounting NFS because the interface seems to have been left > up and there is an error [re]adding the route(s). > > ERROR: add: failed - 17: Netlink Error (errno = File exists) > ERROR: nic_configure: failed to add route. > > Has anyone else seen this? Any ideas what I might fix? What kernel are you using? Do you have networking up and running before libdhcp tries to configure the interface? -- David Cantrell <dcantrell@redhat.com> Red Hat / Honolulu, HI _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list |
NFS install failure
David Cantrell wrote:
On Mon, 14 Jan 2008 10:27:28 -0700 Gary Thomas <gary@mlbassoc.com> wrote: This *was* working with 11.4.0.16 (caveat, I hacked it to *not* require the latest libdhcp code which today I've capitulated to) Now, it fails when it tries to mount the NFS root. It gets a valid IP setup via DHCP to fetch the kickstart file, but fails when mounting NFS because the interface seems to have been left up and there is an error [re]adding the route(s). ERROR: add: failed - 17: Netlink Error (errno = File exists) ERROR: nic_configure: failed to add route. Has anyone else seen this? Any ideas what I might fix? What kernel are you using? Do you have networking up and running before libdhcp tries to configure the interface? It's a non-standard version (embedded platform - 2.6.20+). The network is not up until DHCP is run to fetch the kickstart file. As mentioned, this was working before I upgraded to the latest anaconda+libdhcp. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list |
NFS install failure
Gary Thomas wrote:
Chris Lumens wrote: Traceback (most recent call last): File "/usr/bin/anaconda", line 986, in <module> kickstart.processKickstartFile(anaconda, opts.ksfile) File "/usr/lib/anaconda/kickstart.py", line 879, in processKickstartFile ksparser.readKickstart(file) File "/usr/lib/python2.5/site-packages/pykickstart/parser.py", line 675, in readKickstart self._stateMachine (lambda: fh.readline()) File "/usr/lib/python2.5/site-packages/pykickstart/parser.py", line 553, in _stateMachine self.handleCommand(lineno, args) File "/usr/lib/anaconda/kickstart.py", line 831, in handleCommand KickstartParser.handleCommand(self, lineno, args) File "/usr/lib/python2.5/site-packages/pykickstart/parser.py", line 407, in handleCommand self.handler.dispatcher(args, lineno) File "/usr/lib/python2.5/site-packages/pykickstart/base.py", line 321, in dispatcher self.commands[cmd].parse(args[1:]) File "/usr/lib/anaconda/kickstart.py", line 488, in parse fsprofile = pd.fsprofile) AttributeError: FC4_PartData instance has no attribute 'fsprofile' This will be fixed in the next build of anaconda. Thanks. Could you send me the patch(es)? I have to build anaconda myself (other reasons because I'm working with a non-standard embedded platform) anyway. I picked up the latest code from GIT and rebuilt. Now, I get a bit farther (no Python exceptions), but it fails on this line in my kickstart file: clearpart --linux --drives=sda The message (which is not in the log BTW) is: Specified nonexistent disk sda in clearpart command. This drive is definitely there - see attached /proc/partitions Any ideas? All I'm trying to do is get a headless replay of an install I did a few days ago... -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list |
NFS install failure
Gary Thomas wrote:
Gary Thomas wrote: Chris Lumens wrote: Traceback (most recent call last): File "/usr/bin/anaconda", line 986, in <module> kickstart.processKickstartFile(anaconda, opts.ksfile) File "/usr/lib/anaconda/kickstart.py", line 879, in processKickstartFile ksparser.readKickstart(file) File "/usr/lib/python2.5/site-packages/pykickstart/parser.py", line 675, in readKickstart self._stateMachine (lambda: fh.readline()) File "/usr/lib/python2.5/site-packages/pykickstart/parser.py", line 553, in _stateMachine self.handleCommand(lineno, args) File "/usr/lib/anaconda/kickstart.py", line 831, in handleCommand KickstartParser.handleCommand(self, lineno, args) File "/usr/lib/python2.5/site-packages/pykickstart/parser.py", line 407, in handleCommand self.handler.dispatcher(args, lineno) File "/usr/lib/python2.5/site-packages/pykickstart/base.py", line 321, in dispatcher self.commands[cmd].parse(args[1:]) File "/usr/lib/anaconda/kickstart.py", line 488, in parse fsprofile = pd.fsprofile) AttributeError: FC4_PartData instance has no attribute 'fsprofile' This will be fixed in the next build of anaconda. Thanks. Could you send me the patch(es)? I have to build anaconda myself (other reasons because I'm working with a non-standard embedded platform) anyway. I picked up the latest code from GIT and rebuilt. Now, I get a bit farther (no Python exceptions), but it fails on this line in my kickstart file: clearpart --linux --drives=sda The message (which is not in the log BTW) is: Specified nonexistent disk sda in clearpart command. This drive is definitely there - see attached /proc/partitions Any ideas? All I'm trying to do is get a headless replay of an install I did a few days ago... BTW, the attached patch (for libdhcp-1.99.5) gets around the problem I had yesterday with the kickstart and repository both being loaded via NFS. I'm not sure if this is the correct place for the patch, nor even if this is the best way to solve the problem, but it works. Note: the problem is that the NFS fetch of the kickstart file leaves the network running and trying to restart it via DHCP when mounting the repository fails because of the left-over routes. My patch works around this, but only when the route being added is marked by the system as already existing. It should be safe under all conditions. I'm still looking at the 'clearpart' error reported earlier today. Thanks -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list |
| All times are GMT. The time now is 12:54 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.