Since version 7 docker-py has refactored tls.TLSConfig, and
assert_hostname parameter is no longer available. Remove it
here as well.
And fix websocket proxy to be able to connect to TLS-secured
Docker API.
Change-Id: Ie83d7b485886decb4078a90f4028246c8d995b2e
With recent Docker, trying to create a container via API by
specifying both network 'none' and a MAC address results in a
Bad Request error: 'conflicting options: mac-address and the
network mode'
Remove MAC address from initial container setup.
Change-Id: I7749ca3f002472b7588aeac7331eda5ba6cb6d1b
olso.policy 4.5.0[1] changed the config options policy_file
default value to 'policy.yaml', which means it is changed
for all the OpenStack services and they do not need to
override the default anymore.
NOTE: There is no change in behaviour here, oslo.policy provides
the same configuration that services have overridden till now.
[1] https://review.opendev.org/c/openstack/releases/+/934012
[2] https://review.opendev.org/c/openstack/requirements/+/934295
Change-Id: Icb8cee28ac8463550315df625199afef70ff5999
This code worked around a bug in eventlet[1] that has been fixed in
115103d5608cbe8f15df10e27eba1644f5364e95. The fix has been available in
every eventlet release since v0.27.0.
[1] https://github.com/eventlet/eventlet/issues/592
Change-Id: I064ad8eb830c24eee97a7136396edc7b515ed479
Add file to the reno documentation build to show release notes for
stable/2024.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.2.
Sem-Ver: feature
Change-Id: I0585247b0701e56c5687a159b8e5cea780388d7e
This replaces deprecated not_called and called_once_with with
assert_not_called and assert_called_once_with corresponsively.
Change-Id: I743d8161fb1e89ff088fc264e87887d205d2f33a
With SQLalchemy 2.0 strings are no longer accepted as attributes for
the loader and attributes must be used instead directly.
This also fixes DB migrations by removing deprecated subtransactions.
Change-Id: I94865b90701e5a51f69187d9e790386e29ad7b5a
It seems sqlalchemy removed the support of autocommit which broke
the unit tests. This patch moves away from autocommit.
Change-Id: I756f65a189d8cc4ab9e65b607fa54edb52c60700
Add file to the reno documentation build to show release notes for
stable/2024.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.
Sem-Ver: feature
Change-Id: I781c0f9882f210575e3ce836e42dce94dc9811f9
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg
Change-Id: I3dc98d4e5e0b4b210d1bbeb4345fe97cbafd17be
Docker has removed external cluster store in latest version.
Therefore, we switch to "local" mode to work around.
Closes-Bug: #2007142
Change-Id: I31d140a75dae2ddd23551e648d0492327a8d8c8e
With latest sqlalchemy there is no alter attribute for the Column object
Thus, zun-db-manage upgrade fails with AttributeError. Instead of trying
to use SQLAlchemy for altering Column we should use alembic instead
for the migration
This also fix py3.11 job by replacing libmysqlclient-dev with
libmariadb-dev-compat which is available for both ubuntu and debian.
Closes-Bug: #2043209
Change-Id: Iaba736d391ad5820de5f481d2c5bac1714dc0809
Add file to the reno documentation build to show release notes for
stable/2023.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.
Sem-Ver: feature
Change-Id: Id19a4cca43e12eef5937706a18c129c6c2cdf994
There is a difference between "openstack appcontainer stats <id>"
and "docker stats <id>" in memory value.
Cache Usage should be removed from the memory usage while calculating
which is present in docker SDK.
This patch contains the Cgroup V1 and V2 handling for Memory stats
Closes-Bug: #1989792
Change-Id: I4f1d9b738ee5de176b6e0ef69593363f2977f07a
The Bulk stats are coming 0 in case we are fetching from zun
However, docker sdk is giving the stats properly in a different
field
Closes-Bug: #2013046
Change-Id: Ia55262f33222f5ca2f041be0b34b96840a47b727
Add file to the reno documentation build to show release notes for
stable/2023.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.
Sem-Ver: feature
Change-Id: I566b07e5f03b5cc305225ec451cd548f877e450e
tox.ini started failing with Tox4 which had some
incompatible changes. One is passenv where we need
to pass each value in newline otherwise, it fails with
error:
failed with pass_env values cannot contain whitespace,
use comma to have multiple values in a single line,
invalid values found.....
Fixing tox.ini for tox4 changes.
Change-Id: I86640fc7ae5565838c701974252a5775d1582eb4
The new git owner check [1] broke zun installation process.
We add an exception to skip the check.
[1] 8959555cee
Change-Id: I5dd1e4057722ddece259c70985b77a3dd1dfd48b
oslo.db 12.1.0 has changed the default value for the 'autocommit'
parameter of 'LegacyEngineFacade' from 'True' to 'False'. This is a
necessary step to ensure compatibility with SQLAlchemy 2.0. However, we
are currently relying on the autocommit behavior and need changes to
explicitly manage sessions. Until that happens, we need to override the
default.
Change-Id: I04b336a42b5cbb458badde3bb04d35363d7834d8
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I3cf69979f3b29fc199ede35cf6d80b48024528d0
Add file to the reno documentation build to show release notes for
stable/zed.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.
Sem-Ver: feature
Change-Id: I6e4fe6fc8ba53c97d422e5eac8bc46f711dc641a