Bug 1300611 - filter instances by ip not work
Summary: filter instances by ip not work
Keywords:
Status: CLOSED EOL
Alias: None
Product: RDO
Classification: Community
Component: openstack-nova
Version: Juno
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
: Kilo
Assignee: Russell Bryant
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-21 09:38 UTC by tangyi
Modified: 2016-05-19 15:52 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-19 15:52:28 UTC


Attachments (Terms of Use)

Description tangyi 2016-01-21 09:38:22 UTC
Description of problem:
use openstack horizon.in instances panel within admin panel group.filter instances by ip is not work,it only search in the current page.

Version-Release number of selected component (if applicable):
juno

How reproducible:
everytime

Steps to Reproduce:
1.install the nova-api component use http://repos.fedorapeople.org/repos/openstack/openstack-juno/epel-7/
2.login openstack dashboard with admin user.click admin panel group,and then click instances panel
3.select "IPv4 Address" filter,enter an ip address that is not displayed in current page.

Actual results:
no result display

Expected results:
display the instance with entered ip address.

Additional info:

I finally figured out the problem. install nova-api with http://repos.fedorapeople.org/repos/openstack/openstack-juno/epel-7/ repo,nova-api code is not newest.problem is caused by missing the following four line code(juno stable in github has thoes code):
  
filter_ip = 'ip6' in filters or 'ip' in filters
if filter_ip and limit:
    LOG.debug('Removing limit for DB query due to IP filter')
    limit = None

openstack offical doc Recommend use rdo repo(http://repos.fedorapeople.org/repos/openstack/openstack-juno/epel-7/),i think the code is not newest will affect lots of person.

Comment 1 tangyi 2016-01-21 10:00:19 UTC
In centos7 the location of file which missing code is /usr/lib/python2.7/site-packages/nova/compute/api.py. line 1989.

Comment 2 Chandan Kumar 2016-05-19 15:52:28 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.


Note You need to log in before you can comment on or make changes to this bug.