Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-3973

[GSLB] [LOGS Message] Improving logs messages for GSLB rule configuration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.2.0
    • Future
    • Network Controller
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None
    • commit # 6275d697e340be5b520f37b15d72343fa47c00a9

    Description

      Steps to reproduce:

      1. Have latest cloudstack with at least 2 advanced zones where each zone is configure with GSLB provider.
      2. Create LB rule in each zone using VR (LB rule 1 in zone1 and LB rule 2 in zone2)
      3. As a non-ROOT domain user, create a GSLB rule and map LBrule1.

      Observations:

      This will create GSLB site, vserver, service in zone1 netscaler

      4. now map LBRule2 to the above GSLB rule.

      (ii) This will create GSLB site2 on netscaler devices in both the zones. During this process, this will end up in configuring site1, vserver, service in Zone1 NS device again and throws log message like below. This is little confusing and gives an impression that something went wrong. it would be good to change these message to be little more informative.

      2013-07-31 14:28:23,869 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-93:null) Seq 9-712310787: Executing request
      2013-07-31 14:28:23,973 DEBUG [network.resource.NetscalerResource] (DirectAgent-93:null) Failed to add GSLB virtual server: cloud-gslb-vserver-GSLB1.xyztelco.com due to Resource already exists
      2013-07-31 14:28:24,085 WARN [network.resource.NetscalerResource] (DirectAgent-93:null) Retrying GlobalLoadBalancerConfigCommand. Number of retries remaining: 1
      2013-07-31 14:28:24,158 DEBUG [network.resource.NetscalerResource] (DirectAgent-93:null) Successfully added GSLB virtual server: cloud-gslb-vserver-GSLB1.xyztelco.com
      2013-07-31 14:28:24,258 DEBUG [network.resource.NetscalerResource] (DirectAgent-93:null) Successfully updated GSLB site: cloudsite1
      2013-07-31 14:28:24,356 DEBUG [network.resource.NetscalerResource] (DirectAgent-93:null) Successfully created service: cloud-gslb-service-cloudsite1-10.147.44.64-22 at site: cloudsite1
      2013-07-31 14:28:24,474 WARN [network.resource.NetscalerResource] (DirectAgent-93:null) Failed to bind monitor to GSLB service due to The monitor is already bound to the service
      2013-07-31 14:28:24,562 DEBUG [network.resource.NetscalerResource] (DirectAgent-93:null) Successfully created GSLB site: cloudsite2
      2013-07-31 14:28:24,692 DEBUG [network.resource.NetscalerResource] (DirectAgent-93:null) Successfully created service: cloud-gslb-service-cloudsite2-10.147.54.63-22 at site: cloudsite2
      2013-07-31 14:28:24,730 DEBUG [network.resource.NetscalerResource] (DirectAgent-93:null) Successfully created service: cloud-gslb-service-cloudsite2-10.147.54.63-22 and virtual server: cloud-gslb-vserver-GSLB1.xyztelco.com binding

      Attachments

        1. logs.tgz
          1.98 MB
          Venkata Swamy

        Activity

          People

            Unassigned Unassigned
            swamy Venkata Swamy
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: