<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cannot snapshot cinder volumes in OpenStack Discussions</title>
    <link>https://community.netapp.com/t5/OpenStack-Discussions/Cannot-snapshot-cinder-volumes/m-p/97654#M204</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I figured out what the problem was.&lt;/P&gt;&lt;P&gt;Actually, the junction path for the export in Netapp was&amp;nbsp;/vol_cinder_juno.&lt;/P&gt;&lt;P&gt;I then created a "volumes" folder and told cinder to mount this path in the /etc/cinder/nfs_shares:&lt;/P&gt;&lt;P&gt;192.168.20.100:/vol_cinder_juno/volumes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This does not work. One needs to specify the exact junction path for the NFS server. So I changed my nfs_shares file to:&lt;/P&gt;&lt;P&gt;192.168.20.100:/vol_cinder_juno&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and everything works correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please notice that once you did this change, you need to&lt;/P&gt;&lt;P&gt;1. delete all cinder volumes you have created&lt;/P&gt;&lt;P&gt;2. stop all cinder services&lt;/P&gt;&lt;P&gt;3. manually umount NFS mountpoint on the controller (or the server on which cinder-volume runs) in /var/lib/cinder/mnt/#UUID&lt;/P&gt;&lt;P&gt;4. start all cinder services&lt;/P&gt;&lt;P&gt;5. create volume&lt;/P&gt;&lt;P&gt;6. snapshot the volume&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;should work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Nov 2014 09:01:34 GMT</pubDate>
    <dc:creator>lionel</dc:creator>
    <dc:date>2014-11-26T09:01:34Z</dc:date>
    <item>
      <title>Cannot snapshot cinder volumes</title>
      <link>https://community.netapp.com/t5/OpenStack-Discussions/Cannot-snapshot-cinder-volumes/m-p/97592#M203</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I've successfully configured cinder (juno) so that it can creates and attach correctly volumes to instances. Here's my config in cinder.conf:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;volume_driver = cinder.volume.drivers.netapp.common.NetAppDriver&lt;BR /&gt;netapp_storage_family = ontap_cluster&lt;BR /&gt;netapp_storage_protocol = nfs&lt;BR /&gt;netapp_vserver = vserver01&lt;BR /&gt;netapp_server_hostname = 192.168.248.250&lt;BR /&gt;netapp_server_port = 80&lt;BR /&gt;netapp_login = admin&lt;BR /&gt;netapp_password = ******&lt;BR /&gt;nfs_shares_config = /etc/cinder/nfs_shares&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, when I trigger a volume snapshot through horizon, I get this stacktrace from cinder-volume.log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2014-11-25 16:52:28.728 9965 INFO cinder.volume.manager [req-b9c7b50f-8a8f-4b5c-855f-4e525b61f6cf a31d3cd990384179af37782c44a3d015 7bbf5e8585954bef8088b7728436030c - - -] snapshot 4258b044-7ed8-4ede-bdbd-3b929da5d703: creating&lt;BR /&gt;2014-11-25 16:52:28.730 9965 DEBUG cinder.volume.manager [req-b9c7b50f-8a8f-4b5c-855f-4e525b61f6cf a31d3cd990384179af37782c44a3d015 7bbf5e8585954bef8088b7728436030c - - -] snapshot 4258b044-7ed8-4ede-bdbd-3b929da5d703: creating create_snapshot /usr/lib/python2.7/dist-packages/cinder/volume/manager.py:521&lt;BR /&gt;2014-11-25 16:52:29.203 9965 ERROR oslo.messaging.rpc.dispatcher [req-b9c7b50f-8a8f-4b5c-855f-4e525b61f6cf a31d3cd990384179af37782c44a3d015 7bbf5e8585954bef8088b7728436030c - - -] Exception during message handling: No volume on cluster with vserver&lt;BR /&gt;vserver01 and junction path /vol_cinder_juno/volumes&lt;BR /&gt;&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher incoming.message))&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher result = getattr(endpoint, method)(ctxt, **new_args)&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in wrapper&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher return f(*args, **kwargs)&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 536, in create_snapshot&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher {'status': 'error'})&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/cinder/openstack/common/excutils.py", line 82, in __exit__&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 527, in create_snapshot&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher model_update = self.driver.create_snapshot(snapshot_ref)&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/netapp/nfs.py", line 124, in create_snapshot&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher snapshot['volume_id'])&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/netapp/nfs.py", line 856, in _clone_volume&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher (vserver, exp_volume) = self._get_vserver_and_exp_vol(volume_id, share)&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/netapp/nfs.py", line 866, in _get_vserver_and_exp_vol&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher exp_volume = self._get_vol_by_junc_vserver(vserver, export_path)&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/netapp/nfs.py", line 926, in _get_vol_by_junc_vserver&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher """) % msg_fmt)&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher NotFound: No volume on cluster with vserver&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher vserver01 and junction path /vol_cinder_juno/volumes&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher&lt;BR /&gt;2014-11-25 16:52:29.203 9965 TRACE oslo.messaging.rpc.dispatcher&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm pretty confident with my settings since volume creating, resize and attachment work correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea what else could I check?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you,&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:24:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/OpenStack-Discussions/Cannot-snapshot-cinder-volumes/m-p/97592#M203</guid>
      <dc:creator>lionel</dc:creator>
      <dc:date>2025-06-05T05:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot snapshot cinder volumes</title>
      <link>https://community.netapp.com/t5/OpenStack-Discussions/Cannot-snapshot-cinder-volumes/m-p/97654#M204</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I figured out what the problem was.&lt;/P&gt;&lt;P&gt;Actually, the junction path for the export in Netapp was&amp;nbsp;/vol_cinder_juno.&lt;/P&gt;&lt;P&gt;I then created a "volumes" folder and told cinder to mount this path in the /etc/cinder/nfs_shares:&lt;/P&gt;&lt;P&gt;192.168.20.100:/vol_cinder_juno/volumes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This does not work. One needs to specify the exact junction path for the NFS server. So I changed my nfs_shares file to:&lt;/P&gt;&lt;P&gt;192.168.20.100:/vol_cinder_juno&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and everything works correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please notice that once you did this change, you need to&lt;/P&gt;&lt;P&gt;1. delete all cinder volumes you have created&lt;/P&gt;&lt;P&gt;2. stop all cinder services&lt;/P&gt;&lt;P&gt;3. manually umount NFS mountpoint on the controller (or the server on which cinder-volume runs) in /var/lib/cinder/mnt/#UUID&lt;/P&gt;&lt;P&gt;4. start all cinder services&lt;/P&gt;&lt;P&gt;5. create volume&lt;/P&gt;&lt;P&gt;6. snapshot the volume&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;should work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2014 09:01:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/OpenStack-Discussions/Cannot-snapshot-cinder-volumes/m-p/97654#M204</guid>
      <dc:creator>lionel</dc:creator>
      <dc:date>2014-11-26T09:01:34Z</dc:date>
    </item>
  </channel>
</rss>

