Bugs item #583653, was opened at 2002-07-19 00:00
Message generated for change (Comment added) made by brechin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109368&aid=583653&group_id=9368

Category: Installation
Group: Future
>Status: Pending
>Resolution: Remind
Priority: 6
Submitted By: Jeff Squyres (jsquyres)
>Assigned to: Jason Brechin (brechin)
Summary: step 3 num hosts = 0 causes Badness

Initial Comment:
OSCAR 1.3b5
RedHat 7.2
rpm version 4.0.4-7x
Hardware: vmware on PIII 900mhz

The default value for "number of hosts" in step 3 is
"0".  If the user clicks on the "Addclients" button in
step 3 dialogue box, the wizard emits a text warnings,
but then still tries to execute mksirange, and then fails:

-----
count is a required parameter at /usr/bin/mksirange
line 142
        main::check_args called at /usr/bin/mksirange
line 76
usage: mksirange <options>
  options
    -b, --basename <name>   machine name stub (default,
node)
    --ipstart <ipaddress>   ip address of first node
(default, 10.0.0.1)
    -s, --start <integer>   starting number of the
first node (default, 1)
    -c, --count <integer>   number of machines to create
    --domain <domain>       the domain of the machines
(default, server domain)
    -g, --gateway <host>    the default route for the
machines
    --netmask <mask>        the netmask for the
machines (default, 255.255.255.0)
    --image <image name>    the image to use for these
machines
    -v, --verbose           massive verbose output


Couldn&#039;t run mksirange:  at
/usr/lib/perl5/site_perl/5.6.0/i386-linux/Tk.pm line 217
-----

This is clearly not a showstopper for 1.3, but it seems
like it would be trivial to add the relevant code in
the wizard to ensure that num_hosts is > 1 before
attempting to actually do any processing.

----------------------------------------------------------------------

>Comment By: Jason Brechin (brechin)
Date: 2004-02-24 13:15

Message:
Logged In: YES 
user_id=274641

This problem will go away with the new wizard... as long as 
someone implements all the ODA->SIS stuff well...

----------------------------------------------------------------------

Comment By: Jason Brechin (brechin)
Date: 2003-07-16 10:01

Message:
Logged In: YES 
user_id=274641

The error is slightly different, but the problem still exists:

count is a required parameter at /usr/bin/mksirange line 196
        main::check_args called at /usr/bin/mksirange line 90
usage: mksirange <options>
  options
    -b, --basename <name>       machine name stub (default, 
node)
    -i, --ipstart <ipaddress>   ip address of first node
    -s, --start <integer>       starting number of the first node 
(default, 1)
    -c, --count <integer>       number of machines to create
    -d, --domain <domain>       the domain of the machines 
(default, server domain)
    -g, --gateway <host>        the default route for the 
machines
    -m, --netmask <mask>        the netmask for the machines 
(default, 255.255.255.0)
    -n, --image <image name>    the image to use for these 
machines
    -p, --pad <integer>         pad the name indices to the 
size specified
    -v, --verbose               massive verbose output
    --version                   version information


Couldn't run mksirange: No such file or directory 
at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Tk.pm 
line 228


----------------------------------------------------------------------

Comment By: Jeff Squyres (jsquyres)
Date: 2002-08-16 23:23

Message:
Logged In: YES 
user_id=11722

BTW, since the patch didn't come across in the mail, I feel
compelled to mention that the patch is attached to the bug.  :-)

----------------------------------------------------------------------

Comment By: Jeff Squyres (jsquyres)
Date: 2002-08-16 23:21

Message:
Logged In: YES 
user_id=11722

The following patch is submitted to the SIS guys (I took the
liberty of assigning this to MCS because I found it's a
SystemInstaller bug).

This patch is a small fix to AddClients.pm that will popup
an error window if the user clicks on "Add clients" and
number of hosts is still set to 0.  The user can then close
the error popup and fix the number of hosts and click on
"Add Clients" again.

This patch is against the file
/usr/lib/systeminstaller/SystemInstaller/Tk/AddClients.pm.

----------------------------------------------------------------------

Comment By: Jeff Squyres (jsquyres)
Date: 2002-07-19 00:20

Message:
Logged In: YES 
user_id=11722

Clarification -- if the user clicks on "Addclients" button
and the value of "Number of Hosts" is still 0, that's when
this Badness happens.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109368&aid=583653&group_id=9368


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to