[ https://issues.apache.org/jira/browse/CLOUDSTACK-561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rafael Weingärtner resolved CLOUDSTACK-561. ------------------------------------------- Resolution: Fixed > 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 was sent by Atlassian JIRA (v6.3.15#6346)