← Back to team overview

openstack team mailing list archive

volume_allocate_iscsi_target in db/sqlalchemy/api.py hits ResourceClosedError

 

Greetings everybody,
in one of our tests we occasionally hit ResourceClosedError when executing the volume_allocate_iscsi_target:
2011-09-20 04:25:20,515 DEBUG nova.volume.driver [-]      volume_allocate_iscsi_target failed for volume volume-0000114c from (pid=23701) create_export /mnt/share/s-cloud-Vlad/nova/volume/driver.py:959

2011-09-20 04:25:20,515 WARNING nova.volume.manager [-] Volume creation failed with traceback: <traceback object at 0x3c55878>

2011-09-20 04:25:20,643 ERROR nova.rpc [-] Exception during message handling
(nova.rpc): TRACE: Traceback (most recent call last):
(nova.rpc): TRACE:   File "/mnt/share/s-cloud-Vlad/nova/rpc/impl_kombu.py", line 620, in _process_data
(nova.rpc): TRACE:     rval = node_func(context=ctxt, **node_args)
(nova.rpc): TRACE:   File "/mnt/share/s-cloud-Vlad/nova/volume/manager.py", line 140, in create_volume
(nova.rpc): TRACE:     raise exc_info
(nova.rpc): TRACE: ResourceClosedError
(nova.rpc): TRACE: 

In one of the tests it happened at the same time on three different compute nodes. 
Can anybody pls advise how to investigate the root cause of this problem? The MySQL server logs do not show anything useful at the time of the problem.

Thanks,
  Alex.



Follow ups