i tried changing line 304 in replicator.py to
devices = ['/dev/hda1', '/dev/hda2', '/dev/hda3',
'/dev/hda5'] # FIXME
and now i am just getting
[root@store-lan1-141 stateless]# ./stateless-bootstrap.py -r
/reserve-root -b /reserve-boot
( 0%) [Error ]
Peter Schobel
~
On Thu, 2004-11-18 at 03:09, Mark McLoughlin wrote:
Hi,
On Wed, 2004-11-17 at 14:03 -0500, Peter Schobel wrote:
> and now when i run the command, a gui interface pops up on my
> workstation for a brief second and then i get this error
>
> [root@store-lan1-100 stateless]# python bootstrap.py -r /reserve-root -b
> /reserve-boot
> Traceback (most recent call last):
> File "bootstrap.py", line 324, in ?
> run ('aware-of-vacuity.boston.redhat.com',
> 'dc=sml-demo,dc=devel,dc=redhat,dc=com', True)
> File "bootstrap.py", line 321, in run
> gui.run()
> File "bootstrap.py", line 118, in run
> r = replicator.BootstrapReplicator (self.ldap_uri, self.root_dn,
> self.debug)
> TypeError: __init__() takes exactly 3 arguments (4 given)
I think bootstrap.py is broken:
# FIXME: supposed to pass a StatelessConfig here
r = replicator.BootstrapReplicator (self.ldap_uri, self.root_dn, self.debug)
looks like this should work, though:
self.cfg = StatelessConfig ()
r = replicator.BootstrapReplicator (self.cfg, self.debug)
However, the more recent work and testing was done on the command-line
version of the bootstrap tool. See the kickstart file I sent to you
earlier where I was doing:
cd /usr/share/stateless
./stateless-boostrap.py -r /reserve-root -b /reserve-boot
Cheers,
Mark.
--
#########################
# ##
######################### #
# Peter Schobel # #
# Network Administrator # #
# Porchlight.ca # #
# Unlimited Internet # #
#
www.porchlight.ca ##
#########################
Test the Power
Check the MTU
Check the Netmask