[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: stateless problems



so,

any idea why i'm getting this error?

[root store-lan1-141 stateless]# ./stateless-bootstrap.py -r
/reserve-root -b /reserve-boot
/sbin/e2label: Attempt to read block from filesystem resulted in short
read while trying to open /dev/hda4
Couldn't find valid filesystem superblock.
/sbin/e2label: Attempt to read block from filesystem resulted in short
read while trying to open /dev/hda4
Couldn't find valid filesystem superblock.
                                          (  0%) [Error               ]

there is no /dev/md4 partition

partitions were created according to your sample kickstart file

#Disk partitioning information
part /boot --fstype ext3 --size 100 --ondisk hda
part /reserve-boot --fstype ext3 --size 100 --ondisk hda
part /reserve-root --fstype ext3 --size 3072 --ondisk hda
part / --fstype ext3 --size 3072 --ondisk hda

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.
> 
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]