环境:openstack icehouse
有三个节点:
controller: keystone,glance, mysql, qpid, neutron-server, nova-api
network: neutron-agent, openswitch
compute: nova-compute
创建m1.tiny 和m1.small都正常,分配好浮f动IP后还可以远程访问。
但是创建m1.medium后,首先是创建成功,但是随后状态就会变成shutdown。之后不管怎么启动都不行。请看附件。
keystone.log:
2016-04-25 13:45:20.149 2435 DEBUG keystone.middleware.core [-] RBAC: auth_context: {'is_delegated_auth': False, 'user_id': u'2ef32fd08b704f1d97db22ea839fa952', 'roles': [], 'trustee_id': None, 'trustor_id': None, 'trust_id': None} process_request /usr/lib/python2.6/site-packages/keystone/middleware/core.py:281
2016-04-25 13:45:20.150 2435 DEBUG keystone.common.wsgi [-] arg_dict: {} __call__ /usr/lib/python2.6/site-packages/keystone/common/wsgi.py:181
2016-04-25 13:45:20.162 2435 INFO eventlet.wsgi.server [-] 10.20.0.10 - - [25/Apr/2016 13:45:20] "GET /v2.0/tenants HTTP/1.1" 200 300 0.017359
2016-04-25 13:47:01.426 2435 DEBUG keystone.middleware.core [-] RBAC: auth_context: {'is_delegated_auth': False, 'user_id': u'2ef32fd08b704f1d97db22ea839fa952', 'roles': [u'_member_'], 'trustee_id': None, 'trustor_id': None, 'project_id': u'1e05979a369744cfae8349ea9a477dc4', 'trust_id': None} process_request /usr/lib/python2.6/site-packages/keystone/middleware/core.py:281
2016-04-25 13:47:01.428 2435 DEBUG keystone.common.wsgi [-] arg_dict: {} __call__ /usr/lib/python2.6/site-packages/keystone/common/wsgi.py:181
2016-04-25 13:47:01.458 2435 INFO eventlet.wsgi.server [-] 10.20.0.10 - - [25/Apr/2016 13:47:01] "POST /v2.0/tokens HTTP/1.1" 200 1471 0.035259
2016-04-25 13:47:01.464 2435 DEBUG keystone.common.authorization [-] RBAC: Proceeding without tenant v2_token_to_auth_context /usr/lib/python2.6/site-packages/keystone/common/authorization.py:124
2016-04-25 13:47:01.465 2435 DEBUG keystone.middleware.core [-] RBAC: auth_context: {'is_delegated_auth': False, 'user_id': u'2ef32fd08b704f1d97db22ea839fa952', 'roles': [], 'trustee_id': None, 'trustor_id': None, 'trust_id': None} process_request /usr/lib/python2.6/site-packages/keystone/middleware/core.py:281
2016-04-25 13:47:01.467 2435 DEBUG keystone.common.wsgi [-] arg_dict: {} __call__ /usr/lib/python2.6/site-packages/keystone/common/wsgi.py:181
2016-04-25 13:47:01.481 2435 INFO eventlet.wsgi.server [-] 10.20.0.10 - - [25/Apr/2016 13:47:01] "GET /v2.0/tenants HTTP/1.1" 200 300 0.021254
compute.log显示:
2016-04-25 13:37:33.531 2563 WARNING nova.virt.libvirt.imagecache [-] Unknown base file: /var/lib/nova/instances/_base/efe2cdbb914f63ef11db1b4e28912994059d679b
2016-04-25 13:42:03.437 2563 WARNING nova.virt.disk.vfs.guestfs [req-fc33d8db-de8d-4d08-80ee-7dbd512587bd 2ef32fd08b704f1d97db22ea839fa952 1e05979a369744cfae8349ea9a477dc4] Failed to close augeas aug_close: do_aug_close: you must call 'aug-init' first to initialize Augeas
2016-04-25 13:42:23.062 2563 WARNING nova.compute.manager [-] [instance: 293da75c-5310-4dab-b289-347414a6d5da] Instance shutdown by itself. Calling the stop API.
2016-04-25 13:45:32.644 2563 WARNING nova.compute.manager [-] [instance: 293da75c-5310-4dab-b289-347414a6d5da] Instance shutdown by itself. Calling the stop API.
2016-04-25 13:48:49.982 2563 WARNING nova.compute.manager [-] Found 3 in the database and 2 on the hypervisor.
2016-04-25 13:58:50.642 2563 WARNING nova.compute.manager [-] Found 3 in the database and 2 on the hypervisor.
个人猜测是资源分配上出现问题或是资源不够,因为创建资源较少的实例就正常,资源较多的实例就会出现问题。但是始终不知道怎么定位这个问题。
请帮忙看下
|