Mailing List Archive

[lvs-users] ipvsadm fix --ops option
Hi all,

i am new to LVS, but during my first learning steps i encountered
some issue where i got stuck because of strange error messages.
Attached are two "cosmetic" patches against ipvsadm-1.26, that
try to fix this.

1. ipvsadm-1.26-fix_options.diff

this patch fixes the error handling when option "-o" or "--ops" is used where
it is not allowed, like:

# ipvsadm -a -u 192.168.42.42:1234 -r 192.168.21.21:1234 -g -w 1 --ops
Illegal 'exact' option with the 'add-server' command

however i am not sure at what condition option "--pe" can be used,
looks like it is only valid for "-list" option

2. ipvsadm-1.26-fix_list.diff

this patch corrects the output of "pe" and "ops" option in "--list" output,
not only when "-p" (persistent) option was used or a special output format.

It would be nice if this could be reviewed and added to next release.

regards,
Paul
Re: [lvs-users] ipvsadm fix --ops option [ In reply to ]
Dear Paul ,

Please try again with current offial stable v 1.2.7 from LVS GIT http://git.kernel.org/cgit/utils/kernel/ipvsadm/ipvsadm.git/


your patch1 - I am confident that this currently break ldirectord - error Handling not catched by ldirectord .



--
Mit freundlichen Grüßen / Best Regards

Horst Venzke ; PGP NET : 1024G/082F2E6D ; http://www.remsnet.de

Legal Notice: This transmittal and/or attachments may be privileged or confidential. It is intended solely for the addressee named above. Any review, dissemination, or copying is strictly prohibited. If you received this transmittal in error, please notify us immediately by reply and immediately delete this message and all its attachments. Thank you.


> Gesendet: Donnerstag, 16. Januar 2014 um 13:37 Uhr
> Von: "Paul Zirnik" <paul@zirnik.de>
> An: lvs-users@linuxvirtualserver.org
> Betreff: [lvs-users] ipvsadm fix --ops option
>
> Hi all,
>
> i am new to LVS, but during my first learning steps i encountered
> some issue where i got stuck because of strange error messages.
> Attached are two "cosmetic" patches against ipvsadm-1.26, that
> try to fix this.
>
> 1. ipvsadm-1.26-fix_options.diff
>
> this patch fixes the error handling when option "-o" or "--ops" is used where
> it is not allowed, like:
>
> # ipvsadm -a -u 192.168.42.42:1234 -r 192.168.21.21:1234 -g -w 1 --ops
> Illegal 'exact' option with the 'add-server' command
>
> however i am not sure at what condition option "--pe" can be used,
> looks like it is only valid for "-list" option
>
> 2. ipvsadm-1.26-fix_list.diff
>
> this patch corrects the output of "pe" and "ops" option in "--list" output,
> not only when "-p" (persistent) option was used or a special output format.
>
> It would be nice if this could be reviewed and added to next release.
>
> regards,
> Paul
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
> Send requests to lvs-users-request@LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users