Commit Graph

76 Commits

Author SHA1 Message Date
Zuul b55cd5c94e Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to 19a276e6195399ea117e72afeba050a41db106d1
  - Merge "Use OriginalName instead of Name in systemd.link"
  - Use OriginalName instead of Name in systemd.link
    
    Name option is not a valid one for systemd.link [1] while it is for systemd.network [2]
    though having same meaning.
    
    This basically resulted in link files being just ignored by udevadm
    and were not loaded properly after reboot
    
    [1] https://www.freedesktop.org/software/systemd/man/latest/systemd.link.html#OriginalName=
    [2] https://www.freedesktop.org/software/systemd/man/latest/systemd.network.html#Name=
    
    Closes-Bug: #1896589
    Change-Id: If82946b7f5ad3c618606110576c586632f9bbd08
2024-02-13 14:54:02 +00:00
Gene Oden b53ae04f4a Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to 71ecf3b13e1b31895c4b6d30dc85b13020afc99b
  - Add support for the ArchLinux distribution
    
    Change-Id: I352e049be2c98fddef01184282842946d937b27b
2024-01-08 19:07:46 +00:00
Dmitriy Rabotyagov 1fc8e84d1c Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to 70442c5efb34222d0e333422fc469608795c70e4
  - Fix defenition of multiple static routes for network
    
    Current logic was relying on iteration inside the template. However,
    since config_template module was used to deliver network configuration
    it was merging sections having same name together.
    
    While this behaviour is correct one for config_template as all sections
    must be unique from ConfigParser perspective and in order to apply
    overrides properly, it was not suiting the way how routes should be
    defined in networkd configuration.
    
    To workaround the issue we place routes separately under <network>.d
    directory, which should be supported by systemd [1]
    
    [1] https://www.freedesktop.org/software/systemd/man/latest/systemd.network.html
    
    Closes-Bug: #2045819
    Change-Id: I01aa44dcdc85e32d18dd52bcd4878a9017fb6ead
2023-12-15 13:22:32 +00:00
Dmitriy Rabotyagov 225927733e Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to 18b36137dcfa740ea9238bd2cbaaf0762667dbec
  - Ensure filename is always defined for network/netdev
    
    Right now we define resulting filename in the loop itself, which limits
    ability to predict expected filename for another loop where list might
    get filtered.
    
    So to get more expected behaviour between tasks we always add filename
    to the elements in vars.
    
    Change-Id: I579980ea3a5e9349d25885530c979649cb6dcb81
2023-12-15 13:22:31 +00:00
Dmitriy Rabotyagov 26fff97a6f Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to 1e6fc97dbe3473abc59af540195a8bec36aceb5b
  - Fix linters and metadata
    
    With update of ansible-lint to version >=6.0.0 a lot of new
    linters were added, that enabled by default. In order to comply
    with linter rules we're applying changes to the role.
    
    With that we also update metdata to reflect current state.
    
    Change-Id: I3aa1a19eb1aa735bafb29e5babe433b77a8d1f47
2023-07-19 08:26:18 +00:00
Andrew Bonney 9061099319 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to 4a7012e366ba60b99ec022eafbfe23afc9f6247a
  - Handle omitted variables which appear as empty strings
    
    Changes to external roles cause some variables to be passed in
    as empty strings which result in invalid config and InvalidArgument
    errors.
    
    This could be addressed here or in the calling role.
    
    Change-Id: Iee71e9839d4c8d318c2c36152d966dd5a1b88111
2023-01-11 19:55:39 +00:00
Andrew Bonney 264ef54e93 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to 5acf51aec34005ef756b917c77874e5f14fa7ae3
  - Fix static routes to use Destination rather than Source key
    
    The current template results in a default route being added to the
    routing table rather than a route specific to the destination
    requested.
    
    Change-Id: I0ef53631989ea2dc12d2540edeed95d0a466353b
2023-01-11 19:52:53 +00:00
Zuul 701e9dacfc Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to 4d8060b61d5fbf1dfe989442f870a288cfbd1825
  - Merge "Allow to provide multiple VLANs"
  - Allow to provide multiple VLANs
    
    In order to create multiple vlans from the same interface, VLAN
    key must be repeated multiple times. At the moment our role limits
    that since vlan can not be a list. We adding an option for vlan being a list
    at the same time keeping backwards compatability.
    
    Change-Id: I94bf2157e1e95c3fd5af318eac8238cd6c3b6fdc
2023-01-10 10:28:51 +00:00
Dmitriy Rabotyagov 5a02921126 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to c70084757dcbc0909cb512834300f57fbf0702bd
  - Update tox.ini to work with 4.0
    
    With tox release of 4.0, some parameters were deprecated and are ignored now
    which causes tox failures. One of the most spread issues we have is using
    `whitelist_externals` isntead of `allowlist_externals`
    
    
    Change-Id: I62d6dc8e5b075b4803b0384d5533980c01873f66
2022-12-28 09:58:17 +00:00
OpenStack Release Bot 2ad4154882 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to 0fbdc22ada067a1772d2e8211334023f926a362f
  - 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: Id41efe5e712e9df3b670efd5b3ab8cdfd20fc609
2022-12-13 13:44:20 +00:00
Dmitriy Rabotyagov f744438b99 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to 0ae090b0d57cdbc7880a7185a23194733935c719
  - Add repos only when there're packages for install
    
    At the moment we allow not to install packages by providing
    systemd_networkd_distro_packages as an empty list. When that happens
    it makes sense also to skip all tasks related to adding repositories
    when no packages are going to be installed.
    
    Not installing packages might be useful for containers creation or
    in situations when there is no networking yet, but we know that
    systemd-networkd is already present.
    
    Change-Id: I5e12cb0eb07b5eb8dcca462dbe8239a926ef80e6
2022-10-17 20:12:33 +00:00
Erik Berg 4f32e646ee Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to 356db62780155b51ab598492f6e1528ff155df2d
  - Remove redundant vars line
    
    This line snuck in with I4d4a51ca805857d56f108c3717beaa5648f86ccb
    probably to bring it in line with other OSA roles, but should already
    be covered by the distribution_major_version line above.
    
    Change-Id: Ifcf3506cc8b4da41c5cca29b53955c5153a18cc3
2022-09-20 19:25:01 +00:00
Dmitriy Rabotyagov 374c23dcf5 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to 1906bd37ec78d1bb9ab4496467dfc2afe0875973
  - Switch sphinx language to en
    
    With sphinx release of 5.0.0, they changed default for language variable
    to 'en' from None. With that current None valuable is not valid and should
    not be used.
    
    
    Change-Id: Icc83041041372b0fb5a9fa897d336f48f3df78b9
2022-05-30 14:57:58 +00:00
Dmitriy Rabotyagov aae482d9c6 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to 09c629cf52153c5f572f34248914e4bee331f2a8
  - Update documentation on role requirements
    
    In README file we're refferencing plugins repo for installing
    config_template from it. However, we're using module from it's
    collection.
    We're updating documentation along with renaming a-r-r to more common
    requirements.yml and adjusting rc file
    to drop not required overrides from there.
    
    Change-Id: I2329c2744348a8d704fe36f81e4ad43602c39541
    Closes-Bug: #1961621
2022-05-23 10:19:45 +00:00
OpenStack Proposal Bot b5f4e749e2 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to b0a57049fdd4e0ce85754a368e698efc578bdda2
  - Updated from OpenStack Ansible Tests
    
    Change-Id: Ibb4dec45178805052d04aede4d4a6cc3427060c3
2022-04-04 16:56:41 +00:00
Jonathan Rosser 8a491f7c21 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to 158be1e3225cd51b5a3bd436bd0528a82c3c5717
  - Cleanup setup.py config
    
    Change-Id: Ibab769cc92f72ac8106756da3974d15063feaf75
2022-04-04 11:47:57 +00:00
Marc Gariepy dc8d679a0d Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to d62daa24f9b8d8c418f5c06141dfafbda89cb331
  - Change location of ipaddr filter
    
    ipaddr filter has been moved from netcommon to utils collection [1]
    
    Based on that we must add that collection to requirements.
    
    [1] db4920ebf6
    
    Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/831525
    Change-Id: Iac92e247d209d848c82f625c190c200cdc05a67a
2022-03-14 22:46:20 +00:00
Zuul edc520ea63 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to 3d60b5eee2ca3206b6140830f02242dc67c10109
  - Merge "Add integrated linters test"
  - Add integrated linters test
    
    Change-Id: I8c2de129f496032a3c73a0354bec8694dfc53000
2022-01-25 17:13:24 +00:00
Zuul b56b38acfc Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to 08fba6ac721bf7026e3fe489bd15176b4795264d
  - Merge "Add centos-9 support"
  - Add centos-9 support
    
    Change-Id: Ia6f9cc3222ecd467c3a52e25e1cb74f267aea836
2022-01-13 15:03:44 +00:00
Zuul bd638ae74e Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to 130c9f81ba7274b6eef90f2e276dc565bf56062b
  - Merge "Refactor use of include_vars"
  - Refactor use of include_vars
    
    Use a first_found lookup instead of a with_first_found loop so that
    the 'paths' parameter can be used.
    
    This ensures that only vars from the role are included, and not vars
    from a parent calling role. This can happen when a parent role has
    a higher priority vars file available for inclusion than the role
    it calls.
    
    Change-Id: I4d4a51ca805857d56f108c3717beaa5648f86ccb
2022-01-12 15:26:57 +00:00
Dmitriy Rabotyagov ae17b6b319 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to 9847b5f0bfcc16089524ef7fa5ddf2e6f5413152
  - Drop plugins from role requirements
    
    Change-Id: I95c56c0ae013da8b20e05435f58712ad29451666
2022-01-12 13:27:37 +00:00
OpenStack Proposal Bot c339457cbf Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to 61b12a3996d2a0f9328c61f355a5eb7d02f2f738
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I1a217b3e33f5dad88d99c6287f87d0a021f598ce
2021-12-17 18:22:06 +00:00
Dmitriy Rabotyagov ebfffd718c Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to 4ca473b94495883ef88041a12c369ae42b2498e7
  - Use config_template as a collection
    
    Since we still use ceph-ansible that has their own implementation of
    config_template module it's worth to use mentioned module as a collection
    explicitly.
    
    Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/819814
    
    
    
    Change-Id: I7024d962ed858b0442583e24612a5da4d3fa37e7
2021-12-02 10:16:51 +00:00
OpenStack Proposal Bot 858ec9a21d Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to e5de91480723fa43de7e0a240d3b0727adf8738a
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I0d7a1e935fbcb1c963189c845509bda3d006c175
2021-03-22 10:36:55 +00:00
Jonathan Rosser 2c36b59ded Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to ce9cba08a89136ad8b1385e4f2a87d2795779d78
  - Remove references to unsupported operating systems
    
    All references to Gentoo, SUSE, Debian stretch and Centos-7  are removed.
    Conditional tasks, ternary operators and variables are simplified where possible
    OS specific variables files are generalised where possible
    
    Change-Id: I214f35cfff5fa9dd703733f795d6a7e414d729ca
2021-03-16 16:50:41 +00:00
OpenStack Proposal Bot 2ca005cd14 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to 96355f85dd3a798784905b798490af98e8eccd8c
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I7718a3bafc31a95b9f3a42ab29c5cd2ab2e09d39
2021-03-13 11:18:39 +00:00
Zuul 354e912736 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to b812fff93a6a8efebe3c9275eb9b887c6bca290d
  - Merge "Use ansible_facts[] instead of fact variables"
  - Use ansible_facts[] instead of fact variables
    
    See https://github.com/ansible/ansible/issues/73654
    
    Change-Id: I36a098e4b028bdf09b38e2f2c99f68f311ce9d32
2021-02-25 13:30:32 +00:00
Jonathan Rosser b12bca8df0 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to 3213d427e60648bfd70f87af60bd84b472406e90
  - Add reference to gpg key location to EPEL repo config
    
    This is necessary on centos-8 stream
    
    Change-Id: I74f02669b013b8580d3469a8ffe214d88cd0f525
2021-02-24 11:18:23 +00:00
dmitriy 1ae5759a93 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  to 5b327a5ca531999b1409edabf542dfdaab9b36ce
  - [reno] Stop publishing release notes
    
    Since we copy all release notes to the integrated repo there is not need
    in publishing release notes for each repository. We should only verify their
    validity and linting.
    
    
    Change-Id: Ic79a437ec219d99a60a0e3af2633d93bc4314779
2021-01-26 18:26:05 +00:00
James Denton 843d1fdf33 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  - Add GPG Key for EPEL8 Repo
    
    The patch adds the GPG key for the EPEL 8 repo to allow gpgcheck
    to be successful.
    
    Change-Id: I6402d45ca541b8bb7a35ed73b63256f13c58e4f3
2020-11-03 10:06:31 +00:00
OpenStack Proposal Bot d31bda611c Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I685bd089d99b347e341a26acb9fbefff905ef28f
2020-11-02 10:19:44 +00:00
Jonathan Rosser 3844af5442 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  - Fix linter errors and update tests
    
    This patch fixes linter errors, updates tests, and adds the MTUBytes
    interface configuration option to the systemd .network file to support
    live MTU changes upon restart of systemd-networkd. Without it, MTU
    changes will only be effective upon boot (might only affect Focal).
    
    Change-Id: I05da4036b0ddc3fb88ba958f413a32fa6819de61
2020-11-02 10:19:43 +00:00
Dmitriy Rabotyagov f5842b6c8e Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  - Add CentOS 8 support
    
    Change-Id: I8eb7b1ce7cadc910386cfb8bf1d9b41194b2ecdd
2020-07-01 15:16:05 +00:00
Marc Gariepy bc388cd92e Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  - remove ansible_python_interpreter
    
    ansible_python_interpreter is now set to auto in the tests repo.
    it doesn't need to be overwritten in the test anymore.
    
    Depends-On: https://review.opendev.org/734676/
    Change-Id: I5c5eba38917254187a5b006fd810977ee48ec023
2020-06-16 19:37:30 +00:00
Zuul 5ec4614e45 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  - Merge "Use newer openstackdocstheme and reno versions"
  - Use newer openstackdocstheme and reno versions
    
    The sync from https://review.opendev.org/733244 updated to
    openstackdocstheme 2.2.1 and reno 3.1.0 versions.
    
    Set openstackdocs_pdf_link to link to PDF file. Note that
    the link to the published document only works on docs.openstack.org
    where the PDF file is placed in the top-level html directory. The
    site-preview places the PDF in a pdf directory.
    
    openstackdocstheme renames some variables, so follow the renames
    before the next release removes them. A couple of variables are also
    not needed anymore, remove them.
    
    See also
    http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
    
    Change-Id: I11211f345869d24e82552844a6f8d57db1103aa1
2020-06-05 10:54:01 +00:00
OpenStack Proposal Bot a2236d12cd Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I9bf0e09a7d4873ad5aeec1b6f1b16d85cea47d4a
2020-06-04 06:05:58 +00:00
OpenStack Release Bot 86d84b93d1 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  - Update master for stable/ussuri
    
    Add file to the reno documentation build to show release notes for
    stable/ussuri.
    
    Use pbr instruction to increment the minor version number
    automatically so that master versions are higher than the versions on
    stable/ussuri.
    
    Change-Id: I20ff07ff845a51fe310c6607ba6a6217ce33bf99
    Sem-Ver: feature
2020-06-01 14:19:52 +00:00
Zuul c3e71a29c0 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  - Merge "Updated from OpenStack Ansible Tests"
  - Updated from OpenStack Ansible Tests
    
    Change-Id: Ic41d8e5fa4eaf95da7e5420b06671916816cc14d
2020-05-22 15:24:11 +00:00
Andreas Jaeger dfac250e42 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  - Update docstheme for style
    
    New version of openstackdocstheme (Victoria+) respects pygments_style.
    Since this repo is using now Victoria (master) requirements but has
    not branched for Ussuri yet, it uses the new version.
    
    Change pygments_style to 'native' since old theme version always used
    'native' and the theme now respects the setting and using 'sphinx' can
    lead to some strange rendering.
    
    Change-Id: Id7d1efab938389929e6375bf8570f6c210234876
2020-05-22 09:41:12 +00:00
Zuul b15c6499b1 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  - Merge "Do not rebuild initramfs for containers"
  - Do not rebuild initramfs for containers
    
    Containers do not have an initramfs so this is not useful, and fails
    for Centos-7 with:
    
    Can't write to /boot: Directory /boot does not exist or is not accessible.
    
    Change-Id: Ibc6ff871ad6984d4e0f29693f4827f57169aef92
2020-05-19 16:30:12 +00:00
Zuul 71ce11db12 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  - Merge "Fix systemd-resolved config conditional"
  - Fix systemd-resolved config conditional
    
    Variable systemd_resolved is supposed to be a dict. When bool filter is
    applied to dict it returns false despite dict have any values or not.
    So we need to change that logic to verify if we have empty dict or not.
    
    Change-Id: I17d5bebe4bd1c133798161f27e08bd2989848178
2020-05-19 13:38:20 +00:00
Zuul 61232100ac Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  - Merge "[ussuri][goal] Update contributor documentation"
  - [ussuri][goal] Update contributor documentation
    
    This patch updates/adds the contributor documentation to follow
    the guidelines of the Ussuri cycle community goal[1].
    
    [1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html
    Story: #2007236
    Task: #38554
    
    Change-Id: I7504e89dd4691b2376bfd9de17598f364a4cb789
2020-05-16 07:48:44 +00:00
Zuul ffd19c67b5 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  - Merge "Do not use deprecated ansible 'bare' variables"
  - Do not use deprecated ansible 'bare' variables
    
    Support for this syntax will be removed in ansible 2.12
    
    Change-Id: I3fb3c87b027bbe69c96069a758e7d30fbaf091db
2020-05-14 10:55:10 +00:00
OpenStack Proposal Bot 9f88ac3e55 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I88cfdac1d97fb320a99f0b07e101e648ba0b7b4c
2020-05-12 23:13:34 +00:00
OpenStack Proposal Bot 4ab597c31d Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I5cfd84499612df31dbb874b4c171131ee688830d
2020-05-05 14:56:07 +00:00
Andreas Jaeger 2252189a5b Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  - Cleanup py27 support
    
    This repo is now testing only with Python 3, so let's make
    a few cleanups:
    - Remove python 2.7 stanza from setup.py
    - Remove obsolete sections from setup.cfg
    - Cleanup */source/conf.py to remove now obsolete content.
    - Remove install_command from tox.ini, the default is fine
    
    Change-Id: I4b40d9570a2214f245d439693daecced49f97dc5
2020-04-27 13:48:03 +00:00
OpenStack Proposal Bot 12b9821aef Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I96b28ea05e46aa41be0eac50c18ef5f2873e7a22
2020-04-14 08:58:38 +00:00
Zuul 6efc17eecb Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  - Merge "Update the constraints url"
  - Update the constraints url
    
    For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html
    
    Change-Id: Iff48c8e2a27efa4e4be4f3f48db38313d496386d
2020-03-29 21:07:48 +00:00
ShangXiao 72b9e6714b Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  - Missing document start "---"
    
    Change-Id: I8e8a0cf2433dc1145a6f3027b823b28f8b1523a3
2020-03-26 17:27:42 +00:00
OpenStack Proposal Bot 8dab3c6332 Update git submodules
* Update ansible-role-systemd_networkd from branch 'master'
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I847736105e2e5017e705cd1d129deac37893d488
2020-03-12 01:25:02 +00:00