Ask Your Question

cconstantinou's profile - activity

2019-02-06 01:55:45 -0500 received badge  Student (source)
2019-02-06 01:55:00 -0500 received badge  Famous Question (source)
2018-12-20 02:40:33 -0500 received badge  Notable Question (source)
2018-12-19 07:58:04 -0500 received badge  Popular Question (source)
2018-12-18 22:28:04 -0500 asked a question OpenStack Rocky - gnocchi-upgrade Failed

After installing Gnocchi plugin on OpenStack Rocky, it could not be possible to Initialize Gnocchi

stack@openstack:~/devstack$ gnocchi-upgrade
Traceback (most recent call last):
  File "/usr/local/bin/gnocchi-upgrade", line 11, in <module>
    sys.exit(upgrade())
  File "/usr/local/lib/python2.7/dist-packages/gnocchi/cli/manage.py", line 65, in upgrade
    conf = service.prepare_service(conf=conf, log_to_std=True)
  File "/usr/local/lib/python2.7/dist-packages/gnocchi/service.py", line 54, in prepare_service
    version=gnocchi.__version__)
  File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2127, in __call__
    self._check_required_opts()
  File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2865, in _check_required_opts
    raise RequiredOptError(opt.name, group)
oslo_config.cfg.RequiredOptError: value required for option url in group [indexer]

/etc/gnocchi/gnocchi.conf

[api]
auth_mode = keystone
keystone_authtoken]
...
auth_type = password
auth_url = http://x.x.x.x/identity
project_domain_name = Default
user_domain_name = Default
project_name = service
username = gnocchi
password = *********
interface = internalURL
region_name = RegionOne
[indexer]
url = mysql+pymysql://root:*********@127.0.0.1/gnocchi?charset=utf8
[Storage]
# coordination_url is not required but specifying one will improve
# performance with better workload division across workers.
coordination_url = redis://localhost:6379
file_basepath = /var/lib/gnocchi
driver = file