← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1936423] Re: Install and configure in keystone

 

[Expired for OpenStack Identity (keystone) because there has been no
activity for 60 days.]

** Changed in: keystone
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1936423

Title:
  Install and configure in keystone

Status in OpenStack Identity (keystone):
  Expired

Bug description:
  When running the command to populate the keystone database, I got the
  following error:

  su -s /bin/sh -c "keystone-manage db_sync" keystone

  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/oslo_config/cfg.py", line 1604, in _parse_file
      parser.parse()
    File "/usr/lib/python3/dist-packages/oslo_config/cfg.py", line 1559, in parse
      return super(ConfigParser, self).parse(f.readlines())
    File "/usr/lib/python3/dist-packages/oslo_config/iniparser.py", line 85, in parse
      section = self._get_section(line)
    File "/usr/lib/python3/dist-packages/oslo_config/iniparser.py", line 36, in _get_section
      return self.error_no_section_end_bracket(line)
    File "/usr/lib/python3/dist-packages/oslo_config/iniparser.py", line 123, in error_no_section_end_bracket
      raise self.parse_exc('Invalid section (must end with ])',
  oslo_config.cfg.ParseError: at /etc/keystone/keystone.conf:2275, Invalid section (must end with ]): '[token]/revocation_cache_time'

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/usr/bin/keystone-manage", line 10, in <module>
      sys.exit(main())
    File "/usr/lib/python3/dist-packages/keystone/cmd/manage.py", line 41, in main
      cli.main(argv=sys.argv, developer_config_file=developer_config)
    File "/usr/lib/python3/dist-packages/keystone/cmd/cli.py", line 1367, in main
      CONF(args=argv[1:],
    File "/usr/lib/python3/dist-packages/oslo_config/cfg.py", line 2131, in __call__
      self._namespace = self._parse_cli_opts(args if args is not None
    File "/usr/lib/python3/dist-packages/oslo_config/cfg.py", line 2902, in _parse_cli_opts
      return self._parse_config_files()
    File "/usr/lib/python3/dist-packages/oslo_config/cfg.py", line 2919, in _parse_config_files
      ConfigParser._parse_file(config_file, namespace)
    File "/usr/lib/python3/dist-packages/oslo_config/cfg.py", line 1606, in _parse_file
      raise ConfigFileParseError(pe.filename, str(pe))
  oslo_config.cfg.ConfigFileParseError: Failed to parse /etc/keystone/keystone.conf: at /etc/keystone/keystone.conf:2275, Invalid section (must end with ]): '[token]/revocation_cache_time'

  This way, I had to comment the line [token]/revocation_cache_time.

  This bug tracker is for errors with the documentation, use the
  following as a template and remove or add fields as you see fit.
  Convert [ ] into [x] to check boxes:

  - [X] This doc is inaccurate in this way: it should recommend commenting the '[token]/revocation_cache_time'' line.
  - [ ] This is a doc addition request.
  - [ ] I have a fix to the document that I can paste below including example: input and output. 

  If you have a troubleshooting or support issue, use the following
  resources:

   - The mailing list: https://lists.openstack.org
   - IRC: 'openstack' channel on Freenode

  -----------------------------------
  Release: 19.0.1.dev1 on 2019-09-18 18:54:05
  SHA: f510c806de3e20cdedd55291cd58dafa59398bec
  Source: https://opendev.org/openstack/keystone/src/doc/source/install/keystone-install-ubuntu.rst
  URL: https://docs.openstack.org/keystone/wallaby/install/keystone-install-ubuntu.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1936423/+subscriptions



References