A backup fails due to an old nova ID in the universal share path
If the universal share path has the old nova ID, the backup job fails.
A backup job also fails with the following error message on the Horizon UI:
Failed taking backup of policy snapshot: 'NoneType' object has no attribute 'strip'
To resolve this issue
- Stop the following services.
systemctl stop nbosjm-policies systemctl stop nbosjm-api systemctl stop nbosjm-scheduler systemctl stop nbosjm-cron
- Run the script /home/stack/nova_userid.sh to change the nova ID.
./nova_userid.sh
- 3. Run the following command to change the directory ownership to nova for the directories
/etc/nbosjmand a mount directory, for example/var/nbos.chown -R nova:nova <directory_name>
- Restart the following services.
systemctl stop nbosjm-policies systemctl stop nbosjm-api systemctl stop nbosjm-scheduler systemctl stop nbosjm-cron