cloud-init failed to persist OpenStack metadata

Solution Verified - Updated -

Issue

  • 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


    __init__.py[WARNING]: Error persisting instance-data.json: 'utf8' codec can't decode byte 0xc8 in position 2: invalid continuation byte

Environment

  • 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

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content