Remi Bergsma created CLOUDSTACK-9169:
----------------------------------------
Summary: createNetwork API call takes a long time when
ispersistent=True
Key: CLOUDSTACK-9169
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9169
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: API
Affects Versions: 4.7.0
Reporter: Remi Bergsma
Priority: Critical
When one create a network offering with ispersistent=True it will take a long
time because the routerVM is created immediately. Since the call is not
asynchonous, this will take minutes and most of the time timeout.
Steps to reproduce:
Create offering:
cloudmonkey create networkoffering \
ispersistent=True \
name=Redundant-SNAT \
conservemode=False \
displaytext="Regular redundant router with Source NAT and IP conservation" \
guestiptype=Isolated \
traffictype=GUEST \
specifyvlan=False \
availability=Optional \
supportedservices=UserData,PortForwarding,Dhcp,Vpn,Dns,SourceNat,Connectivity,StaticNat
\
serviceproviderlist[0].service=UserData
serviceproviderlist[0].provider=VirtualRouter \
serviceproviderlist[1].service=PortForwarding
serviceproviderlist[1].provider=VirtualRouter \
serviceproviderlist[2].service=Dhcp
serviceproviderlist[2].provider=VirtualRouter \
serviceproviderlist[3].service=Vpn
serviceproviderlist[3].provider=VirtualRouter \
serviceproviderlist[4].service=Dns
serviceproviderlist[4].provider=VirtualRouter \
serviceproviderlist[5].service=SourceNat
serviceproviderlist[5].provider=VirtualRouter \
serviceproviderlist[6].service=Connectivity
serviceproviderlist[6].provider=VirtualRouter \
serviceproviderlist[7].service=StaticNat
serviceproviderlist[7].provider=VirtualRouter \
serviceofferingid=some-id
Then enable it.
Then create a network using this. The fastest way is to use the Create Instance
wizard and there create a new network using this offering.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)