* Update puppet-ovn from branch 'master'
to aba256afb0ab8b36ffa730731b2c9c2725db0a11
- reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.
Change-Id: I9792073d5034078d0a2c2f47df052f5dd6b6c15f
* Update puppet-ovn from branch 'master'
to 22e498221787fdb86760e14c9473e79f4095cfcc
- Make parameter names more sensible
This updates the parameters introduced by [1] during this cycle, to
better represent for what the parameter is used.
[1] 02512cccbcd3d8b236bf332de97db727a469e862
Change-Id: If3630e6a08abc8216fbd5e059fb5a8e51294b6da
* Update puppet-ovn from branch 'master'
to bdffc5bb6be1b579de0193a7fded963cdf64ab44
- Bump supported Debian version to 12 (Bookworm)
Debian 12 was released in June 2023. Recent versions of OpenStack
(actually, 2023.1 and later) no longer support Debian 11.
Change-Id: Icb4f74a94b30d078b1bf1a2b4956be5d1aaf5d57
* Update puppet-ovn from branch 'master'
to 52d142d9181daa7f58b4d457988c3298d59b16a1
- Merge "Replace params by hieradata"
- Replace params by hieradata
The params class is the legacy approach to define OS/version specific
values. This replaces the params class by the module hieradata
following the recent standard.
Depends-on: https://review.opendev.org/c/openstack/puppet-vswitch/+/886112
Change-Id: I8d01236c04cf2b61f1c1bf39ecf54ca0a67a33a9
* Update puppet-ovn from branch 'master'
to ca298483c831ee89344e6cb7f0fbc16b199503bc
- Merge "Create ovs bridge in acceptance tests"
- Create ovs bridge in acceptance tests
The current setting of ovn depends on the br-ex bridge. Let's ensure
the bridge is created.
Depends-on: https://review.opendev.org/898261
Change-Id: I50747684df2f1b303b7ae865eacc8dc0ac8a2112
* Update puppet-ovn from branch 'master'
to ef283764084ee4418ac405bda1d579b6650e3ee3
- Merge "Update master for stable/2023.2"
- Update master for stable/2023.2
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: I774fcd1227f7bb836ca11da923ec2e12be9f6edf
* Update puppet-ovn from branch 'master'
to e6d918f61655b3a3713b4133bf6bb8761cb95168
- Debian/Ubuntu: Drop old workaround for broken service status
It seems the issue no longer exists in Debian or Ubuntu, likely since
these distributions replaced init by systemd.
Change-Id: I432917dd991409c434ce5c7fac9fd6458943d266
* Update puppet-ovn from branch 'master'
to 29789848df0196063d9828553a5d1401cf2c4d86
- Remove usage of deleted manifest_dir
Recent update in rspec-puppet removed some of the config interfaces for
old puppet versions[1]. This drops usage of these interfaces to resolve
the following error in unit tests.
```
An error occurred while loading ./spec/unit/provider/manila_spec.rb.
Failure/Error: c.manifest_dir = File.join(fixture_path, 'manifests')
NoMethodError:
undefined method `manifest_dir='...
```
[1] 316d95923c
Change-Id: I54ae9e2e3fa8af1bad01dc4784e156ee719b9511
* Update puppet-ovn from branch 'master'
to 5a45abb1119f0380d4e864f02cf50a0a580eb8e1
- Merge "Drop unused openstacklib dependency"
- Drop unused openstacklib dependency
This module no longer depends on openstacklib since support for
os_service_default fact was removed by [1].
[1] cb9fed3f7aca11dc1b4d6a3867ae4d367b53b671
Change-Id: I9371a59c52862c13b26722ee351ca71e955bb022
* Update puppet-ovn from branch 'master'
to 89a274e4e7c394cc3eacd067cfa760aacb388d6b
- Bump upper version of stdlib
... because we are currently using v9.0.0 in CI. Lower version may be
bumped after 2023.2 release.
Change-Id: I1c3c4d7fd8f375895da311d55ac56e0ac28c14b3
* Update puppet-ovn from branch 'master'
to 384e0739a68001eea512a19a64e86718f9f80ba2
- Merge "replace validate_legacy with proper data types"
- replace validate_legacy with proper data types
the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.
This also adds type definitions for all parameters.
Change-Id: I8744aa9b9652250a69573cece6ceab4963a2d191
* Update puppet-ovn from branch 'master'
to b4c3de8a9914ff8c1f2218ab963575b1bbadcaca
- Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.
Change-Id: Ia52b8df6ced25de8cd8f7ac168f36a6040ffc70e
* Update puppet-ovn from branch 'master'
to 9a35c2b7e0a8dbb5e78fb9a450b3e6f20f69d751
- Add .pdkignore to exclude some files from tar ball
We've seen release job failures caused by too large tarball, which
contains irrelevant files like git history.
Let's exclude these files to reduce size of the archive.
The file is copied from the puppetlabs repositories with some files
specific to OpenStack projects added.
Change-Id: I746e4be16d261485b71428d632b7d20a3c72802d
* Update puppet-ovn from branch 'master'
to 4f89c1e3b29b3b1fc5aae07dfdd71af746b53434
- Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.
Change-Id: Ice6e6ed679e593e1c8157069eca1e71eb372c564
* Update puppet-ovn from branch 'master'
to 5bc5cce5e22790e6295ec360d1041de71bfea89e
- Update master for stable/2023.1
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: Ifc5263bad68753c34bce62fbf8852aa3566525ef
* Update puppet-ovn from branch 'master'
to 4f6e8f42d5e64c5fe91bcfb706d09e4769329d1f
- Add strict validation about boolean/array
... to avoid unexpected behavior caused by wrong types.
Change-Id: Ie24246c828e6bb49ac169cbafba8b971243d3b2a
* Update puppet-ovn from branch 'master'
to b6dd569b35911b893dc75e42cc30cc948942184b
- Support array for ovn-encap-type
The external_ids:ovn-encap-type option can accept multiple types with
a comma-separated list. This allows using a native array for this
option so that users can compose the expected value easily.
Change-Id: I743e96e4deff5536b0f3dc21cd24017c1328e34c
* Update puppet-ovn from branch 'master'
to 9c586c19ee29826873571f86d0a63458555715fd
- Merge "Support ssl options for ovn db"
- Support ssl options for ovn db
This change introduces support for some options to enable ssl in OVN
northbound DB and OVN southbound DB. This also adds an option to inject
arbitrary options so that users can add additional options which are
not directly supported.
Change-Id: I8d70d691ff661f1341f546eedb2683549f08a3e7
* Update puppet-ovn from branch 'master'
to f831d81a5f4126270638238c53e869f9d2040b47
- Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.
Change-Id: I1127eb2066a93b642b21186f4d351a12c40e6296
* Update puppet-ovn from branch 'master'
to 9f91e4b106879f1d6cc31eaf5a54772b345af339
- northd: Escape IPv6 address
Current ovn-ctl uses raw address to build --remote option, and fails to
start ovn db if address is a non-escapted IPv6 address.
This ensures IPv6 address is escaped before being passed to the address
options.
Change-Id: Iab3f68cbb3793dc7b51d6a3ab870130032112d87
* Update puppet-ovn from branch 'master'
to a7e4636109d020879d5083b876c9e9f8d93613c0
- Merge "Fix missing dependencies about command line options setting"
- Fix missing dependencies about command line options setting
The command line options should be updated after ovn package is
installed, otherwise the file provided by the package is not used.
Also, ovn-northd service should be restarted when its command line
options are modified, otherwise the modification is not loaded by
the service.
Change-Id: I113040ee3f05f2a914613de8847e752ff31965d8
* Update puppet-ovn from branch 'master'
to f875236386c756d3e54e5d35f1dfc78cd8cf01cb
- controller: Ensure boolean values
Some parameters are used in if-else logic and non-boolean values can
cause unexpected results.
Change-Id: I8b8bcf883bc8907e6436785dd2a0e698785e3a13
* Update puppet-ovn from branch 'master'
to a5cb9fd56a0d42439e6367039d904ed2f99a3682
- Switch to Ubuntu Jammy (22.04)
... because Focal no longer supports the recent releases such as Zed.
Change-Id: Ia281d8db2b2251197d25c9247c7ab5cef6edd9c4
* Update puppet-ovn from branch 'master'
to 2eec688ebde160d0d8e39089c5fe3c82023b1427
- Merge "Support customizing package state"
- Support customizing package state
... so that users can install specific versions or even update some
packages.
Change-Id: I09318d95d905ef9c298f3b58c605be585b9a20f1
* Update puppet-ovn from branch 'master'
to 1a294bd79c639f3101684c19b9bf3b62ea913182
- Merge "Add support for SSL connections to NB/SB DB"
- Add support for SSL connections to NB/SB DB
To allow ovn-northd to connect over SSL, the key, cert and cacert needs
to be set.
Co-Authored-By: Jake Yip <jake.yip@ardc.edu.au>
Change-Id: I574992748506e357af383588fb89b45203dee738
* Update puppet-ovn from branch 'master'
to 6b668e57de96b03c4062624300d7df0be2420894
- Merge "Add support for clustered DB"
- Add support for clustered DB
For a cluster db, nb_db and sb_db should be set to the cluster
addresses[1] instead of default local unix socket.
[1]
e.g. ssl:192.0.2.1:6645,ssl:192.0.2.2:6645,ssl:192.0.2.3:6645
Change-Id: I8f3a8ae0b7c3803726568cf4a1a132a874d00aa9
* Update puppet-ovn from branch 'master'
to db18c169114496de48904d501b9d20be79671310
- Merge "Remove logic to support $::os_service_default"
- Remove logic to support $::os_service_default
... because support for $::os_service_default was deprecated[1] during
the previous cycle.
[1] 5c809de01630ee7eede500106143810ca57b58b5
Change-Id: Idb92e3d4f52eefabca992c027f1576700fc63234
* Update puppet-ovn from branch 'master'
to bd2256daeae7ef1a1344cdb172e0f4422ceba706
- Add an extra space to align variables in class ovn::controller
Add an extra space to align variables in class ovn::controller
Change-Id: I40afe284da3b6c0b6f7d6af813a24801f8f40654
* Update puppet-ovn from branch 'master'
to b5d38dcbd4cc8a56cc0d028f982accf23a19b15c
- Add support for ovn-ofctrl-wait-before-clear
Support was added for this option [1] to avoid dataplane downtime
during ovn upgrades where schema changes have happened. This
adds the ability for us to configure it.
[1] https://patchwork.ozlabs.org/project/ovn/patch/20220808182845.2746916-2-mmichels@redhat.com/
Change-Id: Ia3112b9a219b90af718c49776da49078449f09a2
* Update puppet-ovn from branch 'master'
to d73e5c90346a69c5583f01007e93332a3339367e
- Update master for stable/zed
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: Ide5944f9aecb4b66926e44e62aa3cce15cc94878
* Update puppet-ovn from branch 'master'
to a377b3649499532a8b59df5d2334bd6c28dc538b
- Remove redundant resource order
The puppet-vswitch module already makes sure that the vs_config
resource automatically requires the openvswitch service. Thus defining
the same order is not necessary.
Change-Id: I8825a7438ba20be97da71acabd57604e7948e130
* Update puppet-ovn from branch 'master'
to 3055bbc5aa312fa92c9eb39f33e54825e805a612
- Test default behavior of ovn::controller
This fixes missing unit test cases to test behavior of ovn::controller
with only the required parameters.
Change-Id: I1b631c39dbdcab6df2590a11cb61e554c3c3a05c
* Update puppet-ovn from branch 'master'
to 7c1c3312fd2eed7a7f282d72d56cf6ffd1bc2587
- Fix options unmanged by default
The following options are not managed unless the corresponding
parameters are set.
- external_ids:ovn-cms-options
- external_ids:ovn-chassis-mac-mappings
This change ensures these are purged by default, to avoid leaving old
settings.
Change-Id: Id98eb9b2da1248b6e49015c8588ceb901362ce72
* Update puppet-ovn from branch 'master'
to 054a60c360f6ef9a06c146131f502444b8a9f0d0
- Add support for external_ids:ovn-encap-tos
... which is available since v21.12.0[1].
[1] 9f2eb5cdb6
Change-Id: I33931579b15a1629007dbe3a3d48433739b0ce56
* Update puppet-ovn from branch 'master'
to 59ffa355e9e1e4f391cdfa87d6bc0c3d7e722dd6
- Ensure ovn-bridge-datapath-type is removed by default
This is follow-up of 5c809de01630ee7eede500106143810ca57b58b5 and
ensures the ovn-bridge-datapath-type option is removed by default.
Current Puppet does not ensure the value in case a nil value is passed
thus setting value => undef has no effect.
Change-Id: Ia7e85756882606912e06a6742cd35517b568dffe
* Update puppet-ovn from branch 'master'
to 4f58f3ccd36f46dc20556653d5304ec1fe9c3865
- Merge "Use native property to set mac table size"
- Use native property to set mac table size
Related-Bug: #1958873
Depends-on: https://review.opendev.org/850086
Change-Id: Ic9ed651720dc6089cb81a6b303695e62883ad7bd
* Update puppet-ovn from branch 'master'
to 3b59fed243b9bf4efd26efd361d95a083fa62e66
- Merge "Use the common manifest in acceptance tests"
- Use the common manifest in acceptance tests
Depends-on: https://review.opendev.org/848488
Change-Id: I3c38f570741819455d6808dcf36c5988ad5ffac3
* Update puppet-ovn from branch 'master'
to 42a579c75ee89522dd33c9f63c9e3f89bd670639
- Merge "Fix logics to assert ovn::controller::(bridge|port)"
- Fix logics to assert ovn::controller::(bridge|port)
ovn::controller::bridge and port are created for each element of
the mappings parameter, thus we should not join all elements but check
individual elements.
Change-Id: Ic6f30108b9bff9203195dc35280e010679517e30
* Update puppet-ovn from branch 'master'
to 01f3b816582a8d3b81bc923d9494409cedd236d8
- Merge "Refactor generation of northd options"
- Refactor generation of northd options
This change refactors the logic to generate northd options.
The main change is to split individual options to a separate string and
concatenate the arrays of options to get the all options.
Change-Id: I4094214cb790497bbab36968fe97d93366898e67
* Update puppet-ovn from branch 'master'
to ef0280d8b7fdecaa0d642ed4c72a7c66a9f47e5f
- Merge "Enable scenario 003 integration job"
- Enable scenario 003 integration job
Now we use ml2+ovn in scenario 003 as the replacement of unmaintained
ml2+linuxbridge.
Depends-on: https://review.opendev.org/849080
Change-Id: Ibd494d3e8c8fc362143e93c95e72a03bde83890c
* Update puppet-ovn from branch 'master'
to 9620b38cf0956c09c086c44033b1a021bbc7617b
- Stop converting integer/boolean in vs_config
Now the vs_config resource type accepts integer or boolean and we don't
need to convert these types to strings.
Depends-on: https://review.opendev.org/823244
Change-Id: Id1d2d6eda7747ae7a751214860eed560a5a32499
* Update puppet-ovn from branch 'master'
to 1d90282fd20a7cc89090bd11cfac4dfd8282de01
- Enable scenario 005 integration job
... to test a deployment with ml2+ovn.
Depends-on: https://review.opendev.org/826034
Change-Id: Ifd51eb429c711d1d2590b11b7e749c0dd06e3d9b
* Update puppet-ovn from branch 'master'
to 97f9bd1de976270dfb783409e8460f1a175615f5
- Remove support for CentOS 8 Stream
... because RDO will provide packages for only CentOS Stream 9 for Zed
release. This change removes RHEL 8 as well.
Depends-on: https://review.opendev.org/843503
Change-Id: I2fa29298d4dbc8e85316773334a959364634260f
* Update puppet-ovn from branch 'master'
to ad6d4bdbe9b2bb26e8dfaef10120b1476ffc8240
- Fix validation of datapath_type
Commit 5c809de01630ee7eede500106143810ca57b58b5 updated default value
of $datapath_type but the validation logic was not properly updated.
This change fixes the logic so that it properly fail with the new
default value (undef).
Change-Id: If44a90a817bf1fd5d5b9bd15fa915243a048a196
* Update puppet-ovn from branch 'master'
to 3bac73d8c3fed95a1f2b3ee8e1894542c64e3e82
- Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.
Sem-Ver: feature
Change-Id: Ibfcc6f1f582eeebd5535558fc45ee37c8e711e87