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/11/30 15:21:33 UTC

[GitHub] [cloudstack] alexandremattioli opened a new issue, #6931: List Instances in Host lists all instances

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

   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   UI
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main branch.
   -->
   
   ~~~
   4.17.1
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   N/A
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   When selecting to show all instances for a certain host, all instances are listed
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   In the UI navigate to:
   Infrastructure -> Hosts
   Select a host
   Click on View Instances
   
   
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   List of instances running on the host
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   All instances are listed
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   
   ~~~
   


-- 
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] nvazquez commented on issue #6931: List Instances in Host lists all instances

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

   @alexandremattioli I've posted a quick fix, its actually the API that's broken, the UI is passing the params correctly:
   
   ````
   (localcloud) 🐱 > list virtualmachines hostid=ab815b86-a9ad-499c-a60f-4d85123d57c4 filter=id,name,hostid
   {
     "count": 1,
     "virtualmachine": [
       {
         "hostid": "ab815b86-a9ad-499c-a60f-4d85123d57c4",
         "id": "f3621224-0f19-4e55-bf3b-8504bd5ce346",
         "name": "VM-f3621224-0f19-4e55-bf3b-8504bd5ce346"
       }
     ]
   }
   (localcloud) 🐱 > list virtualmachinesmetrics hostid=ab815b86-a9ad-499c-a60f-4d85123d57c4 filter=id,name,hostid
   {
     "count": 2,
     "virtualmachine": [
       {
         "hostid": "734acbc4-80c9-44c0-aaab-75f276469fd4",
         "id": "35fef250-5c4d-4705-b707-069102a32991",
         "name": "VM-35fef250-5c4d-4705-b707-069102a32991"
       },
       {
         "hostid": "ab815b86-a9ad-499c-a60f-4d85123d57c4",
         "id": "f3621224-0f19-4e55-bf3b-8504bd5ce346",
         "name": "VM-f3621224-0f19-4e55-bf3b-8504bd5ce346"
       }
     ]
   }
   ````


-- 
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] alexandremattioli commented on issue #6931: List Instances in Host lists all instances

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

   Thanks @nvazquez 


-- 
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 #6931: List Instances in Host lists all instances

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

   Duplicate of https://github.com/apache/cloudstack/issues/6786 closing this. @alexandremattioli @nvazquez we've another PR from Abhishek.


-- 
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 #6931: List Instances in Host lists all instances

Posted by GitBox <gi...@apache.org>.
rohityadavcloud closed issue #6931: List Instances in Host lists all instances
URL: https://github.com/apache/cloudstack/issues/6931


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