Bug 1565236

Summary: NFV docs contain inline templates which should be packaged
Product: Red Hat OpenStack Reporter: Steven Hardy <shardy>
Component: rhosp-directorAssignee: Vijay Chundury <vchundur>
Status: CLOSED WONTFIX QA Contact: Yariv <yrachman>
Severity: medium Docs Contact:
Priority: medium    
Version: 12.0 (Pike)CC: atelang, dbecker, fbaudin, mburns, morazi, rhel-osp-director-maint, samccann, skramaja, srevivo
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1584582 (view as bug list) Environment:
Last Closed: 2018-05-29 12:01:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1584582    

Description Steven Hardy 2018-04-09 17:19:29 UTC
Description of problem:

https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/12/html-single/network_functions_virtualization_planning_and_configuration_guide/index

These docs have a lot of inline template content, which would be best shipped via an RPM, e.g the openstack-tripleo-heat-templates RPM now has a roles data similar to the one described, and other yaml sections like the network config should probably also point to pre-packaged examples?

For example, here we have a pre-prepared role which can be referenced and is probably already packaged:

https://github.com/openstack/tripleo-heat-templates/blob/master/roles/ComputeSriov.yaml

We should document consuming this via the new "roles generate" CLI described here which reduces the burden of rebasing custom roles_data between releases:

https://docs.openstack.org/tripleo-docs/latest/install/advanced_deployment/custom_roles.html#provided-example-roles

Elsewhere in the docs we should try to as far as is possible remove the cut/paste examples and instead reference files we package/test/ship so they're easier to consume and less likely to break between releases.

Comment 3 Franck Baudin 2018-05-28 07:51:20 UTC
Is the ask to fix RHOSP12 documentation only? As only RHOSP10 and RHOSP13 are of interest, can we move this request on RHOSP13.z doc and also qualify what is the ask (if any) for RHOSP10?

Thanks!

Comment 4 Saravanan KR 2018-05-29 12:01:33 UTC
The problem with OSP12 is that, it has only the ComputeOvsDpdk role file only and it does not have ComputeSriov role file. During the backport [1] of ComputeSriov, there was a concern raised regarding the backport affecting the existing Compute role during minor update in OSP12 (as SR-IOV service will be removed from Compute and added to the new role ComputeSriov). 

But the new role is already present in the OSP13 templates and we will use the roles generate cli for both SR-IOV and OVS-DPDK roles. I don't think we have much to do here for OSP12 and it has been already taken care of OSP13. Closing the BZ, please re-open if you still think we need to fix OSP12 doc too.

[1] https://review.openstack.org/#/c/517858/