~billy-olsen/charm-helpers/stable-fix-internal-int

Viewing all changes in revision 761.

  • Committer: Edward Hope-Morley
  • Date: 2017-07-13 09:25:32 UTC
  • mfrom: (757.1.1 charm-helpers)
  • Revision ID: edward.hope-morley@canonical.com-20170713092532-zvbh7xhvbg9ma7hy
[zhhuabj,r=ajkavanagh]

When OpenStack clouds get bigger, more messaging transactions
will happen, which will cause more load on rabbitmq server. In
order to mitigate this, polling_interval rpc_response_timeout
and report_interval values are important to adjust accordingly
to the size of OpenStack cluster.

So this patch supports setting those values in neutron-api
centrally, then:

1. polling_interval

   neutron-openvswitch charm gets polling_interval via it's
   relations and set it in [agent] of ml2_conf.ini or
   openvswitch_agent.ini(>=Mitaka)

2. rpc_response_timeout

   neutron-gateway charm gets rpc_response_timeout via it's
   relations and set it in [default] of neutron.conf

3. report_interval

   Both neutron-openvswitch charm and neutron-gateway charm
   get report_interval via it's relations and set it in
   [agent] of neutron.conf

Thus we need to modifty charm-helpers to also set those values
in NeutronAPIContext.

Related-Bug: 1685788

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: