Commit Graph

107 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov eb3878c8d8 Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 54813d6be4c194fa603f9433243ab84f9a4b6595
  - Enabled memcached usage for token caching
    
    As of today blazar warns out on startup that using the in-process token
    cache is deprecated for quite a while. In order to get rid of this warning
    we add memcached configuration for keystone token.
    
    Change-Id: Ibd80231bdb1dfe2e66e69c4538a2129c7f84c92f
2024-02-12 23:18:12 +00:00
Dmitriy Rabotyagov 10da98568e Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 21f304634e4a61aeab6b0197a9a853d2c521d830
  - Add variable to define list of manager plugins
    
    In order to be more flexible regarding required plugins, we implement a
    new variable that will allow to set a list of enabled filters for blazar.
    
    With that we also enable floatingip plugin that has been added to Blazar
    a while ago.
    
    Change-Id: Iaff9284eec3a57a6470afb5e912cad17970baa2f
2024-02-05 10:32:22 +00:00
Dmitriy Rabotyagov df7b5246da Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 06291ec0e654514b74011b0a787c9de7f7a91a68
  - Create required freepool aggregate
    
    For normal functioning of Blazar reservation it expects a nova agregate exist
    to be used for host reservation.
    
    Thus, to make deployment more convenient for deployer we add fuctionality
    of creating such aggregate.
    
    Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/904786
    Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/878794
    Change-Id: I7f56b8c8f2394d5fae1476441c8e2e2a5f07467c
2024-02-02 13:04:32 +00:00
Dmitriy Rabotyagov 0f7337a4dc Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 676846b6a26fcad9d071db799c4a97c02b88a914
  - Fix Blazar authentication and endpoints definition
    
    Closes-Bug: #2048048
    Co-Authored-By: Alexey Rusetsky <fenuks@fenuks.ru>
    Change-Id: I0dc54f1de1992b24cac7fcdc88d04daa2901cbc4
2024-01-09 13:38:32 +00:00
Dmitriy Rabotyagov 83b5552f5d Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 856b4401a1149a70392494fea418e960bb81f883
  - Add quorum support for service
    
    This change implements and enables by default quorum support
    for rabbitmq as well as providing default variables to globally tune
    it's behaviour.
    
    Change-Id: If9a9ee764dd41767aaa1285903eb3c21cc0da40c
2023-10-11 12:22:49 +00:00
Jonathan Rosser 60e9c4dd7e Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 41554792a3f7b79a66d949a06f0e627b5f753bb3
  - Fix linter errors for example playbook
    
    Change-Id: Ibb32523ef2e96b5dd6def8182c591a9792b59fac
2023-10-11 09:35:09 +00:00
Zuul e291f4a9e1 Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 72cc94356a7a8f6d6e4eb59ec9d99fa2ebfd88ae
  - 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/ansible-role-systemd_service/+/888223
    Change-Id: Ic97b301d704d3bc19142315a69724c05f3cad875
2023-08-14 10:56:31 +00:00
Dmitriy Rabotyagov d0a4ba4924 Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 8242307cf7899af935e09a354c2ec33b82e19b24
  - 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: I753c328569e1ee6d69a0ad2168b6493a3c7438f9
2023-08-14 10:56:30 +00:00
Damian Dabrowski 1dc8cd700a Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 8b39e84ec10f5ae4a3f6475ec2e7cef63796c566
  - Add TLS support to blazar backends
    
    By overriding the variable `blazar_backend_ssl: True` HTTPS will
    be enabled, disabling HTTP support on the blazar 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: Ic784cb180ff4cbc81c230b0a3a62015a71ea3f99
2023-05-03 11:17:39 +00:00
Damian Dabrowski 9a9b7c7940 Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to c9d10f41fad8bcee0f3604727007b8034a7fa67f
  - Add uWSGI support to blazar
    
    This patch adds uWSGI support to os_blazar role. All openstack services
    should stay behind uWSGI.
    
    It's also required for upcoming TLS backend feature. Blazar does not
    have native TLS support so it needs to be handled by uWSGI.
    
    Change-Id: I65511de4d5014a28f0f91536f9dbaf96fcb8e7a2
2023-04-27 20:12:53 +00:00
Damian Dabrowski 5724eb18fa Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to c1418e167a8b3d0725d8fdcbade9cc9b8895cc28
  - Fix blazar_service_type
    
    As described in [1], blazar_service_type should be set to 'reservation'.
    Otherwise blazar CLI won't be able to find its endpoint.
    
    [1] https://docs.openstack.org/blazar/latest/install/install-without-devstack.html
    
    Change-Id: I01874c617e5da75010c54b64901c90a986468807
2023-04-24 16:22:40 +00:00
Dmitriy Rabotyagov 0908e07e57 Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 8c0744496b777d2a04c40701600b8bb93a01a613
  - 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: I001ffdb5eedfb8d17edd593dfb1818c5b1bd02df
2023-04-11 19:55:52 +00:00
OpenStack Release Bot 94d41fd130 Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to d643b6026faf3f49a19ff8c31e3a7991f41ee69c
  - 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: Id6725ddfc8f014b0fe85c39d40f67cdbad89e818
2022-12-13 13:43:30 +00:00
Erik Berg d254a0e19b Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 1ed399ce86e79936b9ee9ece8ca8893d9bc8ecf9
  - Remove redundant vars line
    
    Introduced by the discreet commit 'update to the latest'
    
    Change-Id: I4dac82dd4e6a51a7b0fc99ec80c5ae2fa7981ea7
2022-09-20 19:20:54 +00:00
Dmitriy Rabotyagov bb3316fe39 Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 711160baeac765eaa6248d9ffad0a8011349520e
  - 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: I3a1c2d87a39eaf342411f3b607bc909f924944cb
2022-06-16 12:26:51 +00:00
Dmitriy Rabotyagov 128bd77002 Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 1a5758969a402916fda7dd2923074d4f8e7edf92
  - 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: Ic60f8576f17e513622c036bd88c9602d82f04c33
2022-05-30 14:59:28 +00:00
OpenStack Proposal Bot 14fe374fb4 Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 8fc28683bb86d54d53c3af5dd28cec67a70e379c
  - Updated from OpenStack Ansible Tests
    
    Change-Id: Ie37faadf02ee9c26091d43b571600fd7d3f13e64
2022-04-04 17:06:13 +00:00
Jonathan Rosser 29cb7d6c71 Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 65a14576c71bdaf60083d9bf4237b8a838d7d7af
  - Cleanup setup.py config
    
    Change-Id: Idf2fcb80b6d777fd428e2d131cf719811058eaef
2022-04-04 11:46:23 +00:00
Zuul 3bbc292b92 Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 99d47ee2c7b595507eae92e58d9ffddba9950f45
  - 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: Ib6b44ea47b092463994f1a44e70113cad1d00687
2022-01-13 15:59:11 +00:00
Jonathan Rosser e861ce2a40 Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to b616643319079ffd820003cefd2ae231a2201d74
  - 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: Ibd7e65b25fca496a6393692c6952c9604430ec92
2022-01-12 15:09:29 +00:00
OpenStack Proposal Bot 319ae3363e Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 988401a1c5d4903499c1b8db199248b80d1aa22b
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I0615d07a6cc5c42abe2e7d7db2f6ab64168cc4dc
2021-12-17 18:33:04 +00:00
OpenStack Proposal Bot df88188694 Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 2f857a0c189074b5d49aed0b5e93c7a4a9f360a7
  - Updated from OpenStack Ansible Tests
    
    Change-Id: Ie6b17a25901c28e41febd686080c8d02316fce57
2021-12-05 12:36:41 +00:00
Damian Dabrowski 5f4632be9a Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 7e7b7347f7b4c5d8af3789548ad9c98f5c2e8cfb
  - 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: Ib4a0581c5bbe2b14abcd80f97ac2e36ec0dbf4b1
2021-12-03 15:49:12 +00:00
Dmitriy Rabotyagov 24671a2500 Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to c5d1740fbeaa0a55321f972f9ef1bec698c6d4ec
  - 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: I8abcf60dcc8a264c221de89ff01906edf3ce8a39
2021-12-01 19:18:09 +00:00
Dmitriy Rabotyagov fa1a62e693 Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 956c84d1a448c35d5265422eb6bad09cb6be22d6
  - 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: I7042118a17d533c472f09bb2098bbc3c01195477
2021-10-06 13:39:41 +00:00
Dmitriy Rabotyagov 545d01f4d3 Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to d4ca9d3483a0d4cdcb7dd9bf3512d89ac527a4ec
  - Clean up debian blazar_distro_packages
    
    Sync packages instaklled for debian and redhat. We don't need these
    packages to be installed to all blazar containers instead of being devel
    ones.
    
    Change-Id: I2f49f5c0badb730cafef6b53c9c99db362285dd8
2021-10-06 13:33:23 +00:00
likui a1a6937da7 Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to f8a2116875a858cbc2c342816561f5ad9ebf66b1
  - 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: I953e69dbd07f724562ee6c913a944d0fdf45192e
2021-07-05 09:40:35 +00:00
Dmitriy Rabotyagov 4c630c20ca Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to d0323e9bb1dbd5be70d9d8d25a977b3afdb1ba66
  - 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: Id3033cfd18f074c8665d0c9f580ec4076415c599
2021-05-27 15:18:38 +00:00
Zuul 1f2c63553f Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to bd42ae0f53063e2aa19adcf4415938da3f572f8d
  - Merge "Add variables for rabbitmq ssl configuration"
  - Add variables for rabbitmq ssl configuration
    
    Change-Id: I4ca1b85b67a6f6fd4f951c1cb3c256ec959e7ee4
2021-05-18 16:23:30 +00:00
OpenStack Proposal Bot 35cae6efce Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 1cc9878d8d67cb41cb5df7ac10c03c13007f08d3
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I981fe2e8ef660afa35c621823c6b76e1f5cceb4e
2021-04-19 15:52:26 +00:00
OpenStack Proposal Bot 5200277c2c Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to a6bf5152ca7be5937132fe9fc3e09968b55567e6
  - Updated from OpenStack Ansible Tests
    
    Change-Id: If3f8d8870ba00b84219469f258e6cd8cb42a9868
2021-03-22 10:37:39 +00:00
Zuul 5f233b6c62 Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 6e8ccf3f89da7d0eb1d4d959e5eb80eb103aaf80
  - Merge "Allow to override blazar policy files"
  - Allow to override blazar policy files
    
    We implement `blazar_policy_overrides` variable in order to allow
    management of balazar policy files when needed.
    
    Change-Id: I581a9c9659d3d023eb40cf2c6dfc2d01fa0a7464
2021-03-19 20:43:35 +00:00
Jonathan Rosser b630bbd8cc Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to e89bd175d5125e1c2d3b396a96accd0ff3097ddc
  - Use ansible_facts[] instead of fact variables
    
    See https://github.com/ansible/ansible/issues/73654
    
    Change-Id: Ib92816da66e068fc119c55118f07873e5dba748a
2021-03-16 17:10:37 +00:00
OpenStack Proposal Bot 396a1c70c0 Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to d3b9030c97d13caf747a3f3cc15f69e1b1acd229
  - Updated from OpenStack Ansible Tests
    
    Change-Id: Id6ce814d74f66c079efe1c42291f803b571b2582
2021-03-13 11:20:48 +00:00
Jonathan Rosser 0aa2ea17ca Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 8eb1734656b1b91d22ad5f648cb9376173ba5843
  - 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: I3781543c5f5005d578a4010ac8ff41dbdcc8407a
2021-03-11 09:58:51 +00:00
Zuul 86f62a012d Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 40944ad5a3e1de7967d207f397353094ef295d3a
  - Merge "[reno] Stop publishing release notes"
  - [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: I8d9b29e345501f7a2475b43144d98169c553e1db
2021-01-26 18:26:22 +00:00
Jonathan Rosser 3d6586a397 Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to 746e9a48952b41fedf35ec4c9b025f92674c91f4
  - Move blazar pip packages from constraints to requirements
    
    This is necessary to support the new pip resolver
    
    Change-Id: I5ce52c9e5a39c376652cba7b13a1e0e50b784aa7
2021-01-26 10:44:02 +00:00
Zuul 00a605112c Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  to d7ce529278f23b83bcb5cea376de9c1c455828d8
  - 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: Ifb25edf453f04594303d391c4e1dd245f6400c2b
2021-01-07 17:02:36 +00:00
zhoulinhui 5c8dfa5969 Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  - Replace deprecated UPPER_CONSTRAINTS_FILE variable
    
    Change-Id: I949deb56eda385c427847e392efb5da53830f23b
2020-11-10 12:00:57 +00:00
OpenStack Proposal Bot 50c2dea616 Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I96bc9771890f3ea9cebe5a9dbbd78afc86d0c4cc
2020-10-19 15:31:15 +00:00
Zuul 9adda3dd2a Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  - Merge "Define condition for the first play host one time"
  - 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: I6f1937c329292028e772fbe96d2466000726e4b7
2020-10-06 09:28:24 +00:00
Zuul 5a075c39ee Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  - Merge "Updated from OpenStack Ansible Tests"
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I543e45ebc2bd326e30a0b73a937a8d24a8601dbd
2020-10-02 16:07:20 +00:00
Jonathan Rosser a15b76ed7c Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  - Fix linter errors
    
    Change-Id: I8f4bc0ef15106f97cdaec2999196eb0e7664aae6
2020-10-02 09:19:14 +00:00
OpenStack Proposal Bot 6a02bfe4ae Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I32923726983019ad05e0eb71e90c2e7a95c67ddd
2020-09-25 20:30:24 +00:00
Dmitriy Rabotyagov bca0830481 Update git submodules
* Update openstack-ansible-os_blazar 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: I731f05f07a92696292c1aa5bdde99089d34566a3
2020-08-21 15:39:46 +00:00
OpenStack Proposal Bot 04e683597f Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  - Updated from OpenStack Ansible Tests
    
    Change-Id: Ic8d55525e2b3bd9c24bc26e7222153f906bb9ad7
2020-08-17 20:05:00 +00:00
root be00ad2364 Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  - Add centos-8 support
    
    Renaming redhat-7.yml to redhat.yml for centos-8 support with python3-antlr3 for debian distro.
    
    Change-Id: I91c3b848bb0967d282742113d16326018aa7f7b9
2020-07-24 22:18:42 +00:00
OpenStack Proposal Bot 0e3d93c6c4 Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I99f129c6decbdaa3e93f75b36ade5d7e9a0cb1c0
2020-06-09 07:45:33 +00:00
Zuul 537962ed79 Update git submodules
* Update openstack-ansible-os_blazar 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: Idd9ce45c7bbcf115f9f43bdd3a59fc27d2835c5a
2020-06-05 11:40:35 +00:00
OpenStack Proposal Bot 35995bf24d Update git submodules
* Update openstack-ansible-os_blazar from branch 'master'
  - Updated from OpenStack Ansible Tests
    
    Change-Id: If1e7279a6a5f4e8764cbc8bac7b4b8804ec51ef1
2020-06-04 06:09:47 +00:00