<div dir="ltr">Hi Everyone:<br><br>I wanted to start a discussion around considering backporting Aodh to stable/liberty for upgrades. We have been discussing quite a bit on whats the best way for our users to upgrade ceilometer alarms to Aodh when moving from liberty to mitaka. A quick refresh on what changed, In Mitaka, ceilometer alarms were replaced by Aodh. So only way to get alarms functionality is use aodh. Now when the user kicks off upgrades from liberty to Mitaka, we want to make sure alarms continue to function as expected during the process which could take multiple days. To accomplish this I propose the following approach:<br><br>* Backport Aodh functionality to stable/liberty. Note, Aodh functionality is backwards compatible, so with Aodh running, ceilometer api and client will redirect requests to Aodh api. So this should not impact existing users who are using ceilometer api or client.<br> <br>* As part of Aodh deployed via heat stack update, ceilometer alarms services will be replaced by openstack-aodh-*. This will be done by the puppet apply as part of stack convergence phase.<br><br>* Add checks in the Mitaka pre upgrade steps when overcloud install kicks off to check and warn the user to update to liberty + aodh to ensure aodh is running. This will ensure heat stack update is run and, if alarming is used, Aodh is running as expected.<br><br>The upgrade scenarios between various releases would work as follows:<br><br><b>Liberty -> Mitaka<br></b><br>* Upgrade starts with ceilometer alarms running<br>* A pre-flight check will kick in to make sure Liberty is upgraded to liberty + aodh with stack update<br>* Run heat stack update to upgrade to aodh<br>* Now ceilometer alarms should be removed and Aodh should be running<br>* Proceed with mitaka upgrade<br>* End result, Aodh continue to run as expected<br><br><b>Liberty + aodh -> Mitaka:<br></b><br>* Upgrade starts with Aodh running<br>* A pre-flight check will kick in to make sure Liberty is upgraded to Aodh with stack update<br>* Confirming Aodh is indeed running, proceed with Mitaka upgrade with Aodh running<br>* End result, Aodh continue to be run as expected<div><br></div><div><br></div><div>This seems to be a good way to get the upgrades working for aodh. Other less effective options I can think of are:</div><div><br></div><div>1. Let the Mitaka upgrade kick off and do "yum update" which replace aodh during migration, alarm functionality will be down until puppet converge runs and configures Aodh. This means alarms will be down during upgrade which is not ideal.</div><div><br></div><div>2. During Mitaka upgrades, replace with Aodh and add a bash script that fully configures Aodh and ensures aodh is functioning. This will involve significant work and results in duplicating everything puppet does today.</div><div><br></div><div>If there are any suggestions please let me know. I'm open to any approach that can save us time and effort to get this working.</div><div><br></div><div>Otherwise if we can agree to consider Aodh backported to Liberty i think this will save us time.</div><div><br></div><div>Let me know what you guys think. </div><div><br></div><div>Cheers,</div><div>- Prad</div><div><br></div><div><br></div><div><br></div></div>