Skip to content

Unable to create reserved-guest #1402

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

Closed
wants to merge 3 commits into from
Closed

Conversation

caberos
Copy link
Contributor

@caberos caberos commented Dec 18, 2020

@@ -465,7 +465,7 @@ def reload_instance(self, instance_id,
'FORCE', config, id=instance_id)

def _generate_create_dict(
self, cpus=None, memory=None, hourly=True,
self, cpus=None, memory=None, useHourlyPricing=True,
Copy link
Member

Choose a reason for hiding this comment

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

Don't change names of function arguments if we can help it. Change this back to "hourly" so we don't break anyone's code that happens to be using this function.

@@ -504,7 +504,7 @@ def _generate_create_dict(
"hostname": hostname,
"domain": domain,
"localDiskFlag": local_disk,
"hourlyBillingFlag": hourly,
"useHourlyPricing": useHourlyPricing,
Copy link
Member

@allmightyspiff allmightyspiff Dec 18, 2020

Choose a reason for hiding this comment

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

Make sure this change doesn't break hourly VSI orders of any kind. I'm guessing it likely won't, but we have been using hourlyBillingFlag forever, so its kinda weird it stopped working for reserved capacity instances.

@allmightyspiff allmightyspiff linked an issue Dec 18, 2020 that may be closed by this pull request
@allmightyspiff
Copy link
Member

I finally had a moment to get back to this, and I decided that instead of doing all the work needed to get reserved capacity to allow hourly creation... were just going to force monthly until someone asks us to do hourly as well.

I'll fix this in #1454

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to create reserved-guest
2 participants