-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core: bump to ansible 2.15 #7492
Conversation
390bf2f
to
02d8fa6
Compare
Wouldn't it make sense to go straight to 2.16? |
let's bump the python version to 3.10 in python-based github actions. Signed-off-by: Guillaume Abrioux <[email protected]> (cherry picked from commit 66337a3)
typical error: ``` Error: raise NotImplementedError('an AnsibleCollectionFinder has not been installed in this process') NotImplementedError: an AnsibleCollectionFinder has not been installed in this process ``` Signed-off-by: Guillaume Abrioux <[email protected]>
This fixes the following error: ``` syntax-check[specific]: The field 'hosts' has an invalid value, which includes an undefined variable. ``` Signed-off-by: Guillaume Abrioux <[email protected]>
this is a dirty and temporary hack so we just list error and make this job success anyway. Signed-off-by: Guillaume Abrioux <[email protected]>
8cdd661
to
8f29879
Compare
it might make sense, yes. (keep in mind this is for stable-7.0) |
8f29879
to
b339af9
Compare
Ah, I thought that was for the stable-8.0. For stable-7.0 I think Ansible 2.15 is fully sufficient. We have been using stable-7.0 with Ansible 2.14 for a long time without any problems. |
ee8bb68
to
43a075f
Compare
2.12 is EOL since May 2023. Let's bump to 2.15. Signed-off-by: Guillaume Abrioux <[email protected]>
rbd-mirror tests are using devel packages while it should use quincy. Signed-off-by: Guillaume Abrioux <[email protected]>
With ansible-core 2.15 it is not possible to pass argument of unexpected type, as otherwise module will fail with: `'None' is not a string and conversion is not allowed` With that we want to only get all existing crush rules, so we can simply supply an empty string as a name argument, which would satisfy requirements and have same behaviour for previous ansible versions. Alternative approach would be to stop making `name` as a required argument to the module and use empty string as default value when info state is used. Signed-off-by: Dmitriy Rabotyagov <[email protected]> (cherry picked from commit b610297)
This refactor makes the 'name' argument not mandatory because when 'state' is 'info' we shouldn't need to pass it. The second change is just a duplicate code removal. Signed-off-by: Guillaume Abrioux <[email protected]> (cherry picked from commit e433d2b)
this makes the scenario use devel rpms which is wrong. Signed-off-by: Guillaume Abrioux <[email protected]>
pytest-infra 10.0.0 release changed the get_variables() behavior which led to CI failures (pytest-dev/pytest-testinfra#724) Starting of now all groups the host is part of and not only the direct parent groups are returned by get_variables() Signed-off-by: Teoman ONAY <[email protected]> (cherry picked from commit 37a8222)
This is needed for new instances are the restart might trigger before the deployment Signed-off-by: Seena Fallah <[email protected]> (cherry picked from commit 7142321)
Signed-off-by: Seena Fallah <[email protected]>
43a075f
to
cdce2ce
Compare
jenkins test centos-container-all_daemons |
- the collection path isn't right - vagrant_up.sh fails because the path isn't passed down - increase the number of retries and delay for pytest Signed-off-by: Guillaume Abrioux <[email protected]>
Signed-off-by: Guillaume Abrioux <[email protected]> (cherry picked from commit 1a97696)
99fb1f6
to
3ec773a
Compare
2.12 is EOL since May 2023.
Let's bump to 2.15.