Skip to content

Conversation

github-actions[bot]
Copy link

This PR contains a snapshot of zed from upstream.

lewisdenny and others added 4 commits January 11, 2024 17:17
The agent_down_time ends up being passed to an eventlet green-thread;
under the hood, this uses a CPython C-types interface with a limitation
of (2^32 / 2 - 1) INT_MAX (as defined in C) where int is usually 32 bits

I have set the max value to (2^32 / 2 - 1)/1000 as agent_down_time
configured in seconds, this ends up being 2147483.

This patch is required as passing a larger number
causes this error: OverflowError: timeout is too large

If a user currently has a value larger than (2^32 / 2 - 1)/1000 set,
Neutron Server will fail to start and will print out a very helpful
error message.

Conflicts:
      neutron/conf/agent/database/agents_db.py

Closes-Bug: #2028724
Change-Id: Ib5b943344cddbd468c00768461ba1ee00a2b4c58
(cherry picked from commit 6fef1e6)
This reverts commit 222c997.

Reason for revert:
This patch seems to be breaking the test
"test_multiple_agents_for_network(Open vSwitch agent)" in the
fullstack job.

Change-Id: Ib93ebdcceb177c297b3b287fda01e3d57a275cb4
Related-Bug: #1961740
@github-actions github-actions bot requested a review from a team as a code owner January 29, 2024 08:22
@github-actions github-actions bot added automated Automated action performed by GitHub Actions synchronisation labels Jan 29, 2024
@markgoddard markgoddard merged commit 37b6ff4 into stackhpc/zed Jan 29, 2024
@markgoddard markgoddard deleted the upstream/zed-2024-01-29 branch January 29, 2024 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated Automated action performed by GitHub Actions synchronisation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants