Failed to Install Ceilometer using devstack pike

Nitish Goel goel.nitish10 at gmail.com
Mon Feb 1 12:22:31 UTC 2021


Hi ,

Please help.!
I try to install heat ,ceilometer and aodh openstack using the devstack
pike version.
But getting the below error:
*no matching distribution found for oslo.log>=4.3.0*
pip version 9.x
python version 2.7

Next Attempt:
Upgraded the pip to 20.x but still gets the same error.

Next Attempt:
*Updated the python 3.6(pip with the old version) but then gets the below
error:*
Traceback (most recent call last):
  File "/opt/stack/devstack/tools/outfilter.py", line 85, in <module>
    sys.exit(main())
  File "/opt/stack/devstack/tools/outfilter.py", line 53, in main
    outfile = open(opts.outfile, 'a', 0)
ValueError: can't have unbuffered text I/O

Next Attempt:
Initially heat was installed successfully, but after the above errors from
ceilometer and aodh, I commented them and executed stack.sh but now heat
installation also fails with below error:
*(pip with 9.x and python 2.7)*

CRITICAL keystone [None req-ddd57555-0e66-4e94-8349-044e79573d01 None None]
Unhandled error: TypeError: __init__() got an unexpected keyword argument
'encoding'
2021-02-01 11:43:37.083 | ERROR keystone Traceback (most recent call last):
2021-02-01 11:43:37.083 | ERROR keystone   File
"/usr/local/bin/keystone-manage", line 10, in <module>
2021-02-01 11:43:37.083 | ERROR keystone     sys.exit(main())
2021-02-01 11:43:37.083 | ERROR keystone   File
"/opt/stack/keystone/keystone/cmd/manage.py", line 45, in main
2021-02-01 11:43:37.083 | ERROR keystone     cli.main(argv=sys.argv,
config_files=config_files)
2021-02-01 11:43:37.083 | ERROR keystone   File
"/opt/stack/keystone/keystone/cmd/cli.py", line 1331, in main
2021-02-01 11:43:37.083 | ERROR keystone     CONF.command.cmd_class.main()
2021-02-01 11:43:37.083 | ERROR keystone   File
"/opt/stack/keystone/keystone/cmd/cli.py", line 380, in main
2021-02-01 11:43:37.083 | ERROR keystone     klass.do_bootstrap()
2021-02-01 11:43:37.083 | ERROR keystone   File
"/opt/stack/keystone/keystone/cmd/cli.py", line 190, in do_bootstrap
2021-02-01 11:43:37.083 | ERROR keystone     domain=default_domain)
2021-02-01 11:43:37.083 | ERROR keystone   File
"/opt/stack/keystone/keystone/common/manager.py", line 110, in wrapped
2021-02-01 11:43:37.084 | ERROR keystone     __ret_val = __f(*args,
**kwargs)
2021-02-01 11:43:37.084 | ERROR keystone   File
"/opt/stack/keystone/keystone/resource/core.py", line 723, in create_domain
2021-02-01 11:43:37.084 | ERROR keystone     domain_id,
project_from_domain, initiator)
2021-02-01 11:43:37.084 | ERROR keystone   File
"/opt/stack/keystone/keystone/common/manager.py", line 110, in wrapped
2021-02-01 11:43:37.084 | ERROR keystone     __ret_val = __f(*args,
**kwargs)
2021-02-01 11:43:37.084 | ERROR keystone   File
"/opt/stack/keystone/keystone/resource/core.py", line 221, in create_project
2021-02-01 11:43:37.084 | ERROR keystone     ret['domain_id'])
2021-02-01 11:43:37.084 | ERROR keystone   File
"/usr/local/lib/python2.7/dist-packages/dogpile/cache/region.py", line
1239, in set_
2021-02-01 11:43:37.084 | ERROR keystone     self.set(key, value)
2021-02-01 11:43:37.084 | ERROR keystone   File
"/usr/local/lib/python2.7/dist-packages/dogpile/cache/region.py", line 983,
in set
2021-02-01 11:43:37.084 | ERROR keystone     key = self.key_mangler(key)
2021-02-01 11:43:37.084 | ERROR keystone   File
"/opt/stack/keystone/keystone/common/cache/core.py", line 87, in key_mangler
2021-02-01 11:43:37.084 | ERROR keystone     key = '%s:%s' % (key,
invalidation_manager.region_id)
2021-02-01 11:43:37.084 | ERROR keystone   File
"/opt/stack/keystone/keystone/common/cache/core.py", line 45, in region_id
2021-02-01 11:43:37.084 | ERROR keystone     self._region_key,
self._generate_new_id, expiration_time=-1)
2021-02-01 11:43:37.084 | ERROR keystone   File
"/usr/local/lib/python2.7/dist-packages/dogpile/cache/region.py", line 833,
in get_or_create
2021-02-01 11:43:37.084 | ERROR keystone     async_creator) as value:
2021-02-01 11:43:37.084 | ERROR keystone   File
"/usr/local/lib/python2.7/dist-packages/dogpile/lock.py", line 154, in
__enter__
2021-02-01 11:43:37.084 | ERROR keystone     return self._enter()
2021-02-01 11:43:37.084 | ERROR keystone   File
"/usr/local/lib/python2.7/dist-packages/dogpile/lock.py", line 87, in _enter
2021-02-01 11:43:37.084 | ERROR keystone     value = value_fn()
2021-02-01 11:43:37.084 | ERROR keystone   File
"/usr/local/lib/python2.7/dist-packages/dogpile/cache/region.py", line 788,
in get_value
2021-02-01 11:43:37.084 | ERROR keystone     value = self.backend.get(key)
2021-02-01 11:43:37.084 | ERROR keystone   File
"/opt/stack/keystone/keystone/common/cache/_context_cache.py", line 72, in
get
2021-02-01 11:43:37.084 | ERROR keystone     value =
self._get_local_cache(key)
2021-02-01 11:43:37.084 | ERROR keystone   File
"/opt/stack/keystone/keystone/common/cache/_context_cache.py", line 57, in
_get_local_cache
2021-02-01 11:43:37.084 | ERROR keystone     value =
msgpackutils.loads(value)
2021-02-01 11:43:37.084 | ERROR keystone   File
"/usr/local/lib/python2.7/dist-packages/oslo_serialization/msgpackutils.py",
line 487, in loads
2021-02-01 11:43:37.084 | ERROR keystone     return msgpack.unpackb(s,
ext_hook=ext_hook, encoding='utf-8')
2021-02-01 11:43:37.084 | ERROR keystone   File
"/usr/local/lib/python2.7/dist-packages/msgpack/fallback.py", line 126, in
unpackb
2021-02-01 11:43:37.084 | ERROR keystone     unpacker = Unpacker(None,
max_buffer_size=len(packed), **kwargs)
2021-02-01 11:43:37.084 | ERROR keystone TypeError: __init__() got an
unexpected keyword argument 'encoding'
2021-02-01 11:43:37.084 | ERROR keystone

Thanks,
Nitish Goel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210201/8755a732/attachment.html>


More information about the openstack-discuss mailing list