Commit Graph

110 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov 35453182f6 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to e32db7ae7590e451a67d1e6f69c4021d3d9ac68d
  - Add online_data_migrations for placement
    
    According to the placement upgrade process, online_data_migrations
    should be triggered right after upgrading database schema
    and placement services on all controller nodes [1]
    
    We also replace usage of  `need_service_restart` local fact
    with `need_online_data_migrations` as first one is never actually used.
    
    [1] https://docs.openstack.org/placement/latest/cli/placement-manage.html#placement-database
    
    Change-Id: I430ea45fe321440d832a0a90747b80f5d197f073
2023-09-07 11:16:47 +00:00
Zuul 36d32f7598 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to 8dc0edec53ed75bbc875e42987273dd5785b1edc
  - Merge "Fix linters and metadata"
  - 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.
    
    Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/891474
    Change-Id: I315c7fa58ee07786832d21c13f281968ee3d400a
2023-08-28 14:59:33 +00:00
Dmitriy Rabotyagov d8f520658f Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to 88218e77c96b285faf1d2a3c749b942920e50ae3
  - Use proper galera port in configuration
    
    While <service>_galera_port is defined and used for db_setup
    role, it's not in fact used in a connection string for oslo.db.
    
    Change-Id: I6746406488c372d5e31350ec8092af8cef027657
2023-08-14 11:05:29 +00:00
Damian Dabrowski c40bb39c4e Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to 30b4098fd2b9e8eb17e4b03b4632f9f6637000b8
  - Add TLS support to placement backends
    
    By overriding the variable `placement_backend_ssl: True` HTTPS will
    be enabled, disabling HTTP support on the placement backend api.
    
    The ansible-role-pki is used to generate the required TLS
    certificates if this functionality is enabled.
    
    Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/879085
    Change-Id: Id84137b624624482939989098f1b04263d62c0fd
2023-05-03 11:15:44 +00:00
Dmitriy Rabotyagov 31e22ee2d2 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to 5ad5bc1d84f245fe59f5c52ac5227e4cabff6424
  - Ensure service is restarted on unit file changes
    
    At the moment we don't restart services if systemd unit file is changed.
    
    We knowingly prevent systemd_service role handlers to execute
    by providing `state: started` as otherwise service will be restarted twice.
    With that now  we ensure that role handlers will also listen for systemd
    unit changes.
    
    Change-Id: Iaa2f286fa25412a1ed8c72c0b62bacd3ac50f125
2023-04-11 20:26:52 +00:00
OpenStack Release Bot b39b3928fd Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to 250411c408af13d07e67a4d8148937fdc812a6ce
  - 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: Ia8d85d04b427fda33b8dbde917c5b42d1a277a10
2022-12-13 14:00:03 +00:00
Dmitriy Rabotyagov 433fce9f32 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to 6084c248fcae02c413133329b705678cd75c1bfe
  - Install git into placement containers
    
    If venv_wheel_build_enable is defined to False, placement will fail to
    clone and install repositories due to missing git binary.
    
    Change-Id: If1e3eec0c558d1472da7bc3a4e87825e36ba4fdc
    Related-Bug: #1989506
2022-09-24 13:06:58 +00:00
Erik Berg 0fe5a19bb7 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to 39f3c1f016f077a8b1b647b1c14f11cda3ccb7a1
  - Remove redundant vars line
    
    This line has been here since the initial commit
    Iaa11a8cc4d945712b62c3b9c2cb6ad168def34eb, but should already
    be covered by the distribution_major_version line above.
    
    Change-Id: Ia6b77dd8cd70e099e9b287625ab3320b1986f599
2022-09-20 19:11:27 +00:00
Zuul 84c07f2b11 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to 6239b64f3c1170ffcf767c6d766bf1662a83ff7d
  - Merge "Support service tokens"
  - Support service tokens
    
    Implement support for service_tokens. For that we convert
    role_name to be a list along with renaming corresponding variable.
    
    Additionally service_type is defined now for keystone_authtoken which
    enables to validate tokens with restricted access rules
    
    Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/845690
    Change-Id: I4e9fff59bbfa9c8a1ae0236d077ac9ee2881c04b
    Related-Bug: #1948456
2022-06-16 19:58:38 +00:00
Dmitriy Rabotyagov 10ac7e6ad5 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to 240cd95c59ddc5d704b4682e4d34531d7e8f82f9
  - Remove mention of haproxy-endpoints role
    
    Role was never migrated to usage of haproxy-endpoints role
    and included task was used instead the whole time.
    With that to reduce complexity and to have unified approach, all mention
    of the role and handler are removed from the code.
    
    Change-Id: I4614e0249d65fda1762c6d31d93b3b77babb290e
2022-06-15 18:53:42 +00:00
Dmitriy Rabotyagov 8c66761b9b Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to 025824434be3ee3b551b54f42b3b6b7f2dd9288e
  - 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: If134334692ceb392f5a3704415ea4bb6cdeeb85f
2022-05-30 15:02:08 +00:00
Zuul 9635c4681b Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to ba338055bb7ea2f6a5412904350141d510c91c88
  - Merge "Use common service setup tasks from a collection rather than in-role"
  - Use common service setup tasks from a collection rather than in-role
    
    Change-Id: I6d6831e5760c040cc46e4493b79b3aee58fbbb08
2022-05-05 17:51:10 +00:00
Jonathan Rosser 5c611d55b5 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to 68894c47e1cb03d3ec2bdb1f73322aca19199e6b
  - Fix incorrect ansible tag
    
    Change-Id: I5ed7d7a41e81243d6ad2dd7a4300cf772ed0ac7f
2022-05-05 13:51:59 +00:00
OpenStack Proposal Bot 50e6868201 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to 0cd8b344851a1d3fd3d137793f6731d2f87915a3
  - Updated from OpenStack Ansible Tests
    
    Change-Id: Ia706e01ce1372f7e667d816dcf9ce7f0cc949b44
2022-04-04 16:54:30 +00:00
Jonathan Rosser 7ca6001934 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to 9d37212db1269a8b19cc3d163cc0114aa5acf135
  - Cleanup setup.py config
    
    Change-Id: Iaaeb1aec3c73686ced9e4d3fd7094696d1ca8c87
2022-04-04 11:46:57 +00:00
Zuul 0da0067aac Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to ff56a9050ffc65e99ea6ea8dbe09ed63cd663fb8
  - Merge "Move system_crontab_coordination role to collection"
  - Move system_crontab_coordination role to collection
    
    Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/824590
    Change-Id: I5d02a3ddabf5a22d8e954e9c5e843a38c078a547
2022-01-17 16:33:36 +00:00
Jonathan Rosser 50478026d3 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to ee909497f29724048b5f46f3b758d6880bd883e5
  - 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: If58b7e10f39affe2f34af9e9503bc1f90caa4b0e
2022-01-12 15:20:59 +00:00
Damian Dabrowski 77538ff0b1 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to ed4f061d5000ecd1d2412494d28a31123b217dc5
  - Database connection pooling improvements
    
    - Implemented new variable ``connection_recycle_time`` responsible for SQLAlchemy's connection recycling
    - Set new default values for db pooling variables which are inherited from the global ones.
    
    Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/819424
    Change-Id: I77b4e8c70a21eada431c824044c0d1563df70dcc
2021-12-03 15:38:49 +00:00
Dmitriy Rabotyagov 8d3f004de5 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to f8e279cc3db073d824b70f95069525ddabe7914a
  - 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: I374d125994239a885007081d0490e4a2c7018235
2021-12-01 19:32:08 +00:00
Dmitriy Rabotyagov 8d7d81ac12 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to ad9f7c87cb55bfd40e57ad5401868f4b2a58c929
  - Refactor galera_use_ssl behaviour
    
    With PKI role in place in most cases you don't need to explicitly
    provide path to the CA file because PKI role ensures that CA is trusted
    by the system overall. In the meanwhile in PyMySQL [1] you must either
    provide CA file or cert/key or enable verify.
    
    Since current behaviour is to provide path to the custom CA we expect
    certificate being trusted overall. Thus we enable cert verification when
    galera_use_ssl is True.
    
    [1] 78f0cf99e5/pymysql/connections.py (L267)
    
    Change-Id: Ie6e82e625808c64d44e603843ec985daf18efca4
2021-10-06 11:16:53 +00:00
likui 48c2faac20 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to cb9fc915dbb1c3e8b0e0f10730001bb8769dec34
  - Changed minversion in tox to 3.18.0
    
    The patch bumps min version of tox to 3.18.0 in order to
    replace tox's whitelist_externals by allowlist_externals option:
    https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23
    
    Change-Id: I4765340f01bd4969cf8cd2d3f949219ad93c3f79
2021-07-05 09:39:33 +00:00
likui 50f27efeb6 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to 5fab204977a768a0a30a5685b97b1fd817b1f1bf
  - These should be indented four spaces to match the other things in this block
    
    Change-Id: Ic5e1af250513b896e7f23a3bdc14dc1dd1aa2e3a
2021-06-03 09:54:42 +00:00
Dmitriy Rabotyagov b2291c2411 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to a8f9bf811e4717ac414a64878a95ff715959a348
  - Replace linters test with integarted one
    
    We've created integrated linters check job a while back and it's successfully
    working for several releases. At the moment we experience difficulties
    with future maintenance of the linters check from the openstack-ansible-tests
    repo. So instead of fixing current one, we replace it with modern version of
    the test.
    
    
    Change-Id: I0bfe5fdf3694232108e52b3bccfba950a2ecf15b
2021-05-26 11:36:28 +00:00
Dmitriy Rabotyagov 0d4c3aa67a Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to 0dfcbc27ecb07db6664b3bb00e1630af4edb02c4
  - Allow to override placement policy files
    
    We implement `placement_policy_overrides` variable in order to allow
    management of placement policy files when needed.
    
    Change-Id: If219ac80ceed2bf455a7de83b848c9d0a66371a4
2021-04-20 10:22:02 +00:00
Jonathan Rosser fbfcf6d239 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to 585aa86dbb9884d230253da004a9e6dfa7416866
  - Convert remaining ansible_ fact variables to ansible_facts[]
    
    Change-Id: I3700a15c42d902f8835301208bd6f51f8ac20231
2021-03-16 15:16:54 +00:00
OpenStack Proposal Bot a3511b73d8 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to 66f56de749e016d5079fc47b3e7fe607ac0c6dad
  - Updated from OpenStack Ansible Tests
    
    Change-Id: Ie542c518435ae89855295bc9cbd2bdf03ac808e5
2021-03-13 11:08:49 +00:00
Zuul 2f8afbf8d7 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to 33ad9aec7c9c6d093b9e03fffa0903cba99bde24
  - Merge "Remove references to unsupported operating systems"
  - 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: I58b9cec20349c722631e5934c44efb54153daab7
2021-03-11 10:03:57 +00:00
Zuul e238d40b7a Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to 18c31ef0cc46da46ffff29a97a1cd1a8e82cdc86
  - Merge "Switch default virtualenv to python3"
  - Switch default virtualenv to python3
    
    Change-Id: I9f06225c6a17545683e8bf1113ea0b014745610a
2021-03-10 16:19:44 +00:00
Jonathan Rosser 519f3c45ea Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to 3fcf5109596d70d7de984ca92dec1afceaa2d655
  - Use ansible_facts[] instead of fact variables
    
    See https://github.com/ansible/ansible/issues/73654
    
    Change-Id: I2197cf5a9a19e6af0912f21dcc12cd7551dc2e85
2021-03-04 10:35:17 +00:00
Zuul d5858f3e74 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to b58217c7877a40795b884ff61d2aee11396983b2
  - Merge "Move placement pip package from a constraint to a requirement"
  - Move placement pip package from a constraint to a requirement
    
    This is necessary to support the new pip resolver.
    
    Depends-On: I9be6bbf4a29a4da2ddf96dc0336bc2a7d8ec9281
    Depends-On: I49c75dd11d6c4e8d37fe013b7ffdfd56ff193fcd
    Change-Id: I00b42c61d03c83bfbfec69ad3bd47d940bb449d2
2021-02-05 21:08:14 +00:00
dmitriy 5060808479 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to fb5101f7ea340065b36c5bc8ab6b5748e3a5fd7f
  - [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: I6b2d4f0cb4686e1606b8f6256e0dbd501c688cf3
2021-01-26 18:13:58 +00:00
Zuul c3cf5861a7 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to a12e134c1cd8e79abf6064f098505e8b338395ce
  - Merge "Use global service variables"
  - Use global service variables
    
    Instead of overriding each service separatelly it might make
    sense for deployers to define some higher level variable that
    will be used first or fallback to default variable.
    
    Change-Id: I5b8a03d96375d67c8090af182d244495fd0a7f67
2021-01-11 10:54:45 +00:00
Dmitriy Rabotyagov 14adfe32b2 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  to bf42c4a4038d7743df5134f41f803f26c3cdbd90
  - Reduce number of processes on small systems
    
    Even the most modest 4C/8T system would run with the maximum 16 processes
    due to the calculation being VCPU*2.
    
    We devide amount of CPUs to number of threads for hyperthreaded CPUs
    
    Change-Id: I1dbbfc82f24732f8534594ff25aefc03e5c4003c
2020-12-01 15:51:52 +00:00
zhoulinhui 759b6c477d Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  - Replace deprecated UPPER_CONSTRAINTS_FILE variable
    
    Change-Id: I4d5d459737c0004b857f90df581ff15afda3dc43
2020-11-10 11:59:11 +00:00
OpenStack Proposal Bot 1ffb8e8de1 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I75756a4b78bc7c906278c3d316aaba1575a05116
2020-10-19 16:35:59 +00:00
Dmitriy Rabotyagov e806ce7351 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  - Trigger service restart
    
    We need to trigger restart of the service once config is changed
    
    Change-Id: I9417f519ba272a8a2ebe08e71311cba27220c4cc
2020-10-12 08:51:28 +00:00
Zuul e911da1a0d Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  - Merge "Remove support for lxc2 config keys"
  - Remove support for lxc2 config keys
    
    Change-Id: I1eedc024a173a5fba605e39fa2065f6d4f41be64
2020-10-06 15:28:48 +00:00
Zuul c180e51d75 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  - Merge "Updated from OpenStack Ansible Tests"
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I7853cfedce34a81e711729e95bf91d2b2313af40
2020-10-06 14:44:30 +00:00
Jonathan Rosser 3a8933fcc9 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  - Fix linter errors
    
    Change-Id: I6b377208897e30d7133d60c40626d7078cd4e661
2020-10-01 17:17:24 +00:00
Dmitriy Rabotyagov af5419cd62 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  - Define condition for the first play host one time
    
    We use the same condition, which defines against what host some "service"
    tasks should run against, several times. It's hard to keep it the same
    across the role and ansible spending additional resources to evaluate
    it each time, so it's simpler and better for the maintenance to set
    a boolean variable which will say for all tasks, that we want to run
    only against signle host, if they should run or not now.
    
    Change-Id: If086478f8ea9a0ffb763fd05d6a110e1c12f32b3
2020-09-28 11:14:45 +00:00
OpenStack Proposal Bot a5c90fbfd2 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I091cb4ca42d21ce78fb629ee164d5b7d155cc54f
2020-09-24 22:58:28 +00:00
Dmitriy Rabotyagov e5868f1be8 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  - Use the utility host for db setup tasks
    
    Move it to the service setup host (defaults to utility[0]) instead
    of the galera[0] host, and use galera_address (defaults to internal VIP)
    as the endpoint instead of a local connection on the db host.
    
    Change-Id: Ic831664bd500b8a3ed22238fef0b19ed56313d72
2020-08-23 01:31:47 +00:00
OpenStack Proposal Bot 41ea504a91 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I0e6a8b1d8b5da0299060e3f21698aa81ec7d7ce4
2020-08-14 10:34:01 +00:00
Zuul 684293af09 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  - Merge "Add Centos-8 support"
  - Add Centos-8 support
    
    Change-Id: I36a0de736e266f53be1be02c4b07e741b46c819e
2020-07-01 15:08:50 +00:00
Marc Gariepy 912a6a09db Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  - Cleanup ansible_python_interpreter
    
    ansible_pyhton_interpreter is set to auto, it's not needed anywhere now.
    
    Change-Id: Ieb635b4eb731521bf30790f1b3f9db5df90db75f
2020-06-22 11:23:41 +00:00
OpenStack Proposal Bot 4dd993c809 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  - Updated from OpenStack Ansible Tests
    
    Change-Id: Ic62a5d41dfae4773bd6eff7583bdc40765a456e9
2020-06-09 07:39:24 +00:00
Zuul db10efea4e Update git submodules
* Update openstack-ansible-os_placement 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: I436916fffd872f48292b6d85454410bb27ca47e7
2020-06-05 11:38:33 +00:00
OpenStack Proposal Bot 9ab68e54a1 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I760456f46da6660b19dbfa32d052fa9998555bf0
2020-06-04 06:13:46 +00:00
OpenStack Release Bot 706d607d3f Update git submodules
* Update openstack-ansible-os_placement 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: Ib26763dd8aefbf55c8c753bb126dc2567cebdee3
    Sem-Ver: feature
2020-06-01 14:22:16 +00:00
OpenStack Proposal Bot 7131c8a2c4 Update git submodules
* Update openstack-ansible-os_placement from branch 'master'
  - Updated from OpenStack Ansible Tests
    
    Change-Id: Ia2302fa6c3c2058f41fa36ac4cdfa0d0eea4de7c
2020-05-22 15:54:58 +00:00