You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/04/16 12:58:31 UTC
[GitHub] [cloudstack-primate] onitake opened a new issue #294: [BUG] Can't
add load balancer
onitake opened a new issue #294: [BUG] Can't add load balancer
URL: https://github.com/apache/cloudstack-primate/issues/294
**Describe the bug**
When trying to add a new load balancer, the VM selection popup doesn't load.
It's impossible to add a load balancer via the UI because of this.
button,
**To Reproduce**
Steps to reproduce the behavior:
1. Go to an allocated IP address
2. Select the "Load Balancing" tab
3. Enter values into the Name, Public Port, Private Port, Algorithm, Protocol fields
4. Click on the "Add" button
**Expected behavior**
The VM selection dialogue should pop up.
**Screenshots**

**Desktop (please complete the following information):**
- OS: Linux
- Browser: Firefox
- Version: 74.0.1
**Additional context**
The issue seems to happen when the listVirtualMachines call sent by the "Add VMs" handler returns an empty list, like this:
```json
{"listvirtualmachinesresponse":{}}
```
The console log prints the message:
```
TypeError: t.response is undefined LoadBalancing.vue:935:10
```
This is with the latest HEAD (commit bcf86f450d6aede6bad5d556a1cf81fe00ccfd2c )
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [cloudstack-primate] onitake commented on issue #294: [BUG] Can't
add load balancer
Posted by GitBox <gi...@apache.org>.
onitake commented on issue #294: [BUG] Can't add load balancer
URL: https://github.com/apache/cloudstack-primate/issues/294#issuecomment-615217895
@shwstppr Awesome, that seems to have fixed the problem. I get a proper list of VMs now, and no error message in the console.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [cloudstack-primate] rhtyd commented on issue #294: [BUG] Can't add
load balancer
Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #294: [BUG] Can't add load balancer
URL: https://github.com/apache/cloudstack-primate/issues/294#issuecomment-615097992
cc @shwstppr
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [cloudstack-primate] shwstppr commented on issue #294: [BUG] Can't
add load balancer
Posted by GitBox <gi...@apache.org>.
shwstppr commented on issue #294: [BUG] Can't add load balancer
URL: https://github.com/apache/cloudstack-primate/issues/294#issuecomment-615166635
@onitake is it possible for you to checkout PR #296
I've tried fix error handling on API failure
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services