Description of problem: Instance might be restarted only from Collections menu(Quadicon menu) Version-Release number of selected component (if applicable): How reproducible:Always in 5.6.2.0.20160913114355_70e9086 5.7.0.1.20160913164703_66caf07 Steps to Reproduce: 1.Setup Azure provider 2.Find running VM and open Details menu 3.check power options Actual results: no Reboot options Expected results:Soft reboot should be available Additional info:a sort of confirmation that Soft reboot works - https://bugzilla.redhat.com/show_bug.cgi?id=1349146
Bronagh, would be nice if this used the SupportsFeatureMixin to surface the button for the provider. If you have questions about that, ping Marcel.
Dan I think this is a UI issue and not a backend issue. I implemented the "soft reboot" operation in the model a while back: https://github.com/ManageIQ/manageiq/pull/9687 for BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1349146 I think the "soft reboot" button needs to be added to the VM detail page. FYI - As described in the PR, there is no "hard reboot" support in the Azure API. Thanks, Bronagh
Jozef, Can you track code here https://github.com/ManageIQ/manageiq/blob/master/app/helpers/application_helper/button/generic_feature_button.rb#L9 to see why Soft Reboot button is not visible on Azure Instance summary screen even when Instance is powered on. Let me know if you have questions. Thanks, ~Harpreet
https://github.com/ManageIQ/manageiq/pull/11677
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/e8359ed4668e128d3dda70acf841396d86fce33d commit e8359ed4668e128d3dda70acf841396d86fce33d Author: Jozef Zigmund <jzigmund> AuthorDate: Tue Oct 4 16:19:50 2016 +0200 Commit: Jozef Zigmund <jzigmund> CommitDate: Tue Oct 4 16:41:19 2016 +0200 Fix the missing 'Soft reboot' button on an Azure instance https://bugzilla.redhat.com/show_bug.cgi?id=1379071 .../manageiq/providers/azure/cloud_manager/vm/operations.rb | 1 + .../providers/azure/cloud_manager/vm/operations/power.rb | 9 +++++++++ 2 files changed, 10 insertions(+)
"Soft reboot" is back in 5.7.0.6 and works fine
Jozef, please check this BZ https://bugzilla.redhat.com/show_bug.cgi?id=1384650 Was it also affected but this PR? Previously it was mentioned that this one is provider specific as only Azure and EC2 had this issue and RHOS didn't have it.
*** Bug 1384650 has been marked as a duplicate of this bug. ***
is this going to be added to 5.6z stream?
afaik, it won't be backported to 5.6.z
verified in 5.8.0.0.20170201144150_848e68b