Bug 1415106 - [RFE] Add the ability to run service-related automate tasks in a specific zone
Summary: [RFE] Add the ability to run service-related automate tasks in a specific zone
Status: ON_DEV
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.11.0
Assignee: Harpreet Kataria
QA Contact: Sudhir Mallamprabhakara
Red Hat CloudForms Documentation
URL:
Whiteboard: zone
Keywords: FutureFeature, RFE
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-20 09:55 UTC by Peter McGowan
Modified: 2019-05-24 19:10 UTC (History)
17 users (show)

(edit)
Clone Of:
(edit)
Last Closed:


Attachments (Terms of Use)

Description Peter McGowan 2017-01-20 09:55:02 UTC
Description of problem:
When we launch a service, we currently have no control over which zone the service-related automate methods/tasks run in. It would be very useful to be able to select the zone to run in when we define a service catalog item or bundle.

Additional info:
In a multi-appliance or multi-zone CFME installation, it is usual for enterprise firewall rules to be set to only allow specific CFME appliances access to external applications. In CFME we often have service-related workflows that include connectivity/integration points to such applications (such as a CMDB for example), and at present some of these workflows 'randomly' fail, depending which zone/appliance happens to be running the service_template_provision_task.

A workaround is for the service_template_provision_task to schedule the main workflow using $evm.execute('create_automation_request', ...), specifying the zone to run in, but this is nasty. Being able to specify the zone or permissible zones when we define the service would be much better.

Comment 2 Greg McCullough 2017-04-04 21:19:51 UTC
https://www.pivotaltracker.com/story/show/143080079

Comment 6 CFME Bot 2019-03-29 13:57:19 UTC
New commit detected on ManageIQ/manageiq-schema/master:

https://github.com/ManageIQ/manageiq-schema/commit/d2008ef81b7af90432061ef6ebb607cf15acc922
commit d2008ef81b7af90432061ef6ebb607cf15acc922
Author:     Lucy Fu <lufu@redhat.com>
AuthorDate: Tue Mar 26 11:46:00 2019 -0400
Commit:     Lucy Fu <lufu@redhat.com>
CommitDate: Tue Mar 26 11:46:00 2019 -0400

    Add zone to service templates.

    https://bugzilla.redhat.com/show_bug.cgi?id=1415106

 db/migrate/20190318190517_add_zone_to_service_templates.rb | 5 +
 1 file changed, 5 insertions(+)

Comment 7 CFME Bot 2019-03-30 12:15:41 UTC
New commit detected on ManageIQ/manageiq/master:

https://github.com/ManageIQ/manageiq/commit/156eda571e5a68b68cf5571f363194eae696f35e
commit 156eda571e5a68b68cf5571f363194eae696f35e
Author:     Lucy Fu <lufu@redhat.com>
AuthorDate: Tue Mar 19 10:59:04 2019 -0400
Commit:     Lucy Fu <lufu@redhat.com>
CommitDate: Tue Mar 19 10:59:04 2019 -0400

    Add zone to service provisioning.

    https://bugzilla.redhat.com/show_bug.cgi?id=1415106

 app/models/mixins/miq_request_mixin.rb | 12 +
 app/models/service_template.rb | 7 +
 app/models/service_template_provision_request.rb | 1 +
 app/models/service_template_provision_task.rb | 8 +-
 spec/models/service_template_provision_task_spec.rb | 84 +-
 5 files changed, 81 insertions(+), 31 deletions(-)

Comment 8 Greg McCullough 2019-03-30 13:25:47 UTC
Passing ticket to UI as backend work is merged.  Please sync with Lucy/Tina on UI details.

Comment 9 Lucy Fu 2019-04-01 13:25:28 UTC
UI change is required: add a drop down list for zone selection when adding a new catalog item.
There is no change for adding a new catalog bundle.

Comment 10 Lucy Fu 2019-04-04 13:53:42 UTC
Oops, forgot about UI changes.


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