* Update charm-neutron-openvswitch from branch 'master'
to dd1b4d78fae22c86479bf2043b78b0a2fa428607
- Updates for caracal testing support
These updates, on the master branch, are to support testing the caracal
packages and support of the charms for caracal. They do NOT lock the charms
down, and don't change the testing branches to stable branches.
Update unit-test to deal with Py3.11 which is run on Debian Buster and
doesn't have /etc/lsb/release file (incorrect mocking issue).
Change-Id: Icddaf9f7b091a09ef4627384cd349e43b34b1325
* Update charm-neutron-openvswitch from branch 'master'
to d0731306393840e24e98b52a31977fe16d7aee54
- Fix typo in actions.yaml
There was a typo in actions.yaml for the resume action that was breaking
builds. This change fixes that typo. The charm will build.
Closes-Bug: 2030677
Change-Id: Ic3a1427a73f89f0e0b8d279e0ab9b221e74d0d52
* Update charm-neutron-openvswitch from branch 'master'
to 6e5cf7da7f3f5c1c8f98c6af087f16ae779d5381
- Add docs key and point at Discourse
Add the 'docs' key and point it at a Discourse topic
previously populated with the charm's README contents.
When the new charm revision is released to the Charmhub,
this Discourse-based content will be displayed there. In
the absense of the this new key, the Charmhub's default
behaviour is to display the value of the charm's
'description' key.
Change-Id: I85703b441023d58dee7fc2918cad2bc32899ae91
* Update charm-neutron-openvswitch from branch 'master'
to 906c376b231c6bc5a88ef1111f57a62b05e964db
- Enable jammy-antelope voting and drop kinetic-zed tests
* Voting was turned on for jammy-antelope in the
project-template for charm-functional-jobs in zosci-config
* Voting for jammy-antelope bundles with non-standard names
is turned on in individual charms
* Kinetic-zed bundles/tests are removed
Change-Id: I0d5d1e365cd5908a8d18f7f915474457d9f72025
* Update charm-neutron-openvswitch from branch 'master'
to 95dbcf349cde99bd66a6cdb352881775fb88579c
- Merge "Add Kinetic and Zed support"
- Add Kinetic and Zed support
* sync charm-helpers to classic charms
* change openstack-origin/source default to zed
* align testing with zed
* add new zed bundles
* add zed bundles to tests.yaml
* add zed tests to osci.yaml and .zuul.yaml
* update build-on and run-on bases
* add bindep.txt for py310
* sync tox.ini and requirements.txt for ruamel
* use charmcraft_channel 2.0/stable
* drop reactive plugin overrides
* move interface/layer env vars to charmcraft.yaml
* enable qos service plugin for neutron-api to ensure
migrate-ovn-db action is successful
Change-Id: I6f94ff3e557413b6096493f839c0a5f217c017d3
Closes-Bug: #1988089
* Update charm-neutron-openvswitch from branch 'master'
to b7a0f7a708478a6e74cc126d50c41fc0e9995228
- Quote single parameter string
Quotes around paramerer string because apt-add-repository requires
single parameter but networking-tools-source can contain multiple word entries.
Closes-Bug: #1980020
Change-Id: Ia59acbfb997e5df8638d8ad9135f11b121302815
* Update charm-neutron-openvswitch from branch 'master'
to 50ebf51d33da1b68b707a9601f3312dadb9f4834
- Updates to enable jammy and finalise charmcraft builds
- Add 22.04 to charmcraft.yaml
- Update metadata to include jammy
- Remove impish from metadata
- Update osci.yaml to include py3.10 default job
- Modify tox.ini to remove py35,py36,py37 tox target and add py310
target.
- ensure that the openstack-origin is yoga
Change-Id: I520f15d2a9fc2e281796db370d8ed3a88dd67789
* Update charm-neutron-openvswitch from branch 'master'
to dc8a0abddf44510649ce0f5f3faa9efcf22a4f25
- Update to classic charms to build using charmcraft in CI
This is for lastest/edge and yoga/edge.
This update is to ensure that the Zuul Canonical CI builds the charm
before functional tests and ensure that that artifact is used for the
functional tests. This is to try to ensure that the charm that gets
landed to the charmhub is the same charm that was tested with.
Change-Id: Ia56c171397ecf9fa638405fd960593cd57b87047
Co-authored-by: Aurelien Lourot <aurelien.lourot@canonical.com>
* Update charm-neutron-openvswitch from branch 'master'
to f6a9487b05b08e5481d0792d825c98548621e5c0
- Mark ovs-record-hostname as deferable service.
Add ovs-record-hostname to the list of deferrable services, this service
was SRU'ed into Ubuntu >= Focal, when it's not mark as deferrable on
package upgrades will induce a restart of openvswitch-switch.
Change-Id: I4fa3256b39e62e9df223ab40f17f1677a621f293
Closes-Bug: #1923636
Related-Bug: #1915829
* Update charm-neutron-openvswitch from branch 'master'
to 9951beeff2f5df55ce84f1aca4e2038eff990b39
- Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Note that https://github.com/openstack/charms.openstack is used during tests
and he need `mock`, unfortunatelly it doesn't declare `mock` in its
requirements so it retrieve mock from other charm project (cross dependency).
So we depend on charms.openstack first and when
Ib1ed5b598a52375e29e247db9ab4786df5b6d142 will be merged then CI
will pass without errors.
Depends-On: Ib1ed5b598a52375e29e247db9ab4786df5b6d142
Change-Id: I8eedfa05c07067bb9a0d3a331d1868210534d84c
* Update charm-neutron-openvswitch from branch 'master'
to 2a6cba8e6f6c609676a713e496ffd6f44264525d
- Fix QoS selection for SRIOV environments
When QoS is set in the neutron-api charm, the neutron-openvswitch
charm needs to add 'extensions = qos' to the sriov_agent.ini
file.
Closes-bug: #1938277
Change-Id: I44fbf5991d2606161b1bcbc064d4bc68a2fbbb5b
* Update charm-neutron-openvswitch from branch 'master'
to 641b7f311beadf49e09bb829aae971d420cbcb7d
- Add yoga bundles and release-tool syncs
* charm-helpers sync for classic charms
* sync from release-tools
* switch to release-specific zosci functional tests
* run focal-ussuri as smoke tests
* remove trusty, xenial, and groovy metadata/tests
* drop py35 and add py39
Change-Id: Id5a191694d70ef745bd41206eaa2222c95f48dfe
* Update charm-neutron-openvswitch from branch 'master'
to d3daa09bc49bcc5c66791565e1720a9a484ea149
- Add extension fwaas_v2 based on neutron-api relation data
fwaas_v2 extension is added in l3_agent.ini by default from stein.
However with the newly introduced neutron-api configuration parameter
enable-fwaas, the extension have to added only when it is set to true
on neutron-api charm.
neutron-api charm adds enabled-fwaas as relation data in the commit
https://review.opendev.org/c/openstack/charm-neutron-api/+/806676.
This patch removes special handling of fwaas_v2 as l3_extension_plugins
is already updated in relation data based on neutron-api enable-fwaas
configuration.
Add python3-neutron-fwaas in py3 package list only for rocky release. The
package is already part of dependency of neutron-l3-agent until Ussuri
release and the dependency will be removed from Victoria release in
package control files.
Synced charmhelpers to get related changes
https://github.com/juju/charm-helpers/pull/635
Closes-Bug: #1934129
Change-Id: I1546f45635bfd7af76001c1df4f99d219a9d8039
* Update charm-neutron-openvswitch from branch 'master'
to 13b024a3a2cd90ddfc9ccad1e3daebc421eb40af
- Merge "Replace reference to 'juju set' with 'juju config'."
- Replace reference to 'juju set' with 'juju config'.
Change-Id: I06119b4bdc76059dc28a78f80cedd00b8a05f7f8
* Update charm-neutron-openvswitch from branch 'master'
to 5b767823a4b77be45599dddd7cf6970ce1d35264
- Merge "Adds Neutron OVS agent config to DHCP daemon"
- Adds Neutron OVS agent config to DHCP daemon
The neutron-dhcp-agent might rely on options defined in
openvswitch_agent.ini. By default this config file is not passed to
neutron-dhcp-agent daemon, and therefore those options are not
loaded and fall back for the default values and by that inhibits
the desired behavior.
Charm helpers' PR: https://github.com/juju/charm-helpers/pull/615
Depends-on: I39024855c3e42ee135b6ad5e7618a770219b6994
Closes-bug: #1832021
Change-Id: I134c8077ee52ccdb4e383109ecbea27ed1633fb8
* Update charm-neutron-openvswitch from branch 'master'
to a8618324f5e10193a79a299ac290aa22cd637ee9
- Merge "Set NoopFirewallDriver when SGs disabled"
- Set NoopFirewallDriver when SGs disabled
Leaving firewall_driver unconfigured has expose an error
when configuring vlan trunk ports while security groups
are disabled. Setting it to NoopFirewallDriver allows it
to work properly.
Change-Id: I65ace64e0a71f78fa857481fff0a874cc018d7d8
Closes-Bug: #1934904
* Update charm-neutron-openvswitch from branch 'master'
to c13c30ce879327e6f6f89046faa6589fe0acf547
- Merge "Fix call to deferrable_svc_restart"
- Fix call to deferrable_svc_restart
The name of the argument used to pass a reason to `deferrable_svc_restart`
is `reason` not `restart_reason` *1
Change includes ch-sync.
*1 https://github.com/juju/charm-helpers/blob/master/charmhelpers/contrib/openstack/deferred_events.py#L297
Change-Id: Iacce01501cecd1ce732aaff54b00ac70b0b4e488
* Update charm-neutron-openvswitch from branch 'master'
to 3ace8be7a8403cd095b094972b398ed146ccea38
- Merge "Mention deferred service events in README"
- Mention deferred service events in README
This is a boilerplate section that will eventually
be added to the README for every charm that supports
the deferred restart feature.
Change-Id: I4aa805273f83b9cd88d96fa0e77b12e829cb2499
* Update charm-neutron-openvswitch from branch 'master'
to 3fc68108afbd3ce5caf46ea3e5eae05a920f6c0c
- Merge "Deprecate linux bridge usage in data-port config"
- Deprecate linux bridge usage in data-port config
f832f1073d47a430111c59563962922dfe37a0a5 addressed LP: #1635067 by
adding support for using pre-created Linux bridges in the data-port
config option.
The same use-case of reusing a single physical interface for VLAN
interfaces and plugging it into an OVS bridge can be addressed in a
different way by plugging the physical interface directly into the OVS
bridge and creating VLAN interfaces on that physical interface - this
does not require the use of veth pairs which is problematic due to the
performance reasons and lack of support for in netplan for veth pairs at
the time of writing.
There is a procedure to move from the setup with Linux bridge and veth
pair used to the one that does not which will be documented to migrate
the existing environments in-place.
Partial-Bug: #1877594
Change-Id: I5e455fa701cc2f5248ccfd9ed15f3c902aacb1ef
Co-authored-by: Aurelien Lourot <aurelien.lourot@canonical.com>
* Update charm-neutron-openvswitch from branch 'master'
to 6c2fc1642eae6616d0a313b5fb2f81f7f326d1ee
- Merge "Set explicitly_egress_direct=True for ml2 ovs"
- Set explicitly_egress_direct=True for ml2 ovs
This fixes a regression introduced in 16.3.0 neutron
release that causes non-offloaded ports to break on
hypervisors that have offloaded enabled.
Closes-Bug: #1931696
Change-Id: I1e884eac26d51c825736f34bcbfdccc906944b8d
* Update charm-neutron-openvswitch from branch 'master'
to 0e3da66f6e10f84ca58a5c65d183fcf74f25276e
- Merge "setup.cfg: Replace dashes with underscores"
- setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: I736a8f9ceaac558e62360b928bae05d9571e43ab
* Update charm-neutron-openvswitch from branch 'master'
to e33d2a7cf3e69c85967557eb6f8f8c273815ca7d
- Merge "Disable vrrp healthchecks by default"
- Disable vrrp healthchecks by default
VRRP healthchecks were enabled by default starting in the 19.07 charm
release for network deployments which utilize l3ha or dvr+snat. The VRRP
healthchecks have specific expectations that may not be satisfied in
various data centers. This leads to problems with networks as failed
healthchecks lead to router failovers.
This change alters the default config option to disable the vrrp
healthchecks by default and require users to opt in to using them. The
description around the option has been updated to indicate that doing so
may lead to routers failing over if ICMP pings are missed.
Change-Id: Ie281a311a95ba394d72c2dfeeb0a1a0a12847e77
Closes-Bug: #192101
* Update charm-neutron-openvswitch from branch 'master'
to 561e22d2629e6e597b38b30ec783a774960be41a
- Updates to flip all libraries back to master
This patchset updates all the requirements for charms.openstack,
charm-helpers, charms.ceph, zaza and zaza-openstack-tests back
to master branch.
Change-Id: I3a67beb7b06d6dec5fbb356ad6fa01a0a9590495
* Update charm-neutron-openvswitch from branch 'master'
to 96ba49807c38165bfc838aab569b5ec1804bd08b
- Fix regression of disable-mlockall
This restores OVS_DEFAULT to the BASE_RESOURCE_MAP.
There were some changes in commit ad7f870c that moved OVS_DEFAULT
out of the BASE_RESOURCE_MAP, which resulted in no more rendering
of /etc/default/openvswitch-switch for non-DPDK deployments.
Closes-Bug: #1925962
Change-Id: I8bc6e0c20e5702db5a44fda531b6a59ada5bee1e
* Update charm-neutron-openvswitch from branch 'master'
to be273f7719c0158eca54e5151d144f01d89afa6d
- Fix grammar in README
Change-Id: I98f7a8e3d431583b7b09854bd62153ca0472a529
* Update charm-neutron-openvswitch from branch 'master'
to 0653da1aa6e1c8dad57ad701431d53a7c2eadeb5
- 21.04 sync - add 'hirsute' in UBUNTU_RELEASES
The 'hirsute' key in c-h/core/host_factory/ubuntu.py:
UBUNTU_RELEASES had been missed out, and is needed for
hirsute support in many of the charms. This sync is to
add just that key. See also [1]
Note that this sync is only for classic charms.
[1] https://github.com/juju/charm-helpers/pull/598
Change-Id: I8518ef0545a788e7126dc2baf57029c74d4ba52b
* Update charm-neutron-openvswitch from branch 'master'
to 548a675f5ab647d60985e7ac5aaa7da0c7edaf4b
- Merge "21.04 libraries freeze for charms on master branch"
- 21.04 libraries freeze for charms on master branch
* charm-helpers sync for classic charms
* build.lock file for reactive charms
* ensure tox.ini is from release-tools
* ensure requirements.txt files are from release-tools
* On reactive charms:
- ensure stable/21.04 branch for charms.openstack
- ensure stable/21.04 branch for charm-helpers
Change-Id: I3b8e6ccdf10bf5a128f67b233e0218e16a8765ab
* Update charm-neutron-openvswitch from branch 'master'
to c345b5f06e333a29c3ee8810bb8620f9ffab619f
- Merge "Further deprecation of ext-port config option"
- Further deprecation of ext-port config option
Deprecate ext-port in favour of data-port and bridge-mappings. From now
on ext-port value will be ignored if data-port is specified in the
config. Log an error in the unit's log and display it in the unit's
status so that the user is aware of misconfiguration.
Update and add new unit tests to account for the introduced changes.
Add a new functional test case that verifies correct handling of
data-port and ext-port config options.
Signed-off-by: Przemysław Lal <przemyslaw.lal@canonical.com>
Change-Id: I4c6febbb56f9a61ff2519b60d2a746c9580a8f2d
* Update charm-neutron-openvswitch from branch 'master'
to f3dcdb937b2738dce14e6969c62730b674b96430
- Merge "Set external-ids for managed OVS bridges and ports"
- Set external-ids for managed OVS bridges and ports
Enable marking of OVS bridges and ports as managed by
charm-neutron-openvswitch. This enables more advanced use cases like
implmentation of idempotent config changes or cleanup of stale OVS
configuration.
Include functional test case that verifies whether external-ids are
properly set up on ports and bridges.
Sync charmhelpers.
Closes-Bug: #1917025
Partial-Bug: #1915967
Signed-off-by: Przemysław Lal <przemyslaw.lal@canonical.com>
Change-Id: I343f2c8258b7b8b91417dc6efc5bfe95351392a9
* Update charm-neutron-openvswitch from branch 'master'
to 71f281bc379815704fb24e5d8a96c126e4e694c5
- Merge "Use OVS charmhelpers to set up DPDK ports and bridges"
- Use OVS charmhelpers to set up DPDK ports and bridges
Replace deprecated code that was used for setting up DPDK ports and
bonds with calls to charmhelpers functions.
Pass DPDK configuration using ifdata and portdata dicts instead of
making direct ovs-vsctl calls.
Move installation of sriov-netplan-shim to the bash wrapper. This
resolves problems with non-working imports of sriov-netplan-shim in
charmhelpers.
Update unit tests to reflect that change.
Signed-off-by: Przemysław Lal <przemyslaw.lal@canonical.com>
Change-Id: Ica6f3ea66136bca6c77a5fb55ad7ef5d95aa1f6a
* Update charm-neutron-openvswitch from branch 'master'
to c4b05e58c5770c243c34cc484198be6bc473ccf4
- Merge "Update worker-multiplier config description"
- Update worker-multiplier config description
Based on the change in charm-helpers:
https://github.com/juju/charm-helpers/pull/553
Related-Bug: #1843011
Change-Id: I9cc584226c68d3a6fa4af547a18e3f8c0c043fc4
* Update charm-neutron-openvswitch from branch 'master'
to 34b35db625ab9c6b7a8f4186dd18c9bdae002521
- Merge "Remove bindep.txt and test with pinned lxml-4.6.2 in zot"
- Remove bindep.txt and test with pinned lxml-4.6.2 in zot
Change-Id: I5618b8a725936520e043540c880d327d35f8de35
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/531
* Update charm-neutron-openvswitch from branch 'master'
to dfbe69a62a7cd7f2b464c9c50a39f46b349b1a82
- Add hirsute and remove trusty from metadata.yaml
This update adds the new hirsute Ubuntu release (21.04) and
removes trusty support (14.04 which is EOL at 21.04).
Change-Id: Ica2e23d600ec45de0c2663922b54a3b725c37270
* Update charm-neutron-openvswitch from branch 'master'
to bd851d488411b46136df410845bc7b5c970a3660
- Improve documentation on data-port functionality
Update docs to clarify that manual removing of previous
values are required if the config changes.
Related-bug: #1915967
Change-Id: I99ffab5488a088c40c276ba5be0b60223e077eb6
* Update charm-neutron-openvswitch from branch 'master'
to 7b9b0de5211b9cddce1d05a3e939839a21761712
- Merge "Add new osci.yaml"
- Add new osci.yaml
This change is preparatory to migration Ubuntu OpenStack CI
from Jenkins to Zuul
Change-Id: I996496c12e189257a27fdb39dd094ccb0a6df929
* Update charm-neutron-openvswitch from branch 'master'
to 31ad50fb80b685b6fbde5b8c0c51d91e785bbc54
- Add in missing dev_bundles key to tests.yaml
Ensure that trusty-mitaka and other EOL bundles are moved into the
dev_bundles key in tests.yaml
Change-Id: I4cc2fe3ed9d9af884d2d6d1e47f7d15687f72f4d