Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1508936

Summary: deploying CEPH pure HCI fails
Product: Red Hat OpenStack Reporter: Dave Wilson <dwilson>
Component: openstack-tripleo-heat-templatesAssignee: John Fulton <johfulto>
Status: CLOSED ERRATA QA Contact: Yogev Rabl <yrabl>
Severity: high Docs Contact:
Priority: high    
Version: 12.0 (Pike)CC: emacchi, johfulto, jomurphy, mariel, mburns, rhel-osp-director-maint, scohen
Target Milestone: zstreamKeywords: Triaged, ZStream
Target Release: 12.0 (Pike)   
Hardware: x86_64   
OS: Linux   
Whiteboard: PerfScale
Fixed In Version: openstack-tripleo-heat-templates-7.0.3-19.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1511288 (view as bug list) Environment:
Last Closed: 2018-01-30 21:24:32 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: 1511288    

Description Dave Wilson 2017-11-02 14:17:50 UTC
Description of problem: Deploying ceph pure hci via /usr/share/openstack-tripleo-heat-templates/environments/hyperconverged-ceph.yaml fails


Version-Release number of selected component (if applicable):
python-tripleoclient-7.3.3-0.20171019055723.153bc4f.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1./usr/share/openstack-tripleo-heat-templates/environments/hyperconverged-ceph.yaml
2. deployment fails with 

017-11-02 00:40:28Z [overcloud.Compute]: CREATE_FAILED  resources.Compute: resources.StorageMgmtPort: resources[2].Property error: resource
s.StorageMgmtPort.properties.network: Error validating value 'storage_mgmt': Unable to find network with name or id 'storage_mgmt'
2017-11-02 00:40:28Z [overcloud.Controller]: CREATE_FAILED  CREATE aborted
2017-11-02 00:40:28Z [overcloud]: CREATE_FAILED  Resource CREATE failed: resources.Compute: resources.StorageMgmtPort: resources[2].Property
 error: resources.StorageMgmtPort.properties.network: Error validating value 'storage_mgmt': Unable to find network with name or id 'storage
_mgmt'


the compute node needs to open up the storage_mgmptt port and the hyperconverged-ceph.yaml includes OS::TripleO::Compute::Ports::StorageMgmtPort: ../network/ports/storage_mgmt.yaml which is absent.

Comment 1 Sean Cohen 2017-11-08 18:29:17 UTC
John,
Can you take a loot at it?
Thanks,
Sean

Comment 2 John Fulton 2017-11-08 19:49:13 UTC
(In reply to Sean Cohen from comment #1)
> John,
> Can you take a loot at it?
> Thanks,
> Sean

Yes, I will fix. --John

Comment 3 John Fulton 2017-11-09 05:04:01 UTC
We need to deprecate hyperconverged-ceph.yaml for two reasons:

1. we cannot hard code references to network files which will now be rendered due to the move to composable networks
2. the problem it was created to solve in OSP10 now has a better solution

Regarding 2, this file was introduced in Newton to allow for HCI deployments without requiring the user to edit roles_data.yaml. However, a more general solution exists to use composable roles without manually editing roles_data.yaml. 

Instead of using "-e environments/hyperconverged-ceph.yaml" use the new "openstack overcloud role" to make a Compute HCI role along with the other roles that are being deployed. E.g. If you're deploying Controllers and ComputeHCI then do the following:

 openstack overcloud roles generate -o roles_data.yaml Controller ComputeHCI

The above will generate a roles_data.yaml for you and then you just need to include it in your deployment with "-r roles_data.yaml".

Note that `openstack overcloud role list` lists computeHCI along with other available roles. Examples are available at https://docs.openstack.org/tripleo-docs/latest/install/advanced_deployment/custom_roles.html#provided-example-roles.

Comment 5 John Fulton 2018-01-10 15:12:00 UTC
- backport of upstream change to pike merged Jan 9th (https://review.openstack.org/#/c/529089)
- Note we also have a docbug related to this https://bugzilla.redhat.com/show_bug.cgi?id=1511288

Comment 8 Yogev Rabl 2018-01-24 17:12:40 UTC
verified, deployment of HCI passed successfully

Comment 13 errata-xmlrpc 2018-01-30 21:24:32 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/RHBA-2018:0253