1. 24 Mar, 2022 3 commits
  2. 21 Feb, 2022 4 commits
    • Thomas Goirand's avatar
      Now packaging 12.13.0 · 5989e748
      Thomas Goirand authored
      5989e748
    • Thomas Goirand's avatar
      Merge tag '12.13.0' into debian/yoga · f86df3fd
      Thomas Goirand authored
      oslo.messaging 12.13.0 release
      
      meta:version: 12.13.0
      meta:diff-start: -
      meta:series: yoga
      meta:release-type: release
      meta:pypi: yes
      meta:first: no
      meta:release:Author: Daniel Bengtsson <dbengt@redhat.com>
      meta:release:Commit: Daniel Bengtsson <dbengt@redhat.com>
      meta:release:Change-Id: I9a71c586c7ecb81363541f24550b6e276b52cf61
      meta:release:Code-Review+2: Hervé Beraud <herveberaud.pro@gmail.com>
      meta:release:Code-Review+2: Elod Illes <elod.illes@est.tech>
      meta:release:Workflow+1: Elod Illes <elod.illes@est.tech>
      f86df3fd
    • Thomas Goirand's avatar
      Now packaging 12.12.0 · c2e0ad7e
      Thomas Goirand authored
      c2e0ad7e
    • Thomas Goirand's avatar
      Merge tag '12.12.0' into debian/yoga · a8a5c8a7
      Thomas Goirand authored
      oslo.messaging 12.12.0 release
      
      meta:version: 12.12.0
      meta:diff-start: -
      meta:series: yoga
      meta:release-type: release
      meta:pypi: yes
      meta:first: no
      meta:release:Author: Hervé Beraud <hberaud@redhat.com>
      meta:release:Commit: Hervé Beraud <hberaud@redhat.com>
      meta:release:Change-Id: I27c955b47fafcb9db3be70d2a8f508fe9def348b
      meta:release:Code-Review+2: Elod Illes <elod.illes@est.tech>
      meta:release:Code-Review+1: Daniel Bengtsson <dbengt@redhat.com>
      meta:release:Workflow+1: Elod Illes <elod.illes@est.tech>
      a8a5c8a7
  3. 08 Feb, 2022 1 commit
  4. 05 Feb, 2022 1 commit
    • Hervé Beraud's avatar
      Adding support for rabbitmq quorum queues · 7e8acbf8
      Hervé Beraud authored
      https://www.rabbitmq.com/quorum-queues.html
      
      The quorum queue is a modern queue type for RabbitMQ implementing a
      durable, replicated FIFO queue based on the Raft consensus algorithm. It
      is available as of RabbitMQ 3.8.0.
      
      the quorum queues can not be set by policy so this should be done when
      declaring the queue.
      
      To declare a quorum queue set the x-queue-type queue argument to quorum
      (the default is classic). This argument must be provided by a client at
      queue declaration time; it cannot be set or changed using a policy. This
      is because policy definition or applicable policy can be changed
      dynamically but queue type cannot. It must be specified at the time of
      declaration.
      
      its good for the oslo messaging to add support for that type of queue
      that have multiple advantaged over mirroring.
      
      If quorum queues are sets mirrored queues will be ignored.
      
      Closes-Bug: #1942933
      Change-Id: Id573e04c287e034e50626daf6e18a34735d45251
      7e8acbf8
  5. 12 Jan, 2022 2 commits
  6. 21 Dec, 2021 2 commits
  7. 24 Nov, 2021 1 commit
  8. 09 Nov, 2021 1 commit
    • John Eckersberg's avatar
      amqp1: fix race when reconnecting · 02a38f50
      John Eckersberg authored
      Currently this is how reconnect works:
      
      - pyngus detects failure and invokes callback
        Controller.connection_failed() which in turn calls
        Controller._handle_connection_loss()
      
      - The first thing that _handle_connection_loss does is to set
        self.addresser to None (important later)
      
      - Then it defers _do_reconnect after a delay (normally 1 second)
      
      - (1 second passes)
      
      - _do_reconnect calls _hard_reset which resets the controller state
      
      However, there is a race here.  This can happen:
      
      - The above, up until it defers and waits for 1 second
      
      - Controller.send() is invoked on a task
      
      - A new Sender is created, and critically because self.reply_link
        still exists and is active, we call sender.attach and pass in
        self.addresser.  Remember _handle_connection_loss sets
        self.addresser to None.
      
      - Eventually Sender.attach throws an AttributeError because it
        attempts to call addresser.resolve() but addresser is None
      
      The reason this happens is because although the connection is dead,
      the controller state is still half-alive because _hard_reset hasn't
      been called yet since it's deferred one second in _do_reconnect.
      
      The fix here is to move _hard_reset out of _do_reconnect and directly
      into _handle_connection_loss.  The eventloop is woken up immediately
      to process _hard_reset but _do_reconnect is still deferred as before
      so as to retain the desired reconnect backoff behavior.
      
      Closes-Bug: #1941652
      Change-Id: Ife62a7d76022908f0dc6a77f1ad607cb2fbd3e8f
      02a38f50
  9. 21 Oct, 2021 1 commit
  10. 14 Oct, 2021 1 commit
    • Hervé Beraud's avatar
      Remove deprecation of heartbeat_in_pthread · d24edef1
      Hervé Beraud authored
      In some circumstances services can be executed outside of mod_wsgi and
      in a monkey patched environment. In this context we need to leave the
      possibility to users to execute the heartbeat in a green thread.
      
      The heartbeat_in_pthread was tagged as depreacted few months and planned
      for a future removal. These changes drop this deprecation to allow to
      enable green threads if needed.
      
      Closes-Bug: #1934937
      Change-Id: Iee2e5a6f7d71acba70bbc857f0bd7d83e32a7b8c
      d24edef1
  11. 29 Sep, 2021 1 commit
  12. 22 Sep, 2021 1 commit
  13. 13 Sep, 2021 2 commits
  14. 10 Sep, 2021 3 commits
    • OpenStack Release Bot's avatar
      Add Python3 yoga unit tests · 23040424
      OpenStack Release Bot authored
      This is an automatically generated patch to ensure unit testing
      is in place for all the of the tested runtimes for yoga.
      
      See also the PTI in governance [1].
      
      [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
      
      Change-Id: I0088ff54c4807f240a1db2457aeefcdf8b91375d
      23040424
    • OpenStack Release Bot's avatar
      Update master for stable/xena · 2a052499
      OpenStack Release Bot authored
      Add file to the reno documentation build to show release notes for
      stable/xena.
      
      Use pbr instruction to increment the minor version number
      automatically so that master versions are higher than the versions on
      stable/xena.
      
      Sem-Ver: feature
      Change-Id: Ia40ac2ccee4fe230605f3183b0b432b0e31bff04
      2a052499
    • Nikita Kalyanov's avatar
      use message id cache for RPC listener · 129c2233
      Nikita Kalyanov authored
      Return back the message id cache feature to RPC listener, it was
      removed while refactoring in I708c3d6676b974d8daac6817c15f596cdf35817b
      See attached bug for more info.
      
      We should not raise DuplicateMessageError to avoid rejecting the
      previously ACK'ed message.
      
      Closes-Bug: #1935883
      Change-Id: Ie237e9e3fdc3fc27b3deb18b94751cdc3afd190e
      129c2233
  15. 27 Aug, 2021 3 commits
    • Thomas Goirand's avatar
      0e398802
    • Thomas Goirand's avatar
      Now packaging 12.9.1 · abe5e307
      Thomas Goirand authored
      abe5e307
    • Thomas Goirand's avatar
      Merge tag '12.9.1' into debian/xena · 7f43a61c
      Thomas Goirand authored
      oslo.messaging 12.9.1 release
      
      meta:version: 12.9.1
      meta:diff-start: -
      meta:series: xena
      meta:release-type: release
      meta:pypi: yes
      meta:first: no
      meta:release:Author: Hervé Beraud <hberaud@redhat.com>
      meta:release:Commit: Hervé Beraud <hberaud@redhat.com>
      meta:release:Change-Id: Ic4256e444489b060b31fa5b7f3542a8044ed6958
      meta:release:Code-Review+2: Thierry Carrez <thierry@openstack.org>
      meta:release:Code-Review+2: Elod Illes <elod.illes@est.tech>
      meta:release:Workflow+1: Elod Illes <elod.illes@est.tech>
      7f43a61c
  16. 23 Aug, 2021 2 commits
    • Thomas Goirand's avatar
      Now packaging 12.8.0 (Xena). · 9e835774
      Thomas Goirand authored
      9e835774
    • Thomas Goirand's avatar
      Merge tag '12.8.0' into debian/xena · cbd731b1
      Thomas Goirand authored
      oslo.messaging 12.8.0 release
      
      meta:version: 12.8.0
      meta:diff-start: -
      meta:series: xena
      meta:release-type: release
      meta:pypi: yes
      meta:first: yes
      meta:release:Author: Hervé Beraud <hberaud@redhat.com>
      meta:release:Commit: Hervé Beraud <hberaud@redhat.com>
      meta:release:Change-Id: I6389de7eb3be8778839ecb300b07d5b80d9551cb
      meta:release:Code-Review+2: Thierry Carrez <thierry@openstack.org>
      meta:release:Code-Review+2: Elod Illes <elod.illes@est.tech>
      meta:release:Workflow+1: Elod Illes <elod.illes@est.tech>
      cbd731b1
  17. 16 Aug, 2021 1 commit
  18. 10 Aug, 2021 4 commits
    • John Eckersberg's avatar
      amqp1: Do not reuse _socket_connection on reconnect · f9de265f
      John Eckersberg authored
      Each _SocketConnection object is unique per-peer.  For example, the
      properties attribute may contain keys such as 'x-ssl-peer-name'.
      Reusing the existing _socket_connection during failover will cause the
      TLS handshake to fail since the peer name will not match.  There is
      potential for other similar-yet-unexplored bad things to happen as
      well.
      
      Instead, reconnect by waking up the eventloop via the _do_reconnect
      method, which reconstructs the connection properties to reflect the
      new (failed-over-to) host and ultimately crates a new
      _SocketConnection (or re-uses a *valid* old one) in
      eventloop.Thread.connect().
      
      Closes-Bug: #1938945
      Change-Id: I0c8dc447f4dc8d0d08c312a1f3e6fa1745fb69fd
      f9de265f
    • John Eckersberg's avatar
      amqp1: re-organize TestFailover to be reused by TestSSL · 01f5b378
      John Eckersberg authored
      This breaks out the generation of brokers and transport_url into
      separate methods.  These methods are used in the next patch in this
      series, where TestSSL is updated to inherit from TestFailover, and
      TestSSL overrides the _gen_brokers and _gen_transport_url methods to
      supply the necessary SSL-aware options.
      
      Change-Id: Ia2f977795abc2e81a996e299867e05d41057f33f
      01f5b378
    • John Eckersberg's avatar
      Revert "Disable AMQP 1.0 SSL unit tests" · fc49e04e
      John Eckersberg authored
      This reverts commit 8f5cfda6.
      
      Reason for revert: This was supposed to be temporary to unblock the gate.  Whatever broke SSL cert generation in the first place appears to be fixed because I can run SSL tests now.
      
      Change-Id: I4f286cf3af0d578f472b84fe355c812910c7a121
      fc49e04e
    • Zuul's avatar
      Merge "Changed minversion in tox to 3.18.0" · ee5eed86
      Zuul authored
      ee5eed86
  19. 12 Jul, 2021 1 commit
    • Nikita Kalyanov's avatar
      limit maximum timeout in the poll loop · bdcf915e
      Nikita Kalyanov authored
      We should properly limit the maximum timeout with a 'min' to avoid
      long delays before message processing. Such delays may happen if
      the connection to a RabbitMQ server is re-established at the same
      time when the message arrives (see attached bug for more info).
      
      Moreover, this change is in line with the original intent to
      actually have an upper limit on maximum possible timeout (see
      comments in code and in the original review).
      
      Closes-Bug: #1935864
      Change-Id: Iebc8a96e868d938a5d250bf9d66d20746c63d3d5
      bdcf915e
  20. 25 Jun, 2021 1 commit
  21. 10 Jun, 2021 1 commit
  22. 08 Jun, 2021 1 commit
    • Ching Kuo's avatar
      Add Support For oslo.metrics · bdbb6d62
      Ching Kuo authored
      This commit added support to send rpc metrics to oslo.metrics.
      
      Changes includes:
      - Adding client wrapper for oslo.metrics to process metrics information
        and send to oslo.metrics socket
      - Modify rpc client to send metric when certain rpc events happens
      
      For more information on oslo.metrics
      https://opendev.org/openstack/oslo.metrics
      
      Change-Id: Idf8cc0e52ced1f697ac4048655eff4c956fd5c79
      bdbb6d62
  23. 07 Jun, 2021 1 commit
  24. 26 May, 2021 1 commit