← Back to team overview

openstack team mailing list archive

What I have to install on the image to mount a volume?

 

Hi,

is there something I have to install on my images to mount a volume? I have
a volume and I can mount it on ubuntu oneiric UEC image (we can download
from Internet, the gziped file). All work fine!

But, I  have some images with ubuntu server that I've created. When I try to
attach a volume to these images:

2011-10-26 10:04:59,078 ERROR nova.rpc [-] Exception during message handling
(nova.rpc): TRACE: Traceback (most recent call last):
(nova.rpc): TRACE:   File
"/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 620, in
_process_data
(nova.rpc): TRACE:     rval = node_func(context=ctxt, **node_args)
(nova.rpc): TRACE:   File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 117, in
decorated_function
(nova.rpc): TRACE:     function(self, context, instance_id, *args, **kwargs)
(nova.rpc): TRACE:   File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1242, in
attach_volume
(nova.rpc): TRACE:     volume_id)
(nova.rpc): TRACE:   File
"/usr/lib/python2.7/dist-packages/nova/volume/manager.py", line 245, in
setup_compute_volume
(nova.rpc): TRACE:     path = self.driver.discover_volume(context,
volume_ref)
(nova.rpc): TRACE:   File
"/usr/lib/python2.7/dist-packages/nova/volume/driver.py", line 524, in
discover_volume
(nova.rpc): TRACE:     iscsi_properties = self._get_iscsi_properties(volume)
(nova.rpc): TRACE:   File
"/usr/lib/python2.7/dist-packages/nova/volume/driver.py", line 480, in
_get_iscsi_properties
(nova.rpc): TRACE:     location = self._do_iscsi_discovery(volume)
(nova.rpc): TRACE:   File
"/usr/lib/python2.7/dist-packages/nova/volume/driver.py", line 446, in
_do_iscsi_discovery
(nova.rpc): TRACE:     run_as_root=True)
(nova.rpc): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/utils.py",
line 188, in execute
(nova.rpc): TRACE:     cmd=' '.join(cmd))
(nova.rpc): TRACE: ProcessExecutionError: <unprintable ProcessExecutionError
object>
(nova.rpc): TRACE:

Can anyone help me?

Thanks!

-- 
- MSc. Correa, J.L.