cinder-common postinstall pkg script fails with Netapp NFS shares mounted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Invalid
|
Undecided
|
Unassigned | ||
Ubuntu Cloud Archive |
New
|
Undecided
|
Unassigned |
Bug Description
we currently using rocky repositories from ubuntu cloud archive on an ubuntu 18 installation and see problems updating cinder-common package while having our backend storages mounted over NFS under /var/lib/
The postinstall script will try to chown all files under /var/lib/cinder to cinder:cinder which failes as the Netapp NFS share includes .snapshot* folders that are in read only state. apt then reports the following error:
Setting up cinder-common (2:13.0.
chown: changing ownership of '/var/lib/
...
...
dpkg: error processing package cinder-common (--configure):
installed cinder-common package post-installation script subprocess returned error exit status 1