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

易陆发现论坛

 找回密码
 开始注册
查看: 490|回复: 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
2 W" S! i5 X- a8 O1 b2021-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)! V/ D" B" i5 ?! ~; d% B' I
2021-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 (" n; m) e# _; U" n( l$ p& Q
nova-network is deprecated, as are any related configuration options.
0 L9 R: ?9 E( v! D* [9 M* A1 [( Z+ S).  Its value may be silently ignored in the future.- ^* F$ R. ~3 }1 h
2021-12-26 17:28:57.055 8927 INFO nova.virt.driver [req-037f76a8-16d0-44e2-839d-f78a04efb7c4 - - - - -] Loading compute driver 'libvirt.LibvirtDriver'3 x8 v& u1 @, T4 l) E5 N
2021-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 (
; }  R- S# ]" R1 W1 mnova-network is deprecated, as are any related configuration options.
% X0 I9 ?( O) m( u).  Its value may be silently ignored in the future.
# D8 _2 l: C$ s9 F. r- g2021-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.) H+ D! E% p' b
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 (7 q* f& _$ Y8 _" y6 s6 K) r
nova-network is deprecated, as are any related configuration options.
: e2 c0 R* N# ^  p+ o' C).  Its value may be silently ignored in the future.
$ b. L3 D4 b3 u# g4 ]/ W7 u) i2021-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 (
2 \9 j- x5 v* Z: l: O& ^nova-network is deprecated, as are any related configuration options.
) ?5 q: N$ k9 [7 a& h- R).  Its value may be silently ignored in the future.
9 e$ }3 e" |+ _/ N" v* P$ X, j2021-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 (
. ^7 L- c0 s& Q2 r9 k, znova-network is deprecated, as are any related configuration options." s4 |+ y; s& w2 `7 u
).  Its value may be silently ignored in the future.: s3 k4 B/ }: X# Y/ N& c
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 () r* l( Q; ]1 q5 E0 [
nova-network is deprecated, as are any related configuration options.
$ W( {2 m% f3 B/ d" q* T2 i9 C2 W. p).  Its value may be silently ignored in the future./ A* O6 n: U  [8 i5 G9 H2 g
2021-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".0 i. z/ o7 k1 _( Y0 V1 k
2021-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 '='
+ o9 x. H6 t/ y& t* w* G2021-12-26 17:28:57.222 8927 ERROR nova Traceback (most recent call last):. C8 c" V; w6 @- m/ D
2021-12-26 17:28:57.222 8927 ERROR nova   File "/usr/bin/nova-compute", line 10, in <module>2 b+ I1 b; @5 E. ~+ L: K2 |# ]7 q+ y
2021-12-26 17:28:57.222 8927 ERROR nova     sys.exit(main())
1 F1 s3 K% j. }* ^3 l2021-12-26 17:28:57.222 8927 ERROR nova   File "/usr/lib/python2.7/site-packages/nova/cmd/compute.py", line 59, in main
" z7 A% b- q2 h* e5 R* Z2021-12-26 17:28:57.222 8927 ERROR nova     service.wait()
, V% |; }, ~9 V: R: r# ]) F2021-12-26 17:28:57.222 8927 ERROR nova   File "/usr/lib/python2.7/site-packages/nova/service.py", line 493, in wait
9 K, b- r  X# _: x* h2021-12-26 17:28:57.222 8927 ERROR nova     _launcher.wait()$ _; T7 r: ]: T' Y1 a/ l
2021-12-26 17:28:57.222 8927 ERROR nova   File "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 392, in wait- l; I* |7 x- e: U, X9 \* m
2021-12-26 17:28:57.222 8927 ERROR nova     status, signo = self._wait_for_exit_or_signal()" W) j$ Q- F4 E9 C+ ?$ V6 B
2021-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_signal1 R. m; ]$ O. w, J8 |0 G
2021-12-26 17:28:57.222 8927 ERROR nova     self.conf.log_opt_values(LOG, logging.DEBUG)
1 i0 v: p3 U: C/ ~' o( ]9 g2021-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_values
- H$ t! v+ {+ h2 L! s2021-12-26 17:28:57.222 8927 ERROR nova     _sanitize(opt, getattr(group_attr, opt_name)))
* V( H. i- Z& q& k2021-12-26 17:28:57.222 8927 ERROR nova   File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 3134, in __getattr__
7 j$ v' S8 E2 t# d2 v: b8 d% O" T2021-12-26 17:28:57.222 8927 ERROR nova     return self._conf._get(name, self._group)) z8 O4 Y( k+ E: v8 ]0 h) w, C  B7 T
2021-12-26 17:28:57.222 8927 ERROR nova   File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2631, in _get1 N( N  u) M: O8 H9 L& I: b" c
2021-12-26 17:28:57.222 8927 ERROR nova     value, loc = self._do_get(name, group, namespace)
( L2 u. @) i$ z, g) }0 {2021-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
" y! g) n, j0 X  ~3 G2021-12-26 17:28:57.222 8927 ERROR nova     raise ConfigFileValueError(message)
4 q" k! m, S% k( v2021-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 '='0 b% K5 Z9 I% d/ x' m; C% `
2021-12-26 17:28:57.222 8927 ERROR nova
  z9 [/ K8 d1 u
5 |6 y; Y- N; ]* Q* r# a" |9 H% c6 r2 U4 J' Q$ l2 M" u
报错,应该是配置文件配置有问题。多了一个=号
; {0 U0 w& H9 l) R. |# `. a! `$ F5 M# z6 K  G* X2 i+ I: O
, Z$ o3 t) ?+ E; @9 H: C4 Y
修改配置文件,重启服务:
" @' r4 M, `( k+ N5 E1 Q! b[root@compute1 ~]# vim /etc/nova/nova.conf
% D5 w; n% T- N% ]" c去掉文件中=号位置:- x6 x- v  L3 [9 p, Q$ `
3 R8 e) |( I. l( T
[root@compute1 ~]# systemctl restart openstack-nova-compute.service + P5 P: [- A# S* T5 F) v3 C

) \$ N* N) @' W7 j' n$ u4 N& z
 楼主| 发表于 2021-12-26 17:43:11 | 显示全部楼层
[root@compute1 ~]# systemctl status openstack-nova-compute.service ' U- }3 Y, E2 [: E
● openstack-nova-compute.service - OpenStack Nova Compute Server
8 v# u" D: W3 b4 b2 f7 Z   Loaded: loaded (/usr/lib/systemd/system/openstack-nova-compute.service; enabled; vendor preset: disabled)
6 w0 B: K8 V6 a   Active: active (running) since Sun 2021-12-26 17:37:06 CST; 27s ago
* j- A* U, [2 I7 U/ k, e7 Q Main PID: 11531 (nova-compute)0 p- h8 A: J% S8 |# Q
    Tasks: 22) @1 a; @1 f7 d5 x  ?' U9 P
   CGroup: /system.slice/openstack-nova-compute.service
) ]- r  f% A! S# M           └─11531 /usr/bin/python2 /usr/bin/nova-compute0 Q& G7 N+ ?% v; V0 P6 S9 n
! k, d' G/ p/ s3 b0 M7 @, m
Dec 26 17:37:04 compute1 systemd[1]: Starting OpenStack Nova Compute Server...' x7 Z# S* T( @/ b( i" A
Dec 26 17:37:06 compute1 systemd[1]: Started OpenStack Nova Compute Server.
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

如有购买积分卡请联系497906712

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

GMT+8, 2022-5-21 06:58 , Processed in 0.041392 second(s), 21 queries .

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

© 2012-2022 Comsenz Inc.

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