So I have a system set up where i interact with ilbd using ilbadm in a non-global zone (on a variant of joyents' smartos) to add and remove rules, servers, and server groups as needed.
This works extremely well and I haven't had any sort of issue with it. That is until about one week ago when we noticed that sometimes servers would be removed from a group, but the new ones would not be added in. I started in to find out what the issue was and found that one of the commands that I was running was failing with an invalid argument(s) error. Which is storage because when I come back and run the exact same command after we notice a failure, (about 30 seconds later) it works correctly. The command I am running is this: (edited to remove identifiable information) ilbadm add-server -s server=[ip]:[port] t_35twr So what really gets me about this is that command works perfectly when i run it. I already checked that the rule exists and that the server group exist (using ilbadm show-rule and ilbadm show-servergroup) and they both do. The command returns: ilbadm: cannot add [ip] to t_35twr: invalid argument(s) - see man page I checked in the logs that I could find and only was able to find this in dmesg: ilbd[93606]: [ID 118232 daemon.error] i_add_srv2krules: SIOCILB ioctl returned error 22 Which is logged in this section of the code: illumos-gate source ilbd_rules.c<https://github.com/illumos/illumos-gate/blob/master/usr/src/cmd/cmd-inet/usr.lib/ilbd/ilbd_rules.c#L1283-L1302> So not sure where to go from here, right now I just try running the command again to see if it works. but it only sometimes works on the second run, so short of trying agin until it works, I'm not sure what to do other then try to find and fix this issue. Has anyone else experienced issues with using ilbadm with a dynamic configuration that changes often? Any help or pointers would be appreciated, Daniel ------------------------------------------- illumos-discuss Archives: https://www.listbox.com/member/archive/182180/=now RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be Modify Your Subscription: https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4 Powered by Listbox: http://www.listbox.com
