Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1497714 - [UPDATES] Traceback in ceilometer_agent_compute container: 'ImportError: No module named neutronclient.common'
[UPDATES] Traceback in ceilometer_agent_compute container: 'ImportError: No m...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ceilometer (Show other bugs)
12.0 (Pike)
Unspecified Unspecified
medium Severity medium
: rc
: 12.0 (Pike)
Assigned To: Pradeep Kilambi
Sasha Smolyak
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-02 09:55 EDT by Yurii Prokulevych
Modified: 2018-02-05 14:15 EST (History)
7 users (show)

See Also:
Fixed In Version: openstack-ceilometer-9.0.2-0.20171013153832.ea962e7.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-12-13 17:11:53 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
RDO 9922 None None None 2017-10-03 16:43 EDT
Red Hat Product Errata RHEA-2017:3462 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-15 20:43:25 EST

  None (edit)
Description Yurii Prokulevych 2017-10-02 09:55:02 EDT
Description of problem:
-----------------------
During minor update of RHOS-12 on cmoputes next tracebacks appears in container's log:
INFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json
INFO:__main__:Validating config file
INFO:__main__:Kolla config strategy set to: COPY_ALWAYS
INFO:__main__:Copying service configuration files
INFO:__main__:Deleting /etc/ceilometer/ceilometer.conf
INFO:__main__:Copying /var/lib/kolla/config_files/src/etc/ceilometer/ceilometer.conf to /etc/ceilometer/ceilometer.conf
INFO:__main__:Writing out command to execute
Running command: '/usr/bin/ceilometer-polling --polling-namespaces compute --logfile /var/log/ceilometer/compute.log'
Traceback (most recent call last):
  File "/usr/bin/ceilometer-polling", line 6, in <module>
    from ceilometer.cmd.polling import main
  File "/usr/lib/python2.7/site-packages/ceilometer/cmd/polling.py", line 23, in <module>
    from ceilometer import service
  File "/usr/lib/python2.7/site-packages/ceilometer/service.py", line 27, in <module>
    from ceilometer import opts
  File "/usr/lib/python2.7/site-packages/ceilometer/opts.py", line 44, in <module>
    import ceilometer.neutron_client
  File "/usr/lib/python2.7/site-packages/ceilometer/neutron_client.py", line 17, in <module>
    from neutronclient.common import exceptions
ImportError: No module named neutronclient.common


Version-Release number of selected component (if applicable):
-------------------------------------------------------------
[root@compute-0 ~]# rpm -qa | grep ceilo
python-ceilometermiddleware-1.1.0-0.20170824160203.0cea730.el7ost.noarch
openstack-ceilometer-common-9.0.2-0.20170925173740.1057885.el7ost.noarch
openstack-ceilometer-ipmi-9.0.2-0.20170925173740.1057885.el7ost.noarch
python-ceilometerclient-2.9.0-0.20170811140520.3b4e35a.el7ost.noarch
openstack-ceilometer-notification-9.0.2-0.20170925173740.1057885.el7ost.noarch
openstack-ceilometer-api-9.0.2-0.20170925173740.1057885.el7ost.noarch
openstack-ceilometer-central-9.0.2-0.20170925173740.1057885.el7ost.noarch
puppet-ceilometer-11.3.1-0.20170923033230.767c543.el7ost.noarch
python-ceilometer-9.0.2-0.20170925173740.1057885.el7ost.noarch
openstack-ceilometer-collector-9.0.2-0.20170925173740.1057885.el7ost.noarch
openstack-ceilometer-polling-9.0.2-0.20170925173740.1057885.el7ost.noarch
openstack-ceilometer-compute-9.0.2-0.20170925173740.1057885.el7ost.noarch

Images update from openstack-ceilometer-compute-docker:2017-09-27.3 to openstack-ceilometer-compute-docker:2017-09-28.2

Steps to Reproduce:
-------------------
1. Install RHOS-12(2017-09-28.1)
2. Install latest repos(2017-09-29.2)
3. Apply patches: 487488 and 487496
4. Upload latest images
5. Update UC
6. Update 'computes':
    openstack overcloud update stack --generate-inventory --nodes Compute

Additional info:
----------------
Virtual setup: 3controllers + 2computes + 3cephs
Comment 1 Pradeep Kilambi 2017-10-03 16:18:37 EDT
This seems like a packaging issue. We should have the neutronclient requires on common. I'll take a look.
Comment 6 Mehdi ABAAKOUK 2017-11-27 04:54:30 EST
The error is no longer there:

$ sudo docker logs ceilometer_agent_compute
INFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json
INFO:__main__:Validating config file
INFO:__main__:Kolla config strategy set to: COPY_ALWAYS
INFO:__main__:Copying service configuration files
INFO:__main__:Deleting /etc/ceilometer/ceilometer.conf
INFO:__main__:Copying /var/lib/kolla/config_files/src/etc/ceilometer/ceilometer.conf to /etc/ceilometer/ceilometer.conf
INFO:__main__:Writing out command to execute
Running command: '/usr/bin/ceilometer-polling --polling-namespaces compute --logfile /var/log/ceilometer/compute.log'
Comment 9 errata-xmlrpc 2017-12-13 17:11:53 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:3462

Note You need to log in before you can comment on or make changes to this bug.