gnocchi is eating all my cpu too :(

Bug #1629279 reported by Gabriele Cerami
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Emilien Macchi

Bug Description

During HA ipv6 deployment, gnocchi-metricd is eating most of the overcloud node CPU

/var/log/gnocchi/metricd.log is full of these ERRORS

2016-09-30 11:05:07.839 2677 ERROR cotyledon [-] Unhandled exception
2016-09-30 11:05:07.839 2677 ERROR cotyledon Traceback (most recent call last):
2016-09-30 11:05:07.839 2677 ERROR cotyledon File "/usr/lib/python2.7/site-packages/cotyledon/__init__.py", line 52, in _exit_on_exception
2016-09-30 11:05:07.839 2677 ERROR cotyledon yield
2016-09-30 11:05:07.839 2677 ERROR cotyledon File "/usr/lib/python2.7/site-packages/cotyledon/__init__.py", line 398, in _start_service
2016-09-30 11:05:07.839 2677 ERROR cotyledon self._current_process = config.service(worker_id, *args, **kwargs)
2016-09-30 11:05:07.839 2677 ERROR cotyledon File "/usr/lib/python2.7/site-packages/gnocchi/cli.py", line 155, in __init__
2016-09-30 11:05:07.839 2677 ERROR cotyledon self._enable_coordination(conf)
2016-09-30 11:05:07.839 2677 ERROR cotyledon File "/usr/lib/python2.7/site-packages/gnocchi/cli.py", line 149, in _enable_coordination
2016-09-30 11:05:07.839 2677 ERROR cotyledon self._coord.start(start_heart=True)
2016-09-30 11:05:07.839 2677 ERROR cotyledon File "/usr/lib/python2.7/site-packages/tooz/coordination.py", line 383, in start
2016-09-30 11:05:07.839 2677 ERROR cotyledon self._start()
2016-09-30 11:05:07.839 2677 ERROR cotyledon File "/usr/lib/python2.7/site-packages/tooz/drivers/redis.py", line 429, in _start
2016-09-30 11:05:07.839 2677 ERROR cotyledon self.timeout)
2016-09-30 11:05:07.839 2677 ERROR cotyledon File "/usr/lib/python2.7/site-packages/tooz/drivers/redis.py", line 381, in _make_client
2016-09-30 11:05:07.839 2677 ERROR cotyledon if parsed_url.port:
2016-09-30 11:05:07.839 2677 ERROR cotyledon File "/usr/lib64/python2.7/urlparse.py", line 112, in port
2016-09-30 11:05:07.839 2677 ERROR cotyledon port = int(port, 10)
2016-09-30 11:05:07.839 2677 ERROR cotyledon ValueError: invalid literal for int() with base 10: 'fd00'

Revision history for this message
Gabriele Cerami (gcerami) wrote :
Changed in tripleo:
status: New → Confirmed
Revision history for this message
Gabriele Cerami (gcerami) wrote :

apparently gnocchi puppet manifest passes the wrong coordination_url to gnocchi.conf. It does not contain brackets.

Changed in tripleo:
assignee: nobody → Gabriele Cerami (gcerami)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/380291

Changed in tripleo:
assignee: Gabriele Cerami (gcerami) → Emilien Macchi (emilienm)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/380310

Changed in tripleo:
importance: Undecided → Critical
milestone: none → ocata-1
tags: added: newton-backport-potential
Changed in tripleo:
milestone: ocata-1 → newton-rc3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/380291
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=b97c913f23a0c01a14e74384edc4f2d3a9e0ec1f
Submitter: Jenkins
Branch: master

commit b97c913f23a0c01a14e74384edc4f2d3a9e0ec1f
Author: Emilien Macchi <email address hidden>
Date: Fri Sep 30 09:28:06 2016 -0400

    Telemetry: add redis_password hiera parameter

    Add redis_password parameter in Hiera so we can re-use it from
    puppet-tripleo later for Aodh, Ceilometer and Gnocchi.

    Change-Id: I038e2bac22e3bfa5047d2e76e23cff664546464d
    Partial-Bug: #1629279

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/380310
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=d720f22925d20f430fc64c8a809efc4bfc2b4038
Submitter: Jenkins
Branch: master

commit d720f22925d20f430fc64c8a809efc4bfc2b4038
Author: Emilien Macchi <email address hidden>
Date: Fri Sep 30 09:48:56 2016 -0400

    telemetry: remove coordination_url hiera settings

    They are now normalized and set in puppet-tripleo.

    Change-Id: I197481c577b85894178e7899a55869da47847755
    Closes-Bug: #1629279
    Depends-On: Ic6de09acf0d36ca90cc2041c0add1bc2b4a369a5

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/380546

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/380881

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/newton)

Reviewed: https://review.openstack.org/380546
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=cd133a01738fb25a1e307436ec691c2081d9f1be
Submitter: Jenkins
Branch: stable/newton

commit cd133a01738fb25a1e307436ec691c2081d9f1be
Author: Emilien Macchi <email address hidden>
Date: Fri Sep 30 09:28:06 2016 -0400

    Telemetry: add redis_password hiera parameter

    Add redis_password parameter in Hiera so we can re-use it from
    puppet-tripleo later for Aodh, Ceilometer and Gnocchi.

    Change-Id: I038e2bac22e3bfa5047d2e76e23cff664546464d
    Partial-Bug: #1629279
    (cherry picked from commit b97c913f23a0c01a14e74384edc4f2d3a9e0ec1f)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/380881
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=a4e53b87069729e8b5f94132bd69fc770ff10760
Submitter: Jenkins
Branch: stable/newton

commit a4e53b87069729e8b5f94132bd69fc770ff10760
Author: Emilien Macchi <email address hidden>
Date: Fri Sep 30 09:48:56 2016 -0400

    telemetry: remove coordination_url hiera settings

    They are now normalized and set in puppet-tripleo.

    Change-Id: I197481c577b85894178e7899a55869da47847755
    Closes-Bug: #1629279
    Depends-On: Ic6de09acf0d36ca90cc2041c0add1bc2b4a369a5
    (cherry picked from commit d720f22925d20f430fc64c8a809efc4bfc2b4038)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.0.0.0rc3

This issue was fixed in the openstack/tripleo-heat-templates 5.0.0.0rc3 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.0.0

This issue was fixed in the openstack/tripleo-heat-templates 5.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 6.0.0.0b1

This issue was fixed in the openstack/tripleo-heat-templates 6.0.0.0b1 development milestone.

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.