2472 Commits

Author SHA1 Message Date
Takashi Kajinami
8c33f8c106 Fix incorrect handling of list values
Neutron accepts multiple values for availability zone hint, subnet, and
fixed-ip and return lists with multiple elements. At this moment
the corresponding properties in our resource types do not support
array value so we should always pick the first element to fill
the interface mismatch.

Change-Id: I3bcca8b7824be1c56661bef56ed523cc4dfb5d7a
(cherry picked from commit 31862093eb128c263f11926388f3eb7325c6ae80)
(cherry picked from commit 50efca8bb825ba45a72fc9d90babc7d239d1a997)
2024-10-10 16:18:37 +00:00
Takashi Kajinami
9c94c61921 Fix ignored unit test cases
Change-Id: I8f9221df0b3fdeb7a1a86e4b827f98728529d79e
(cherry picked from commit df28e3d907edc7b4fe42ce514e325e03fe26cba4)
(cherry picked from commit aef1a3490c153d6dd38f796887c995dd8bfc0bbb)
2024-10-07 15:12:10 +00:00
Takashi Kajinami
154a10b695 Fix ignored unit test cases
The unit test cases for notification parameters have been ignored. Fix
the problem and also refactor test definitions for easier maintenance.

Change-Id: Ib53377f0316f25781017cc5c394162a77bc17f49
(cherry picked from commit f5aea420391b1e384256e1feb406eb4eb9350e6b)
2024-09-30 12:54:18 +00:00
Takashi Kajinami
e643c3cd04 server: Skip unnecessary installation of separate packages
Currently both neutron-server and separate service packages are
installed regardless of the services actually used. However this is
quite redundant especially when only neutron-server is used in CentOS.

Skip installation of separate packages when the monolithic server
service is requested.

Change-Id: I72359a2e78c57de57722d01b4c16c0db85189f54
(cherry picked from commit a4d9425fe859c4a6ab322c5985f294368d6149c6)
2024-09-03 03:50:25 +00:00
Takashi Kajinami
944ba5cd3b Create vlan provider network
... to catch any regressions related to provider network options.

Related-Bug: #2072332
Depends-on: https://review.opendev.org/925107
Change-Id: Idf32ab947e252ce618c5823dc861afa56e29cc18
(cherry picked from commit f50297f3a30128de20997ded9559d8f8ea900efd)
2024-07-29 17:13:26 +00:00
Takashi Kajinami
f81600bfe4 Fix wrong option to define provider segmentation id
Fix the regression introduced by migration from neutron CLI to
openstack CLI.

Closes-Bug: #2072332
Change-Id: Id719358010f6400c010f5aaca834d0a5ed46b871
(cherry picked from commit 035ecbaa3e6b556694da95664c327204affe21f8)
2024-07-29 17:13:20 +00:00
Takashi Kajinami
5cf09b69d0 Assume structured fact in unit tests
The legacy fact has been deprecated and is no longer available in
Puppet 8. Use the structured one to access fact values in tests so that
we use the consistent method for fact value access.

Change-Id: I254e7fb0438a9f5f8a2319d5cef1457958313494
(cherry picked from commit 6f36758f092264d1a85ca6a78e8ec5360b361418)
2024-07-29 16:43:45 +00:00
c0d1e963b9 Update TOX_CONSTRAINTS_FILE for stable/2024.1
Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org so that anyone working on this branch
will switch to the correct upper-constraints list automatically when
the requirements repository branches.

Until the requirements repository has as stable/2024.1 branch, tests will
continue to use the upper-constraints list on master.

Change-Id: I44c40799d7b53f8c8fea4c72409c83ccef0eb1a2
2024-04-18 10:47:34 +00:00
ea71817180 Update .gitreview for stable/2024.1
Change-Id: I619681b9b7f1aa7ba863e687749d061577e43aa1
2024-04-18 10:47:32 +00:00
Takashi Kajinami
248480dbac Prepare 2024.1 release
Change-Id: Ib09feaba29828dbfb4b0d6b3a3d50be83e9b1601
24.0.0
2024-04-15 22:30:45 +09:00
Zuul
27119bc19e Merge "reno: Update master for unmaintained/xena" 2024-04-12 13:05:45 +00:00
80974f2a12 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I97b2b4db6e5e992a58f5af4b5aba5861295ac4f5
2024-04-12 12:33:18 +00:00
8368f3ab39 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I3ce96f9799117b7214255c5cb24f10b4ded37cbd
2024-04-12 12:25:32 +00:00
Takashi Kajinami
9088ef5336 Fix typo causing unexpected deprecation warning
Change-Id: Iedc78f5f4bce46bf5e972197515c72a93f3bbb27
2024-04-04 15:09:45 +09:00
Takashi Kajinami
403ac85260 ovn: Support metadata extension options
The ovn-agent service now supports the metadata extension which will
replace the existing ovn-metadata-agent.

This adds support for these new options.

Depends-on: https://review.opendev.org/898238
Change-Id: Icd543be4ff46293967504f12bcca8a828075657d
2024-03-16 20:38:41 +09:00
Takashi Kajinami
97b558f328 ovn-agent: Support [agent] extensions option
The ovn-agent service in recent neutron versions support extensions
mechanism to enable additional features.

Change-Id: I725183b3b3b69a1f9636f4b44758932ab7bfde02
2024-03-16 20:38:33 +09:00
Takashi Kajinami
53d7c4ffaa Deprecate metadata_memory_cache_ttl
The [DEFAULT] cache_url option, which is set according to this
parameter, was already removed from neutron[1].

[1] 2e9364028b49abff28ca26836a31463c196ca6ae

Change-Id: I8e13dea10748f9af07fd20248cdf5d9d18b14ba5
2024-03-16 17:16:33 +09:00
Takashi Kajinami
9fe6a8db90 ovn-metadata: metadata_proxy_shared_secret should be secret
Change-Id: Ibcf03843e7b4a11a91dbb5a15f91c17892e97282
2024-03-16 17:01:59 +09:00
Zuul
f04250ecf4 Merge "networking-bagpipe: define package name & service" 2024-03-15 15:29:10 +00:00
Thomas Goirand
38e5f4cce2 networking-bagpipe: define package name & service
Add the package name and service name for Debian for the Bagpipe
plugin. These were previously undefined. Also do the unit testing
under Debian.

Change-Id: Ia4baa6a351b44b4a501a57f3a9c8d11364e2ccb0
2024-03-15 08:51:28 +00:00
Zuul
ba9fbc4e82 Merge "Expose rabbit_transient_quorum_queue" 2024-03-14 18:30:50 +00:00
Takashi Kajinami
efda0e2937 Expose rabbit_transient_quorum_queue
Depends-on: https://review.opendev.org/911021
Change-Id: Ie66415e84abed64bd504cbb47c9475830f19138f
2024-03-14 09:48:34 +09:00
Zuul
209d4e4252 Merge "Add enable_default_router_(bfd|ecmp) option" 2024-03-11 16:03:18 +00:00
Zuul
4f919dffcc Merge "Stop hard-coding config file for db sync" 2024-03-08 17:42:26 +00:00
Zuul
3829c1c6c6 Merge "Refactor resource dependencies" 2024-03-08 16:11:55 +00:00
Takashi Kajinami
51a9db9e95 Add enable_default_router_(bfd|ecmp) option
... which were added during this cycle.

Depends-on: https://review.opendev.org/874797
Change-Id: Icc563fd7f167a337b98be3c651463e0091efafdb
2024-03-08 15:38:31 +09:00
Takashi Kajinami
120190f3c4 cache: Support new redis options
The oslo.cache 3.7.0 release introduced some options for redis backend
and redis sentinel backend. This introduces for these parameters.

Depneds-on: https://review.opendev.org/910629
Change-Id: I0fefc8ac388d486c1aafca59dfc89798995c926b
2024-03-07 23:01:47 +09:00
Zuul
dbb441329f Merge "cache: Support options for SASL mechanism in memcached" 2024-03-05 04:05:50 +00:00
Takashi Kajinami
1b83195b68 Stop hard-coding config file for db sync
The neutron-db-manage command by default loads
/etc/neutron/neutron.conf. Removing the override allows us to use
additional paths such as neutron.conf.d in the future.

Change-Id: Iabeeb65e0ae94538245be288927b9f1ca64a3104
2024-03-05 12:42:53 +09:00
Takashi Kajinami
cb2251e0fc Refactor resource dependencies
This refactors resource dependencies to improve the following points.

 - Avoid unnecessary dependencies across services. For example aodh
   service does not require cinder db.

 - Restart only api service when config files like paste.ini, which
   are used only by api service, is changed.

Change-Id: I517e2fb19cc74a08f31c463b70b89b70de2e790c
2024-03-05 10:43:36 +09:00
Takashi Kajinami
3832c80d64 cache: Support options for SASL mechanism in memcached
Depends-on: https://review.opendev.org/910122
Change-Id: Ib722982e06a15396d09d9ff380abe4f24b0280da
2024-03-01 10:41:10 +09:00
Zuul
1c33793f5c Merge "healthcheck: Expose ignore_proxied_requests parameter" 2024-02-26 03:08:52 +00:00
Takashi Kajinami
2a5c79cf6b healthcheck: Expose ignore_proxied_requests parameter
Depends-on: https://review.opendev.org/909807
Change-Id: I71c1a83e150e3ca0ec6cb17d0b8a4440383ee477
2024-02-26 01:27:40 +09:00
38f8512f78 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I50946abf91c48350a9226ab8ec08a5d717108de6
2024-02-21 16:47:51 +00:00
Zuul
1931f061df Merge "ovn: Support options related to OVN's native DHCP" 2024-02-17 08:19:14 +00:00
Takashi Kajinami
4c8188efc0 ovn: Support options related to OVN's native DHCP
Change-Id: I6f136315f781d581e808906a85ef54740e8ba7a8
2024-02-14 06:20:27 +00:00
Takashi Kajinami
77191ec66a Add support for oslo.reports options
Depends-on: https://review.opendev.org/804804
Change-Id: I00c1dd458eac202fa1250bf0299ecf35ab6bb6e6
2024-01-30 00:44:48 +09:00
Zuul
68cceacff2 Merge "Provide config class interface for rootwrap.conf" 2024-01-22 17:21:23 +00:00
Zuul
3ea19aaea1 Merge "Drop compatibility with very old puppetlabs-inifile" 2024-01-22 17:12:51 +00:00
Zuul
90c20e4833 Merge "Add support for Taas (Tap-as-a-Service)" 2024-01-22 17:08:23 +00:00
Takashi Kajinami
19b9345599 Provide config class interface for rootwrap.conf
This introduces the new neutron::config class parameter to allow users
to inject arbitrary configurations to rootwrap.conf.

Change-Id: If4dade21a7f10f6138c71d275ef84c608289be1a
2024-01-22 12:31:25 +09:00
Takashi Kajinami
be83863a17 Add support for Taas (Tap-as-a-Service)
This introduces support for the Tap-as-a-Service plugin[1].

[1] https://opendev.org/openstack/tap-as-a-service

Change-Id: I8b4dfd6cd02d61cb4ef07e117af39c44420e93a4
2024-01-21 06:13:45 +00:00
Zuul
4df4d3f5a8 Merge "Fix incomplete acceptance tests of neutron_vpnaas_service_config" 2024-01-20 23:59:58 +00:00
Zuul
224d553743 Merge "Revert changes unintentionally included" 2024-01-20 23:59:56 +00:00
Takashi Kajinami
f52502f283 Drop compatibility with very old puppetlabs-inifile
The logic is no longer needed since puppetlabs-inifile 0.10.0[1] and
the current minimum version is 2.0.0.

[1] 2f22483c87

Change-Id: I589847c426560c66e651193ed03a2bcefde72194
2024-01-19 10:43:51 +09:00
Takashi Kajinami
d984412b86 Fix incomplete acceptance tests of neutron_vpnaas_service_config
Change-Id: I263fd118b51ae5032ec6e0c6d0ca8477d3b96b04
2024-01-18 13:40:36 +00:00
Takashi Kajinami
c6a23f4e07 healthcheck: Expose allowed_source_ranges
... which was added to puppet-oslo recently.

Depends-on: https://review.opendev.org/905557
Change-Id: I6d91c2159eb005963afe04f99dafb34d97927f83
2024-01-18 02:28:43 +00:00
Takashi Kajinami
6773794242 Revert changes unintentionally included
Change 31ca958e404f353034f8f52997570da008e7dc81 included my local
changes for a different topic unintentionally. This reverts these.

Change-Id: I925ab9527dcff5a0eee0414da51453bb905e6c0d
2024-01-18 11:16:21 +09:00
Zuul
4561586f3d Merge "Support options for FDB aging and MAC_Binding aging" 2024-01-16 16:07:27 +00:00
Zuul
84787ca248 Merge "Support [ovn_nb_global] ignore_lsp_down" 2024-01-16 16:01:13 +00:00