cloud-init failed to persist OpenStack metadata

Solution Verified - Updated -


  • Instances running on RHEL 7.7 with cloud-init 18.5-3 and python 2.7 on the Red Hat OpenStack platform, fails becausecloud-init is unable to persist the OpenStack metadata[WARNING]: Error persisting instance-data.json: 'utf8' codec can't decode byte 0xc8 in position 2: invalid continuation byte


  • Red Hat OpenStack Platform 10
  • Red Hat OpenStack Platform 13

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In