[Bug 1840162] [NEW] Unicode compate for payload_content_type

XueFeng Liu jonnary.liu at 163.com
Wed Aug 14 15:50:54 UTC 2019


Public bug reported:

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.

** Affects: python-barbicanclient (Ubuntu)
     Importance: Undecided
     Assignee: XueFeng Liu (jonnary-liu)
         Status: New

** Changed in: python-barbicanclient (Ubuntu)
     Assignee: (unassigned) => XueFeng Liu (jonnary-liu)

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-barbicanclient in Ubuntu.
https://bugs.launchpad.net/bugs/1840162

Title:
  Unicode compate for payload_content_type

Status in python-barbicanclient package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-barbicanclient/+bug/1840162/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list