谢谢您,日志有点多,请帮忙分析分析。
computer节点没见到日志报错,如下是在controller节点上的。
[root@controller ~]# openstack-status
== Nova services ==
openstack-nova-api: active
openstack-nova-cert: active
openstack-nova-compute: inactive (disabled on boot)
openstack-nova-network: inactive (disabled on boot)
openstack-nova-scheduler: active
openstack-nova-conductor: active
== Glance services ==
openstack-glance-api: active
openstack-glance-registry: active
== Keystone service ==
openstack-keystone: inactive (disabled on boot)
== Horizon service ==
openstack-dashboard: active
== neutron services ==
neutron-server: active
neutron-dhcp-agent: active
neutron-l3-agent: failed
neutron-metadata-agent: active
neutron-linuxbridge-agent: active
== Support services ==
mysqld: inactive (disabled on boot)
dbus: active
rabbitmq-server: active (disabled on boot)
memcached: active
== Keystone users ==
/usr/lib/python2.7/site-packages/keystoneclient/shell.py:64: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient.
'python-keystoneclient.', DeprecationWarning)
WARNING: unsupported identity-api-version 3, falling back to 2.0
/usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:145: DeprecationWarning: Constructing an instance of the keystoneclient.v2_0.client.Client class without a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
'the 2.0.0 release.', DeprecationWarning)
/usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:147: DeprecationWarning: Using the 'tenant_name' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_name' argument instead
super(Client, self).__init__(**kwargs)
/usr/lib/python2.7/site-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant_id' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_id' argument instead
return f(*args, **kwargs)
/usr/lib/python2.7/site-packages/keystoneclient/httpclient.py:376: DeprecationWarning: Constructing an HTTPClient instance without using a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
'the 2.0.0 release.', DeprecationWarning)
Authorization Failed: The resource could not be found. (HTTP 404) (Request-ID: req-cf651f61-ed67-4c3e-9a50-257554834014)
== Glance images ==
+--------------------------------------+--------+
| ID | Name |
+--------------------------------------+--------+
| 58cc8b26-05f6-4976-9788-3467f5649069 | cirros |
+--------------------------------------+--------+
== Nova managed services ==
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| 1 | nova-cert | controller | internal | enabled | up | 2016-01-18T06:51:05.000000 | - |
| 2 | nova-consoleauth | controller | internal | enabled | up | 2016-01-18T06:51:05.000000 | - |
| 3 | nova-conductor | controller | internal | enabled | up | 2016-01-18T06:51:04.000000 | - |
| 5 | nova-scheduler | controller | internal | enabled | up | 2016-01-18T06:51:05.000000 | - |
| 6 | nova-compute | computer1 | nova | enabled | up | 2016-01-18T06:50:58.000000 | - |
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
== Nova networks ==
+--------------------------------------+--------+------+
| ID | Label | Cidr |
+--------------------------------------+--------+------+
| a0bde269-d320-4853-9045-e2e90ba14031 | public | - |
+--------------------------------------+--------+------+
== Nova instance flavors ==
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| 1 | m1.tiny | 512 | 1 | 0 | | 1 | 1.0 | True |
| 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 | True |
| 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 | True |
| 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 | True |
| 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
== Nova instances ==
+----+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+----+------+--------+------------+-------------+----------+
+----+------+--------+------------+-------------+----------+
[root@controller ~]# nova service-list
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| 1 | nova-cert | controller | internal | enabled | up | 2016-01-18T06:51:15.000000 | - |
| 2 | nova-consoleauth | controller | internal | enabled | up | 2016-01-18T06:51:15.000000 | - |
| 3 | nova-conductor | controller | internal | enabled | up | 2016-01-18T06:51:14.000000 | - |
| 5 | nova-scheduler | controller | internal | enabled | up | 2016-01-18T06:51:15.000000 | - |
| 6 | nova-compute | computer1 | nova | enabled | up | 2016-01-18T06:51:18.000000 | - |
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
#[root@controller keystone]# tail -100 keystone.log
2016-01-18 14:51:50.472 4371 INFO keystone.common.wsgi [req-5e792ba7-4b66-4bd0-a96d-2735fe4535e1 - - - - -] GET http://controller:35357/
2016-01-18 14:51:50.480 4374 INFO keystone.common.wsgi [req-b787678c-7dd2-4d1e-9e30-5d0d3a876003 - - - - -] POST http://controller:35357/v3/auth/tokens
2016-01-18 14:51:50.547 4372 INFO keystone.common.wsgi [req-867f218c-0273-4212-89c1-badf668848af - - - - -] GET http://controller:35357/
2016-01-18 14:51:50.561 4371 INFO keystone.common.wsgi [req-4ea89a76-2ba0-4832-ae20-3990aefd9f48 - - - - -] GET http://controller:35357/v3/auth/tokens
2016-01-18 14:51:50.848 4370 INFO keystone.common.wsgi [req-1414aef8-e365-40d8-ae59-9db308896e7e - - - - -] POST http://localhost:5000/v2.0/tokens
2016-01-18 14:51:50.849 4370 WARNING keystone.common.wsgi [req-1414aef8-e365-40d8-ae59-9db308896e7e - - - - -] Expecting to find username or userId in passwordCredentials - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error.
[root@controller nova]# tail -100 nova-api.log
2016-01-18 14:51:50.851 3592 ERROR nova.api.openstack.extensions self.auth_ref = self.get_auth_ref(session)
2016-01-18 14:51:50.851 3592 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/v2.py", line 88, in get_auth_ref
2016-01-18 14:51:50.851 3592 ERROR nova.api.openstack.extensions authenticated=False, log=False)
2016-01-18 14:51:50.851 3592 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/keystoneclient/session.py", line 501, in post
2016-01-18 14:51:50.851 3592 ERROR nova.api.openstack.extensions return self.request(url, 'POST', **kwargs)
2016-01-18 14:51:50.851 3592 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/keystoneclient/utils.py", line 337, in inner
2016-01-18 14:51:50.851 3592 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2016-01-18 14:51:50.851 3592 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/keystoneclient/session.py", line 401, in request
2016-01-18 14:51:50.851 3592 ERROR nova.api.openstack.extensions raise exceptions.from_response(resp, method, url)
2016-01-18 14:51:50.851 3592 ERROR nova.api.openstack.extensions BadRequest: Expecting to find username or userId in passwordCredentials - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-1414aef8-e365-40d8-ae59-9db308896e7e)
2016-01-18 14:51:50.851 3592 ERROR nova.api.openstack.extensions
2016-01-18 14:51:50.984 3592 INFO nova.api.openstack.wsgi [req-f577550f-adc2-4be6-a90a-569162f7fa97 859afdfb5ee44e92b1b879c75a71c43f ab434fde66ea4dc391e9c423822b5ddf - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'keystoneclient.exceptions.BadRequest'>
[root@controller nova]# tail -100 nova-scheduler.log
2016-01-18 14:50:28.385 1288 ERROR oslo.messaging._drivers.impl_rabbit [req-c6758fd5-a80e-4e9d-b6d3-e14c80d9837f - - - - -] AMQP server on controller:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 2 seconds.
2016-01-18 14:50:29.402 1288 ERROR oslo.messaging._drivers.impl_rabbit [req-c6758fd5-a80e-4e9d-b6d3-e14c80d9837f - - - - -] AMQP server on controller:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 2 seconds.
2016-01-18 14:50:30.452 1288 INFO oslo.messaging._drivers.impl_rabbit [req-c6758fd5-a80e-4e9d-b6d3-e14c80d9837f - - - - -] Reconnected to AMQP server on controller:5672
|