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 2022/09/29 23:27:02 UTC

[GitHub] [cloudstack] kohrar opened a new issue, #6786: UI: Instances list not filterable by hostid

kohrar opened a new issue, #6786:
URL: https://github.com/apache/cloudstack/issues/6786

   ##### ISSUE TYPE
    * Bug Report
   
   ##### COMPONENT NAME
   ~~~
   UI
   ~~~
   
   ##### CLOUDSTACK VERSION
   ~~~
   4.17.0.1
   ~~~
   
   ##### 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
   1. Go to Infrastructure -> Hosts
   2. Select a host (For example: `hostA`)
   3. Click on 'View Instances'
   4. 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:
   
   https://github.com/apache/cloudstack/blob/c5262443595e4ed1bb9898654f3bed728331ffc0/ui/src/views/AutogenView.vue#L1524
   
   I don't see hostid actually be used here.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] shwstppr commented on issue #6786: UI: Instances list not filterable by hostid

Posted by GitBox <gi...@apache.org>.
shwstppr commented on issue #6786:
URL: https://github.com/apache/cloudstack/issues/6786#issuecomment-1291533333

   Problem is not with UI, `listVirtualMachinesMetrics` API (for some reason deprecated now) used for listing VMs in the VM view doesn't support podid, hostid, storageid, etc parameters cc @weizhouapache 


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] shwstppr commented on issue #6786: UI: Instances list not filterable by hostid

Posted by GitBox <gi...@apache.org>.
shwstppr commented on issue #6786:
URL: https://github.com/apache/cloudstack/issues/6786#issuecomment-1291553772

   Problem is not with the UI but with the `listVirtualMachinesMetrics` API. Currently, it does not support some of the params (hostid, podid, storageid, etc) as it extends DeployVMsCmd class. cc @weizhouapache 
   
   I've created a draft PR to fix this https://github.com/apache/cloudstack/pull/6851


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] weizhouapache commented on issue #6786: UI: Instances list not filterable by hostid

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #6786:
URL: https://github.com/apache/cloudstack/issues/6786#issuecomment-1290205012

   I confirm this issue exists in 4.18 as well


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] rohityadavcloud commented on issue #6786: UI: Instances list not filterable by hostid

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on issue #6786:
URL: https://github.com/apache/cloudstack/issues/6786#issuecomment-1345927106

   Fixed in https://github.com/apache/cloudstack/pull/6851


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] rohityadavcloud closed issue #6786: UI: Instances list not filterable by hostid

Posted by GitBox <gi...@apache.org>.
rohityadavcloud closed issue #6786: UI: Instances list not filterable by hostid
URL: https://github.com/apache/cloudstack/issues/6786


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org