ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
Standard install
OS / ENVIRONMENT
N/A
SUMMARY
On the 'Hosts' page, clicking on 'View Instances' brings the user to a table of instances (VMs). However, this table is not filtered by the host appropriately even though the URL includes a hostid=xxxx. Instead, the table shows all instances in CloudStack.
STEPS TO REPRODUCE
- Go to Infrastructure -> Hosts
- Select a host (For example:
hostA)
- Click on 'View Instances'
- See that the Instances table contains all VMs in CloudStack (not filtered to show only
hostA's VMs). The URL should contain something like: /client/#/vm?hostid=7b313bd8-81fe-4e57-bccb-90df970f6d67. Note that hostA's hostid is being passed in the URI but has no effect.
EXPECTED RESULTS
Expect the Instances table is filtered to show only hostA's VMs.
ACTUAL RESULTS
Instances table is not filtered to show only hostA's VMs.
Additional info
I think the hostid parameter isn't actually used by the view. I think the table view is generated and filtered by this file/line:
|
} else if (this.$route.name === 'vm') { |
I don't see hostid actually be used here.
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
Standard install
OS / ENVIRONMENT
N/A
SUMMARY
On the 'Hosts' page, clicking on 'View Instances' brings the user to a table of instances (VMs). However, this table is not filtered by the host appropriately even though the URL includes a
hostid=xxxx. Instead, the table shows all instances in CloudStack.STEPS TO REPRODUCE
hostA)hostA's VMs). The URL should contain something like:/client/#/vm?hostid=7b313bd8-81fe-4e57-bccb-90df970f6d67. Note thathostA'shostidis being passed in the URI but has no effect.EXPECTED RESULTS
Expect the Instances table is filtered to show only
hostA's VMs.ACTUAL RESULTS
Instances table is not filtered to show only
hostA's VMs.Additional info
I think the
hostidparameter isn't actually used by the view. I think the table view is generated and filtered by this file/line:cloudstack/ui/src/views/AutogenView.vue
Line 1524 in c526244
I don't see hostid actually be used here.