podman memcache healthcheck too verbose

Bug #1821778 reported by Luca Miccini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Cédric Jeanneret

Bug Description

tripleo_memcached_healthcheck output is too verbose and "spamming" the journal with stats of dubious usefulness (under normal circumstances):

Mar 26 12:48:56 undercloud-0.redhat.local systemd[1]: Starting memcached healthcheck...
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT pid 8
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT uptime 396
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT time 1553604535
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT version 1.5.9
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT libevent 2.1.8-stable
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT pointer_size 64
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT rusage_user 0.024644
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT rusage_system 0.012177
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT max_connections 8192
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT curr_connections 1
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT total_connections 2
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT rejected_connections 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT connection_structures 2
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT reserved_fds 40
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT cmd_get 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT cmd_set 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT cmd_flush 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT cmd_touch 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT get_hits 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT get_misses 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT get_expired 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT get_flushed 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT delete_misses 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT delete_hits 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT incr_misses 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT incr_hits 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT decr_misses 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT decr_hits 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT cas_misses 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT cas_hits 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT cas_badval 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT touch_hits 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT touch_misses 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT auth_cmds 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT auth_errors 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT bytes_read 6
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT bytes_written 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT limit_maxbytes 10436476928
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT accepting_conns 1
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT listen_disabled_num 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT time_in_listen_disabled_us 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT threads 8
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT conn_yields 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT hash_power_level 16
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT hash_bytes 524288
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT hash_is_expanding 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT slab_reassign_rescues 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT slab_reassign_chunk_rescues 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT slab_reassign_evictions_nomem 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT slab_reassign_inline_reclaim 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT slab_reassign_busy_items 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT slab_reassign_busy_deletes 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT slab_reassign_running 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT slabs_moved 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT lru_crawler_running 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT lru_crawler_starts 1020
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT lru_maintainer_juggles 446
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT malloc_fails 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT log_worker_dropped 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT log_worker_written 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT log_watcher_skipped 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT log_watcher_sent 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT bytes 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT curr_items 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT total_items 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT slab_global_page_pool 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT expired_unfetched 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT evicted_unfetched 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT evicted_active 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT evictions 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT reclaimed 0
Mar 26 12:48:56 undercloud-0.redhat.local podman[41971]: STAT crawler_reclaimed 0
...

It would be worth checking if we could either reduce the amount of data or use a different logging facility / destination.

Changed in tripleo:
assignee: nobody → Cédric Jeanneret (cjeanner)
status: New → Triaged
importance: Undecided → High
milestone: none → stein-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (master)

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

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/647821
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=ee419b6e9c1eea09095b5e9c466562ad60729bea
Submitter: Zuul
Branch: master

commit ee419b6e9c1eea09095b5e9c466562ad60729bea
Author: Cédric Jeanneret <email address hidden>
Date: Tue Mar 26 16:36:31 2019 +0100

    Silent memcached healthcheck

    Output only error, and exit with the right code.

    Change-Id: Ia9c67e4b153d67963969a66a88c75e5346fc94d2
    Closes-Bug: #1821778

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

This issue was fixed in the openstack/tripleo-common 10.6.1 release.

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.