You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2018/12/19 02:13:16 UTC

[GitHub] dubauski opened a new issue #3103: Cloudstack API: concurrent virtual machine requests lead to variety of problems

dubauski opened a new issue #3103: Cloudstack API: concurrent virtual machine requests lead to variety of problems
URL: https://github.com/apache/cloudstack/issues/3103
 
 
   ##### ISSUE TYPE
    * Bug Report
   
   ##### COMPONENT NAME
   API
   
   ##### CLOUDSTACK VERSION
   4.9.2.0
   
   ##### CONFIGURATION
   N/A
   
   ##### OS / ENVIRONMENT
   N/A
   
   
   ##### SUMMARY
   When requesting multiple virtual machines (via deployVirtualMachine REST method) using CloudStack API leads to various failures:
   - 431 server response 
   - duplicate private addresses assigned (intermittently)
   
   
   ##### STEPS TO REPRODUCE
   1. Create VPC 
   2. Create guest network
   3. using deployVirtualMachine REST method request a virtual machine to be created in the guest network
   4. without waiting for completion repeat step 3 for 20 other virtual machines. This step is performed in a parallel fashion: i.e. requests for new vms are issues from parallel threads (not sequentially)
   
   ##### EXPECTED RESULTS
   All of the requested virtual machines created successfully
   
   ##### ACTUAL RESULTS
   Error: Server returned HTTP response code: 431 for URL: http://<cs host>:8080/client/api/?apikey=xxxx&command=deployVirtualMachine&name=st2e03-oooodb01&networkids=<networkIdvalue>&response=json&serviceofferingid=<offeringid>&templateid=<templateid>&zoneid=<zoneId>&signature=<myapisignature>
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services