Glance client can not list images when some image names contain non-ASCII values

Bug #1551719 reported by Kyrylo Romanenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Confirmed
Medium
Unassigned
8.0.x
Won't Fix
Medium
MOS Maintenance
9.x
Invalid
Medium
MOS Glance

Bug Description

Steps:
1. Upload images and set some non-ASCII values in their names.
For example it can be with brackets ‘ ’ that are substituted by Google Docs or MS Word.
(Example on screenshot)
2. Then try to list images:
root@node-5:~# glance image-list
'ascii' codec can't encode character u'\u2018' in position 845: ordinal not in range(128)
 3. And try to show details of such kind of image with malformed name:
root@node-5:~# glance image-show 0ce2d899-6269-44b8-878d-5abeb566b7ff
'ascii' codec can't encode character u'\u2018' in position 621: ordinal not in range(128)

Workaround: it`s possible rename or delete images via Horizon.

It looks that we have impact of upstream glance bug: https://bugs.launchpad.net/glance/+bug/1537050

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "570"
  build_id: "570"
  fuel-nailgun_sha: "558ca91a854cf29e395940c232911ffb851899c1"
  python-fuelclient_sha: "4f234669cfe88a9406f4e438b1e1f74f1ef484a5"
  fuel-agent_sha: "658be72c4b42d3e1436b86ac4567ab914bfb451b"
  fuel-nailgun-agent_sha: "b2bb466fd5bd92da614cdbd819d6999c510ebfb1"
  astute_sha: "b81577a5b7857c4be8748492bae1dec2fa89b446"
  fuel-library_sha: "c2a335b5b725f1b994f78d4c78723d29fa44685a"
  fuel-ostf_sha: "3bc76a63a9e7d195ff34eadc29552f4235fa6c52"
  fuel-mirror_sha: "fb45b80d7bee5899d931f926e5c9512e2b442749"
  fuelmenu_sha: "78ffc73065a9674b707c081d128cb7eea611474f"
  shotgun_sha: "63645dea384a37dde5c01d4f8905566978e5d906"
  network-checker_sha: "a43cf96cd9532f10794dce736350bf5bed350e9d"
  fuel-upgrade_sha: "616a7490ec7199f69759e97e42f9b97dfc87e85b"
  fuelmain_sha: "d605bcbabf315382d56d0ce8143458be67c53434"

Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :
Dina Belova (dbelova)
Changed in mos:
status: New → Confirmed
tags: added: area-glance
removed: glance
Revision history for this message
Vitaly Sedelnik (vsedelnik) wrote :

Won't Fix for 8.0-updates because of Medium importance. Nominated for 9.0

tags: added: wontfix-low
Revision history for this message
Dina Belova (dbelova) wrote :

MOS Glance team - please take a look.

Changed in mos:
assignee: MOS Glance (mos-glance) → Darja Shakhray (dshakhray)
Revision history for this message
Darja Shakhray (dshakhray) wrote :

Hi! This bug occurs due to encode in the terminal.
http://paste.openstack.org/show/492585/

Changed in mos:
assignee: Darja Shakhray (dshakhray) → nobody
Revision history for this message
Darja Shakhray (dshakhray) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.