openstack-train neutron server.log报错

本文记录了Neutron server.log中出现的警告和错误信息,包括未能找到预期名称Stdattrs_common,处理扩展(auto-allocated-topology)失败,以及资源注册重复警告等问题。通过修改配置文件中的service_plugins参数,成功解决了部分问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

neutron -server.log报错
server.log:2020-04-06 17:48:36.752 34563 WARNING neutron.api.extensions [req-47fd5c50-50a1-436f-83c7-32fde22fb959 - - - - -] Did not find expected name "Stdattrs_common" in /usr/lib/python2.7/site-packages/neutron/extensions/stdattrs_common.py
 

server.log:2020-04-06 17:48:36.763 34563 ERROR neutron.api.extensions [req-47fd5c50-50a1-436f-83c7-32fde22fb959 - - - - -] Unable to process extensions (auto-allocated-topology) because the configured plugins do not satisfy their requirements. Some features will not work as expected.

server.log:2020-04-06 17:48:36.783 34563 WARNING neutron.quota.resource_registry [req-47fd5c50-50a1-436f-83c7-32fde22fb959 - - - - -] rbac_policy is already registered
server.log:2020-04-06 17:48:36.830 34563 WARNING keystonemiddleware.auth_token [req-47fd5c50-50a1-436f-83c7-32fde22fb959 - - - - -] AuthToken middleware is set with keystone_authtoken.service_token_roles_required set to False. This is backwards compatible but deprecated behaviour. Please set this to True.

 

WARNING 已被习惯无视!!!

无法处理扩展(自动分配的拓扑),因为配置的插件无法满足其要求。 某些功能将无法正常使用。

插件少了or要求多了?查看哪个配置文件呢?

/etc/neutron/neutron.conf

core_plugin = ml2

service_plugins =

只有service_plugins是空的。要加东西?

看看官网,也是空的。

[DEFAULT]
...
core_plugin = ml2
service_plugins =

google到有人使用service_plugins = router 报错消失。ml2不需要router吧!先试试。

server.log:2020-04-06 18:38:33.674 36480 WARNING neutron.api.extensions [req-08951356-9f1f-4a82-8224-206122789cd7 - - - - -] Did not find expected name "Stdattrs_common" in /usr/lib/python2.7/site-packages/neutron/extensions/stdattrs_common.py
server.log:2020-04-06 18:38:33.701 36480 WARNING neutron.quota.resource_registry [req-08951356-9f1f-4a82-8224-206122789cd7 - - - - -] subnetpool is already registered
server.log:2020-04-06 18:38:33.704 36480 WARNING neutron.quota.resource_registry [req-08951356-9f1f-4a82-8224-206122789cd7 - - - - -] subnetpool is already registered
server.log:2020-04-06 18:38:33.740 36480 WARNING neutron.quota.resource_registry [req-08951356-9f1f-4a82-8224-206122789cd7 - - - - -] subnetpool is already registered
server.log:2020-04-06 18:38:33.741 36480 WARNING neutron.quota.resource_registry [req-08951356-9f1f-4a82-8224-206122789cd7 - - - - -] subnetpool is already registered
server.log:2020-04-06 18:38:33.743 36480 WARNING neutron.quota.resource_registry [req-08951356-9f1f-4a82-8224-206122789cd7 - - - - -] security_group is already registered
server.log:2020-04-06 18:38:33.745 36480 WARNING neutron.quota.resource_registry [req-08951356-9f1f-4a82-8224-206122789cd7 - - - - -] security_group_rule is already registered
server.log:2020-04-06 18:38:33.746 36480 WARNING neutron.quota.resource_registry [req-08951356-9f1f-4a82-8224-206122789cd7 - - - - -] rbac_policy is already registered
server.log:2020-04-06 18:38:33.746 36480 WARNING neutron.quota.resource_registry [req-08951356-9f1f-4a82-8224-206122789cd7 - - - - -] router is already registered
server.log:2020-04-06 18:38:33.747 36480 WARNING neutron.quota.resource_registry [req-08951356-9f1f-4a82-8224-206122789cd7 - - - - -] floatingip is already registered
server.log:2020-04-06 18:38:34.078 36480 WARNING keystonemiddleware.auth_token [req-08951356-9f1f-4a82-8224-206122789cd7 - - - - -] AuthToken middleware is set with keystone_authtoken.service_token_roles_required set to False. This is backwards compatible but deprecated behaviour. Please set this to True.
server.log:2020-04-06 18:39:32.410 36554 WARNING neutron.db.agents_db [req-4c9ad04f-e67e-4480-84d3-0b85b7b6cebc - - - - -] Agent healthcheck: found 1 dead agents out of 3:
server.log:2020-04-06 18:39:41.444 36554 WARNING neutron.db.agentschedulers_db [req-b01d573d-b1b4-4c6e-b174-9bc121d66fe9 - - - - -] Agent efb46ffd-e2ae-4319-bb35-bdfa6caf1fc7 is down. Type: DHCP agent, host: openstack01, heartbeat: 2020-04-06 10:38:05
server.log:2020-04-06 18:39:41.453 36554 WARNING neutron.db.agentschedulers_db [req-b01d573d-b1b4-4c6e-b174-9bc121d66fe9 - - - - -] No DHCP agents available, skipping rescheduling
server.log:2020-04-06 18:40:09.424 36554 WARNING neutron.db.agents_db [req-4c9ad04f-e67e-4480-84d3-0b85b7b6cebc - - - - -] Agent healthcheck: found 1 dead agents out of 3:

 

ERROR消失了,不知道原理是什么?一脸不会。

### 如何在 CentOS Docker 容器中安装字体 为了使应用程序能够在基于 CentOS 的 Docker 容器内正确渲染中文字符,需要确保容器中有合适的中文字体。以下是具体的操作方法: #### 准备工作 确保已经拥有一个运行中的 CentOS 基础镜像的 Docker 容器。 #### 更新包管理器缓存并安装必要的工具 更新 yum 缓存,并安装 `yum-utils` 工具来帮助处理软件源操作: ```bash yum update -y && yum install -y yum-utils ``` #### 添加第三方仓库 (可选) 某些情况下可能希望访问额外的字体资源库,比如 PowerTools 或者 EPEL 源。对于 CentOS 8 可以启用 PowerTools 软件源: ```bash yum-config-manager --set-enabled powertools ``` 而对于其他版本则可以选择添加 EPEL 源: ```bash yum install epel-release -y ``` #### 安装常用中文字体 根据需求选择适合的中文字体进行安装。这里推荐几个常见的开源免费中文字体选项: - **WenQuanYi Micro Hei**: 微软雅黑风格的无衬线字体。 ```bash yum install wenquanyi-microhei-fonts -y ``` - **Noto CJK Fonts by Google**: 提供多种样式和权重的支持。 ```bash yum install noto-sans-cjk-sc-fonts -y ``` - **AR PL UMing TW & HK**: 收录繁体汉字的传统宋体字型。 ```bash yum install arphic-bkai00mp-fonts arphic-bsmi00lp-fonts -y ``` 完成上述命令执行之后,重启应用服务让新的字体设置生效即可解决大部分场景下的中文显示问题[^1]。
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值