Closed renzhengeek closed 8 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 | - | - |
+----+------------------+------------+----------+---------+-------+------------+-----------------+
controller:~ # nova-manage db sync
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
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