← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1722704] [NEW] Image name filter on instance panel doesn't work

 

Public bug reported:

The image name filter on Instance panel is using a simple way to get the
correct image ID from a mapping. There are 2 problems could happen here:

1. Horizon is using an API call like this:
/v2/images?limit=1000&sort_key=created_at&sort_dir=des to get the images
list so as to get a mapping. It could work for most of the cases, but if
there are more than 1000 images (public + private) with in the tenant,
the filter could fail.

2. Horizon is trying to get the image id by name, unfortunately, in
Glance, the image name could be duplicated. Horizon just always get the
first image ID, which is incorrect. As a result, user can't see all the
images he/she want to see based on the name.

** Affects: horizon
     Importance: Undecided
     Assignee: Feilong Wang (flwang)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Feilong Wang (flwang)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1722704

Title:
  Image name filter on instance panel doesn't work

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  The image name filter on Instance panel is using a simple way to get
  the correct image ID from a mapping. There are 2 problems could happen
  here:

  1. Horizon is using an API call like this:
  /v2/images?limit=1000&sort_key=created_at&sort_dir=des to get the
  images list so as to get a mapping. It could work for most of the
  cases, but if there are more than 1000 images (public + private) with
  in the tenant, the filter could fail.

  2. Horizon is trying to get the image id by name, unfortunately, in
  Glance, the image name could be duplicated. Horizon just always get
  the first image ID, which is incorrect. As a result, user can't see
  all the images he/she want to see based on the name.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1722704/+subscriptions