Skip to content

UI: IP address column always empty on the Add VM modal #8273

@OlegChuev

Description

@OlegChuev

The modal form uses a field that is absent in the API response.

This modal makes an API request to the 'listVirtualMachines' API endpoint and prints all VMs. In the ui/src/views/network/PortForwarding.vue file at line 428, the column expects to use the ip field, but this field is absent in the actual response. I assume it should be publicip instead of ip. Please feel free to close the issue if I'm missing something.

If it should be just publicip instead of ip, let me know, and I can prepare a fix.

ISSUE TYPE
  • Bug Report
COMPONENT NAME
UI
CLOUDSTACK VERSION
4.18
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
STEPS TO REPRODUCE
1) Login to the ACS
2) Create VPC
3) Create VM with Network created on the previous step
4) Navigate to the VPC -> Public IP Addresses tab
5) Click on the non-"source nat" public ip address
6) Navigate to the Port Forwarding tab 
7) Click "Add" button
8) Check VM table
Screenshot 2023-11-27 at 19 12 16 Screenshot 2023-11-27 at 19 11 50 Screenshot 2023-11-27 at 19 01 34
EXPECTED RESULTS
IP Address value is present 
ACTUAL RESULTS
IP Address value is missing 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions