Error in the installation of nova compute service on the controller node

asked 2018-11-11 05:33:27 -0600

najeh gravatar image

updated 2018-11-11 06:17:45 -0600

after modification of /etc/nova/nova.conf i perform thes command: # su -s /bin/sh -c "nova-manage api_db sync" nova I got this error

Traceback (most recent call last):

File "/usr/bin/nova-manage", line 10, in <module> sys.exit(main())

File "/usr/lib/python2.7/dist-packages/nova/cmd/", line 2289, in main config.parse_args(sys.argv)

File "/usr/lib/python2.7/dist-packages/nova/", line 58, in parse_args default_config_files=default_config_files)

File "/usr/lib/python2.7/dist-packages/oslo_config/", line 2571, in __call__ else sys.argv[1:])

File "/usr/lib/python2.7/dist-packages/oslo_config/", line 3312, in _parse_cli_opts return self._parse_config_files()

File "/usr/lib/python2.7/dist-packages/oslo_config/", line 3329, in _parse_config_files ConfigParser._parse_file(config_file, namespace)

File "/usr/lib/python2.7/dist-packages/oslo_config/", line 2054, in _parse_file raise ConfigFileParseError(pe.filename, str(pe))

oslo_config.cfg.ConfigFileParseError: Failed to parse /etc/nova/nova.conf: at /etc/nova/nova.conf:8897, No ':' or '=' found in assignment: 'placement]/auth_plugin'

edit retag flag offensive close merge delete


Obviously you added a syntax error to nova.conf, somewhere around the placement section.

Bernd Bausch gravatar imageBernd Bausch ( 2018-11-11 06:24:24 -0600 )edit

what is your nova.conf

yasin lachiny gravatar imageyasin lachiny ( 2018-11-11 06:33:15 -0600 )edit

the problem is solved, i have a syntax error in [placement] section

najeh gravatar imagenajeh ( 2018-11-11 07:01:12 -0600 )edit

what is the best network option to use in a manual installation of openstack:

Networking Option 1: Provider networks
Networking Option 2: Self-service networks
najeh gravatar imagenajeh ( 2018-11-11 07:29:45 -0600 )edit

The one that fits your environment and the purpose of the cloud best. E.g. if you need tenant networks, you need option 2. If not, option 1 is simpler.

By the way, to ask a question, create a new question rather than a comment.

Bernd Bausch gravatar imageBernd Bausch ( 2018-11-11 08:27:17 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2018-11-16 08:29:21 -0600

reynoni gravatar image

This is an issue with the /etc/nova/nova.conf being misconfigured. The final line states exactly where the issue is down to the line 8897 after resolving that, you should be all set on that issue.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-11-11 05:33:27 -0600

Seen: 419 times

Last updated: Nov 16 '18