将设为首页浏览此站
开启辅助访问 天气与日历 收藏本站联系我们切换到窄版

易陆发现论坛

 找回密码
 开始注册
查看: 119|回复: 1
收起左侧

ERROR nova ConfigFileValueError: Value for option enabled from LocationInfo Unex

[复制链接]
发表于 2021-12-26 17:35:20 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?开始注册

x
2021-12-26 17:28:56.713 8927 INFO os_vif [-] Loaded VIF plugins: ovs, linux_bridge, noop" s2 l2 _& `5 Q% z: w+ F
2021-12-26 17:28:57.040 8927 WARNING keystoneauth.discover [req-037f76a8-16d0-44e2-839d-f78a04efb7c4 - - - - -] Failed to contact the endpoint at http://controller1:8778 for discovery. Fallback to using that endpoint as the base url.: InternalServerError: Internal Server Error (HTTP 500)
( W8 L& ^, ~$ [& F8 Z, e4 x2021-12-26 17:28:57.040 8927 WARNING oslo_config.cfg [req-037f76a8-16d0-44e2-839d-f78a04efb7c4 - - - - -] Deprecated: Option "use_neutron" from group "DEFAULT" is deprecated for removal (
& ]' s1 l  v+ f' v. X  f8 m% B- Anova-network is deprecated, as are any related configuration options.- x- R+ |9 X1 E5 U7 N; y
).  Its value may be silently ignored in the future.
' Q( ?1 V4 f, a. g3 [$ l2021-12-26 17:28:57.055 8927 INFO nova.virt.driver [req-037f76a8-16d0-44e2-839d-f78a04efb7c4 - - - - -] Loading compute driver 'libvirt.LibvirtDriver'
% c6 v$ J9 N2 n' M2021-12-26 17:28:57.184 8927 WARNING oslo_config.cfg [req-037f76a8-16d0-44e2-839d-f78a04efb7c4 - - - - -] Deprecated: Option "firewall_driver" from group "DEFAULT" is deprecated for removal (7 {5 _: Z: @8 x+ X! C- u$ E
nova-network is deprecated, as are any related configuration options.
! v1 O; [8 _4 j, f7 s  R0 `- T* `).  Its value may be silently ignored in the future.
% b* v/ @$ L. ^  e3 n2021-12-26 17:28:57.190 8927 WARNING os_brick.initiator.connectors.remotefs [req-037f76a8-16d0-44e2-839d-f78a04efb7c4 - - - - -] Connection details not present. RemoteFsClient may not initialize properly.% ]9 }5 O' _+ i" r' G
2021-12-26 17:28:57.196 8927 WARNING oslo_config.cfg [req-037f76a8-16d0-44e2-839d-f78a04efb7c4 - - - - -] Deprecated: Option "dhcpbridge" from group "DEFAULT" is deprecated for removal (% z. l$ i( w2 v& D+ N7 k) O& h
nova-network is deprecated, as are any related configuration options.0 V% @( M& J0 K7 D* C; t' o
).  Its value may be silently ignored in the future.
3 F) D: w. A/ s: }( Y3 @2021-12-26 17:28:57.197 8927 WARNING oslo_config.cfg [req-037f76a8-16d0-44e2-839d-f78a04efb7c4 - - - - -] Deprecated: Option "dhcpbridge_flagfile" from group "DEFAULT" is deprecated for removal (
9 T5 d5 a8 Q; `+ H$ D3 pnova-network is deprecated, as are any related configuration options.
4 Z+ l3 m" Z8 y) e4 u).  Its value may be silently ignored in the future.5 [6 D. j% P# e
2021-12-26 17:28:57.198 8927 WARNING oslo_config.cfg [req-037f76a8-16d0-44e2-839d-f78a04efb7c4 - - - - -] Deprecated: Option "force_dhcp_release" from group "DEFAULT" is deprecated for removal (
. @$ D; T; N+ bnova-network is deprecated, as are any related configuration options.5 D! o2 ?; X. F* o6 P
).  Its value may be silently ignored in the future.) S5 y$ S7 E& W! S( W
2021-12-26 17:28:57.201 8927 WARNING oslo_config.cfg [req-037f76a8-16d0-44e2-839d-f78a04efb7c4 - - - - -] Deprecated: Option "linuxnet_interface_driver" from group "DEFAULT" is deprecated for removal (9 r# A2 y4 ?- i# b' M
nova-network is deprecated, as are any related configuration options.
/ [& ~9 F5 [& f& ~).  Its value may be silently ignored in the future.
4 q3 f1 e9 d* G; d6 `. L2021-12-26 17:28:57.208 8927 WARNING oslo_config.cfg [req-037f76a8-16d0-44e2-839d-f78a04efb7c4 - - - - -] Deprecated: Option "auth_strategy" from group "DEFAULT" is deprecated. Use option "auth_strategy" from group "api".
) E  m  o9 q2 a+ Z2021-12-26 17:28:57.222 8927 CRITICAL nova [req-037f76a8-16d0-44e2-839d-f78a04efb7c4 - - - - -] Unhandled error: ConfigFileValueError: Value for option enabled from LocationInfo(location=<Locations.user: (4, True)>, detail='/etc/nova/nova.conf') is not valid: Unexpected boolean value '='3 ^: t; [+ P& B5 J% Z! G
2021-12-26 17:28:57.222 8927 ERROR nova Traceback (most recent call last):/ S/ n( n# q$ [: ~: d" a1 C, f* S, r
2021-12-26 17:28:57.222 8927 ERROR nova   File "/usr/bin/nova-compute", line 10, in <module>
3 G) f7 }2 ~; r' Z  w* Q) g2 k2021-12-26 17:28:57.222 8927 ERROR nova     sys.exit(main())
& m! K/ y& L1 M6 M( F2021-12-26 17:28:57.222 8927 ERROR nova   File "/usr/lib/python2.7/site-packages/nova/cmd/compute.py", line 59, in main
5 y+ L. |% g1 f8 R, \: l2021-12-26 17:28:57.222 8927 ERROR nova     service.wait(): Z8 `; B& E! S- ~
2021-12-26 17:28:57.222 8927 ERROR nova   File "/usr/lib/python2.7/site-packages/nova/service.py", line 493, in wait9 P. A) d/ r( D9 n
2021-12-26 17:28:57.222 8927 ERROR nova     _launcher.wait()
4 r7 O2 h' @, B& S' m8 Y9 z2021-12-26 17:28:57.222 8927 ERROR nova   File "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 392, in wait' H- C2 D" k; t% Q% F2 Q
2021-12-26 17:28:57.222 8927 ERROR nova     status, signo = self._wait_for_exit_or_signal()
& n- `  i5 _5 y7 C. K0 p2021-12-26 17:28:57.222 8927 ERROR nova   File "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 367, in _wait_for_exit_or_signal
: G: ?( m8 J/ i; ?5 g2021-12-26 17:28:57.222 8927 ERROR nova     self.conf.log_opt_values(LOG, logging.DEBUG)6 j9 j8 B7 O' x
2021-12-26 17:28:57.222 8927 ERROR nova   File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2589, in log_opt_values5 u, K  ]  ]3 p# X8 v
2021-12-26 17:28:57.222 8927 ERROR nova     _sanitize(opt, getattr(group_attr, opt_name)))
) d7 X7 v0 C' _/ T! n2021-12-26 17:28:57.222 8927 ERROR nova   File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 3134, in __getattr__
; W6 W& }% w4 z2021-12-26 17:28:57.222 8927 ERROR nova     return self._conf._get(name, self._group)
# e) m9 [% L: G, v2021-12-26 17:28:57.222 8927 ERROR nova   File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2631, in _get
, s: u. c7 I' n: ?2021-12-26 17:28:57.222 8927 ERROR nova     value, loc = self._do_get(name, group, namespace)
: }: X' t7 I+ k/ q- H# Q2021-12-26 17:28:57.222 8927 ERROR nova   File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2705, in _do_get" ]. a5 Q9 n( D
2021-12-26 17:28:57.222 8927 ERROR nova     raise ConfigFileValueError(message)3 U) m$ _8 v) t0 N4 p4 T/ o& |
2021-12-26 17:28:57.222 8927 ERROR nova ConfigFileValueError: Value for option enabled from LocationInfo(location=<Locations.user: (4, True)>, detail='/etc/nova/nova.conf') is not valid: Unexpected boolean value '='! }3 E" z5 [. _0 C& x6 w; S
2021-12-26 17:28:57.222 8927 ERROR nova
* a: n4 G* e) G& W
2 r# [4 U' o8 s+ ]$ J, {$ K
" y3 @8 ~1 I9 v/ Q% G报错,应该是配置文件配置有问题。多了一个=号
$ P" F  A' S* _4 U( w* g% g/ I* U/ f* F

: D; k. r$ L( i" y修改配置文件,重启服务:
6 D( g, |- t5 i! S1 g6 y+ ^[root@compute1 ~]# vim /etc/nova/nova.conf ) ?. U, X4 \5 Z
去掉文件中=号位置:9 K* Z' `2 e2 z9 n7 P! G6 N

( x9 @1 M7 @( ?[root@compute1 ~]# systemctl restart openstack-nova-compute.service 6 {- d& P$ p( x; a8 E$ k
; q, c5 |9 ?  q; W. s
 楼主| 发表于 2021-12-26 17:43:11 | 显示全部楼层
[root@compute1 ~]# systemctl status openstack-nova-compute.service 9 ~* m8 l2 v/ Z1 n/ I2 x. P/ n
● openstack-nova-compute.service - OpenStack Nova Compute Server3 g, M2 {6 l, ?6 E7 ?5 m& v7 A
   Loaded: loaded (/usr/lib/systemd/system/openstack-nova-compute.service; enabled; vendor preset: disabled)
3 h' L: V  |+ d   Active: active (running) since Sun 2021-12-26 17:37:06 CST; 27s ago
) F3 ?+ g; M! S& c5 \* Y Main PID: 11531 (nova-compute)9 y: H1 N" U, w6 y6 d
    Tasks: 229 L8 J/ k: _# B
   CGroup: /system.slice/openstack-nova-compute.service) v, e7 A, _6 c0 E, j4 b  a9 E1 t
           └─11531 /usr/bin/python2 /usr/bin/nova-compute; x5 I, N8 ^& ]' P9 o; I
7 k% C2 T, Z9 O  L
Dec 26 17:37:04 compute1 systemd[1]: Starting OpenStack Nova Compute Server...6 i' g% j4 ^8 J4 o: C" r, N7 J2 c
Dec 26 17:37:06 compute1 systemd[1]: Started OpenStack Nova Compute Server.
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

如有购买积分卡请联系497906712

QQ|返回首页|Archiver|手机版|小黑屋|易陆发现 点击这里给我发消息

GMT+8, 2022-1-22 14:10 , Processed in 0.060633 second(s), 21 queries .

Powered by LR.LINUX.cloud bbs168x X3.2 Licensed

© 2012-2022 Comsenz Inc.

快速回复 返回顶部 返回列表