Bug 1341176

Summary: [OSP-director] [RFE] Add real-time compute node role
Product: Red Hat OpenStack Reporter: Stephen Gordon <sgordon>
Component: openstack-tripleo-heat-templatesAssignee: Sven Anderson <svanders>
Status: CLOSED ERRATA QA Contact: awaugama
Severity: high Docs Contact:
Priority: urgent    
Version: 10.0 (Newton)CC: asimonel, atelang, berrange, bhu, chegu_vinod, dasmith, dbecker, egallen, eglynn, fbaudin, jjoyce, jraju, jschluet, kchamart, knylande, lyarwood, mbooth, mburns, morazi, nlevinki, owalsh, rhel-osp-director-maint, sbauza, sclewis, sferdjao, sgordon, skramaja, smerrow, srevivo, vromanso, yrachman, yroblamo
Target Milestone: Upstream M3Keywords: FutureFeature, InstallerIntegration, Triaged
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-8.0.0-0.20180304031146.6cd4184.el7ost Doc Type: Enhancement
Doc Text:
This enhancement adds support for deploying RT enabled compute nodes from director alongside "regular" compute nodes. 1. Based on tripleo-heat-templates/environments/compute-real-time-example.yaml, create a compute-real-time.yaml environment file that sets the parameters for the ComputeRealTime role with at least the correct values for: * IsolCpusList and NovaVcpuPinSet: a list of CPU cores that should be reserved for real-time workloads. This depends on your CPU hardware on your real-time compute nodes. * KernelArgs: set to "default_hugepagesz=1G hugepagesz=1G hugepages=X" with X depending on the number of guests and how much memory they will have. 2. Build and upload the overcloud-realtime-compute image: * Prepare the repos (for CentOS): - sudo yum install -y https://trunk.rdoproject.org/centos7/current/python2-tripleo-repos-XXX.el7.centos.noarch.rpm - sudo -E tripleo-repos current-tripleo-dev - export DIB_YUM_REPO_CONF="/etc/yum.repos.d/delorean* /etc/yum.repos.d/quickstart*" * openstack overcloud image build --image-name overcloud-realtime-compute --config-file /usr/share/openstack-tripleo-common/image-yaml/overcloud-realtime-compute.yaml --config-file /usr/share/openstack-tripleo-common/image-yaml/overcloud-realtime-compute-centos7.yaml * openstack overcloud image upload --update-existing --os-image-name overcloud-realtime-compute.qcow2 3. Create roles_data.yaml with ComputeRealTime and all other required roles, for example: `openstack overcloud roles generate -o ~/rt_roles_data.yaml Controller ComputeRealTime ...` and assign the ComputeRealTime role to the real-time nodes in one of the usual ways. See https://docs.openstack.org/tripleo-docs/latest/install/advanced_deployment/custom_roles.html 4. Deploy the overcloud: openstack overcloud deploy --templates -r ~/rt_roles_data.yaml -e ./tripleo-heat-templates/environments/host-config-and-reboot.yaml -e ./compute-real-time.yaml [...]
Story Points: ---
Clone Of:
: 1414580 (view as bug list) Environment:
Last Closed: 2018-06-27 13:26:26 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1271852, 1298079, 1384845, 1411971, 1441923, 1445709, 1468004, 1591229, 1656068, 1656069, 1691740    
Bug Blocks: 1419948, 1442136, 1465537, 1414569, 1414580, 1599573    

Description Stephen Gordon 2016-05-31 12:13:40 UTC
Description of problem:

Add support for deploying RT enabled compute nodes from director alongside "regular" compute nodes.

https://trello.com/c/Ts9ftFbH

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

10.0

Comment 7 Eoghan Glynn 2017-01-13 08:27:29 UTC
*** Bug 1412226 has been marked as a duplicate of this bug. ***

Comment 9 Stephen Gordon 2017-06-15 17:27:30 UTC
Moving to Queens, as while progress is being made there is ongoing outstanding work required.

Comment 16 Sven Anderson 2018-01-29 13:45:55 UTC
All changes merged before M3. Moving to POST.

Comment 31 Yolanda Robla 2018-04-10 12:14:53 UTC
So from my understanding, this is a similar topic than the one for security hardened images. While we don't support image creation with DIB, we are supporting the image creation based on DIB, but with the code in tripleo-common. As it was a procedure that can be documented and tested, it was accepted.

Ollie already provided the yaml files to compose the images in tripleo-common, so i think that the best way to compose those images is use that yaml file and use the openstack overcloud build command

https://github.com/openstack/tripleo-common/blob/master/image-yaml/overcloud-realtime-compute.yaml

Comment 37 errata-xmlrpc 2018-06-27 13:26:26 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/RHEA-2018:2086