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

Implemeted nerc-rates repo into Openstack billing #71

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

QuanMPhm
Copy link
Contributor

Closes #70.

@QuanMPhm QuanMPhm requested review from knikolla, naved001 and larsks June 13, 2024 07:58
Copy link

@naved001 naved001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@QuanMPhm This PR does not make it clear in the commit message that 2 arguments still need to be supplied via the command line instead of nerc-rates. It also doesn't mention a reason anywhere.

But anyway, I have proposed in the comments that we get those 2 remaining arguments from nerc-rates as well.

src/openstack_billing_db/main.py Outdated Show resolved Hide resolved
requirements.txt Outdated Show resolved Hide resolved
src/openstack_billing_db/main.py Outdated Show resolved Hide resolved
@QuanMPhm QuanMPhm force-pushed the 70/use_nerc_rates branch from ea38d35 to a715d0f Compare June 18, 2024 06:04
@QuanMPhm
Copy link
Contributor Author

QuanMPhm commented Jun 18, 2024

@naved001 I've applied your comments so far, updated the commit message, and will wait for further instructions for the missing A2 GPU rate.

For now, because the rate for the A2 GPU is not in `nerc-rates`,
even with the `--use-nerc-rates` arg set, the rate for the A2 GPU
still needs to be provided via CLI
@QuanMPhm QuanMPhm force-pushed the 70/use_nerc_rates branch from a715d0f to c83d7c5 Compare June 21, 2024 02:42
@knikolla knikolla merged commit 2bf8d11 into CCI-MOC:main Jun 24, 2024
3 checks passed
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.

Use nerc-rates in OpenStack invoicing
5 participants