Bug 1223825 - [RFE] Openstack power control - add support for "pause" and "shutdown" power operations
Summary: [RFE] Openstack power control - add support for "pause" and "shutdown" power ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: GA
: 5.6.0
Assignee: Ladislav Smola
QA Contact: Jiri Stefanisin
URL:
Whiteboard: openstack
Depends On: 1278075
Blocks: 1291812
TreeView+ depends on / blocked
 
Reported: 2015-05-21 13:38 UTC by Jan Krocil
Modified: 2016-06-29 14:55 UTC (History)
10 users (show)

Fixed In Version: 5.6.0.0
Doc Type: Enhancement
Doc Text:
Clone Of:
: 1291812 (view as bug list)
Environment:
Last Closed: 2016-06-29 14:55:56 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

Comment 3 CFME Bot 2015-08-04 13:42:21 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/e70fcbed638afffacdecab77e45633c936611709

commit e70fcbed638afffacdecab77e45633c936611709
Author:     Ladislav Smola <lsmola>
AuthorDate: Fri Jul 31 17:31:18 2015 +0200
Commit:     Ladislav Smola <lsmola>
CommitDate: Tue Aug 4 09:57:22 2015 +0200

    OpenStack missing action pause and stop
    
    OpenStack missing action pause and stop
    
    BZ
    https://bugzilla.redhat.com/show_bug.cgi?id=1223825

 app/controllers/api_controller/vms.rb              |  21 ++++++++
 .../application_controller/ci_processing.rb        |   2 +
 app/controllers/application_controller/explorer.rb |   6 +--
 app/models/ems_openstack.rb                        |   6 +++
 app/models/vm_openstack/operations/power.rb        |  16 ++++---
 config/api.yml                                     |   4 ++
 db/fixtures/miq_actions.csv                        |   1 +
 db/fixtures/miq_product_features.yml               |  16 ++++---
 db/fixtures/miq_user_roles.yml                     |  11 +++--
 product/toolbars/x_vm_cloud_center_tb.yaml         |   2 +-
 public/images/toolbars/power_pause.png             | Bin 0 -> 1186 bytes
 spec/models/miq_product_feature_spec.rb            |   6 +--
 spec/models/vm_openstack_spec.rb                   |   2 +-
 spec/requests/api/vms_spec.rb                      |  53 +++++++++++++++++++++
 14 files changed, 122 insertions(+), 24 deletions(-)
 create mode 100644 public/images/toolbars/power_pause.png

Comment 6 Ladislav Smola 2015-10-13 13:43:28 UTC
@Dan, can anybody from UI look at this, seems like something has changed in toolbars, there is some new condition I don't see and it is hiding the new buttons.

It also applies to this BZ https://bugzilla.redhat.com/show_bug.cgi?id=1202884

Comment 9 CFME Bot 2015-11-24 18:15:30 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/497f53491bc0529d5eb52b300b404405f80e052c

commit 497f53491bc0529d5eb52b300b404405f80e052c
Author:     Ladislav Smola <lsmola>
AuthorDate: Thu Oct 29 13:33:51 2015 +0100
Commit:     Ladislav Smola <lsmola>
CommitDate: Tue Nov 24 09:53:24 2015 +0100

    OpenStack bugfix actions pause, shelve and shelve offload
    
    The actions were broken due to refactoring.
    
    Fixes already merged fuctionality for BZs
    https://bugzilla.redhat.com/show_bug.cgi?id=1202884
    https://bugzilla.redhat.com/show_bug.cgi?id=1223825

 app/models/vm_or_template/operations/power.rb |  4 ++--
 db/fixtures/miq_event_definitions.csv         |  6 ++++++
 db/fixtures/miq_product_features.yml          | 12 ++++++++++++
 spec/models/miq_product_feature_spec.rb       |  2 +-
 4 files changed, 21 insertions(+), 3 deletions(-)

Comment 11 CFME Bot 2016-01-12 02:27:12 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=a89cceb1b00931cb52f11496d6c7dae1de5a4ad0

commit a89cceb1b00931cb52f11496d6c7dae1de5a4ad0
Author:     Ladislav Smola <lsmola>
AuthorDate: Thu Oct 29 13:33:51 2015 +0100
Commit:     Ladislav Smola <lsmola>
CommitDate: Mon Jan 11 15:26:21 2016 +0100

    OpenStack bugfix actions pause, shelve and shelve offload
    
    The actions were broken due to refactoring.
    
    Fixes already merged fuctionality for BZs
    https://bugzilla.redhat.com/show_bug.cgi?id=1202884
    https://bugzilla.redhat.com/show_bug.cgi?id=1223825
    
    Conflicts:
    	spec/models/miq_product_feature_spec.rb

 app/models/vm_or_template/operations/power.rb |  4 ++--
 db/fixtures/miq_event_definitions.csv         |  6 ++++++
 db/fixtures/miq_product_features.yml          | 12 ++++++++++++
 spec/models/miq_product_feature_spec.rb       |  2 +-
 4 files changed, 21 insertions(+), 3 deletions(-)

Comment 14 errata-xmlrpc 2016-06-29 14:55:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1348


Note You need to log in before you can comment on or make changes to this bug.