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

Investigate adding more structure to rates.yaml #25

Open
QuanMPhm opened this issue Mar 24, 2025 · 2 comments
Open

Investigate adding more structure to rates.yaml #25

QuanMPhm opened this issue Mar 24, 2025 · 2 comments
Assignees

Comments

@QuanMPhm
Copy link
Contributor

As pointed out by @larsks, the rates.yaml now contains not only SU rates, but a variety of other types of metadata, making it impossible to use without substantial external knowledge (such as what types of SUs are available? what kind of resources of they have? etc) This has forced us to hardcode certain information in our billing repos (i.e the list of SUs in Openstack billing), increasing our maintenance burden whenever we introduce another SU type.

As suggested by @larsks, we should see how the rates.yaml file can be restructured.

@knikolla @naved001 Let me know your thoughts

@QuanMPhm
Copy link
Contributor Author

@naved001 I remember last week you did mention that certain cluster-specific information (i.e the mapping between SUs and their resource names on the actual Openstack cluster and what appears in invoices) may still need to hardcoded in their respective billing repos. I think that information can be also be put in rates.yaml, at the cost of making the data structure much more complex.

@naved001
Copy link
Contributor

@QuanMPhm haha I just finished typing that in a comment on a different thread:

CCI-MOC/bare-metal-usage-scripts#1 (comment)

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

2 participants