-
Notifications
You must be signed in to change notification settings - Fork 192
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
Conversation
SoftLayer/managers/vs.py
Outdated
@@ -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, |
There was a problem hiding this comment.
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.
SoftLayer/managers/vs.py
Outdated
@@ -504,7 +504,7 @@ def _generate_create_dict( | |||
"hostname": hostname, | |||
"domain": domain, | |||
"localDiskFlag": local_disk, | |||
"hourlyBillingFlag": hourly, | |||
"useHourlyPricing": useHourlyPricing, |
There was a problem hiding this comment.
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.
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 |
#1395