<?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 NetApp Plug-in For Oracle VM - python error in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/NetApp-Plug-in-For-Oracle-VM-python-error/m-p/100404#M22800</link>
    <description>&lt;P&gt;We recently updated hosts running 3.3.1 for the glibc GHOST vulnerability. A dozen other updates also went in.&lt;/P&gt;
&lt;P&gt;It appears that python must have been updated as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The plugin now has python errors and cannot run:&lt;/P&gt;
&lt;P&gt;# cat /etc/*release*&lt;BR /&gt;LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-3.1-amd64:core-3.1-noarch:core-4.0-amd64:core-4.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch&lt;BR /&gt;cat: /etc/lsb-release.d: Is a directory&lt;BR /&gt;Oracle VM server release 3.3.1&lt;BR /&gt;Oracle VM server release 3.3.1&lt;BR /&gt;Oracle VM server release 3.3.1&lt;BR /&gt;Oracle VM server release 3.3.1&lt;BR /&gt;[root@iss-vohmw2 /opt/storage-connect]&lt;BR /&gt;# python -V&lt;BR /&gt;Python 2.6.6&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[2015-02-10 08:42:43 22760] DEBUG (service:75) call start: storage_plugin_validate('xxxxxxxx')&lt;BR /&gt;[2015-02-10 08:42:44 22760] INFO (storageplugin:109) storage_plugin_validate(oracle.netapp.SCSIPlugin.StoragePlugin)&lt;BR /&gt;[2015-02-10 08:42:44 22760] ERROR (service:97) catch_error: No module named NaElement&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/usr/lib64/python2.6/site-packages/agent/lib/service.py", line 95, in wrapper&lt;BR /&gt;return func(*args)&lt;BR /&gt;File "/usr/lib64/python2.6/site-packages/agent/api/storageplugin.py", line 187, in storage_plugin_validate&lt;BR /&gt;return storage_plugin(impl_name, *params)&lt;BR /&gt;File "/usr/lib64/python2.6/site-packages/agent/api/storageplugin.py", line 112, in storage_plugin&lt;BR /&gt;plugin_class = plugin_mgr.getPlugin(impl_name)&lt;BR /&gt;File "/opt/storage-connect/PluginManager.py", line 188, in getPlugin&lt;BR /&gt;plugin = self.getPluginManagerClass(plugin_name)&lt;BR /&gt;File "/opt/storage-connect/PluginManager.py", line 157, in getPluginManagerClass&lt;BR /&gt;plugin_mod = __import__(plugin_mod_name, globals(), locals(), class_name)&lt;BR /&gt;File "/opt/storage-connect/plugins/oracle/netapp/SCSIPlugin.py", line 36, in &amp;lt;module&amp;gt;&lt;BR /&gt;from NaElement import *&lt;BR /&gt;ImportError: No module named NaElement&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like I probably need python 2.4. I have the RPM for that in my ULN mirror.&lt;/P&gt;
&lt;P&gt;But it has so many old and broken/vulnerable dependencies that I'm afraid to go down that path and force it.&lt;/P&gt;
&lt;P&gt;# rpm -ivh /sao/software/Unix/linux/Oracle_VM/netapp-plugin202/python-2.4.3-27.100.1.el5_5.6.x86_64.rpm&lt;BR /&gt;warning: /sao/software/Unix/linux/Oracle_VM/netapp-plugin202/python-2.4.3-27.100.1.el5_5.6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 1e5e0159: NOKEY&lt;BR /&gt;error: Failed dependencies:&lt;BR /&gt;libcrypto.so.6()(64bit) is needed by python-2.4.3-27.100.1.el5_5.6.x86_64&lt;BR /&gt;libdb-4.3.so()(64bit) is needed by python-2.4.3-27.100.1.el5_5.6.x86_64&lt;BR /&gt;libreadline.so.5()(64bit) is needed by python-2.4.3-27.100.1.el5_5.6.x86_64&lt;BR /&gt;libssl.so.6()(64bit) is needed by python-2.4.3-27.100.1.el5_5.6.x86_64&lt;BR /&gt;libtermcap.so.2()(64bit) is needed by python-2.4.3-27.100.1.el5_5.6.x86_64&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas how to fix this?&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jun 2025 05:07:16 GMT</pubDate>
    <dc:creator>kjcreason</dc:creator>
    <dc:date>2025-06-05T05:07:16Z</dc:date>
    <item>
      <title>NetApp Plug-in For Oracle VM - python error</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/NetApp-Plug-in-For-Oracle-VM-python-error/m-p/100404#M22800</link>
      <description>&lt;P&gt;We recently updated hosts running 3.3.1 for the glibc GHOST vulnerability. A dozen other updates also went in.&lt;/P&gt;
&lt;P&gt;It appears that python must have been updated as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The plugin now has python errors and cannot run:&lt;/P&gt;
&lt;P&gt;# cat /etc/*release*&lt;BR /&gt;LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-3.1-amd64:core-3.1-noarch:core-4.0-amd64:core-4.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch&lt;BR /&gt;cat: /etc/lsb-release.d: Is a directory&lt;BR /&gt;Oracle VM server release 3.3.1&lt;BR /&gt;Oracle VM server release 3.3.1&lt;BR /&gt;Oracle VM server release 3.3.1&lt;BR /&gt;Oracle VM server release 3.3.1&lt;BR /&gt;[root@iss-vohmw2 /opt/storage-connect]&lt;BR /&gt;# python -V&lt;BR /&gt;Python 2.6.6&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[2015-02-10 08:42:43 22760] DEBUG (service:75) call start: storage_plugin_validate('xxxxxxxx')&lt;BR /&gt;[2015-02-10 08:42:44 22760] INFO (storageplugin:109) storage_plugin_validate(oracle.netapp.SCSIPlugin.StoragePlugin)&lt;BR /&gt;[2015-02-10 08:42:44 22760] ERROR (service:97) catch_error: No module named NaElement&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/usr/lib64/python2.6/site-packages/agent/lib/service.py", line 95, in wrapper&lt;BR /&gt;return func(*args)&lt;BR /&gt;File "/usr/lib64/python2.6/site-packages/agent/api/storageplugin.py", line 187, in storage_plugin_validate&lt;BR /&gt;return storage_plugin(impl_name, *params)&lt;BR /&gt;File "/usr/lib64/python2.6/site-packages/agent/api/storageplugin.py", line 112, in storage_plugin&lt;BR /&gt;plugin_class = plugin_mgr.getPlugin(impl_name)&lt;BR /&gt;File "/opt/storage-connect/PluginManager.py", line 188, in getPlugin&lt;BR /&gt;plugin = self.getPluginManagerClass(plugin_name)&lt;BR /&gt;File "/opt/storage-connect/PluginManager.py", line 157, in getPluginManagerClass&lt;BR /&gt;plugin_mod = __import__(plugin_mod_name, globals(), locals(), class_name)&lt;BR /&gt;File "/opt/storage-connect/plugins/oracle/netapp/SCSIPlugin.py", line 36, in &amp;lt;module&amp;gt;&lt;BR /&gt;from NaElement import *&lt;BR /&gt;ImportError: No module named NaElement&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like I probably need python 2.4. I have the RPM for that in my ULN mirror.&lt;/P&gt;
&lt;P&gt;But it has so many old and broken/vulnerable dependencies that I'm afraid to go down that path and force it.&lt;/P&gt;
&lt;P&gt;# rpm -ivh /sao/software/Unix/linux/Oracle_VM/netapp-plugin202/python-2.4.3-27.100.1.el5_5.6.x86_64.rpm&lt;BR /&gt;warning: /sao/software/Unix/linux/Oracle_VM/netapp-plugin202/python-2.4.3-27.100.1.el5_5.6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 1e5e0159: NOKEY&lt;BR /&gt;error: Failed dependencies:&lt;BR /&gt;libcrypto.so.6()(64bit) is needed by python-2.4.3-27.100.1.el5_5.6.x86_64&lt;BR /&gt;libdb-4.3.so()(64bit) is needed by python-2.4.3-27.100.1.el5_5.6.x86_64&lt;BR /&gt;libreadline.so.5()(64bit) is needed by python-2.4.3-27.100.1.el5_5.6.x86_64&lt;BR /&gt;libssl.so.6()(64bit) is needed by python-2.4.3-27.100.1.el5_5.6.x86_64&lt;BR /&gt;libtermcap.so.2()(64bit) is needed by python-2.4.3-27.100.1.el5_5.6.x86_64&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas how to fix this?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:07:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/NetApp-Plug-in-For-Oracle-VM-python-error/m-p/100404#M22800</guid>
      <dc:creator>kjcreason</dc:creator>
      <dc:date>2025-06-05T05:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp Plug-in For Oracle VM - python error</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/NetApp-Plug-in-For-Oracle-VM-python-error/m-p/100406#M22801</link>
      <description>&lt;P&gt;Ha ha! Fixed it. Isn't that typical, fixing it five minutes after you post?&lt;/P&gt;&lt;P&gt;At least partially fixed. See remaining question below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here was the fix -- the install of the plugin copies a few Na*.py files into /usr/lib64/python2.4/.&lt;/P&gt;&lt;P&gt;These are the NaElement it could not import.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;[root@iss-vohmw2 /usr/lib64/python2.4]&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;DfmErrno.py NaServer.py OSCCache.pyo OSCPluginUtils.py PluginManager.pyc PyEnum.pyo site-packages&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;NaElement.py NaServer.pyc OSCPlugin.py OSCPluginUtils.pyc PluginManager.pyo san_linux.py&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;NaElement.pyc OSCCache.py OSCPlugin.pyc OSCPluginUtils.pyo PyEnum.py san_linux.pyc&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;NaErrno.py OSCCache.pyc OSCPlugin.pyo PluginManager.py PyEnum.pyc san_linux.pyo&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I simply&amp;nbsp;copied the Na*py files to the python 2.6 directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;[root@iss-vohmw2 /usr/lib64/python2.6]&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;# cp ../python2.4/Na* .&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;But I do not know if I need any of the other files in that directory. Or are those from the older plugins that have been deprecated?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2015 15:22:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/NetApp-Plug-in-For-Oracle-VM-python-error/m-p/100406#M22801</guid>
      <dc:creator>kjcreason</dc:creator>
      <dc:date>2015-02-10T15:22:23Z</dc:date>
    </item>
  </channel>
</rss>

