container show does not filter meta properties properly

Bug #1525805 reported by Tomas Kubica
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Medium
Steve Martinelli

Bug Description

object_store_v1.py

container_set assigns property uppercase: X-Container-Meta-
container_show filters lowercase: x-container-meta-

In my case what is set is not shown for this reason.

Tomas

summary: - container show does not filter meta properties properly in
- object_store_v1.py
+ container show does not filter meta properties properly
Changed in python-openstackclient:
importance: Undecided → Medium
Revision history for this message
Steve Martinelli (stevemar) wrote :

thanks for the bug, i'll post a fix soon

Changed in python-openstackclient:
assignee: nobody → Steve Martinelli (stevemar)
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-openstackclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/257218

Changed in python-openstackclient:
status: Confirmed → In Progress
Revision history for this message
Steve Martinelli (stevemar) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/257218
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=74a6a81ae9d2c92575f4be531aa88fbd5dae9819
Submitter: Jenkins
Branch: master

commit 74a6a81ae9d2c92575f4be531aa88fbd5dae9819
Author: Steve Martinelli <email address hidden>
Date: Mon Dec 14 03:30:00 2015 -0500

    when fetching object store properties use lower()

    sometimes properties within object store concepts are stored with
    mixed case depending on the client used to store said properties.

    when retrieving properties to 'show' the user, always call lower()
    on the property in question when comparing it to the reserved
    values of the swift API.

    Change-Id: I97ffc715788ca3cd021413124b6945a399465c99
    Closes-Bug: 1525805

Changed in python-openstackclient:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-openstackclient 2.1.0

This issue was fixed in the openstack/python-openstackclient 2.1.0 release.

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.