Bug 1293979 - rhel-osp-director: 7.2 -> 8.0 after yum update on the undercloud nodes ceilometer services are down.
Summary: rhel-osp-director: 7.2 -> 8.0 after yum update on the undercloud nodes ceilom...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-director
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ga
: 8.0 (Liberty)
Assignee: Brad P. Crochet
QA Contact: Alexander Chuzhoy
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-23 21:29 UTC by Alexander Chuzhoy
Modified: 2016-04-07 21:44 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
Updating packages on the Undercloud left the Undercloud in an indeterminate state. This meant some Undercloud services were disabled after the package update and could not start again. As a workaround, run 'openstack undercloud install' to reconfigure all Undercloud services. After the command complete, the Undercloud services operate normally.
Clone Of:
Environment:
Last Closed: 2016-04-07 21:44:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
/var/log/messages from the undercloud (10.29 MB, application/x-gzip)
2015-12-23 21:32 UTC, Alexander Chuzhoy
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:0604 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 8 director Enhancement Advisory 2016-04-08 01:03:56 UTC

Description Alexander Chuzhoy 2015-12-23 21:29:57 UTC
rhel-osp-director: 7.2 -> 8.0 after yum update on the undercloud nodes ceilometer services are down.


Environment:
instack-undercloud-2.2.0-1.el7ost.noarch


Steps to reproduce:
1. Successfully deploy overcloud7.2
2. Attempt to update the undercloud machine - run "yum update" after updating the yum repos.
3. Run "openstack-service status"

Result:

MainPID=0 Id=openstack-ceilometer-alarm-evaluator.service ActiveState=failed
MainPID=0 Id=openstack-ceilometer-alarm-notifier.service ActiveState=failed
MainPID=0 Id=openstack-ceilometer-api.service ActiveState=failed
MainPID=0 Id=openstack-ceilometer-central.service ActiveState=failed

Expected result:
No failed services.


After rebooting the node, these services are still down:
MainPID=0 Id=openstack-ceilometer-alarm-evaluator.service ActiveState=failed
MainPID=0 Id=openstack-ceilometer-alarm-notifier.service ActiveState=failed
MainPID=0 Id=openstack-ceilometer-api.service ActiveState=failed
MainPID=0 Id=openstack-ceilometer-central.service ActiveState=failed
MainPID=2683 Id=openstack-nova-compute.service ActiveState=activating
MainPID=0 Id=openstack-swift-proxy.service ActiveState=failed

Comment 2 Alexander Chuzhoy 2015-12-23 21:32:52 UTC
Created attachment 1109018 [details]
/var/log/messages from the undercloud

Comment 3 Derek Higgins 2015-12-24 11:29:45 UTC
Looks like this is similar to a problem we encountered in the overcloud

DriverLoadFailure: Failed to load transport driver "ceilometer.openstack.common.rpc.impl_kombu": No 'oslo.messaging.drivers' driver found, looking for 'ceilometer.openstack.common.rpc.impl_kombu'
openstack-ceilometer-central.service: main process exited, code=exited, status=1/FAILURE
Unit openstack-ceilometer-central.service entered failed state.
openstack-ceilometer-central.service failed.
openstack-ceilometer-api.service: main process exited, code=exited, status=1/FAILURE
Unit openstack-ceilometer-api.service entered failed state.
openstack-ceilometer-api.service failed.

See:
https://bugzilla.redhat.com/show_bug.cgi?id=1284047


Also to upgrade the undercloud, you will need to rerun 
$ openstack undercloud install

this should upgrade the packages for you (assuming new repositories have been added), it wont rerun the database syncs, we need a patch to make this happen one has been submitted upstream but may need some work first.
https://review.openstack.org/#/c/244136/

Comment 5 Hugh Brock 2016-02-05 14:49:04 UTC
Brad, if this is fixed, could you move to MODIFIED please? I thought we had undercloud upgrade finished at this point.

Comment 6 Brad P. Crochet 2016-02-05 17:51:21 UTC
I am unable to reproduce this.

Comment 8 Alexander Chuzhoy 2016-02-24 22:58:43 UTC
So right after yum update on the undercloud node these services are down:

● openstack-ceilometer-alarm-evaluator.service                                             loaded failed failed    OpenStack ceilometer alarm evaluation service
● openstack-ceilometer-alarm-notifier.service                                              loaded failed failed    OpenStack ceilometer alarm notification service
● openstack-ceilometer-api.service                                                         loaded failed failed    OpenStack ceilometer API service
● openstack-ceilometer-central.service                                                     loaded failed failed    OpenStack ceilometer central agent


Re-running "openstack undercloud install"  brings them up.

Comment 9 Alexander Chuzhoy 2016-02-29 14:59:53 UTC
Verified:
So until the openstack undercloud install is ran, the system is in an undefined state.

Re-running "openstack undercloud install"  brings the ceilometer services up.

Need to run "openstack undercloud install" after running yum update on the undercloud node.

Comment 11 errata-xmlrpc 2016-04-07 21:44:00 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-0604.html


Note You need to log in before you can comment on or make changes to this bug.