Repository: Azure/WALinuxAgent

Issue:
2.2.11 on CentOS 6.9 - HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
Hi Guys,

I have not been able to reproduce this issue myself but customer tried multiple times reinstalling the waagent and we are seeing these ascii codec errors in the logs. Could it be due to python version?

Here are some details, customer also tried with older waagents 2.2.0, 2.26, 2.2.10, but same issue happens.

___
# waagent -version
WALinuxAgent-2.2.11 running on centos 6.9
Python: 2.6.6
Goal state agent: 2.2.11

# cat /etc/*release
CentOS release 6.9 (Final)
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
CentOS release 6.9 (Final)
CentOS release 6.9 (Final)

contents from /var/log/waagent.log:
2017/05/24 15:46:17.844766 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:46:17.861865 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:46:21.049203 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:46:21.090362 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:46:21.122899 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:46:21.139003 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:46:24.305469 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:46:24.331966 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:46:24.364467 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:46:24.380578 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:46:28.564198 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:46:28.591858 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:46:28.617763 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:46:28.639363 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:46:31.885319 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:46:31.911783 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:46:31.946363 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:46:31.964649 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:46:35.146591 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:46:35.189370 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:46:35.225146 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:46:35.242466 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:46:39.429445 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:46:39.455260 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:46:39.487014 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:46:39.503239 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:46:42.683012 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:46:42.710385 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:46:42.744597 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:46:42.753255 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:46:45.931898 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:46:45.962590 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:46:45.996475 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:46:46.015805 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:46:50.197470 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:46:50.223235 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:46:50.255621 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:46:50.273207 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:46:53.446002 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:46:53.484775 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:46:53.523703 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:46:53.541274 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:46:56.723500 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:46:56.749868 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:46:56.787001 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:46:56.795731 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:47:01.004477 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:01.031631 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:01.065891 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:47:01.074840 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:47:04.239667 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:04.265142 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:04.297960 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:47:04.316253 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:47:07.477140 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:07.502672 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:07.539391 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:47:07.548653 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:47:11.731418 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:11.758850 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:11.799020 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:47:11.823203 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:47:14.995817 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:15.030661 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:15.065515 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:47:15.083501 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:47:18.270243 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:18.300546 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:18.333954 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:47:18.351530 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:47:22.533407 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:22.558433 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:22.610613 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:47:22.628229 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:47:25.780685 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:25.808705 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:25.849293 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:47:25.858204 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:47:29.070364 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:29.113366 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:29.152417 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:47:29.170557 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:47:33.358345 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:33.385624 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:33.386848 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:47:33.393950 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:47:36.569030 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:36.596103 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:36.631035 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:47:36.647864 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:47:39.832556 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:39.863671 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:39.895851 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:47:39.914430 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:47:44.099506 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:44.124648 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:44.158748 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:47:44.177613 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:47:47.583472 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:47.608486 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:47.640467 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:47:47.657303 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:47:50.835735 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:50.874290 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:50.916490 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:47:50.945341 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:47:55.129633 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:55.156257 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:55.190141 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:47:55.215993 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:47:58.424382 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:58.451950 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:47:58.487127 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:47:58.504755 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:48:01.690875 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:01.715687 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:01.748547 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:48:01.765343 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:48:05.936563 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:05.964643 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:05.996995 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:48:06.017752 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:48:09.190781 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:09.218779 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:09.252314 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:48:09.277252 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:48:12.459783 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:12.484684 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:12.518163 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:48:12.535435 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:48:16.729958 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:16.754869 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:16.788728 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:48:16.805349 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:48:20.001452 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:20.029702 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:20.065718 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:48:20.088268 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:48:23.305548 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:23.331518 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:23.362826 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:48:23.380037 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:48:27.596824 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:27.623493 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:27.657310 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:48:27.673913 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:48:30.849483 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:30.875699 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:30.908237 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:48:30.920496 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:48:34.087479 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:34.114431 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:34.162600 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:48:34.179671 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:48:38.360868 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:38.388320 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:38.422843 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:48:38.430939 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:48:41.598481 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:41.624106 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:41.657094 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:48:41.685802 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:48:44.875318 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:44.916857 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:44.948256 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:48:44.964992 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:48:49.146943 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:49.223333 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:49.270700 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:48:49.289094 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:48:52.453305 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:52.483725 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:52.514236 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:48:52.541040 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:48:55.757322 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:55.794825 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:48:55.847756 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:48:55.868455 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:49:00.054734 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:00.090044 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:00.124402 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:49:00.141889 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:49:03.319632 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:03.345371 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:03.377599 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:49:03.408319 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:49:06.580183 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:06.605901 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:06.639361 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:49:06.656325 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:49:10.853238 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:10.898130 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:10.969166 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:49:11.043244 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:49:14.241737 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:14.370211 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:14.384266 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:49:14.395068 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:49:17.574396 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:17.602290 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:17.633727 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:49:17.649852 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:49:21.827386 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:21.853598 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:21.886466 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:49:21.903030 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:49:25.102639 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:25.132233 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:25.171485 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:49:25.180229 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:49:28.358046 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:28.383589 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:28.416060 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:49:28.432768 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:49:32.679130 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:32.722700 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:32.755549 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:49:32.772589 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:49:35.964000 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:35.989517 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:36.022212 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:49:36.039823 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:49:39.208352 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:39.236071 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:39.271353 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:49:39.299952 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:49:43.483750 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:43.516775 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:43.550003 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:49:43.570354 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:49:47.603632 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:47.635376 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:47.685295 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:49:47.702468 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:49:50.882551 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:50.908720 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:50.951725 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:49:50.972618 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:49:55.180153 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:55.206611 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:55.275126 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:49:55.298144 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:49:58.466913 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:58.494807 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:49:58.528384 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:49:58.546434 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:50:01.730089 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:01.757220 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:01.758602 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:50:01.768496 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:50:05.960692 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:06.009798 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:06.072462 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:50:06.083434 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:50:09.245194 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:09.271266 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:09.304154 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:50:09.312189 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:50:12.488104 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:12.515773 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:12.556066 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:50:12.572258 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:50:16.752931 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:16.779420 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:16.814980 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:50:16.822962 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:50:20.023086 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:20.048418 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:20.102101 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:50:20.126512 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:50:23.368280 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:23.394281 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:23.426482 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:50:23.442494 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:50:27.621318 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:27.646496 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:27.679599 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:50:27.696550 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:50:30.862777 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:30.890594 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:30.925860 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:50:30.943765 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:50:34.114088 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:34.141320 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:34.173661 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:50:34.189875 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:50:38.361132 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:38.388245 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:38.421441 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:50:38.437757 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:50:41.638507 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:41.664675 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:41.697331 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:50:41.715056 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:50:44.894232 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:44.921590 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:44.954569 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:50:44.971219 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:50:49.166333 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:49.190998 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:49.222526 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:50:49.239378 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:50:52.443256 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:52.469896 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:52.502156 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:50:52.518454 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:50:55.718757 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:55.747044 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:50:55.783661 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:50:55.802636 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:50:59.994033 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:00.021891 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:00.055730 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:51:00.073697 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:51:03.248109 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:03.275377 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:03.309335 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:51:03.327206 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:51:06.551271 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:06.591861 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:06.626499 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:51:06.643350 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:51:10.824589 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:10.853689 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:10.888139 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:51:10.913930 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:51:14.084725 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:14.111949 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:14.144392 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:51:14.160706 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:51:17.336614 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:17.364869 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:17.400119 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:51:17.422776 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:51:21.662768 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:21.688839 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:21.721831 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:51:21.738387 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:51:24.919905 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:24.966375 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:24.999268 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:51:25.020380 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:51:28.178949 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:28.205222 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:28.239041 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:51:28.258710 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:51:32.431694 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:32.460159 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:32.492851 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:51:32.511886 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:51:35.673963 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:35.724406 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:35.758572 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:51:35.775299 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:51:38.951270 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:38.977857 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:39.011253 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:51:39.028396 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=
2017/05/24 15:51:43.205074 ERROR HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:43.231282 ERROR Event: name=WALinuxAgent, op=ReportStatus, message=HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128)
2017/05/24 15:51:43.263837 WARNING HostGAPlugin: resetting default channel
2017/05/24 15:51:43.280415 INFO Event: name=WALinuxAgent, op=ProcessGoalState, message=


Discussion:

Patch:
diff --git a/azurelinuxagent/common/protocol/hostplugin.py b/azurelinuxagent/common/protocol/hostplugin.py
index 464fd354..bf62cb54 100644
--- a/azurelinuxagent/common/protocol/hostplugin.py
+++ b/azurelinuxagent/common/protocol/hostplugin.py
@@ -288,12 +288,23 @@ class HostPluginProtocol(object):
     
     @staticmethod
     def read_response_error(response):
-        if response is None:
-            return ''
-        body = remove_bom(response.read())
-        if PY_VERSION_MAJOR < 3 and body is not None:
-            body = ustr(body, encoding='utf-8')
-        return "{0}, {1}, {2}".format(
-            response.status,
-            response.reason,
-            body)
+        result = ''
+        if response is not None:
+            try:
+                body = remove_bom(response.read())
+                result = "[{0}: {1}] {2}".format(response.status,
+                                                 response.reason,
+                                                 body)
+
+                # this result string is passed upstream to several methods
+                # which do a raise HttpError() or a format() of some kind;
+                # as a result it cannot have any unicode characters
+                if PY_VERSION_MAJOR < 3:
+                    result = ustr(result, encoding='ascii', errors='ignore')
+                else:
+                    result = result\
+                        .encode(encoding='ascii', errors='ignore')\
+                        .decode(encoding='ascii', errors='ignore')
+            except Exception:
+                logger.warn(traceback.format_exc())
+        return result


Test patch:
diff --git a/tests/protocol/test_hostplugin.py b/tests/protocol/test_hostplugin.py
index e203615a..b18b6914 100644
--- a/tests/protocol/test_hostplugin.py
+++ b/tests/protocol/test_hostplugin.py
@@ -19,7 +19,7 @@ import base64
 import json
 import sys
 
-
+from azurelinuxagent.common.future import ustr
 
 if sys.version_info[0] == 3:
     import http.client as httpclient
@@ -224,6 +224,61 @@ class TestHostPlugin(AgentTestCase):
                     test_goal_state,
                     exp_method, exp_url, exp_data)
 
+    def test_read_response_error(self):
+        """
+        Validate the read_response_error method handles encoding correctly
+        """
+        responses = ['message', b'message', '\x80message\x80']
+        response = MagicMock()
+        response.status = 'status'
+        response.reason = 'reason'
+        with patch.object(response, 'read') as patch_response:
+            for s in responses:
+                patch_response.return_value = s
+                result = hostplugin.HostPluginProtocol.read_response_error(response)
+                self.assertTrue('[status: reason]' in result)
+                self.assertTrue('message' in result)
+
+    def test_read_response_bytes(self):
+        response_bytes = '7b:0a:20:20:20:20:22:65:72:72:6f:72:43:6f:64:65:22:' \
+                         '3a:20:22:54:68:65:20:62:6c:6f:62:20:74:79:70:65:20:' \
+                         '69:73:20:69:6e:76:61:6c:69:64:20:66:6f:72:20:74:68:' \
+                         '69:73:20:6f:70:65:72:61:74:69:6f:6e:2e:22:2c:0a:20:' \
+                         '20:20:20:22:6d:65:73:73:61:67:65:22:3a:20:22:c3:af:' \
+                         'c2:bb:c2:bf:3c:3f:78:6d:6c:20:76:65:72:73:69:6f:6e:' \
+                         '3d:22:31:2e:30:22:20:65:6e:63:6f:64:69:6e:67:3d:22:' \
+                         '75:74:66:2d:38:22:3f:3e:3c:45:72:72:6f:72:3e:3c:43:' \
+                         '6f:64:65:3e:49:6e:76:61:6c:69:64:42:6c:6f:62:54:79:' \
+                         '70:65:3c:2f:43:6f:64:65:3e:3c:4d:65:73:73:61:67:65:' \
+                         '3e:54:68:65:20:62:6c:6f:62:20:74:79:70:65:20:69:73:' \
+                         '20:69:6e:76:61:6c:69:64:20:66:6f:72:20:74:68:69:73:' \
+                         '20:6f:70:65:72:61:74:69:6f:6e:2e:0a:52:65:71:75:65:' \
+                         '73:74:49:64:3a:63:37:34:32:39:30:63:62:2d:30:30:30:' \
+                         '31:2d:30:30:62:35:2d:30:36:64:61:2d:64:64:36:36:36:' \
+                         '61:30:30:30:22:2c:0a:20:20:20:20:22:64:65:74:61:69:' \
+                         '6c:73:22:3a:20:22:22:0a:7d'.split(':')
+        expected_response = '[status: reason] {\n    "errorCode": "The blob ' \
+                            'type is invalid for this operation.",\n    ' \
+                            '"message": "<?xml version="1.0" ' \
+                            'encoding="utf-8"?>' \
+                            '<Error><Code>InvalidBlobType</Code><Message>The ' \
+                            'blob type is invalid for this operation.\n' \
+                            'RequestId:c74290cb-0001-00b5-06da-dd666a000",' \
+                            '\n    "details": ""\n}'
+
+        response_string = ''.join(chr(int(b, 16)) for b in response_bytes)
+        response = MagicMock()
+        response.status = 'status'
+        response.reason = 'reason'
+        with patch.object(response, 'read') as patch_response:
+            patch_response.return_value = response_string
+            result = hostplugin.HostPluginProtocol.read_response_error(response)
+            self.assertEqual(result, expected_response)
+            try:
+                raise HttpError("{0}".format(result))
+            except HttpError as e:
+                self.assertTrue(result in ustr(e))
+
     def test_no_fallback(self):
         """
         Validate fallback to upload status using HostGAPlugin is not happening