You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.
This is fine and all, except that this is additionally needed....
nfs_mount_point_base=/var/lib/cinder/mnt
That needs added to the [DEFAULT] section in the /etc/nova/nova.conf file.
When attaching or detaching a volume, cinder, nova, and mysql all get along just fine... however, libvirt doesn't play well with cinder --- it does things based off of the state_path_def that is set for nova, since it is a driver for nova... because of this, the path ends up being /var/lib/nova/mnt, which should instead be /var/lib/cinder/mnt. The above configuration option fixes this.
With that option in place, everything attaches and detaches fine.
The text was updated successfully, but these errors were encountered:
To clarify a little bit ... a symptom of this problem is the fact that the NFS mount for the directory of volume files is that it will be mounted twice - once for the Nova-based value of state_path_def and once for the Cinder-based value for the same variable:
Compute01:~# df -t nfs
Filesystem 1K-blocks Used Available Use% Mounted on
10.240.0.81:/vol/PDS_Cinder_NFS 524288000 110807168 413480832 22% /var/lib/cinder/mnt/9cabab237868acde06b653384fe82fba
10.240.0.81:/vol/PDS_Cinder_NFS 524288000 110807168 413480832 22% /var/lib/nova/mnt/9cabab237868acde06b653384fe82fba
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When using NetApp, a configuration block is needed like this:
This is fine and all, except that this is additionally needed....
nfs_mount_point_base=/var/lib/cinder/mnt
That needs added to the [DEFAULT] section in the /etc/nova/nova.conf file.
When attaching or detaching a volume, cinder, nova, and mysql all get along just fine... however, libvirt doesn't play well with cinder --- it does things based off of the state_path_def that is set for nova, since it is a driver for nova... because of this, the path ends up being /var/lib/nova/mnt, which should instead be /var/lib/cinder/mnt. The above configuration option fixes this.
With that option in place, everything attaches and detaches fine.
The text was updated successfully, but these errors were encountered: