AFAIR cinder needs to interact with nova to complete snapshot in nfs backend. Did you configure the [nova] options in your cinder.conf ? If you did then it'd be probably helpful if you can share the options configured in that block. I expect the section may have options in the following example. --- [nova] auth_type = password auth_url = <url of your keystone endpoint> username = nova user_domain_name = Default project_name = service project_domain_name = Default password = <password of nova user> --- # you can use cinder user instead of nova user On 9/20/24 23:19, collinl@churchofjesuschrist.org wrote:
[nfs] nfs_shares_config = /etc/cinder/nfs_shares volume_backend_name=nfs volume_driver=cinder.volume.drivers.nfs.NfsDriver nfs_mount_options = rw,_netdev,bg,hard,nointr,tcp,vers=3,noatime,rsize=65536,wsize=65536 This is where you should set "nfs_snapshot_support = true" (in the [nfs] section). Alan Alan,
Thank you very much for your response. I had somehow missed your response amongst all the other traffic, so my apologies for the slow response.
I did try to move the "nfs_snapshot_support = true" to the [nfs] section, and restarted cinder. . .but snapshots still fail. The only errors in the logs are still just this about not finding the domain:
/var/log/cinder/volume.log:2024-09-20 08:03:10.603 1308361 ERROR cinder.volume.drivers.remotefs [req-d3f96912-970f-4283-b829-1786c5dea714 req-735aa8da-cb5a-4147-b4c1-3174c43d4934 956bef8f3ca34d9bbb5b3bb8876890fd b3001e31df2947e78c5fda1e0d8479b0 - - - -] Call to Nova to create snapshot failed: keystoneauth1.exceptions.http.BadRequest: Expecting to find domain in project. The server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-2c295207-2597-477f-b2d4-643706bf3d27) /var/log/cinder/volume.log:2024-09-20 08:03:10.631 1308361 ERROR oslo_messaging.rpc.server [req-d3f96912-970f-4283-b829-1786c5dea714 req-735aa8da-cb5a-4147-b4c1-3174c43d4934 956bef8f3ca34d9bbb5b3bb8876890fd b3001e31df2947e78c5fda1e0d8479b0 - - - -] Exception during message handling: keystoneauth1.exceptions.http.BadRequest: Expecting to find domain in project. The server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-2c295207-2597-477f-b2d4-643706bf3d27)
Any other ideas where I should look to get snapshots working on nfs backed storage?
Is it perhaps some sort of mismatch between nova/cinder/keystone versions? I did the install from scratch using the bobcat release.
Here are the versions I have installed: openstack-keystone.noarch 1:24.0.0-1.el9s @centos-openstack-bobcat openstack-cinder.noarch 1:23.2.0-1.el9s @centos-openstack-bobcat openstack-nova-api.noarch 1:28.3.0-1.el9s @centos-openstack-bobcat openstack-nova-common.noarch 1:28.3.0-1.el9s @centos-openstack-bobcat openstack-nova-conductor.noarch 1:28.3.0-1.el9s @centos-openstack-bobcat openstack-nova-novncproxy.noarch 1:28.3.0-1.el9s @centos-openstack-bobcat openstack-nova-scheduler.noarch 1:28.3.0-1.el9s @centos-openstack-bobcat