renzhengeek / issues

0 stars 0 forks source link

install openstack:nova.service:start error #6

Closed renzhengeek closed 8 years ago

renzhengeek commented 9 years ago
controller:~ # cat /var/log/nova/nova-cert.log 
2015-04-15 13:29:34.267 30279 AUDIT nova.service [-] Starting cert node (version 2014.2.3-2014.2.3.dev63)
2015-04-15 13:29:35.559 30279 ERROR nova.openstack.common.threadgroup [-] (ProgrammingError) (1146, "Table 'nova.services' doesn't exist") 'SELECT services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.created_at AS services_created_at, services.updated_at AS services_updated_at, services.id AS services_id, services.host AS services_host, services.`binary` AS services_binary, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.disabled_reason AS services_disabled_reason \nFROM services \nWHERE services.deleted = %s AND services.host = %s AND services.`binary` = %s \n LIMIT %s' (0, 'controller', 'nova-cert', 1)
renzhengeek commented 9 years ago
controller:~ # nova-manage db sync
controller:~ # nova service-list
+----+----------------+------------+----------+---------+-------+------------+-----------------+
| Id | Binary         | Host       | Zone     | Status  | State | Updated_at | Disabled Reason |
+----+----------------+------------+----------+---------+-------+------------+-----------------+
| 1  | nova-conductor | controller | internal | enabled | down  | -          | -               |
+----+----------------+------------+----------+---------+-------+------------+-----------------+
controller:~ # systemctl start openstack-nova-api.service openstack-nova-cert.service   openstack-nova-consoleauth.service openstack-nova-scheduler.service   openstack-nova-conductor.service openstack-nova-novncproxy.service\
> ^C
controller:~ # systemctl restart openstack-nova-api.service openstack-nova-cert.service   openstack-nova-consoleauth.service openstack-nova-scheduler.service   openstack-nova-conductor.service openstack-nova-novncproxy.service
controller:~ # nova service-list
+----+------------------+------------+----------+---------+-------+------------+-----------------+
| Id | Binary           | Host       | Zone     | Status  | State | Updated_at | Disabled Reason |
+----+------------------+------------+----------+---------+-------+------------+-----------------+
| 1  | nova-conductor   | controller | internal | enabled | down  | -          | -               |
| 2  | nova-consoleauth | controller | internal | enabled | up    | -          | -               |
| 3  | nova-cert        | controller | internal | enabled | up    | -          | -               |
| 4  | nova-scheduler   | controller | internal | enabled | up    | -          | -               |
+----+------------------+------------+----------+---------+-------+------------+-----------------+
controller:~ # systemctl stop openstack-nova-api.service openstack-nova-cert.service   openstack-nova-consoleauth.service openstack-nova-scheduler.service   openstack-nova-conductor.service openstack-nova-novncproxy.service
controller:~ # nova-manage db sync
controller:~ # nova service-list
ERROR (ConnectionError): ('Connection aborted.', error(111, 'Connection refused'))
controller:~ # systemctl start openstack-nova-api.service openstack-nova-cert.service   openstack-nova-consoleauth.service openstack-nova-scheduler.service   openstack-nova-conductor.service openstack-nova-novncproxy.service
controller:~ # nova service-list
+----+------------------+------------+----------+---------+-------+------------+-----------------+
| Id | Binary           | Host       | Zone     | Status  | State | Updated_at | Disabled Reason |
+----+------------------+------------+----------+---------+-------+------------+-----------------+
| 1  | nova-conductor   | controller | internal | enabled | down  | -          | -               |
| 2  | nova-consoleauth | controller | internal | enabled | down  | -          | -               |
| 3  | nova-cert        | controller | internal | enabled | down  | -          | -               |
| 4  | nova-scheduler   | controller | internal | enabled | down  | -          | -               |
+----+------------------+------------+----------+---------+-------+------------+-----------------+
renzhengeek commented 9 years ago
2015-04-15 16:37:41.155 1812 ERROR oslo.messaging._drivers.impl_rabbit [req-a6a3f9cb-58c7-4608-b25e-0a7e6a9f4997 ] AMQP server controller:5672 closed the connection. Check login credentials: Socket closed
renzhengeek commented 9 years ago
controller:~ # rabbitmqctl change_password guest suse
Changing password for user "guest" ...
...done.
controller:~ # systemctl restart rabbitmq-server.service
controller:~ # nova-manage db sync
controller:~ # systemctl restart openstack-nova-api.service openstack-nova-cert.service   openstack-nova-consoleauth.service openstack-nova-scheduler.service   openstack-nova-conductor.service openstack-nova-novncproxy.service
controller:~ # systemctl restart 
Display all 135 possibilities? (y or n)
controller:~ # systemctl restart open
openstack-glance-api.service        openstack-nova-cert.service         openstack-nova-scheduler.service
openstack-glance-registry.service   openstack-nova-conductor.service    openvpn@
openstack-keystone.service          openstack-nova-consoleauth.service  
openstack-nova-api.service          openstack-nova-novncproxy.service   
controller:~ # systemctl restart openstack-keystone.service openstack-glance-api.service 
controller:~ # systemctl restart openstack-nova-api.service openstack-nova-cert.service   openstack-nova-consoleauth.service openstack-nova-scheduler.service   openstack-nova-conductor.service openstack-nova-novncproxy.service