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

CLONE - API: synchronization on the object is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 4.3.0
    • 4.4.0
    • Management Server
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      There is a way to synchronize API commands on certain CS object. For example, when createFirewallRule is called, synchronization on the Network is being done, so the next command won't be processed till the last one is executed. To enable it for the certain command, following methods have to be added to corresponding *Cmd class:

      @Override
      public String getSyncObjType()

      { return BaseAsyncCmd.networkSyncObject; }

      @Override
      public Long getSyncObjId()

      { return getIp().getAssociatedWithNetworkId(); }

      This logic got broken after the changes for vmSync got merged in.

      Attachments

        Issue Links

          Activity

            People

              kelveny Kelven Yang
              nitinme Nitin Mehta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: