1. 20 Mar, 2021 1 commit
    • Kenneth Giusti's avatar
      Cap Bandit below 1.6.0 and update Sphinx requirement · 1edf7a2a
      Kenneth Giusti authored
      Bandit 1.6.0 accidentally changed how the exclusion list option is
      handled and breaks our use of it. Cap to the previous version until
      Bandit has fixed the problem.
      
      Sphinx 2.0 no longer works on python 2.7, so we need to start
      capping it there as well.
      
      NOTE(elod.illes): use upper-constraints.txt for docs tox target, to
      limit dulwich to the version that was used in stable/pike. Also install
      the content of requirements.txt otherwise those will be installed
      unconstrained during the test run.
      
      Conflicts:
          doc/requirements.txt
      
      Change-Id: Ie6b379f2c99862c37891ac03c52464e07bc2b2cc
      (cherry picked from commit 4f467fbd)
      (cherry picked from commit 012cdcd0)
      1edf7a2a
  2. 19 Apr, 2019 1 commit
  3. 22 Feb, 2019 1 commit
  4. 26 Sep, 2018 1 commit
    • Kenneth Giusti's avatar
      Do not access the connection's socket during error callback · 13759e12
      Kenneth Giusti authored
      The _get_connection_info() method attempts to gather debug information
      from the connection, and will reach into the amqp channel to get the
      local (client's) TCP port number via the 'sock' property.
      
      If _get_connection_info() is called from autoretry's on_error handler
      the 'sock' property notices that the transport is not set and attempts
      to re-connect.  amqp has deprecated this reconnect behavior, and in
      any case the client's socket is irrelevant since the connection may
      not be valid at this point.
      
      Closes-Bug: #1745166
      Change-Id: I3c42f8463605927f6f94d6c3a7f05e584476abc1
      (cherry picked from commit 36166976)
      13759e12
  5. 27 Aug, 2018 1 commit
  6. 03 Aug, 2018 1 commit
  7. 13 Jul, 2018 1 commit
    • Zhen Qin's avatar
      Suppress excessive debug logs when consume rabbit · 2a567ca6
      Zhen Qin authored
      If using rabbitmq as rpc backend, oslo.messaging generates large amount
      of redundant timeout debug logs (several logs per second on multiple
      openstack services, such as nova, heat, cinder), in format of 'Timed out
      waiting for RPC response: Timeout while waiting on RPC response - topic:
      "<unknown>", RPC method: "<unknown>" info: "<unknown>'. It's because
      each socket timeout exception is raised to multiple levels of error
      recovery callback functions then logged repeatedly.
      
      However, the accompanying value of socket.timeout exception is currently
      always “timed out”. Besides, oslo.messaging has implemented retry
      mechanism to recover socket timeout failure. Therefore, IMO those logs
      should be suppressed, even if at debug level, to save disk space and
      make debugging more convenient.
      
      Change-Id: Iafc360f8d18871cff93e7fd721d793ecdef5f4a1
      Closes-Bug: #1714558
      (cherry picked from commit 147186c7)
      2a567ca6
  8. 09 May, 2018 1 commit
  9. 08 Jan, 2018 1 commit
  10. 29 Dec, 2017 2 commits
  11. 30 Nov, 2017 1 commit
  12. 22 Nov, 2017 1 commit
    • Vincent Untz's avatar
      Catch socket.timeout when doing heartbeat_check · ae3de7f3
      Vincent Untz authored
      heartbeat_check in kombu.connection is not reraising exceptions as
      exceptions.OperationalError, and the socket timeout during the heartbeat
      check is really an issue seen in the field when a node goes down; the
      heartbeat thread just tries again and again to deal with it, without
      success.
      
      Change-Id: I26dbdb18a7e64946db2cba676764ff2d428c7897
      Closes-Bug: #1657444
      (cherry picked from commit 8bfc3637)
      ae3de7f3
  13. 11 Sep, 2017 1 commit
    • Kenneth Giusti's avatar
      Add support for virtual hosts · a07d852b
      Kenneth Giusti authored
      Adds the 'pseudo_vhost' option which when enabled will incorporate the
      virtual host into the address semantics.  This creates a 'subnet' like
      address space for each virtual host.  Use this when the messaging bus
      does not provide virtual hosting support.  It is enabled by default as
      to date none of the supported AMQP 1.0 message buses natively support
      virtual hosting.
      
      It also updates SSL support: SSL can either use the connection
      hostname or the vhost name when validating a server's
      certificate. This is controlled by the 'ssl_verify_vhost' option.
      This option is disabled by default as it requires both vhost and SNI
      support from the server.  By default SSL will use the DNS name from
      the TransportURL.
      
      Change-Id: I49bb99d1b19e8e7e6fded76198da92ca5f7d65ab
      Closes-Bug: #1700835
      Partial-Bug: #1706987
      (cherry picked from commit 263dce9e)
      a07d852b
  14. 12 Aug, 2017 1 commit
  15. 11 Aug, 2017 1 commit
  16. 05 Aug, 2017 1 commit
  17. 04 Aug, 2017 1 commit
    • Kenneth Giusti's avatar
      Remove the test that counts kombu connect calls · 32b001fe
      Kenneth Giusti authored
      This test removes a check of the number of times kombu's
      Connection.connect() method is being called for each mocked retry.
      The number of calls kombu makes internally is irrelevant to proving
      the API is correct.  The rest of the tests do ensure that the target
      method is retried as expected, which is relevant to the API.
      
      This change is necessary due to the kombu v4.1.0 release actually
      calling Connection.connect() twice for each call to the target method
      when compaired to earlier releases.
      
      Change-Id: I3326b8e92efe3bef00b1f389d81944af9cc080f8
      Closes-Bug: #1707263
      (cherry picked from commit 2c9ac202)
      32b001fe
  18. 28 Jul, 2017 2 commits
  19. 18 Jul, 2017 1 commit
  20. 13 Jul, 2017 1 commit
  21. 12 Jul, 2017 1 commit
  22. 11 Jul, 2017 1 commit
    • zhiCHang1990's avatar
      Add monkey_patch to demo code. · 1389893d
      zhiCHang1990 authored
      The RPC server code can not work if we
      don't add eventlet.monkey_patch() at the
      begining.
      
      Change-Id: I65a162a427fb5615c95a70e6d1bbec899a78f231
      1389893d
  23. 10 Jul, 2017 1 commit
  24. 06 Jul, 2017 3 commits
  25. 05 Jul, 2017 2 commits
  26. 27 Jun, 2017 1 commit
  27. 22 Jun, 2017 1 commit
    • blue55's avatar
      Enable some off-by-default checks · f87c349b
      blue55 authored
      Some of the available checks are disabled by default, like:
      [H106] Don’t put vim configuration in source files
      [H203] Use assertIs(Not)None to check for None
      
      Change-Id: I54b4b950dfcd2ce5a64f38b5d5b5cbe95846a8fa
      f87c349b
  28. 15 Jun, 2017 1 commit
  29. 13 Jun, 2017 1 commit
    • Andrew Smith's avatar
      Add kafka_driver directory · eccdea5c
      Andrew Smith authored
      Make uniform with other drivers, kafka driver files, etc.
      
      Change-Id: I6c6e201c304a6005ef191f96e5ac39ffaf4ab8f7
      eccdea5c
  30. 12 Jun, 2017 1 commit
  31. 10 Jun, 2017 1 commit
  32. 09 Jun, 2017 2 commits
  33. 08 Jun, 2017 2 commits
    • Thomas Herve's avatar
      Add note for blocking executor deprecation · 08094214
      Thomas Herve authored
      Change-Id: I5a7607add852258ca6623f9b855c36eda5ff9e1e
      08094214
    • Mehdi Abaakouk's avatar
      Fix rabbitmq driver with blocking executor · 8ee5ae13
      Mehdi Abaakouk authored
      We recently move ack/requeue of messages in main/polling thread
      of rabbitmq drivers. And break the blocking executor.
      
      This one is not tested by any tests and now deprecated.
      
      This change workaround the issue until we completely remove the
      blocking executor.
      
      Change-Id: Id479100f6ff364cf67a199e9b70f9f0c7bf7e1a9
      Closes-bug: #1694728
      8ee5ae13