Instances Fail to Create: "sudo: sorry, you are not allowed to set the following environment variables: LD_LIBRARY_PATH, PYTHONPATH
Problem
Instances fail to create, with an error similar to the following being observed in the /var/log/pf9/ostackhost.log file on the hypervisor which it was assigned.
Environment
- Platform9 Managed OpenStack - v4.5 and Higher
- Nova
- LDAP
Cause
LDAP sudoers policy is interfering – overwriting the local /etc/sudoers.d/pf9-* policies.
Resolution
- In /etc/nsswitch.conf, comment out the following line – if present.
Was this page helpful?