<?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: Clone file does not exist error occurs when creating volume. in OpenStack Discussions</title>
    <link>https://community.netapp.com/t5/OpenStack-Discussions/Clone-file-does-not-exist-error-occurs-when-creating-volume/m-p/144115#M370</link>
    <description>&lt;P&gt;I found the reason. The netapp storage throws an error if you specify&amp;nbsp;&lt;EM&gt;-overwrite-destination&amp;nbsp;&lt;/EM&gt;(same option on cli as xml child&amp;nbsp;destination-exists) if the destination file does &lt;STRONG&gt;not&lt;/STRONG&gt; exist:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;mynetapp::&amp;gt; volume file clone create -vserver test02 -volume vol1 -source-path /img-cache-28d4de59-71fb-4537-865c-02e0c7c9b401 -destination-path /test-clone -overwrite-destination

Warning: You have specified "-overwrite-destination". If the destination exists, it will be overwritten.
Do you want to continue? {y|n}: y

Error: command failed: Clone start failed: Clone operation failed to start: Clone file does not exist.
&lt;/PRE&gt;
&lt;P&gt;And this is exactly what happens&amp;nbsp;in the netapp cinder driver: Destination volume does not exist yet and the drivers tries to create it with the overwrite (destination-exists) option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This looks like a netapp bug to me, because if overwrite is set it should not throw an error if the volume does not exist. Could anyone please have a look into this?&lt;/P&gt;</description>
    <pubDate>Mon, 22 Oct 2018 11:59:25 GMT</pubDate>
    <dc:creator>L4rS</dc:creator>
    <dc:date>2018-10-22T11:59:25Z</dc:date>
    <item>
      <title>Clone file does not exist error occurs when creating volume.</title>
      <link>https://community.netapp.com/t5/OpenStack-Discussions/Clone-file-does-not-exist-error-occurs-when-creating-volume/m-p/142614#M367</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello. We are using cDOT8.3P2 and OpenStack Queens on RHEL7.5.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When we create volume, "NaApiError: NetApp API failed. Reason - 14970:Clone operation failed to start: Clone file does not exist.." error occurred.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Error message is shown in the cinder-volume.log as below.&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;2018-07-04 15:16:36.158 61 DEBUG cinder.volume.drivers.netapp.dataontap.nfs_cmode [req-b258c973-7618-4289-a600-8d043e5571fc 015111ec881e4182a77ae3f46a640b60 3099a7d711cb46ab8a22b0cc651f927c - default default]	Trying copy from cache using cloning. _copy_from_cache /usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/dataontap/nfs_cmode.py:481
2018-07-04 15:16:36.328 61 DEBUG cinder.volume.drivers.netapp.dataontap.client.client_cmode [req-b258c973-7618-4289-a600-8d043e5571fc 015111ec881e4182a77ae3f46a640b60 3099a7d711cb46ab8a22b0cc651f927c - default default]	Cloning with params volume cinder_system, src img-cache-e38c5845-d167-46bd-ba73-2103f5cd7db5, dest volume-34027a4a-fd3a-4f25-b0b6-a7d624c27571, vserver &amp;lt;vserver name&amp;gt;,source_snapshot None clone_file /usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/dataontap/client/client_cmode.py:713
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode [req-b258c973-7618-4289-a600-8d043e5571fc 015111ec881e4182a77ae3f46a640b60 3099a7d711cb46ab8a22b0cc651f927c - default default]	Error in workflow copy from cache.: NaApiError: NetApp API failed. Reason - 14970:Clone operation failed to start: Clone file does not exist..
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode	Traceback (most recent call last):
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode	   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/dataontap/nfs_cmode.py", line 484, in _copy_from_cache
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode	     nfs_share, file_name, volume['name'], dest_exists=True)
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode	   File "/usr/lib/python2.7/site-packages/cinder/utils.py", line 849, in trace_method_logging_wrapper
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode	     return f(*args, **kwargs)
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode	   File "/usr/lib/python2.7/site-packages/cinder/utils.py", line 849, in trace_method_logging_wrapper
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode	     return f(*args, **kwargs)
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode	   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/dataontap/nfs_cmode.py", line 560, in _clone_file_dst_exists
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode	     dest_exists=dest_exists)
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode	   File "/usr/lib/python2.7/site-packages/cinder/utils.py", line 849, in trace_method_logging_wrapper
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode	     return f(*args, **kwargs)
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode	   File "/usr/lib/python2.7/site-packages/cinder/utils.py", line 849, in trace_method_logging_wrapper
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode	     return f(*args, **kwargs)
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode	   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/dataontap/client/client_cmode.py", line 728, in clone_file
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode	     self._invoke_vserver_api(clone_create, vserver)
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode	   File "/usr/lib/python2.7/site-packages/cinder/utils.py", line 849, in trace_method_logging_wrapper
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode	     return f(*args, **kwargs)
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode	   File "/usr/lib/python2.7/site-packages/cinder/utils.py", line 849, in trace_method_logging_wrapper
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode	     return f(*args, **kwargs)
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode	   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/dataontap/client/client_cmode.py", line 86, in _invoke_vserver_api
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode	     result = server.invoke_successfully(na_element, True)
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode	   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/dataontap/client/api.py", line 222, in invoke_successfully
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode	     raise NaApiError(code, msg)
2018-07-04 15:16:36.396 61 ERROR cinder.volume.drivers.netapp.dataontap.nfs_cmode	 NaApiError: NetApp API failed. Reason - 14970:Clone operation failed to start: Clone file does not exist..
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When calling volume clone create command from NetApp driver of Cinder volume with "&amp;lt;destination-exists&amp;gt;true&amp;lt;/destination-exists&amp;gt;" parameter, Occurred Clone file does not exist error.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We tried calling volume clone create command without "&amp;lt;destination-exists&amp;gt;true&amp;lt;/destination-exists&amp;gt;" parameter, it succeed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Are there any bugs in NetApp driver or OS(cDOT8.3P2)?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 13:20:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/OpenStack-Discussions/Clone-file-does-not-exist-error-occurs-when-creating-volume/m-p/142614#M367</guid>
      <dc:creator>shuya</dc:creator>
      <dc:date>2025-06-04T13:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Clone file does not exist error occurs when creating volume.</title>
      <link>https://community.netapp.com/t5/OpenStack-Discussions/Clone-file-does-not-exist-error-occurs-when-creating-volume/m-p/144110#M369</link>
      <description>&lt;P&gt;Were you able to solve that problem? I ran into the same issue.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 08:42:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/OpenStack-Discussions/Clone-file-does-not-exist-error-occurs-when-creating-volume/m-p/144110#M369</guid>
      <dc:creator>L4rS</dc:creator>
      <dc:date>2018-10-22T08:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Clone file does not exist error occurs when creating volume.</title>
      <link>https://community.netapp.com/t5/OpenStack-Discussions/Clone-file-does-not-exist-error-occurs-when-creating-volume/m-p/144115#M370</link>
      <description>&lt;P&gt;I found the reason. The netapp storage throws an error if you specify&amp;nbsp;&lt;EM&gt;-overwrite-destination&amp;nbsp;&lt;/EM&gt;(same option on cli as xml child&amp;nbsp;destination-exists) if the destination file does &lt;STRONG&gt;not&lt;/STRONG&gt; exist:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;mynetapp::&amp;gt; volume file clone create -vserver test02 -volume vol1 -source-path /img-cache-28d4de59-71fb-4537-865c-02e0c7c9b401 -destination-path /test-clone -overwrite-destination

Warning: You have specified "-overwrite-destination". If the destination exists, it will be overwritten.
Do you want to continue? {y|n}: y

Error: command failed: Clone start failed: Clone operation failed to start: Clone file does not exist.
&lt;/PRE&gt;
&lt;P&gt;And this is exactly what happens&amp;nbsp;in the netapp cinder driver: Destination volume does not exist yet and the drivers tries to create it with the overwrite (destination-exists) option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This looks like a netapp bug to me, because if overwrite is set it should not throw an error if the volume does not exist. Could anyone please have a look into this?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 11:59:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/OpenStack-Discussions/Clone-file-does-not-exist-error-occurs-when-creating-volume/m-p/144115#M370</guid>
      <dc:creator>L4rS</dc:creator>
      <dc:date>2018-10-22T11:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Clone file does not exist error occurs when creating volume.</title>
      <link>https://community.netapp.com/t5/OpenStack-Discussions/Clone-file-does-not-exist-error-occurs-when-creating-volume/m-p/144131#M371</link>
      <description>&lt;P&gt;Hi L4rS,&lt;/P&gt;
&lt;P&gt;We have not solved it yet. Also no reply from this community yet.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 00:21:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/OpenStack-Discussions/Clone-file-does-not-exist-error-occurs-when-creating-volume/m-p/144131#M371</guid>
      <dc:creator>shuya</dc:creator>
      <dc:date>2018-10-23T00:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Clone file does not exist error occurs when creating volume.</title>
      <link>https://community.netapp.com/t5/OpenStack-Discussions/Clone-file-does-not-exist-error-occurs-when-creating-volume/m-p/144198#M372</link>
      <description>&lt;P&gt;Hi, check out this openstack cinder bug I opened recently:&amp;nbsp;&lt;A href="https://bugs.launchpad.net/cinder/+bug/1799214" target="_blank"&gt;https://bugs.launchpad.net/cinder/+bug/1799214&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It's a netapp ontap bug and is fixed in the latest release.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 06:33:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/OpenStack-Discussions/Clone-file-does-not-exist-error-occurs-when-creating-volume/m-p/144198#M372</guid>
      <dc:creator>L4rS</dc:creator>
      <dc:date>2018-10-25T06:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Clone file does not exist error occurs when creating volume.</title>
      <link>https://community.netapp.com/t5/OpenStack-Discussions/Clone-file-does-not-exist-error-occurs-when-creating-volume/m-p/144220#M373</link>
      <description>&lt;P&gt;Thank you for sharing the information.&lt;BR /&gt;We also just found the same cause yesterday.&lt;BR /&gt;We would like to update Netapp ontap and try again.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2018 00:10:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/OpenStack-Discussions/Clone-file-does-not-exist-error-occurs-when-creating-volume/m-p/144220#M373</guid>
      <dc:creator>shuya</dc:creator>
      <dc:date>2018-10-26T00:10:43Z</dc:date>
    </item>
  </channel>
</rss>

