Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1386860 - [RFE] Provide sample environments for custom roles
[RFE] Provide sample environments for custom roles
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates (Show other bugs)
11.0 (Ocata)
Unspecified Unspecified
medium Severity unspecified
: Upstream M2
: 12.0 (Pike)
Assigned To: Alex Schultz
Gurenko Alex
: FutureFeature, Triaged
Depends On:
Blocks: 1442136 1469581 1500544
  Show dependency treegraph
 
Reported: 2016-10-19 13:53 EDT by Dan Sneddon
Modified: 2018-02-05 14:02 EST (History)
9 users (show)

See Also:
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:
Story Points: ---
Clone Of:
: 1500544 (view as bug list)
Environment:
Last Closed: 2017-12-13 15:49:23 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1634991 None None None 2016-10-19 13:53 EDT
OpenStack gerrit 400390 None None None 2017-06-22 23:15 EDT
OpenStack gerrit 445687 None None None 2017-03-14 20:09 EDT
OpenStack gerrit 466900 None None None 2017-05-23 12:58 EDT
OpenStack gerrit 476236 None None None 2017-06-21 18:09 EDT
OpenStack gerrit 499124 None None None 2017-09-06 15:26 EDT
RDO 7172 None None None 2017-06-21 14:13 EDT
Red Hat Product Errata RHEA-2017:3462 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-15 20:43:25 EST

  None (edit)
Description Dan Sneddon 2016-10-19 13:53:39 EDT
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:
100%

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 11:44:00 EDT
@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 13:00:47 EDT
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 17:57:23 EDT
The basic set of example roles and tooling have been merged upstream.
Comment 5 Dan Sneddon 2017-06-22 23:16:10 EDT
Added a link the the review for a Neutron Networker role NIC config here:
https://review.openstack.org/#/c/400390/
Comment 7 Gurenko Alex 2017-08-27 07:47:07 EDT
 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 11:34:13 EDT
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 07:47:42 EDT
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 11:16:04 EDT
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 03:21:43 EDT
(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 17:07:14 EDT
Ah you're right. They should be *ControllerOpenstack*. I've pushed a patch to correct this
Comment 13 Alex Schultz 2017-10-10 19:10:38 EDT
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 09:58:25 EST
Verified on puddle 2017-11-09.2
Comment 17 errata-xmlrpc 2017-12-13 15:49:23 EST
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/RHEA-2017:3462

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