You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "0sorkon (via GitHub)" <gi...@apache.org> on 2024/08/05 07:15:31 UTC

[I] VM search by IP does not work after the update [cloudstack]

0sorkon opened a new issue, #9486:
URL: https://github.com/apache/cloudstack/issues/9486

   <!--
   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
   API?
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main branch.
   -->
   
   ~~~
   4.19.1.0
   ~~~
   
   ##### 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
   -->
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   Searching for VMs by IP does not work after upgrading from 4.18.2.1 to 4.19.1.0. Attempting to search by IP gives empty results
   
   ##### 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 -->
   ~~~
   * Update to 4.19.1.0
   * Try to search instance based on IP address
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   The search result displays the VM with the searched IP
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   Search result is empty.
   ~~~
   


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


Re: [I] VM search by IP does not work after the update [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache closed issue #9486: VM search by IP does not work after the update
URL: https://github.com/apache/cloudstack/issues/9486


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


Re: [I] VM search by IP does not work after the update [cloudstack]

Posted by "0sorkon (via GitHub)" <gi...@apache.org>.
0sorkon commented on issue #9486:
URL: https://github.com/apache/cloudstack/issues/9486#issuecomment-2270985955

   Is there another way to search VMs by IP that works in 4.19?


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


Re: [I] VM search by IP does not work after the update [cloudstack]

Posted by "0sorkon (via GitHub)" <gi...@apache.org>.
0sorkon commented on issue #9486:
URL: https://github.com/apache/cloudstack/issues/9486#issuecomment-2337282523

   Yeah, I'm pretty sure it worked in latest 4.19.


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


Re: [I] VM search by IP does not work after the update [cloudstack]

Posted by "adietrich-ussignal (via GitHub)" <gi...@apache.org>.
adietrich-ussignal commented on issue #9486:
URL: https://github.com/apache/cloudstack/issues/9486#issuecomment-2268988381

   Can you be a bit more descriptive as to which menu you are attempting to search? Is this from the instance screen where you are attempting to search? 
   
   I've tested on 4.19.1.0 and 4.19.0.2 and in both cases this does not work when done from the Compute > Instances search bar. 


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


Re: [I] VM search by IP does not work after the update [cloudstack]

Posted by "kiranchavala (via GitHub)" <gi...@apache.org>.
kiranchavala commented on issue #9486:
URL: https://github.com/apache/cloudstack/issues/9486#issuecomment-2283495729

   @0sorkon 
   
   You can use cloudmonkey tool  to filter the vm and IP address 
   
   https://github.com/apache/cloudstack-cloudmonkey
   
   for example 
   
   ```
   cmk list virtualmachines filter=name,ipaddress
   {
     "count": 2,
     "virtualmachine": [
       {
         "ipaddress": "10.1.1.141",
         "name": "VM-28780e23-5ab5-455e-a0be-43caa22f16a1"
       },
       {
         "ipaddress": "10.1.1.19",
         "name": "VM-26eaa7cd-3a76-4a2a-a11a-7719db3dff65"
       }
     ]
   }
   ```
   Also you can use the jq tool to filter somemore 
   
   ```
    cmk list virtualmachines filter=name,ipaddress | jq '.virtualmachine[]'
   {
     "ipaddress": "10.1.1.141",
     "name": "VM-28780e23-5ab5-455e-a0be-43caa22f16a1"
   }
   {
     "ipaddress": "10.1.1.19",
     "name": "VM-26eaa7cd-3a76-4a2a-a11a-7719db3dff65"
   }
   
    cmk list virtualmachines filter=name,ipaddress | jq '.virtualmachine[].ipaddress'
   "10.1.1.141"
   "10.1.1.19"
   ```


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


Re: [I] VM search by IP does not work after the update [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #9486:
URL: https://github.com/apache/cloudstack/issues/9486#issuecomment-2286271667

   @0sorkon have you seen this working in older versions? It doesn't sound as familiar functionality to me.


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


Re: [I] VM search by IP does not work after the update [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #9486:
URL: https://github.com/apache/cloudstack/issues/9486#issuecomment-2427086334

   this has been fixed by #9547 


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


Re: [I] VM search by IP does not work after the update [cloudstack]

Posted by "0sorkon (via GitHub)" <gi...@apache.org>.
0sorkon commented on issue #9486:
URL: https://github.com/apache/cloudstack/issues/9486#issuecomment-2339879070

   > @0sorkon
   > 
   > You can use cloudmonkey tool to filter the vm and IP address
   > 
   > https://github.com/apache/cloudstack-cloudmonkey
   > 
   > for example
   > 
   > ```
   > cmk list virtualmachines filter=name,ipaddress
   > {
   >   "count": 2,
   >   "virtualmachine": [
   >     {
   >       "ipaddress": "10.1.1.141",
   >       "name": "VM-28780e23-5ab5-455e-a0be-43caa22f16a1"
   >     },
   >     {
   >       "ipaddress": "10.1.1.19",
   >       "name": "VM-26eaa7cd-3a76-4a2a-a11a-7719db3dff65"
   >     }
   >   ]
   > }
   > ```
   > 
   > Also you can use the jq tool to filter somemore
   > 
   > ```
   >  cmk list virtualmachines filter=name,ipaddress | jq '.virtualmachine[]'
   > {
   >   "ipaddress": "10.1.1.141",
   >   "name": "VM-28780e23-5ab5-455e-a0be-43caa22f16a1"
   > }
   > {
   >   "ipaddress": "10.1.1.19",
   >   "name": "VM-26eaa7cd-3a76-4a2a-a11a-7719db3dff65"
   > }
   > 
   >  cmk list virtualmachines filter=name,ipaddress | jq '.virtualmachine[].ipaddress'
   > "10.1.1.141"
   > "10.1.1.19"
   > ```
   
   Yeah, I know cmk can do that. But not everyone has access to the MS console and most people use the web interface and are used to it working.


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


Re: [I] VM search by IP does not work after the update [cloudstack]

Posted by "0sorkon (via GitHub)" <gi...@apache.org>.
0sorkon commented on issue #9486:
URL: https://github.com/apache/cloudstack/issues/9486#issuecomment-2270973094

   Yes. I try to search VM from Compute -> Instances page. And it work on 4.18


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