etcd3 missing from centos-binary-cinder-volume

Bug #1839339 reported by dajester2006
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Triaged
Medium
Unassigned

Bug Description

2019-08-07 03:58:04.296 6 INFO oslo_service.service [req-5dfa9f88-73f7-44cf-9829-aff0a4676888 - - - - -] Child 1517 exited with status 1
2019-08-07 03:58:04.301 1518 INFO cinder.service [-] Starting cinder-volume node (version 14.0.1)
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service [-] Error starting thread.: ImportError: No module named etcd3
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service Traceback (most recent call last):
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 796, in run_service
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service service.start()
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/cinder/service.py", line 219, in start
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service coordination.COORDINATOR.start()
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/cinder/coordination.py", line 66, in start
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service cfg.CONF.coordination.backend_url, member_id)
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/tooz/coordination.py", line 803, in get_coordinator
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service invoke_args=(member_id, parsed_url, options)).driver
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/stevedore/driver.py", line 61, in __init__
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service warn_on_missing_entrypoint=warn_on_missing_entrypoint
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 81, in __init__
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service verify_requirements)
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 203, in _load_plugins
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service self._on_load_failure_callback(self, ep, err)
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 195, in _load_plugins
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service verify_requirements,
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 158, in _load_one_plugin
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service verify_requirements,
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 223, in _load_one_plugin
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service plugin = ep.resolve()
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2417, in resolve
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service module = __import__(self.module_name, fromlist=['__name__'], level=0)
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service File "/usr/lib/python2.7/site-packages/tooz/drivers/etcd3.py", line 20, in <module>
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service import etcd3
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service ImportError: No module named etcd3
2019-08-07 03:58:04.303 1518 ERROR oslo_service.service

Revision history for this message
Mark Goddard (mgoddard) wrote :

Could you provide more information? Which version of kolla and kolla-ansible are you using? Do you have any non-default configuration for cinder?

Revision history for this message
Mark Goddard (mgoddard) wrote :

Did you manage to fix this issue? Do you have a fix you could share?

Revision history for this message
dajester2006 (dajester2005) wrote : Re: [Bug 1839339] Re: etcd3 missing from centos-binary-cinder-volume
Download full text (4.1 KiB)

I believe I just went into the container and manually installed it with
pip.

On Thu, Sep 12, 2019, 8:31 AM Mark Goddard <email address hidden> wrote:

> Did you manage to fix this issue? Do you have a fix you could share?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1839339
>
> Title:
> etcd3 missing from centos-binary-cinder-volume
>
> Status in kolla:
> New
>
> Bug description:
> 2019-08-07 03:58:04.296 6 INFO oslo_service.service
> [req-5dfa9f88-73f7-44cf-9829-aff0a4676888 - - - - -] Child 1517 exited with
> status 1
> 2019-08-07 03:58:04.301 1518 INFO cinder.service [-] Starting
> cinder-volume node (version 14.0.1)
> 2019-08-07 03:58:04.303 1518 ERROR oslo_service.service [-] Error
> starting thread.: ImportError: No module named etcd3
> 2019-08-07 03:58:04.303 1518 ERROR oslo_service.service Traceback (most
> recent call last):
> 2019-08-07 03:58:04.303 1518 ERROR oslo_service.service File
> "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 796, in
> run_service
> 2019-08-07 03:58:04.303 1518 ERROR oslo_service.service
> service.start()
> 2019-08-07 03:58:04.303 1518 ERROR oslo_service.service File
> "/usr/lib/python2.7/site-packages/cinder/service.py", line 219, in start
> 2019-08-07 03:58:04.303 1518 ERROR oslo_service.service
> coordination.COORDINATOR.start()
> 2019-08-07 03:58:04.303 1518 ERROR oslo_service.service File
> "/usr/lib/python2.7/site-packages/cinder/coordination.py", line 66, in start
> 2019-08-07 03:58:04.303 1518 ERROR oslo_service.service
> cfg.CONF.coordination.backend_url, member_id)
> 2019-08-07 03:58:04.303 1518 ERROR oslo_service.service File
> "/usr/lib/python2.7/site-packages/tooz/coordination.py", line 803, in
> get_coordinator
> 2019-08-07 03:58:04.303 1518 ERROR oslo_service.service
> invoke_args=(member_id, parsed_url, options)).driver
> 2019-08-07 03:58:04.303 1518 ERROR oslo_service.service File
> "/usr/lib/python2.7/site-packages/stevedore/driver.py", line 61, in __init__
> 2019-08-07 03:58:04.303 1518 ERROR oslo_service.service
> warn_on_missing_entrypoint=warn_on_missing_entrypoint
> 2019-08-07 03:58:04.303 1518 ERROR oslo_service.service File
> "/usr/lib/python2.7/site-packages/stevedore/named.py", line 81, in __init__
> 2019-08-07 03:58:04.303 1518 ERROR oslo_service.service
> verify_requirements)
> 2019-08-07 03:58:04.303 1518 ERROR oslo_service.service File
> "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 203, in
> _load_plugins
> 2019-08-07 03:58:04.303 1518 ERROR oslo_service.service
> self._on_load_failure_callback(self, ep, err)
> 2019-08-07 03:58:04.303 1518 ERROR oslo_service.service File
> "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 195, in
> _load_plugins
> 2019-08-07 03:58:04.303 1518 ERROR oslo_service.service
> verify_requirements,
> 2019-08-07 03:58:04.303 1518 ERROR oslo_service.service File
> "/usr/lib/python2.7/site-packages/stevedore/named.py", line 158, in
> _load_one_plugin
> 2019-08-07 03:58:04.303 1518 ERROR oslo_service.service
> verify_requirements,
> 2019-08-07 03:58:04...

Read more...

Revision history for this message
Mark Goddard (mgoddard) wrote :

Thanks for replying. Be aware that when the container is recreated the package will no longer be present.

We don't generally use pip in binary images, and I'm not aware of an RPM package for python etcd3.

Changed in kolla:
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.