container show does not filter meta properties properly

Bug #1525805 reported by Tomas Kubica on 2015-12-14
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
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

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

Changed in python-openstackclient:
status: Confirmed → In Progress

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

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  Edit
Everyone can see this information.

Other bug subscribers