"decoding Unicode is not supported" when uploading secret using unified CLI

Bug #1627364 reported by Stephen Balukoff
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
python-barbicanclient
Fix Released
Undecided
Jeremy Liu

Bug Description

When using the unified OpenStack CLI, we get a "decoding Unicode is not supported" error when creating a secret. Like so:

openstack secret store --name='test-secret' --payload-content-type='text/plain' --payload='blahblahblah'

Further, we don't get output that shows us the details of the secret that was (successfully) created.

Note that this doesn't happen (though there are plenty of other warnings) when using the deprecated barbican CLI:

barbican secret store --name='test-secret2' --payload-content-type='text/plain' --payload='blahblahblah'

Jeremy Liu (liujiong)
Changed in barbican:
status: New → Confirmed
Jeremy Liu (liujiong)
Changed in barbican:
assignee: nobody → Jeremy Liu (liujiong)
Revision history for this message
Jeremy Liu (liujiong) wrote :

This is a bug of barbicanclient, and should be fixed with this commit https://review.openstack.org/#/c/386938/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-barbicanclient 4.2.0

This issue was fixed in the openstack/python-barbicanclient 4.2.0 release.

Jeremy Liu (liujiong)
affects: barbican → python-barbicanclient
Changed in python-barbicanclient:
status: Confirmed → Fix Released
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.