stateless problems
Peter Schobel
pschobel at porchlight.ca
Mon Nov 22 23:48:26 UTC 2004
/dev/hda4 is an extended partition
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 405 3148740 83 Linux
/dev/hda3 406 797 3148740 83 Linux
/dev/hda4 798 4866 32684242+ 5 Extended
/dev/hda5 798 810 104391 83 Linux
[root at store-lan1-141 ~]# df -m
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/hda2 3027 611 2263 22% /
/dev/hda1 99 9 86 9% /boot
none 126 0 126 0% /dev/shm
/dev/hda5 99 6 89 6% /reserve-boot
/dev/hda3 3027 37 2837 2% /reserve-root
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 at 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.
>
>
More information about the devel
mailing list