Bug 1371695 - cinder volume backup throws UnicodeDecodeError: 'ascii' and access denied
Summary: cinder volume backup throws UnicodeDecodeError: 'ascii' and access denied
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-os-brick
Version: 8.0 (Liberty)
Hardware: x86_64
OS: Linux
high
urgent
Target Milestone: async
: 8.0 (Liberty)
Assignee: Eric Harney
QA Contact: lkuchlan
URL:
Whiteboard:
Depends On: 1349005
Blocks: 1360424 1371696
TreeView+ depends on / blocked
 
Reported: 2016-08-30 20:41 UTC by Eric Harney
Modified: 2021-03-11 14:40 UTC (History)
19 users (show)

Fixed In Version: python-os-brick-0.5.0-2.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1349005
: 1371696 (view as bug list)
Environment:
Last Closed: 2016-09-14 14:42:08 UTC
Target Upstream Version:
Embargoed:
tshefi: automate_bug+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1602346 0 None None None 2016-08-30 20:41:54 UTC
Red Hat Product Errata RHBA-2016:1867 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 8 Bug Fix and Enhancement Advisory 2016-09-14 18:36:18 UTC

Comment 2 lkuchlan 2016-09-11 05:26:38 UTC
Tested using:
python-os-brick-0.5.0-2.el7ost
python-cinder-7.0.2-3.el7ost.noarch
python-cinderclient-1.5.0-1.el7ost.noarch
openstack-cinder-7.0.2-3.el7ost.noarch

Verification flow:

[root@dhcp162-28 ~(keystone_admin)]# cinder create 1
+---------------------------------------+--------------------------------------+
|                Property               |                Value                 |
+---------------------------------------+--------------------------------------+
|              attachments              |                  []                  |
|           availability_zone           |                 nova                 |
|                bootable               |                false                 |
|          consistencygroup_id          |                 None                 |
|               created_at              |      2016-09-11T05:11:32.000000      |
|              description              |                 None                 |
|               encrypted               |                False                 |
|                   id                  | 89ddb321-6d7c-4861-b7c4-f7c08207c044 |
|                metadata               |                  {}                  |
|            migration_status           |                 None                 |
|              multiattach              |                False                 |
|                  name                 |                 None                 |
|         os-vol-host-attr:host         |                 None                 |
|     os-vol-mig-status-attr:migstat    |                 None                 |
|     os-vol-mig-status-attr:name_id    |                 None                 |
|      os-vol-tenant-attr:tenant_id     |   fcc2d977826f43d48afa62e614355675   |
|   os-volume-replication:driver_data   |                 None                 |
| os-volume-replication:extended_status |                 None                 |
|           replication_status          |               disabled               |
|                  size                 |                  1                   |
|              snapshot_id              |                 None                 |
|              source_volid             |                 None                 |
|                 status                |               creating               |
|                user_id                |   a8cebff40eac4edaad955f290d9d219b   |
|              volume_type              |                 None                 |
+---------------------------------------+--------------------------------------+

[root@dhcp162-28 ~(keystone_admin)]# cinder list
+--------------------------------------+-----------+------------------+------+------+-------------+----------+-------------+-------------+
|                  ID                  |   Status  | Migration Status | Name | Size | Volume Type | Bootable | Multiattach | Attached to |
+--------------------------------------+-----------+------------------+------+------+-------------+----------+-------------+-------------+
| 89ddb321-6d7c-4861-b7c4-f7c08207c044 | available |        -         |  -   |  1   |      -      |  false   |    False    |             |
+--------------------------------------+-----------+------------------+------+------+-------------+----------+-------------+-------------+

[root@dhcp162-28 ~(keystone_admin)]# cinder backup-create 89ddb321-6d7c-4861-b7c4-f7c08207c044
+-----------+--------------------------------------+
|  Property |                Value                 |
+-----------+--------------------------------------+
|     id    | 2bc6ef7b-0a5d-4455-a5ef-1492bbeab39b |
|    name   |                 None                 |
| volume_id | 89ddb321-6d7c-4861-b7c4-f7c08207c044 |
+-----------+--------------------------------------+

[root@dhcp162-28 ~(keystone_admin)]# cinder backup-list
+--------------------------------------+--------------------------------------+-----------+------+------+--------------+----------------+
|                  ID                  |              Volume ID               |   Status  | Name | Size | Object Count |   Container    |
+--------------------------------------+--------------------------------------+-----------+------+------+--------------+----------------+
| 2bc6ef7b-0a5d-4455-a5ef-1492bbeab39b | 89ddb321-6d7c-4861-b7c4-f7c08207c044 | available |  -   |  1   |      22      | volumes_backup |
+--------------------------------------+--------------------------------------+-----------+------+------+--------------+----------------+

Comment 4 errata-xmlrpc 2016-09-14 14:42:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-1867.html


Note You need to log in before you can comment on or make changes to this bug.