cloud-init shows error "Error persisting instance-data.json"
Issue
-
We found the following error from cloud-init is recorded in
/var/log/messages
2020-03-01 12:34:56,789 - __init__.py[WARNING]: Error persisting instance-data.json: 'utf8' codec can't decode byte 0xa0 in position 1: invalid continuation byte 2020-03-01 12:34:56,789 - __init__.py[WARNING]: Error persisting instance-data.json: 'utf8' codec can't decode byte 0xa1 in position 2: invalid start byte
-
The error is observed in overcloud nodes, or instances running on overcloud nodes
Environment
- Red Hat OpenStack Platform 13
- Red Hat Enterprise Linux 7.6
- Red Hat Enterprise Linux 7.7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.