Skip to content
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

Do not pass NoneType as argument to ceph_crush_rule (backport #7466) #7469

Closed
wants to merge 1 commit into from

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Dec 6, 2023

This is an automatic backport of pull request #7466 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

@noonedeadpunk
Copy link
Contributor

I'm not actually sure that failures I see are related with the backport itself...

@asm0deuz
Copy link
Collaborator

asm0deuz commented Jan 4, 2024

I'm not actually sure that failures I see are related with the backport itself...

Nope it looks CI env related. Should be fixed any time soon

@asm0deuz
Copy link
Collaborator

asm0deuz commented Jan 4, 2024

jenkins test centos-non_container-update

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 <noonedeadpunk@gmail.com>
(cherry picked from commit b610297)
@asm0deuz asm0deuz force-pushed the mergify/bp/stable-7.0/pr-7466 branch from 314da6b to 71fc540 Compare January 9, 2024 09:39
@asm0deuz
Copy link
Collaborator

asm0deuz commented Jan 9, 2024

jenkins test centos-container-all_daemons

@guits guits force-pushed the stable-7.0 branch 3 times, most recently from 91f2ae8 to 7a9f871 Compare February 16, 2024 23:13
@guits guits closed this Mar 16, 2024
@guits guits deleted the mergify/bp/stable-7.0/pr-7466 branch March 16, 2024 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants