-
Notifications
You must be signed in to change notification settings - Fork 366
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
Wrong return type of disable/enable service actions #1076
Conversation
@baseman79 I don't see a reason why the return type should not get parsed with Service class. It does satisfies all the parameters; can you share any exceptions or errors you get? |
@baseman79 I don't there would be need for this PR anymore; until there is something we are trying to fix here from the older code. |
@vinodborole sorry, are you saying the old code with return type |
@baseman79 Yes it should |
here is the return from OS:
and the value I got back by using the old code
|
Hi @vinodborole, Just to be clear, I made a very simple call to disable a host with the current master code (return type is
OS reponsed
And I verified the host is disabled, but the return value I got for Do you still think this pr is not needed? Thanks, |
@baseman79 thank you for debuging this @auhlig what do you think? |
We're talking https://developer.openstack.org/api-ref/compute/#disable-scheduling-for-a-compute-service and https://developer.openstack.org/api-ref/compute/#enable-scheduling-for-a-compute-service, right? |
@auhlig that's correct. I will add an unit test, thx |
@auhlig @vinodborole anyone? |
Sorry for the delay. I'll take a look in the evening. |
no worries, thanks @auhlig |
Thanks for contributing @baseman79 |
#1044