Unicode compate for payload_content_type

Bug #1840162 reported by XueFeng Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-barbicanclient (Ubuntu)
New
Undecided
XueFeng Liu

Bug Description

In some version when we run "openstack secret store" we will met a unicode problem.

openstack secret store --name RF_barbican_securt_'default'_010101_388RiAcE --algorithm RSA --expiration 2020-01-01 --secret-type certificate --payload-content-type "application/octet-stream" --payload-content-encoding base64 --payload "$(base64 /home/Xm0ugCQf_new_cert.crt)"

Error Info:
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils. This warning is caused by an out-of-date import in /usr/lib/python2.7/site-packages/heatclient/osc/plugin.py
decoding Unicode is not supported

So we'd better add a compate for this.

Changed in python-barbicanclient (Ubuntu):
assignee: nobody → XueFeng Liu (jonnary-liu)
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.