shwstppr commented on issue #167: [WIP] Zone wizard
URL: 
https://github.com/apache/cloudstack-primate/pull/167#issuecomment-601111749
 
 
   @utchoang I debugged and found addHost API was correctly adding new host in 
the server but Primate was failing with request timeout after 1min,
   ![Screenshot from 2020-03-19 
13-40-54](https://user-images.githubusercontent.com/153340/77055459-edc1e500-69f6-11ea-91fc-d69047e7f892.png)
   I increased the value to **180000** here 
https://github.com/apache/cloudstack-primate/blob/master/src/utils/request.js#L28
   But no it fails with failed status after 2min. After consulting with @rhtyd 
   `proxyTimeout: 1000 * 60 * 5 // 5 minutes` was added here
   https://github.com/apache/cloudstack-primate/blob/master/vue.config.js#L117
   
   After this addHost worked fine but wizard failed while adding staging 
secondary storage here, 
https://github.com/apache/cloudstack-primate/pull/167/files#diff-de058fe5096a781928dd810207977ba9R1483
   Changed the condition to,
   ```
   if (this.prefillContent.secondaryStorageNFSStaging && 
this.prefillContent.secondaryStorageNFSStaging.value) {
   ```
   
   and zone was added successfully but it was not enabled  and not enable zone 
dialog was shown similar to old UI

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


With regards,
Apache Git Services

Reply via email to