Bug 1488855

Summary: OSP11 -> OSP12 upgrade: convert puppet-ceph parameters to CephAnsibleDisksConfig
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: openstack-tripleo-commonAssignee: James Slagle <jslagle>
Status: CLOSED ERRATA QA Contact: Yogev Rabl <yrabl>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 12.0 (Pike)CC: acanan, dbecker, gfidente, jomurphy, mburns, mcornea, morazi, pgrist, rhel-osp-director-maint, samccann, scohen, slinaber, yprokule, yrabl
Target Milestone: z2Keywords: Documentation, ZStream
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-common-7.6.9-1.el7ost openstack-tripleo-heat-templates-7.0.9-1.el7ost Doc Type: Release Note
Doc Text:
Due to the migration from puppet-ceph to ceph-ansible for the management of Ceph using Director, old puppet hieradata (such as ceph::profile::params::osds) needs to be migrated to the ceph-ansible format. Customizations for the Ceph deployment previously passed as hieradata from *ExtraConfig should be removed since they are ignored. Specifically, the deployment will stop if ceph::profile::params::osds is found to ensure the devices list has been migrated to the format expected by ceph-ansible. Use the CephAnsibleExtraConfig and CephAnsibleDisksConfig parameters to pass arbitrary variables to ceph-ansible, such devices and dedicated_devices.
Story Points: ---
Clone Of:
: 1500356 (view as bug list) Environment:
Last Closed: 2018-03-28 17:27:14 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: 1500356    

Description Marius Cornea 2017-09-06 10:50:41 UTC
Description of problem:

With the ceph ansible migration for the 11 to 12 upgrade track we need to convert the old parameters used by puppet ceph( e.g. ceph::profile::params::osds ) to CephAnsibleDisksConfig parameters. This operation should be transparent for the user to ensure a smooth upgrade process.

Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-7.0.0-0.20170901051303.0rc1.el7ost.noarch

How reproducible:
100%

Comment 7 Giulio Fidente 2017-11-15 09:16:44 UTC
I would like to get merged at least the changes which stop the deployment if legacy ::osds hieradata is found.

Comment 13 Yogev Rabl 2018-01-29 13:25:53 UTC
the verification failed on 
openstack-tripleo-common-7.6.3-10.el7ost.noarch
openstack-tripleo-heat-templates-7.0.3-22.el7ost.noarch

The upgrade failed prior to the Ceph stage of the upgrade

Comment 15 Yogev Rabl 2018-01-29 16:23:53 UTC
The changes have not been implemented in the latest packages:

openstack-tripleo-common-7.6.3-10.el7ost.noarch
openstack-tripleo-heat-templates-7.0.3-22.el7ost.noarch

Comment 20 Yogev Rabl 2018-03-14 16:34:15 UTC
verified on openstack-tripleo-heat-templates-7.0.9-6.el7ost.noarch
openstack-tripleo-common-7.6.9-2.el7ost.noarch

Comment 23 errata-xmlrpc 2018-03-28 17:27:14 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:0607