Bug 1386860 - [RFE] Provide sample environments for custom roles
Summary: [RFE] Provide sample environments for custom roles
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 11.0 (Ocata)
Hardware: Unspecified
OS: Unspecified
Target Milestone: Upstream M2
: 12.0 (Pike)
Assignee: Alex Schultz
QA Contact: Gurenko Alex
Depends On:
Blocks: 1442136 1469581 1500544
TreeView+ depends on / blocked
Reported: 2016-10-19 17:53 UTC by Dan Sneddon
Modified: 2018-02-05 19:02 UTC (History)
9 users (show)

Fixed In Version: openstack-tripleo-heat-templates-7.0.0-0.20170901051303.0rc1.el7ost python-tripleoclient-7.1.1-0.20170718074221.805b7b7.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1500544 (view as bug list)
Last Closed: 2017-12-13 20:49:23 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Launchpad 1634991 0 None None None 2016-10-19 17:53:39 UTC
OpenStack gerrit 400390 0 None None None 2017-06-23 03:15:12 UTC
OpenStack gerrit 445687 0 None None None 2017-03-15 00:09:22 UTC
OpenStack gerrit 466900 0 None None None 2017-05-23 16:58:26 UTC
OpenStack gerrit 476236 0 None None None 2017-06-21 22:09:21 UTC
OpenStack gerrit 499124 0 None None None 2017-09-06 19:26:52 UTC
RDO 7172 0 None None None 2017-06-21 18:13:56 UTC
Red Hat Product Errata RHEA-2017:3462 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-16 01:43:25 UTC

Description Dan Sneddon 2016-10-19 17:53:39 UTC
Description of problem: We now have the ability to create custom roles, but we don't yet have any examples in the environments/ directory of tripleo-heat-templates.

Version-Release number of selected component (if applicable):
OSP 10

How reproducible:

Actual results: There are no sample composable roles in the environments/ subdirectory of THT.

Expected results: Some of the most common roles should be demonstrated with sample environments in the environments/ directory, such as Neutron networker, all-in-one controller, etc.

Additional info: I would like to craft sample NIC templates for some of the most common composable roles, but I think that makes sense only if we are also including sample environments to create those same roles.

Comment 1 Jaromir Coufal 2017-03-13 15:44:00 UTC
@Alex - can we try to target for M1? At least the part to prepare the file structure and git repo for shared repository for all the Standalone Roles with at least one example, so that other can start to contribute ASAP.

Comment 2 Alex Schultz 2017-03-13 17:00:47 UTC
I'll see what I can do. I think I can at least get the basic structure together by M1. I probably won't have all the roles and scenarios together by then.

Comment 4 Alex Schultz 2017-06-12 21:57:23 UTC
The basic set of example roles and tooling have been merged upstream.

Comment 5 Dan Sneddon 2017-06-23 03:16:10 UTC
Added a link the the review for a Neutron Networker role NIC config here:

Comment 7 Gurenko Alex 2017-08-27 11:47:07 UTC
 Since we're targeting RHOS 12 which is only supported in containerized version, custom roles (Database, Messaging, Networker) are missing OS::TripleO::Services::Docker.

 Also downstream Database flavor is now called "database", not "db", this was also changed for InfraRed, so I think for the sake of consistency it would be good to update flavor for standalone.yaml when merged downstream, or change it upstream as well, what do you think?

Comment 8 Alex Schultz 2017-08-29 15:34:13 UTC
ok I'm working on getting the roles updated to include the docker service.

I'm not sure about updating the flavor as that seems that infrared should be consuming what is available upstream and not the other way around. Is that configurable in infrared instead?

Comment 9 Gurenko Alex 2017-10-03 11:47:42 UTC
Alex we still have problem with /usr/share/openstack-tripleo-heat-templates/environments/composable-roles/standalone.yaml, compute flavor should be not compute, but ControllerOpenstack since it's an example of composable deployment

Comment 10 Alex Schultz 2017-10-03 15:16:04 UTC
I'm not sure I understand what you mean. The standalone should consist of the following roles:

ControllerOpenstack, Database, Messaging, Networker, Compute, CephStorage

It's not an all-in-one deployment but rather a full deployment with 12 nodes.

Comment 11 Gurenko Alex 2017-10-06 07:21:43 UTC
(In reply to Alex Schultz from comment #10)
> I'm not sure I understand what you mean. The standalone should consist of
> the following roles:
> ControllerOpenstack, Database, Messaging, Networker, Compute, CephStorage
> It's not an all-in-one deployment but rather a full deployment with 12 nodes.

Yes, sorry, I've mistyped it, it should consist of ControllerOpenstack but right now it has just Controller role mentioned in the standalone.yaml

Comment 12 Alex Schultz 2017-10-06 21:07:14 UTC
Ah you're right. They should be *ControllerOpenstack*. I've pushed a patch to correct this

Comment 13 Alex Schultz 2017-10-10 23:10:38 UTC
So I'm going to move this back to ON_QA as the controller var issue could be addressed via documentation initially if we cannot land it by GA. I believe we could land it via GA but it is only a minor defect of the feature.  I will create a separate bug to track the s/Controller/ControllerOpenstack/ for the standalone.yaml

Comment 14 Gurenko Alex 2017-11-13 14:58:25 UTC
Verified on puddle 2017-11-09.2

Comment 17 errata-xmlrpc 2017-12-13 20:49:23 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.


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