Bug 1378390

Summary: OSP-9/10 controller upgrade fails on ceph mon upgrade.
Product: Red Hat OpenStack Reporter: Sofer Athlan-Guyot <sathlang>
Component: openstack-tripleo-heat-templatesAssignee: Giulio Fidente <gfidente>
Status: CLOSED ERRATA QA Contact: Omri Hochman <ohochman>
Severity: unspecified Docs Contact:
Priority: high    
Version: 10.0 (Newton)CC: jcoufal, mburns, rhel-osp-director-maint
Target Milestone: rcKeywords: Triaged
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-5.0.0-0.20161003064637.d636e3a.1.2.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-14 16:03:39 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: 1337794    

Description Sofer Athlan-Guyot 2016-09-22 10:27:16 UTC
Description of problem:  Running major upgrade with 'environments/major-upgrade-pacemaker.yaml' on a overcloud with ceph, the process fails with:


chown: cannot access ‘/var/run/ceph’: No such file or directory

The software deployment config is overcloud-UpdateWorkflow-hdatwp7grkt6-CephMonUpgradeConfig-a5jjsbb7rg6a and pointing to the script : /usr/share/openstack-tripleo-heat-templates/extraconfig/tasks/major_upgrade_ceph_mon.sh

As a matter of fact /var/run/ceph is not present on the controller.

At the time of the error the ceph has been upgraded:

ceph-base.x86_64      1:10.2.2-41.el7cp @rhelosp-10.0-ceph-2.0-mon
ceph-common.x86_64    1:10.2.2-41.el7cp @rhelosp-10.0-ceph-2.0-mon
ceph-mon.x86_64       1:10.2.2-41.el7cp @rhelosp-10.0-ceph-2.0-mon
ceph-osd.x86_64       1:10.2.2-41.el7cp @rhelosp-10.0-ceph-2.0-osd
ceph-selinux.x86_64   1:10.2.2-41.el7cp @rhelosp-10.0-ceph-2.0-mon
libcephfs1.x86_64     1:10.2.2-41.el7cp @rhelosp-10.0-ceph-2.0-mon
python-cephfs.x86_64  1:10.2.2-41.el7cp @rhelosp-10.0-ceph-2.0-mon

Comment 3 Omri Hochman 2016-11-07 21:40:00 UTC
unable to reproduce openstack-tripleo-heat-templates-5.0.0-1.2.el7ost.noarch

Comment 5 errata-xmlrpc 2016-12-14 16:03:39 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://rhn.redhat.com/errata/RHEA-2016-2948.html