Marcus Sorensen created CLOUDSTACK-561:
------------------------------------------

             Summary: createNetwork can block for long periods causing clients 
to time out when called at certain times
                 Key: CLOUDSTACK-561
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-561
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Network Controller
    Affects Versions: 4.0.0
         Environment: KVM or Xen (maybe all environments)
            Reporter: Marcus Sorensen
            Priority: Minor


createNetwork can block for minutes if called when VPC router is being created 
(maybe non-vpc router too?), whether it's the first time or if VPC router is 
deleted.  If I call createNetwork any time after the new VPC router is running 
it's fine, wether the router is stopped, starting, or running state. If I 
destroy the router then createNetwork also still works instantly, but when 
router is recreating and in 'starting' state, createNetwork blocks until this 
is done. Since it's a sync call this causes trouble for us, and we've worked 
around it in our client by never calling createNetwork if the VPC router is not 
'running', but since createNetwork is sync we should really either fix the 
block or return 'try again later' if this state is found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to