Hosts With pf9-glance Role Failing To Converge With Error "inconsistent use of tabs and spaces in indentation
Problem
Hosts with pf9-glance role fail to converge. The following error is observed in the glance-api.log:
Environment
- Platform9 Managed OpenStack - v5.0 and below
- Ceph
- Glance
Cause
Use of tabs and spaces for indentation in the rbd.py file.
Resolution
- Add the following environment variables on the Glance host.
2. Install autopep8 using pip.
3. Correct the formatting issues by running the following command.
4. Restart the pf9-glance-api service.
Was this page helpful?