openstack报错排查

openstack各个组件

openstack要保证各个组件能正常启动 否则创建实例等会报错

在启动openstack的时候 要查看各个服务是否正常启动了,如果有部分服务没有启动,则项目不能正常运行

[root@controller ~]# systemctl status open
openstack-aodh-api.service                    openstack-nova-console.service
openstack-aodh-evaluator.service              openstack-nova-metadata-api.service
openstack-aodh-listener.service               openstack-nova-novncproxy.service
openstack-aodh-notifier.service               openstack-nova-os-compute-api.service
openstack-ceilometer-central.service          openstack-nova-scheduler.service
openstack-ceilometer-ipmi.service             openstack-nova-xvpvncproxy.service
openstack-ceilometer-notification.service     openstack-swift-account-auditor.service
openstack-ceilometer-polling.service          openstack-swift-account-reaper.service
openstack-cinder-api.service                  openstack-swift-account-replicator.service
openstack-cinder-backup.service               openstack-swift-account.service
openstack-cinder-scheduler.service            openstack-swift-container-auditor.service
openstack-cinder-volume.service               openstack-swift-container-reconciler.service
openstack-glance-api.service                  openstack-swift-container-replicator.service
openstack-glance-registry.service             openstack-swift-container.service
openstack-glance-scrubber.service             openstack-swift-container-sharder.service
openstack-gnocchi-api.service                 openstack-swift-container-sync.service
openstack-gnocchi-metricd.service             openstack-swift-container-updater.service
openstack-gnocchi-statsd.service              openstack-swift-object-auditor.service
openstack-heat-api-cfn.service                openstack-swift-object-expirer.service
openstack-heat-api.service                    openstack-swift-object-reconstructor.service
openstack-heat-engine.service                 openstack-swift-object-replicator.service
openstack-losetup.service                     openstack-swift-object.service
openstack-nova-api.service                    openstack-swift-object-updater.service
openstack-nova-compute.service                openstack-swift-proxy.service
openstack-nova-conductor.service              openvswitch.service
openstack-nova-consoleauth.service            
[root@controller ~]# systemctl status openvswitch.service 
● openvswitch.service - Open vSwitch
   Loaded: loaded (/usr/lib/systemd/system/openvswitch.service; enabled; vendor preset: disabled)
   Active: active (exited) since 二 2020-08-04 22:56:58 CST; 10h ago
 Main PID: 24683 (code=exited, status=0/SUCCESS)
    Tasks: 0
   CGroup: /system.slice/openvswitch.service

8月 04 22:56:58 controller systemd[1]: Starting Open vSwitch...
8月 04 22:56:58 controller systemd[1]: Started Open vSwitch.
[root@controller ~]# systemctl status neutron-
neutron-destroy-patch-ports.service  neutron-metering-agent.service
neutron-dhcp-agent.service           neutron-netns-cleanup.service
neutron-l3-agent.service             neutron-openvswitch-agent.service
neutron-linuxbridge-cleanup.service  neutron-ovs-cleanup.service
neutron-metadata-agent.service       neutron-server.service
[root@controller ~]# systemctl status neutron-openvswitch-agent.service 
● neutron-openvswitch-agent.service - OpenStack Neutron Open vSwitch Agent
   Loaded: loaded (/usr/lib/systemd/system/neutron-openvswitch-agent.service; enabled; vendor preset: disabled)
   Active: inactive (dead) since 二 2020-08-04 23:28:38 CST; 9h ago
 Main PID: 25460 (code=exited, status=0/SUCCESS)

8月 04 22:57:34 controller neutron-openvswitch-agent[25460]: net_mlx5: cannot initialize...)
8月 04 22:57:34 controller neutron-openvswitch-agent[25460]: PMD: net_mlx4: cannot load ...y
8月 04 22:57:34 controller neutron-openvswitch-agent[25460]: PMD: net_mlx4: cannot initi...)
8月 04 22:57:35 controller sudo[25662]:  neutron : TTY=unknown ; PWD=/ ; USER=root ; C...onf
8月 04 22:57:36 controller ovs-vsctl[25694]: ovs|00001|vsctl|INFO|Called as /bin/ovs-vs...er
8月 04 22:57:36 controller ovs-vsctl[25702]: ovs|00001|vsctl|INFO|Called as /bin/ovs-vs...er
8月 04 22:57:36 controller ovs-vsctl[25702]: ovs|00002|ovsdb_idl|WARN|transaction error: ...
8月 04 23:20:39 controller sudo[29765]:  neutron : TTY=unknown ; PWD=/ ; USER=root ; C...onf
8月 04 23:28:36 controller systemd[1]: Stopping OpenStack Neutron Open vSwitch Agent...
8月 04 23:28:38 controller systemd[1]: Stopped OpenStack Neutron Open vSwitch Agent.
Hint: Some lines were ellipsized, use -l to show in full.
[root@controller ~]# systemctl start neutron-openvswitch-agent.service 

要保证这些服务都能正常启动

[root@controller ~]# systemctl status neutron-openvswitch-agent.service 

 

[root@controller ~]# systemctl status openvswitch.service 

 

©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页