问题描述
我边看帮助手册边尝试在单节点手动安装OpenStackhttp://docs.openstack.org/trunk/openstack-compute/install/apt/content/ap_installingfolsomubuntuprecise.html当我执行这个命令$cindercreate--display_nametest1想在Cinder配置创建卷的时候卡住了。。(囧,好绕口)它提示+---------------------+--------------------------------------+|Property|Value|+---------------------+--------------------------------------+|attachments|[]||availability_zone|nova||created_at|2012-11-05T11:59:59.548149||display_description|None||display_name|test||id|8802e55c-29a6-4087-9730-286cfbd3fdb3||metadata|{}||size|1||snapshot_id|None||status|creating||volume_type|None|+---------------------+--------------------------------------+当我执行这个命令$cinderlist卷的状态还是在创建它提示:+--------------------------------------+----------+--------------+------+-------------+-------------+|ID|Status|DisplayName|Size|VolumeType|Attachedto|+--------------------------------------+----------+--------------+------+-------------+-------------+|8802e55c-29a6-4087-9730-286cfbd3fdb3|creating|test|1|None||+--------------------------------------+----------+--------------+------+-------------+-------------+卷的状态应该是“Available”的,但是在我手上它还是“Creating”的状态。我的Cinder的配置如下:[DEFAULT]rootwrap_config=/etc/cinder/rootwrap.confsql_connection=mysql://cinder:openstack@*.*.*.*/cinderapi_paste_confg=/etc/cinder/api-paste.iniiscsi_helper=ietadmvolume_name_template=volume-%svolume_group=cinder-volumesverbose=Trueauth_strategy=keystonestate_path=/var/lib/cindervolumes_dir=/var/lib/cinder/volumes#osapi_volume_listen_port=5900我的api-paste.ini部分文件长这样的[filter:authtoken]paste.filter_factory=keystone.middleware.auth_token:filter_factoryservice_protocol=httpservice_host=x.y.z.aservice_port=5000auth_host=x.y.z.aauth_port=35357auth_protocol=httpadmin_tenant_name=serviceadmin_user=cinderadmin_password=openstack如何破?帮帮我吧~~~好急补充楼主Cinderlog和版本cinder-scheduler.logfile2012-11-0611:14:534224ERRORcinder.openstack.common.rpc.amqp[-]Exceptionduringmessagehandling2012-11-0611:14:534224TRACEcinder.openstack.common.rpc.amqpTraceback(mostrecentcalllast):2012-11-0611:14:534224TRACEcinder.openstack.common.rpc.amqpFile"/usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/amqp.py",line276,in_process_data2012-11-0611:14:534224TRACEcinder.openstack.common.rpc.amqprval=self.proxy.dispatch(ctxt,version,method,**args)2012-11-0611:14:534224TRACEcinder.openstack.common.rpc.amqpFile"/usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/dispatcher.py",line145,indispatch2012-11-0611:14:534224TRACEcinder.openstack.common.rpc.amqpreturngetattr(proxyobj,method)(ctxt,**kwargs)2012-11-0611:14:534224TRACEcinder.openstack.common.rpc.amqpFile"/usr/lib/python2.7/dist-packages/cinder/scheduler/manager.py",line98,in_schedule2012-11-0611:14:534224TRACEcinder.openstack.common.rpc.amqpdb.volume_update(context,volume_id,{'status':'error'})2012-11-0611:14:534224TRACEcinder.openstack.common.rpc.amqpFile"/usr/lib/python2.7/dist-packages/cinder/db/api.py",line256,involume_update2012-11-0611:14:534224TRACEcinder.openstack.common.rpc.amqpreturnIMPL.volume_update(context,volume_id,values)2012-11-0611:14:534224TRACEcinder.openstack.common.rpc.amqpFile"/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/api.py",line124,inwrapper2012-11-0611:14:534224TRACEcinder.openstack.common.rpc.amqpreturnf(*args,**kwargs)2012-11-0611:14:534224TRACEcinder.openstack.common.rpc.amqpFile"/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/api.py",line1071,involume_update2012-11-0611:14:534224TRACEcinder.openstack.common.rpc.amqpvolume_ref=volume_get(context,volume_id,session=session)2012-11-0611:14:534224TRACEcinder.openstack.common.rpc.amqpFile"/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/api.py",line124,inwrapper2012-11-0611:14:534224TRACEcinder.openstack.common.rpc.amqpreturnf(*args,**kwargs)2012-11-0611:14:534224TRACEcinder.openstack.common.rpc.amqpFile"/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/api.py",line1014,involume_get2012-11-0611:14:534224TRACEcinder.openstack.common.rpc.amqpraiseexception.VolumeNotFound(volume_id=volume_id)2012-11-0611:14:534224TRACEcinder.openstack.common.rpc.amqpVolumeNotFound:Volumecb5dc6eb-78c3-4ee5-8ab6-8003a7430a85couldnotbefound.2012-11-0611:14:534224TRACEcinder.openstack.common.rpc.amqp帖子地址:https://answers.launchpad.net/cinder/+question/213323【每日译帖】想通过每天一点点的劳动为stackers们带来一点点的料。如果stackers喜欢,请关注这个论坛。翻译粗糙,若发现不对的地方,感谢大家指出!这样能为更多的人带来正确有价值的信息。【这篇帖子翻译难度太大了!明天找个简单的。。。顺便,妇女节快乐!】
解决方案
解决方案二:
+----------------------cinder-volume.logfile--------------------+接下来是cinder-volume.log文件2012-11-0611:14:0624356AUDITcinder.service[-]SIGTERMreceived2012-11-0611:14:1025704DEBUGcinder.service[-]FullsetofFLAGS:wait/usr/lib/python2.7/dist-packages/cinder/service.py:4112012-11-0611:14:1025704DEBUGcinder.service[-]storage_availability_zone:novawait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]sql_connection_debug:0wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]glance_port:9292wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]glance_api_servers:['192.168.0.111:9292']wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]max_age:0wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]enable_new_services:Truewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]my_ip:192.168.0.111wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]osapi_volume_listen_port:8776wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]iscsi_ip_address:192.168.0.111wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]logdir:Nonewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]volumes_dir:/var/lib/cinder/volumeswait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]osapi_volume_listen:0.0.0.0wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]sqlite_db:cinder.sqlitewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]iscsi_target_prefix:iqn.2010-10.org.openstack:wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]reclaim_instance_interval:0wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]rootwrap_config:/etc/cinder/rootwrap.confwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]notification_driver:[]wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]osapi_max_limit:1000wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]default_publisher_id:openstack-desktopwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]logfile:Nonewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]snapshot_name_template:snapshot-%swait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]quota_driver:cinder.quota.DbQuotaDriverwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]debug:Falsewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]policy_file:policy.jsonwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]volume_topic:cinder-volumewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]osapi_compute_link_prefix:Nonewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]volume_name_template:volume-%swait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]rpc_cast_timeout:30wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]until_refresh:0wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]iscsi_num_targets:100wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]config_dir:Nonewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]log_config:Nonewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]use_stderr:Truewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]connection_type:Nonewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]fatal_deprecations:Falsewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]logfile_mode:0644wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]logging_context_format_string:%(asctime)s%(levelname)s%(name)s[%(request_id)s%(user_id)s%(project_id)s]%(instance)s%(message)swait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]instance_usage_audit_period:monthwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]log_dir:Nonewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]logging_debug_format_suffix:%(funcName)s%(pathname)s:%(lineno)dwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]rbd_user:Nonewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]rpc_backend:cinder.openstack.common.rpc.impl_kombuwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]default_log_levels:['amqplib=WARN','sqlalchemy=WARN','boto=WARN','suds=INFO','keystone=INFO','eventlet.wsgi.server=WARN']wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]osapi_volume_extension:['cinder.api.openstack.volume.contrib.standard_extensions']wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]sql_connection:FLAGSETwait/usr/lib/python2.7/dist-packages/cinder/service.py:4182012-11-0611:14:1025704DEBUGcinder.service[-]api_rate_limit:Truewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]use_local_volumes:Truewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]host:openstack-desktopwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]glance_num_retries:0wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]allowed_rpc_exception_modules:['cinder.openstack.common.exception','nova.exception','cinder.exception']wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]quota_gigabytes:1000wait/usr/lib/python2.7/dist-packages/cinder/service.py:420
解决方案三:
2012-11-0611:14:1025704DEBUGcinder.service[-]volume_driver:cinder.volume.driver.ISCSIDriverwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]reservation_expire:86400wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]monkey_patch:Falsewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]rpc_conn_pool_size:30wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]sqlite_synchronous:Truewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]volume_force_update_capabilities:Falsewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]scheduler_topic:cinder-schedulerwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]verbose:Truewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]sql_max_retries:10wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]num_iscsi_scan_tries:3wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]periodic_fuzzy_delay:60wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]periodic_interval:60wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]instance_format:[instance:%(uuid)s]wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]rpc_response_timeout:60wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]volume_group:cinder-volumeswait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]service_down_time:60wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]default_notification_level:INFOwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]publish_errors:Falsewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]iscsi_helper:ietadmwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]iscsi_port:3260wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]logging_exception_prefix:%(asctime)s%(process)dTRACE%(name)s%(instance)swait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]volume_api_class:cinder.volume.api.APIwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]report_interval:10wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]scheduler_manager:cinder.scheduler.manager.SchedulerManagerwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]monkey_patch_modules:[]wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]rpc_thread_pool_size:64wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]quota_volumes:10wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]db_backend:sqlalchemywait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]snapshot_same_host:Truewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]state_path:/var/lib/cinderwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]volume_tmp_dir:Nonewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]sql_idle_timeout:3600wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]glance_host:192.168.0.111wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]log_format:%(asctime)s%(levelname)8s[%(name)s]%(message)swait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]sql_retry_interval:10wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]root_helper:sudowait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]memcached_servers:Nonewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]logging_default_format_string:%(asctime)s%(process)d%(levelname)s%(name)s[-]%(instance)s%(message)swait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]osapi_volume_ext_list:[]wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]fake_rabbit:Falsewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]log_date_format:%Y-%m-%d%H:%M:%Swait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]num_shell_tries:3wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]use_syslog:Falsewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]syslog_log_facility:LOG_USERwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]rbd_pool:rbdwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]bindir:/usr/lib/python2.7/dist-packages/binwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]auth_strategy:keystonewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]config_file:['/etc/cinder/cinder.conf']wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]instance_uuid_format:[instance:%(uuid)s]wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]db_driver:cinder.dbwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]volume_manager:cinder.volume.manager.VolumeManagerwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]pybasedir:/usr/lib/python2.7/dist-packageswait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]api_paste_config:api-paste.iniwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]rbd_secret_uuid:Nonewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]policy_default_rule:defaultwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]control_exchange:cinderwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704DEBUGcinder.service[-]log_file:/var/log/cinder/cinder-volume.logwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0611:14:1025704AUDITcinder.service[-]Startingcinder-volumenode(version2012.2-LOCALBRANCH:LOCALREVISION)2012-11-0611:14:10DEBUGcinder.utils[req-2edfb496-70e1-4a71-bbed-f92ffbec8d6dNoneNone]Runningcmd(subprocess):sudocinder-rootwrap/etc/cinder/rootwrap.confvgs--noheadings-onameexecute/usr/lib/python2.7/dist-packages/cinder/utils.py:1562012-11-0611:14:10DEBUGcinder.utils[req-2edfb496-70e1-4a71-bbed-f92ffbec8d6dNoneNone]backend<module'cinder.db.sqlalchemy.api'from'/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/api.pyc'>__get_backend/usr/lib/python2.7/dist-packages/cinder/utils.py:4692012-11-0611:14:11DEBUGcinder.volume.manager[req-2edfb496-70e1-4a71-bbed-f92ffbec8d6dNoneNone]Re-exporting0volumesinit_host/usr/lib/python2.7/dist-packages/cinder/volume/manager.py:982012-11-0611:14:11DEBUGcinder.volume.manager[req-2edfb496-70e1-4a71-bbed-f92ffbec8d6dNoneNone]Resuminganyinprogressdeleteoperationsinit_host/usr/lib/python2.7/dist-packages/cinder/volume/manager.py:1052012-11-0611:14:1125704INFOcinder.openstack.common.rpc.common[-]ConnectedtoAMQPserveronlocalhost:56722012-11-0611:14:1125704DEBUGcinder.service[-]CreatingConsumerconnectionforServicecinder-volumestart/usr/lib/python2.7/dist-packages/cinder/service.py:1722012-11-0611:14:59DEBUGcinder.manager[req-f17fd87a-cc95-4228-b5bd-8598d885b3b9NoneNone]RunningperiodictaskVolumeManager._publish_service_capabilitiesperiodic_tasks/usr/lib/python2.7/dist-packages/cinder/manager.py:1642012-11-0611:14:59DEBUGcinder.manager[req-f17fd87a-cc95-4228-b5bd-8598d885b3b9NoneNone]RunningperiodictaskVolumeManager._report_driver_statusperiodic_tasks/usr/lib/python2.7/dist-packages/cinder/manager.py:164我用的是cinderversion2012.2
解决方案四:
+-------------楼主继续补cinder-api日志-----------------+cinder-api.log文件包含2012-11-0614:16:3613476AUDITcinder.service[-]SIGTERMreceived2012-11-0614:16:3613476INFOcinder.wsgi[-]WSGIserverhasstopped.2012-11-0614:16:3715266AUDITcinder.api.openstack.volume.extensions[-]Initializingextensionmanager.2012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Loadingextensioncinder.api.openstack.volume.contrib.standard_extensionsload_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2512012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Callingextensionfactorycinder.api.openstack.volume.contrib.standard_extensionsload_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2572012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Loadingextensioncinder.api.openstack.volume.contrib.quota_classes.Quota_classesload_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2512012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Callingextensionfactorycinder.api.openstack.volume.contrib.quota_classes.Quota_classesload_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2572012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extname:QuotaClasses_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2302012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extalias:os-quota-class-sets_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2312012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extdescription:Quotaclassesmanagementsupport_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2332012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extnamespace:http://docs.openstack.org/volume/ext/quota-classes-sets/api/v1.1_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2342012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extupdated:2012-03-12T00:00:00+00:00_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2352012-11-0614:16:3715266AUDITcinder.api.openstack.extensions[-]Loadedextension:os-quota-class-sets2012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Loadingextensioncinder.api.openstack.volume.contrib.image_create.Image_createload_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2512012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Callingextensionfactorycinder.api.openstack.volume.contrib.image_create.Image_createload_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2572012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extname:CreateVolumeExtension_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2302012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extalias:os-image-create_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2312012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extdescription:AllowcreatingavolumefromanimageintheCreateVolumev1API_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2332012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extnamespace:http://docs.openstack.org/volume/ext/image-create/api/v1_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2342012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extupdated:2012-08-13T00:00:00+00:00_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2352012-11-0614:16:3715266AUDITcinder.api.openstack.extensions[-]Loadedextension:os-image-create2012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Loadingextensioncinder.api.openstack.volume.contrib.types_manage.Types_manageload_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2512012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Callingextensionfactorycinder.api.openstack.volume.contrib.types_manage.Types_manageload_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2572012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extname:TypesManage_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2302012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extalias:os-types-manage_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2312012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extdescription:Typesmanagesupport_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2332012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extnamespace:http://docs.openstack.org/volume/ext/types-manage/api/v1_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2342012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extupdated:2011-08-24T00:00:00+00:00_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2352012-11-0614:16:3715266AUDITcinder.api.openstack.extensions[-]Loadedextension:os-types-manage2012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Loadingextensioncinder.api.openstack.volume.contrib.admin_actions.Admin_actionsload_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2512012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Callingextensionfactorycinder.api.openstack.volume.contrib.admin_actions.Admin_actionsload_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2572012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extname:AdminActions_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2302012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extalias:os-admin-actions_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2312012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extdescription:Enableadminactions._check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2332012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extnamespace:http://docs.openstack.org/volume/ext/admin-actions/api/v1.1_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2342012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extupdated:2012-08-25T00:00:00+00:00_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2352012-11-0614:16:3715266AUDITcinder.api.openstack.extensions[-]Loadedextension:os-admin-actions2012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Loadingextensioncinder.api.openstack.volume.contrib.quotas.Quotasload_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2512012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Callingextensionfactorycinder.api.openstack.volume.contrib.quotas.Quotasload_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2572012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extname:Quotas_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2302012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extalias:os-quota-sets_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2312012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extdescription:Quotasmanagementsupport_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2332012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extnamespace:http://docs.openstack.org/compute/ext/quotas-sets/api/v1.1_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2342012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extupdated:2011-08-08T00:00:00+00:00_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2352012-11-0614:16:3715266AUDITcinder.api.openstack.extensions[-]Loadedextension:os-quota-sets2012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Loadingextensioncinder.api.openstack.volume.contrib.volume_actions.Volume_actionsload_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2512012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Callingextensionfactorycinder.api.openstack.volume.contrib.volume_actions.Volume_actionsload_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:257
解决方案五:
2012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extname:VolumeActions_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2302012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extalias:os-volume-actions_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2312012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extdescription:Enablevolumeactions_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2332012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extnamespace:http://docs.openstack.org/volume/ext/volume-actions/api/v1.1_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2342012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extupdated:2012-05-31T00:00:00+00:00_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2352012-11-0614:16:3715266AUDITcinder.api.openstack.extensions[-]Loadedextension:os-volume-actions2012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Loadingextensioncinder.api.openstack.volume.contrib.types_extra_specs.Types_extra_specsload_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2512012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Callingextensionfactorycinder.api.openstack.volume.contrib.types_extra_specs.Types_extra_specsload_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2572012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extname:TypesExtraSpecs_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2302012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extalias:os-types-extra-specs_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2312012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extdescription:Typesextraspecssupport_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2332012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extnamespace:http://docs.openstack.org/volume/ext/types-extra-specs/api/v1_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2342012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extupdated:2011-08-24T00:00:00+00:00_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2352012-11-0614:16:3715266AUDITcinder.api.openstack.extensions[-]Loadedextension:os-types-extra-specs2012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Loadingextensioncinder.api.openstack.volume.contrib.extended_snapshot_attributes.Extended_snapshot_attributesload_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2512012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Callingextensionfactorycinder.api.openstack.volume.contrib.extended_snapshot_attributes.Extended_snapshot_attributesload_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2572012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extname:ExtendedSnapshotAttributes_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2302012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extalias:os-extended-snapshot-attributes_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2312012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extdescription:ExtendedSnapshotAttributessupport._check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2332012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extnamespace:http://docs.openstack.org/volume/ext/extended_snapshot_attributes/api/v1_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2342012-11-0614:16:3715266DEBUGcinder.api.openstack.extensions[-]Extupdated:2012-06-19T00:00:00+00:00_check_extension/usr/lib/python2.7/dist-packages/cinder/api/openstack/extensions.py:2352012-11-0614:16:3715266AUDITcinder.api.openstack.extensions[-]Loadedextension:os-extended-snapshot-attributes2012-11-0614:16:3715266DEBUGcinder.api.openstack[-]Extendedresource:extensions_setup_ext_routes/usr/lib/python2.7/dist-packages/cinder/api/openstack/__init__.py:1352012-11-0614:16:3715266DEBUGcinder.api.openstack[-]Extendedresource:os-quota-class-sets_setup_ext_routes/usr/lib/python2.7/dist-packages/cinder/api/openstack/__init__.py:1352012-11-0614:16:3715266DEBUGcinder.api.openstack[-]Extendedresource:os-quota-sets_setup_ext_routes/usr/lib/python2.7/dist-packages/cinder/api/openstack/__init__.py:1352012-11-0614:16:3715266DEBUGcinder.api.openstack[-]Extendedresource:extra_specs_setup_ext_routes/usr/lib/python2.7/dist-packages/cinder/api/openstack/__init__.py:1352012-11-0614:16:3715266DEBUGcinder.api.openstack[-]ExtensionTypesManageextendingresource:types_setup_extensions/usr/lib/python2.7/dist-packages/cinder/api/openstack/__init__.py:1652012-11-0614:16:3715266DEBUGcinder.api.openstack[-]ExtensionExtendedSnapshotAttributesextendingresource:snapshots_setup_extensions/usr/lib/python2.7/dist-packages/cinder/api/openstack/__init__.py:1652012-11-0614:16:3715266DEBUGcinder.api.openstack[-]ExtensionAdminActionsextendingresource:volumes_setup_extensions/usr/lib/python2.7/dist-packages/cinder/api/openstack/__init__.py:1652012-11-0614:16:3715266DEBUGcinder.api.openstack[-]ExtensionAdminActionsextendingresource:snapshots_setup_extensions/usr/lib/python2.7/dist-packages/cinder/api/openstack/__init__.py:1652012-11-0614:16:3715266DEBUGcinder.api.openstack[-]ExtensionVolumeActionsextendingresource:volumes_setup_extensions/usr/lib/python2.7/dist-packages/cinder/api/openstack/__init__.py:1652012-11-0614:16:3715266INFOkeystone.middleware.auth_token[-]Startingkeystoneauth_tokenmiddleware2012-11-0614:16:3715266INFOkeystone.middleware.auth_token[-]Using/var/lib/cinder/keystone-signingascachedirectoryforsigningcertificate2012-11-0614:16:3715266DEBUGcinder.service[-]FullsetofFLAGS:wait/usr/lib/python2.7/dist-packages/cinder/service.py:4112012-11-0614:16:3715266DEBUGcinder.service[-]storage_availability_zone:novawait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]sql_connection_debug:0wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]glance_port:9292wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]glance_api_servers:['192.168.0.111:9292']wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]max_age:0wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]enable_new_services:Truewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]my_ip:192.168.0.111wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]osapi_volume_listen_port:8776wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]logdir:Nonewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]osapi_volume_listen:0.0.0.0wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]sqlite_db:cinder.sqlitewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]reclaim_instance_interval:0wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]rootwrap_config:/etc/cinder/rootwrap.confwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]notification_driver:[]wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]osapi_max_limit:1000wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]default_publisher_id:openstack-desktopwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]logfile:Nonewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]snapshot_name_template:snapshot-%swait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]quota_driver:cinder.quota.DbQuotaDriverwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]debug:Falsewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]policy_file:policy.jsonwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]volume_topic:cinder-volumewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]osapi_compute_link_prefix:Nonewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]volume_name_template:volume-%swait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]rpc_cast_timeout:30wait/usr/lib/python2.7/dist-packages/cinder/service.py:420
解决方案六:
2012-11-0614:16:3715266DEBUGcinder.service[-]until_refresh:0wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]config_dir:Nonewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]log_config:Nonewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]use_stderr:Truewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]connection_type:Nonewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]fatal_deprecations:Falsewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]logfile_mode:0644wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]logging_context_format_string:%(asctime)s%(levelname)s%(name)s[%(request_id)s%(user_id)s%(project_id)s]%(instance)s%(message)swait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]instance_usage_audit_period:monthwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]log_dir:Nonewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]logging_debug_format_suffix:%(funcName)s%(pathname)s:%(lineno)dwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]rpc_backend:cinder.openstack.common.rpc.impl_kombuwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]default_log_levels:['amqplib=WARN','sqlalchemy=WARN','boto=WARN','suds=INFO','keystone=INFO','eventlet.wsgi.server=WARN']wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]osapi_volume_extension:['cinder.api.openstack.volume.contrib.standard_extensions']wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]sql_connection:FLAGSETwait/usr/lib/python2.7/dist-packages/cinder/service.py:4182012-11-0614:16:3715266DEBUGcinder.service[-]api_rate_limit:Truewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]use_local_volumes:Truewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]host:openstack-desktopwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]glance_num_retries:0wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]allowed_rpc_exception_modules:['cinder.openstack.common.exception','nova.exception','cinder.exception']wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]quota_gigabytes:1000wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]volume_driver:cinder.volume.driver.ISCSIDriverwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]reservation_expire:86400wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]monkey_patch:Falsewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]rpc_conn_pool_size:30wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]sqlite_synchronous:Truewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]volume_force_update_capabilities:Falsewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]scheduler_topic:cinder-schedulerwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]verbose:Truewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]sql_max_retries:10wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]periodic_fuzzy_delay:60wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]periodic_interval:60wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]instance_format:[instance:%(uuid)s]wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]rpc_response_timeout:60wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]service_down_time:60wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]default_notification_level:INFOwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]publish_errors:Falsewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]use_forwarded_for:Falsewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]logging_exception_prefix:%(asctime)s%(process)dTRACE%(name)s%(instance)swait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]volume_api_class:cinder.volume.api.APIwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]report_interval:10wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]scheduler_manager:cinder.scheduler.manager.SchedulerManagerwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]monkey_patch_modules:[]wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]rpc_thread_pool_size:64wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]quota_volumes:10wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]db_backend:sqlalchemywait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]snapshot_same_host:Truewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]state_path:/var/lib/cinderwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]sql_idle_timeout:3600wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]glance_host:192.168.0.111wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]log_format:%(asctime)s%(levelname)8s[%(name)s]%(message)swait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]osapi_max_request_body_size:114688wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]sql_retry_interval:10wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]root_helper:sudowait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]memcached_servers:Nonewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]logging_default_format_string:%(asctime)s%(process)d%(levelname)s%(name)s[-]%(instance)s%(message)swait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]osapi_volume_ext_list:[]wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]fake_rabbit:Falsewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]log_date_format:%Y-%m-%d%H:%M:%Swait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]use_syslog:Falsewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]syslog_log_facility:LOG_USERwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]bindir:/usr/lib/python2.7/dist-packages/binwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]auth_strategy:keystonewait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]config_file:['/etc/cinder/cinder.conf']wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]instance_uuid_format:[instance:%(uuid)s]wait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]db_driver:cinder.dbwait/usr/lib/python2.7/dist-packages/cinder/service.py:4202012-11-0614:16:3715266DEBUGcinder.service[-]volume_manager:cinder.volume.manager.VolumeManagerwait/usr/lib/python2.7/dist-packages/cinder/service.py:420
解决方案七:
楼主表示限于论坛每帖字符数限制和不能连续发。。这个规则的限制,我已经将全文发在博客里了。请走螺旋体直达http://blog.csdn.net/adela_09/article/details/8652257