Comment 7 for bug 1453978

Revision history for this message
Anna Babich (ababich) wrote :

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "7.0"
  openstack_version: "2015.1.0-7.0"
  api: "1.0"
  build_number: "187"
  build_id: "2015-08-18_03-05-20"
  nailgun_sha: "4710801a2f4a6d61d652f8f1e64215d9dde37d2e"
  python-fuelclient_sha: "4c74a60aa60c06c136d9197c7d09fa4f8c8e2863"
  fuel-agent_sha: "57145b1d8804389304cd04322ba0fb3dc9d30327"
  fuel-nailgun-agent_sha: "e01693992d7a0304d926b922b43f3b747c35964c"
  astute_sha: "e24ca066bf6160bc1e419aaa5d486cad1aaa937d"
  fuel-library_sha: "0062e69db17f8a63f85996039bdefa87aea498e1"
  fuel-ostf_sha: "17786b86b78e5b66d2b1c15500186648df10c63d"
  fuelmain_sha: "c9dad194e82a60bf33060eae635fff867116a9ce"

Verified on cluster: neutron+vlan, 3 controllers, 2 computes

Verification scenario
1. On every controller update .ini files for dhcp-, l3-, metadata- and ovs-agents with log_agent_heartbeats = True
2. Restart agents:
pcs resource disable p_neutron-dhcp-agent && pcs resource disable p_neutron-l3-agent && pcs resource disable p_neutron-metadata-agent && pcs resource disable p_neutron-plugin-openvswitch-agent
pcs resource enable p_neutron-dhcp-agent && pcs resource enable p_neutron-l3-agent && pcs resource enable p_neutron-metadata-agent && pcs resource enable p_neutron-plugin-openvswitch-agent
3. On every controller check that in neutron-server.log the records like
"Heartbeat received from %(type)s agent on "
                         "host %(host)s, uuid %(uuid)s after %(delta)s"),
                     {'type': agent_db.agent_type,
                      'host': agent_db.host,
                      'uuid': state.get('uuid'),
                      'delta': delta}
started to appear for every agent

Verification result for every controller looks like: http://paste.openstack.org/show/441241/

4. Finally, disable heartbeat logging for all agents on all controllers with log_agent_heartbeats = False and check that heartbeat records stopped to appear

Verification result for every controller looks like: http://paste.openstack.org/show/441251/