<?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: Can't attach a Volume to a VM in OpenStack Discussions</title>
    <link>https://community.netapp.com/t5/OpenStack-Discussions/Can-t-attach-a-Volume-to-a-VM/m-p/81470#M186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Hi pravinp,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen this type of behavior before. For me, I had my data lif set to accept the wrong protocol (I was using the iSCSI driver, but my lif only allowed nfs). Unfortunately, an unsuccessful attach doesn't usually leave any user-facing traces, other than the volume still being in "available" state, and nova not showing the attachment. You should check the cinder volume and nova logs for errors during the attach process to try and figure out what has gone wrong.&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 May 2014 04:05:32 GMT</pubDate>
    <dc:creator>akerr</dc:creator>
    <dc:date>2014-05-27T04:05:32Z</dc:date>
    <item>
      <title>Can't attach a Volume to a VM</title>
      <link>https://community.netapp.com/t5/OpenStack-Discussions/Can-t-attach-a-Volume-to-a-VM/m-p/81467#M184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have configured the c-mode with drivers for VM.&lt;/P&gt;&lt;P&gt;Ubuntu with Icehouse&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From GUI and Command i am able see the volume attach working without error when i check from the vm i do not see any attached volume to the vms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe this is nothing to do with cinder as this api is more related nova, just wanted to know if anyone is aware of this kida problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@controller:~# nova volume-attach 4c9207c9-7888-43b6-b724-4ca45b33adef 81d3c673-a82b-432f-954b-8dd36e4ed73b&lt;/P&gt;&lt;P&gt;+----------+--------------------------------------+&lt;/P&gt;&lt;P&gt;| Property | Value&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/P&gt;&lt;P&gt;+----------+--------------------------------------+&lt;/P&gt;&lt;P&gt;| device&amp;nbsp;&amp;nbsp; | /dev/vdb&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/P&gt;&lt;P&gt;| id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 81d3c673-a82b-432f-954b-8dd36e4ed73b |&lt;/P&gt;&lt;P&gt;| serverId | 4c9207c9-7888-43b6-b724-4ca45b33adef |&lt;/P&gt;&lt;P&gt;| volumeId | 81d3c673-a82b-432f-954b-8dd36e4ed73b |&lt;/P&gt;&lt;P&gt;+----------+--------------------------------------+&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:35:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/OpenStack-Discussions/Can-t-attach-a-Volume-to-a-VM/m-p/81467#M184</guid>
      <dc:creator>pravinp</dc:creator>
      <dc:date>2025-06-05T05:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can't attach a Volume to a VM</title>
      <link>https://community.netapp.com/t5/OpenStack-Discussions/Can-t-attach-a-Volume-to-a-VM/m-p/81470#M186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Hi pravinp,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen this type of behavior before. For me, I had my data lif set to accept the wrong protocol (I was using the iSCSI driver, but my lif only allowed nfs). Unfortunately, an unsuccessful attach doesn't usually leave any user-facing traces, other than the volume still being in "available" state, and nova not showing the attachment. You should check the cinder volume and nova logs for errors during the attach process to try and figure out what has gone wrong.&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 04:05:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/OpenStack-Discussions/Can-t-attach-a-Volume-to-a-VM/m-p/81470#M186</guid>
      <dc:creator>akerr</dc:creator>
      <dc:date>2014-05-27T04:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can't attach a Volume to a VM</title>
      <link>https://community.netapp.com/t5/OpenStack-Discussions/Can-t-attach-a-Volume-to-a-VM/m-p/81479#M193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fixed.&lt;/P&gt;&lt;P&gt;I am using separate nodes for all compute an block. I had to install&amp;nbsp; &lt;TT&gt;nfs-common on the compute node which i did not. &lt;SPAN __jive_emoticon_name="silly" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/silly.gif"&gt;&lt;/SPAN&gt;&lt;/TT&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The logs are as below on Compute node with while attaching the volume:&lt;/P&gt;&lt;P&gt;This gave me a clue why it was failing&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Stderr: 'mount: wrong fs type, bad option, bad superblock on 10.238.229.43:/open_cinder,\n&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;missing codepage or helper program, or other error\n&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;(for several filesystems (e.g. nfs, cifs) you might\n&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;need a /sbin/mount.&amp;lt;type&amp;gt; helper program)\n&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;In some cases useful info is found in syslog - try\n&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;dmesg | tail&amp;nbsp; or so\n\n'&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;3a931-b10f-4465-9bdb-b0a3893bd1a6] Attaching volume 377cccd6-b1ef-451d-909d-6dee4f47756b to /dev/vdb&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:33.771 27773 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): controller&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.028 27773 WARNING nova.virt.libvirt.utils [req-0aa458ca-9471-4ead-b333-4bd5d906ecf6 4d2a100c10b04586bd682508f18c4fce bd5d1cb84a0546bb84cb3aad69b9700d] systool is not installed&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.098 27773 WARNING nova.virt.libvirt.utils [req-0aa458ca-9471-4ead-b333-4bd5d906ecf6 4d2a100c10b04586bd682508f18c4fce bd5d1cb84a0546bb84cb3aad69b9700d] systool is not installed&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.101 27773 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): controller&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.342 27773 ERROR nova.virt.block_device [req-0aa458ca-9471-4ead-b333-4bd5d906ecf6 4d2a100c10b04586bd682508f18c4fce bd5d1cb84a0546bb84cb3aad69b9700d] [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6] Driver failed to attach volume 377cccd6-b1ef-451d-909d-6dee4f47756b at /dev/vdb&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.342 27773 TRACE nova.virt.block_device [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6] Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.342 27773 TRACE nova.virt.block_device [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6]&amp;nbsp;&amp;nbsp; File "/usr/lib/python2.7/dist-packages/nova/virt/block_device.py", line 239, in attach&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.342 27773 TRACE nova.virt.block_device [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; device_type=self['device_type'], encryption=encryption)&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.342 27773 TRACE nova.virt.block_device [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6]&amp;nbsp;&amp;nbsp; File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1224, in attach_volume&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.342 27773 TRACE nova.virt.block_device [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; disk_info)&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.342 27773 TRACE nova.virt.block_device [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6]&amp;nbsp;&amp;nbsp; File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1183, in volume_driver_method&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.342 27773 TRACE nova.virt.block_device [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return method(connection_info, *args, **kwargs)&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.342 27773 TRACE nova.virt.block_device [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6]&amp;nbsp;&amp;nbsp; File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/volume.py", line 660, in connect_volume&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.342 27773 TRACE nova.virt.block_device [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; path = self._ensure_mounted(connection_info['data']['export'], options)&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.342 27773 TRACE nova.virt.block_device [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6]&amp;nbsp;&amp;nbsp; File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/volume.py", line 689, in _ensure_mounted&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.342 27773 TRACE nova.virt.block_device [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self._mount_nfs(mount_path, nfs_export, options, ensure=True)&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.342 27773 TRACE nova.virt.block_device [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6]&amp;nbsp;&amp;nbsp; File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/volume.py", line 705, in _mount_nfs&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.342 27773 TRACE nova.virt.block_device [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; utils.execute(*nfs_cmd, run_as_root=True)&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.342 27773 TRACE nova.virt.block_device [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6]&amp;nbsp;&amp;nbsp; File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 164, in execute&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.342 27773 TRACE nova.virt.block_device [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return processutils.execute(*cmd, **kwargs)&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.342 27773 TRACE nova.virt.block_device [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6]&amp;nbsp;&amp;nbsp; File "/usr/lib/python2.7/dist-packages/nova/openstack/common/processutils.py", line 193, in execute&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.342 27773 TRACE nova.virt.block_device [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cmd=' '.join(cmd))&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.342 27773 TRACE nova.virt.block_device [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6] ProcessExecutionError: Unexpected error while running command.&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.342 27773 TRACE nova.virt.block_device [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6] Command: sudo nova-rootwrap /etc/nova/rootwrap.conf mount -t nfs 10.238.229.43:/open_cinder /var/lib/nova/mnt/4a31c2a3745485c719e0a63c6c1ab5f7&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.342 27773 TRACE nova.virt.block_device [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6] Exit code: 32&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.342 27773 TRACE nova.virt.block_device [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6] Stdout: ''&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.342 27773 TRACE nova.virt.block_device [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6] Stderr: 'mount: wrong fs type, bad option, bad superblock on 10.238.229.43:/open_cinder,\n&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; missing codepage or helper program, or other error\n&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (for several filesystems (e.g. nfs, cifs) you might\n&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; need a /sbin/mount.&amp;lt;type&amp;gt; helper program)\n&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In some cases useful info is found in syslog - try\n&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dmesg | tail&amp;nbsp; or so\n\n'&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.342 27773 TRACE nova.virt.block_device [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6]&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.346 27773 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): controller&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.472 27773 ERROR nova.compute.manager [req-0aa458ca-9471-4ead-b333-4bd5d906ecf6 4d2a100c10b04586bd682508f18c4fce bd5d1cb84a0546bb84cb3aad69b9700d] [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6] Failed to attach 377cccd6-b1ef-451d-909d-6dee4f47756b at /dev/vdb&lt;/P&gt;&lt;P&gt;2014-05-27 13:51:34.472 27773 TRACE nova.compute.manager [instance: 5273a931-b10f-4465-9bdb-b0a3893bd1a6] Traceback (most recent call last):&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 12:05:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/OpenStack-Discussions/Can-t-attach-a-Volume-to-a-VM/m-p/81479#M193</guid>
      <dc:creator>pravinp</dc:creator>
      <dc:date>2014-05-27T12:05:14Z</dc:date>
    </item>
  </channel>
</rss>

