openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #04984
error when create volume use "nova volume-create"
When I use novaclient to create volume, it happened:
*$ nova volume-create --display-name vol 10*
2011-10-24 11:26:33,709 DEBUG nova.rpc [-] received {u'_context_roles':
[u'Admin', u'Admin', u'KeystoneAdmin', u'KeystoneServiceAdmin'],
u'_context_request_id': u'fd416e80-af32-4674-a93b-9d4d67b3a5fa',
u'_context_read_deleted': False, u'args': {u'volume_id': 1, u'snapshot_id':
None}, u'_context_auth_token': u'Mko09ijnbhu87ygv', u'_context_strategy':
u'keystone', u'_context_is_admin': True, u'_context_project_id': u'1',
u'_context_timestamp': u'2011-10-24T03:26:22.666985', u'_context_user_id':
u'admin', u'method': u'create_volume', u'_context_remote_address':
u'10.200.200.4'} from (pid=1147) __call__
/data/nova/nova/rpc/impl_kombu.py:600
2011-10-24 11:26:33,710 DEBUG nova.rpc [-] unpacked context: {'user_id':
u'admin', 'roles': [u'Admin', u'Admin', u'KeystoneAdmin',
u'KeystoneServiceAdmin'], 'timestamp': u'2011-10-24T03:26:22.666985',
'auth_token': u'Mko09ijnbhu87ygv', 'msg_id': None, 'remote_address':
u'10.200.200.4', 'strategy': u'keystone', 'is_admin': True, 'request_id':
u'fd416e80-af32-4674-a93b-9d4d67b3a5fa', 'project_id': u'1', 'read_deleted':
False} from (pid=1147) _unpack_context /data/nova/nova/rpc/impl_kombu.py:646
2011-10-24 11:26:33,750 INFO nova.volume.manager [-] volume volume-00000001:
creating
2011-10-24 11:26:33,805 DEBUG nova.volume.manager [-] volume
volume-00000001: creating lv of size 10G from (pid=1147) create_volume
/data/nova/nova/volume/manager.py:110
2011-10-24 11:26:33,806 DEBUG nova.utils [-] Running cmd (subprocess): sudo
lvcreate -L 10G -n volume-00000001 nova-volumes from (pid=1147) execute
/data/nova/nova/utils.py:168
2011-10-24 11:26:34,186 DEBUG nova.volume.manager [-] volume
volume-00000001: creating export from (pid=1147) create_volume
/data/nova/nova/volume/manager.py:121
2011-10-24 11:26:34,217 DEBUG nova.utils [-] Running cmd (subprocess): sudo
tgtadm --op new --lld=iscsi --mode=target --tid=2
--targetname=iqn.2010-10.org.openstack:volume-00000001 from (pid=1147)
execute /data/nova/nova/utils.py:168
2011-10-24 11:26:34,227 DEBUG nova.utils [-] Result was 1 from (pid=1147)
execute /data/nova/nova/utils.py:184
2011-10-24 11:26:34,283 ERROR nova.rpc [-] Exception during message handling
(nova.rpc): TRACE: Traceback (most recent call last):
(nova.rpc): TRACE: File "/data/nova/nova/rpc/impl_kombu.py", line 620, in
_process_data
(nova.rpc): TRACE: rval = node_func(context=ctxt, **node_args)
(nova.rpc): TRACE: File "/data/nova/nova/volume/manager.py", line 130, in
create_volume
(nova.rpc): TRACE: raise exc_info
(nova.rpc): TRACE: ProcessExecutionError: Unexpected error while running
command.
(nova.rpc): TRACE: Command: None
(nova.rpc): TRACE: Exit code: -
(nova.rpc): TRACE: Stdout: None
(nova.rpc): TRACE: Stderr: None
(nova.rpc): TRACE:
--
非淡薄无以明志,非宁静无以致远
Follow ups