cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajesh Battala <rajesh.batt...@citrix.com>
Subject wrong validation in Netscaler Element while applyLBRules
Date Wed, 15 May 2013 12:47:34 GMT
Hi,

I was not able to create LB rule on Netscaler device when Netscaler device is my LB provider
in my network offering.
I debugged and figured out that, in applyLBRules method


        if (canHandleLbRules(rules)) {
            return false;
        }

Even the method canHandleLbRules is returning true[ means Netscaler element can handle the
LB rule]
its sending the wrong return value causing the failure of creating rule on NS device But showing
the LB rule creation is success and LB rule is persisted in db.

Fix is to add "!" in the if logic, but is there any other reason why it's not added. This
method is introduced in recent merges.

Thanks
Rajesh Battala

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message