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

os_ratings doesn't update value hashmap service mappings #51

Open
clopnis opened this issue Dec 5, 2024 · 0 comments
Open

os_ratings doesn't update value hashmap service mappings #51

clopnis opened this issue Dec 5, 2024 · 0 comments

Comments

@clopnis
Copy link

clopnis commented Dec 5, 2024

When you want to do code as infra with os_ratings on cloudkitty and update a price, as the hashmap service mappings exist, it's skipped. It doesn't check if the value in place is the correct value wanted.

stackhpc.openstack-0.2.4
ansible 2.16.12

TASK [stackhpc.openstack.os_ratings : List hashmap service mappings] ************************************************************************************************************************************************************************
ok: [ansible] => (item=volume.size)

TASK [stackhpc.openstack.os_ratings : Create hashmap service mappings] **********************************************************************************************************************************************************************
skipping: [ansible] => (item={'service': 'volume.size', 'cost': 1e-05, 'group': 'volume_XXX', 'type': 'flat'}) 
skipping: [ansible]

It's needed to delete it then it works

TASK [stackhpc.openstack.os_ratings : Create hashmap service mappings] **********************************************************************************************************************************************************************
changed: [ansible] => (item={'service': 'volume.size', 'cost': 1e-05, 'group': 'volume_XXXX', 'type': 'flat'})

It should be great to check if the value is correct and fix it if needed.
Thanks

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

No branches or pull requests

1 participant