← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1505356] [NEW] Can't upload images in Python 3.4

 

Public bug reported:

Trying to upload images via the OSC fails with: 'ascii' codec can't
decode byte 0xea in position 0: ordinal not in range(128)

2015-10-09 16:37:17.960 | ++ openstack --os-cloud=devstack-admin image create cirros-0.3.4-x86_64-uec-kernel --public --container-format aki --disk-format aki
2015-10-09 16:37:17.960 | ++ grep ' id '
2015-10-09 16:37:17.960 | ++ get_field 2
2015-10-09 16:37:17.961 | ++ local data field
2015-10-09 16:37:17.961 | ++ read data
2015-10-09 16:37:20.712 | 'ascii' codec can't decode byte 0xea in position 0: ordinal not in range(128)
2015-10-09 16:37:20.848 | + kernel_id=
2015-10-09 16:37:20.848 | + '[' -n /opt/stack/new/devstack/files/images/cirros-0.3.4-x86_64-uec/cirros-0.3.4-x86_64-initrd ']'
2015-10-09 16:37:20.849 | ++ openstack --os-cloud=devstack-admin image create cirros-0.3.4-x86_64-uec-ramdisk --public --container-format ari --disk-format ari
2015-10-09 16:37:20.850 | ++ grep ' id '
2015-10-09 16:37:20.850 | ++ get_field 2
2015-10-09 16:37:20.851 | ++ local data field
2015-10-09 16:37:20.851 | ++ read data
2015-10-09 16:37:22.459 | 'ascii' codec can't decode byte 0x8b in position 1: ordinal not in range(128)
2015-10-09 16:37:22.555 | + ramdisk_id=
2015-10-09 16:37:22.555 | + openstack --os-cloud=devstack-admin image create cirros-0.3.4-x86_64-uec --public --container-format ami --disk-format ami
2015-10-09 16:37:24.055 | 'ascii' codec can't decode byte 0xcc in position 1032: ordinal not in range(128)


http://logs.openstack.org/33/188033/7/check/gate-heat-dsvm-functional-orig-mysql/9eaf0e2/logs/devstacklog.txt.gz#_2015-10-09_16_37_17_960 > FWIW, the gate job installs the python 3 version of all the clients when building devstack.

Also, noticed some failures in glance trying to upload an image:
http://logs.openstack.org/33/188033/7/check/gate-heat-dsvm-functional-
orig-mysql/9eaf0e2/logs/screen-g-api.txt.gz?level=ERROR

** Affects: glance
     Importance: Undecided
         Status: New

** Affects: python-openstackclient
     Importance: Undecided
         Status: New

** Also affects: glance
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1505356

Title:
  Can't upload images in Python 3.4

Status in Glance:
  New
Status in python-openstackclient:
  New

Bug description:
  Trying to upload images via the OSC fails with: 'ascii' codec can't
  decode byte 0xea in position 0: ordinal not in range(128)

  2015-10-09 16:37:17.960 | ++ openstack --os-cloud=devstack-admin image create cirros-0.3.4-x86_64-uec-kernel --public --container-format aki --disk-format aki
  2015-10-09 16:37:17.960 | ++ grep ' id '
  2015-10-09 16:37:17.960 | ++ get_field 2
  2015-10-09 16:37:17.961 | ++ local data field
  2015-10-09 16:37:17.961 | ++ read data
  2015-10-09 16:37:20.712 | 'ascii' codec can't decode byte 0xea in position 0: ordinal not in range(128)
  2015-10-09 16:37:20.848 | + kernel_id=
  2015-10-09 16:37:20.848 | + '[' -n /opt/stack/new/devstack/files/images/cirros-0.3.4-x86_64-uec/cirros-0.3.4-x86_64-initrd ']'
  2015-10-09 16:37:20.849 | ++ openstack --os-cloud=devstack-admin image create cirros-0.3.4-x86_64-uec-ramdisk --public --container-format ari --disk-format ari
  2015-10-09 16:37:20.850 | ++ grep ' id '
  2015-10-09 16:37:20.850 | ++ get_field 2
  2015-10-09 16:37:20.851 | ++ local data field
  2015-10-09 16:37:20.851 | ++ read data
  2015-10-09 16:37:22.459 | 'ascii' codec can't decode byte 0x8b in position 1: ordinal not in range(128)
  2015-10-09 16:37:22.555 | + ramdisk_id=
  2015-10-09 16:37:22.555 | + openstack --os-cloud=devstack-admin image create cirros-0.3.4-x86_64-uec --public --container-format ami --disk-format ami
  2015-10-09 16:37:24.055 | 'ascii' codec can't decode byte 0xcc in position 1032: ordinal not in range(128)

  
  http://logs.openstack.org/33/188033/7/check/gate-heat-dsvm-functional-orig-mysql/9eaf0e2/logs/devstacklog.txt.gz#_2015-10-09_16_37_17_960 > FWIW, the gate job installs the python 3 version of all the clients when building devstack.

  Also, noticed some failures in glance trying to upload an image:
  http://logs.openstack.org/33/188033/7/check/gate-heat-dsvm-functional-
  orig-mysql/9eaf0e2/logs/screen-g-api.txt.gz?level=ERROR

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1505356/+subscriptions


Follow ups