Provisioning or upgrading an instance fails

When you provision or upgrade OpenPages instances, the db2aaservice dependency fails.

Symptoms

When you provision or upgrade an instance, the process fails. The zen-databases pod is in a CrashLoopBackOff state. The log shows the following error:
npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /.npm
npm ERR! errno -13
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 1000670000:0 "/.npm"

npm ERR! A complete log of this run can be found in:

This issue impacts 4.8.0.

Causes

The db2aaservice dependency is in a failed state due to a zen-database pod issue with NPM.

Resolving the problem

See zen-databases pods in CrashLoopBackOff due to an npm EACCES error.