openstack报错排查

news/2024/10/19 0:20:18/

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 vSwitchLoaded: loaded (/usr/lib/systemd/system/openvswitch.service; enabled; vendor preset: disabled)Active: active (exited) since 二 2020-08-04 22:56:58 CST; 10h agoMain PID: 24683 (code=exited, status=0/SUCCESS)Tasks: 0CGroup: /system.slice/openvswitch.service8月 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 AgentLoaded: 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 agoMain 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 

 


http://www.ppmy.cn/news/248247.html

相关文章

Spark执行spark-shell 报错 Cannot create directory /tmp/hive/root/xxx. Name node is in safe mode

1. 问题: Setting default log level to "WARN". To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel). 20/11/05 21:03:21 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your pla…

Cannot create directory /tmp/hive/root/...... Name node is in safe mode

因为hadoop的安全模式导致dbeaver不能连接hive报错 Cannot create directory /tmp/hive/root/… Name node is in safe mode 什么原因导致hadoop集群启动安全模式 Df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 32G 0 32G 0% /dev tmpfs 32G 0 32G 0% /dev/shm t…

11.6 MariaDB安装 11.7/11.8/11.9 Apache安装

2019独角兽企业重金招聘Python工程师标准>>> 11.6 MariaDB安装 准备工作 因为MariaDB的二进制包镜像源在国外地址,所以预先下载了该包到本地物理机,使用lrzsz工具将该包上传至虚拟机/usr/local/src目录进行安装。用的香港的云服务器下载 上传…

RTL系列WIFI模组Linux驱动移植

文章目录 1 驱动源码下载2 驱动移植2.1 源码的拷贝2.2 源代码的修改2.3 将wifi 驱动添加到内核中2.3.1 修改 Kconfig 文件2.3.2 修改Makefile2.3.3 配置Linux内核2.3.4 编译 RTL8723BU 驱动模块 3 编译出错解决3.1 _seqdump 错误3.2 __DATE__ 和 __TIME__ 错误3.3 strnicmp错误…

haproxy安装可能出现的问题

问题一: 启动提示错误: haproxy.service: Failed at step EXEC spawning /chris/haproxy/sbin/haproxy: Permission denied 解决方案: SELinux 搞的鬼。 关闭 sed -i s/enforcing/disabled/ /etc/selinux/config #永久 setenforce 0 #临…

2020年第十一届蓝桥杯决赛JAVA B G题“皮亚诺曲线距离“

2020年第十一届蓝桥杯决赛JAVA B G题"皮亚诺曲线距离" 2020国赛 JAVA B组 个人题解目录 【问题描述】 皮亚诺曲线是一条平面内的曲线。 下图给出了皮亚诺曲线的 1 阶情形,它是从左下角出发,经过一个 33 的 方格中的每一个格子,最终…

java实现加减乘除运算符随机生成十道题并判断对错_java——随机口算题(加减乘除随机)...

java——随机口算题(加减乘除随机) import java.util.Scanner; public class jisuan {static int wrongnumber=0; public static void main(String[] args) {for(int i=0;i<5;i++) {System.out.print((i+1)+"."+ ""); int a=(int)(System.currentTimeMi…

深入理解计算机编码与字符集的区别

1、编码表与字符集的区别 比如&#xff0c;unicode是字符集&#xff08;万国码&#xff09;&#xff0c;但计算机如何存储编码&#xff08;几个字节存储&#xff09;&#xff0c;这时候要用到编码规则&#xff08;UTF-8&#xff09; 举例&#xff1a; 用记事本编辑的时候&am…