Commit Graph

305 Commits

Author SHA1 Message Date
Takashi Kajinami 4a30bd1019 Prepare 2024.1 release
Change-Id: Ia68a788bafcf2b857799f3f9ed8fb19452ea8c20
2024-04-15 22:33:51 +09:00
Zuul 07dae3a16a Merge "reno: Update master for unmaintained/xena" 2024-04-12 13:06:12 +00:00
OpenStack Release Bot c350bf67d1 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: Ia901641ca73c2cfdc2a71b96252df009814d6be1
2024-04-12 12:34:26 +00:00
OpenStack Release Bot f021eaaa73 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I06c6ef64398a7986e6d2ec7c2516d2f48cf20d0b
2024-04-12 12:26:48 +00:00
OpenStack Release Bot aba256afb0 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I9792073d5034078d0a2c2f47df052f5dd6b6c15f
2024-02-21 16:50:35 +00:00
Takashi Kajinami 22e4982217 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] 02512cccbc

Change-Id: If3630e6a08abc8216fbd5e059fb5a8e51294b6da
2023-11-19 02:59:59 +09:00
Takashi Kajinami bdffc5bb6b 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
2023-11-18 09:20:56 +00:00
Zuul 52d142d918 Merge "Replace params by hieradata" 2023-10-31 03:55:38 +00:00
Takashi Kajinami 02512cccbc 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
2023-10-23 23:30:45 +09:00
Zuul 3a1996d774 Merge "Accept hash for ovn_bridge_mappings" 2023-10-17 15:58:50 +00:00
Zuul ca298483c8 Merge "Create ovs bridge in acceptance tests" 2023-10-17 14:59:51 +00:00
Takashi Kajinami 10bb026ced Accept hash for ovn_bridge_mappings
Change-Id: I61cf0f01722703159831fcd334762f559e0f7e75
2023-10-17 11:10:50 +09:00
Takashi Kajinami d271a4df65 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
2023-10-17 02:07:00 +00:00
Zuul ef28376408 Merge "Update master for stable/2023.2" 2023-10-16 18:23:44 +00:00
OpenStack Release Bot 8f962199fa 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
2023-10-16 15:19:32 +00:00
Takashi Kajinami e6d918f616 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
2023-10-15 17:13:21 +09:00
Takashi Kajinami 29789848df 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
2023-10-11 12:07:55 +09:00
Zuul e85bb8d7d6 Merge "Prepare 2023.2 release" 2023-10-03 17:25:02 +00:00
Zuul 5a45abb111 Merge "Drop unused openstacklib dependency" 2023-10-03 17:25:01 +00:00
Takashi Kajinami cbe6f8892c Prepare 2023.2 release
Change-Id: I3cfaf1a71cf2b586c2242fffe8136afe6ef89428
2023-10-03 07:47:52 +00:00
Takashi Kajinami f9506f84bc Drop unused openstacklib dependency
This module no longer depends on openstacklib since support for
os_service_default fact was removed by [1].

[1] cb9fed3f7a

Change-Id: I9371a59c52862c13b26722ee351ca71e955bb022
2023-10-03 16:43:22 +09:00
Takashi Kajinami 89a274e4e7 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
2023-10-03 13:20:36 +09:00
Zuul 384e0739a6 Merge "replace validate_legacy with proper data types" 2023-09-14 07:13:53 +00:00
Takashi Kajinami b4c3de8a99 Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.

Change-Id: Ia52b8df6ced25de8cd8f7ac168f36a6040ffc70e
2023-08-11 17:58:27 +09:00
Takashi Kajinami 9a35c2b7e0 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
2023-08-11 00:50:37 +09:00
Takashi Kajinami f3c77e38df 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
2023-07-13 14:52:59 +09:00
Takashi Kajinami 27505e2641 Fix ignored ovn_controller_extra_opts
Change-Id: Ifb9ea11f3c3de03b3e1bc34d155ec7caa91a675a
2023-07-13 13:00:40 +09:00
Takashi Kajinami 4f89c1e3b2 Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.

Change-Id: Ice6e6ed679e593e1c8157069eca1e71eb372c564
2023-05-22 12:28:54 +09:00
OpenStack Release Bot 5bc5cce5e2 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
2023-04-05 15:35:07 +00:00
Takashi Kajinami a63b36d321 Prepare 2023.1 release
Change-Id: I62496e4ae2792aff49b88d4b007e00c084a6f3c0
2023-03-23 22:45:37 +09:00
Takashi Kajinami 4f6e8f42d5 Add strict validation about boolean/array
... to avoid unexpected behavior caused by wrong types.

Change-Id: Ie24246c828e6bb49ac169cbafba8b971243d3b2a
2023-03-19 17:12:43 +00:00
Takashi Kajinami b6dd569b35 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
2023-03-20 00:42:29 +09:00
Zuul 9c586c19ee Merge "Support ssl options for ovn db" 2023-03-05 11:45:24 +00:00
Takashi Kajinami f831d81a5f 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
2023-03-01 16:57:56 +09:00
Takashi Kajinami 66187619f2 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
2023-02-28 10:12:20 +09:00
Takashi Kajinami 9f91e4b106 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
2023-02-28 10:11:52 +09:00
Zuul a7e4636109 Merge "Fix missing dependencies about command line options setting" 2023-02-27 19:36:24 +00:00
Takashi Kajinami db30911f99 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
2023-02-26 16:06:01 +09:00
Takashi Kajinami f875236386 controller: Ensure boolean values
Some parameters are used in if-else logic and non-boolean values can
cause unexpected results.

Change-Id: I8b8bcf883bc8907e6436785dd2a0e698785e3a13
2023-02-25 23:53:06 +09:00
Takashi Kajinami a5cb9fd56a Switch to Ubuntu Jammy (22.04)
... because Focal no longer supports the recent releases such as Zed.

Change-Id: Ia281d8db2b2251197d25c9247c7ab5cef6edd9c4
2023-01-15 22:29:34 +09:00
Zuul 2eec688ebd Merge "Support customizing package state" 2022-12-05 18:32:41 +00:00
Takashi Kajinami 2698b1c19e Support customizing package state
... so that users can install specific versions or even update some
packages.

Change-Id: I09318d95d905ef9c298f3b58c605be585b9a20f1
2022-12-05 17:15:38 +09:00
Zuul 1a294bd79c Merge "Add support for SSL connections to NB/SB DB" 2022-12-01 17:32:27 +00:00
Zuul 6b668e57de Merge "Add support for clustered DB" 2022-12-01 17:31:56 +00:00
Takashi Kajinami 1bfe785fd5 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
2022-12-01 16:16:48 +09:00
Jake Yip 889de8b44d 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
2022-12-01 14:30:55 +09:00
Zuul db18c16911 Merge "Remove logic to support $::os_service_default" 2022-12-01 03:40:58 +00:00
Takashi Kajinami cb9fed3f7a Remove logic to support $::os_service_default
... because support for $::os_service_default was deprecated[1] during
the previous cycle.

[1] 5c809de016

Change-Id: Idb92e3d4f52eefabca992c027f1576700fc63234
2022-11-28 14:21:36 +09:00
David Hill bd2256daea 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
2022-11-24 09:32:34 -05:00
Terry Wilson b5d38dcbd4 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
2022-11-07 15:08:45 +00:00