Grenade Upgrade Testing

Registered by Eoghan Glynn

The Technical Committee is currently in the process of adding upgrade testing expectations to the requirements for newly integrated projects:

As a project, we have agreed that this requirement should apply retrospectively to ceilometer, so we need to start participating in the grenade upgrade testing harness.

Since ceilometer did not have meaningful coverage in tempest over the Grizzly and Havana cycles, it would suffice to assert upgrades from Icehouse to Juno.

The purpose would be to assert:

1. successful application of migration scripts on a non-empty metering store (in the sql-alchemy case)
2. forward compatibility of configuration artifacts (ceilometer.conf and pipeline.yaml)
3. tolerance of resources having survived through the upgrade process

Points #1 and #2 can be addressed through the usual cycle of install-old/run-tempest/stop-old/upgrade-to-new/rerun-tempest. This would require the addition of an driver script to the top-level directory in:

calling out to this driver script at the appropriate point in:

and possibly also the specialization of icehouse-specifics in:

The purpose of the former script is to stop all ceilometer services, upgrade the ceilometer & python-ceilometerclient git repos, apply the database migration and restart the services.

Looking forward, it would be useful to also make assertions about resource survivability from a ceilometer PoV. The resources intended to survive the upgrade are created within the javelin project :

The obvious ceilometer-specific assertion would be to ensure that a statistics and/or samples query may be submitted the ceilometer-api service constrained by the javelin project ID and a time duration that spans the upgrade. Currently there is no way of making such service-specific assertions about the javelin resources, so this would require an extension to the capabilities of the grenade framework.

Blueprint information

Eoghan Glynn
Emilien Macchi
Series goal:
Accepted for juno
Milestone target:
milestone icon 2014.2
Started by
Eoghan Glynn
Completed by
Eoghan Glynn

Related branches



Gerrit topic:,topic:telemetry-support,n,z

Addressed by:
    Support Ceilometer services


Work Items

This blueprint contains Public information 
Everyone can see this information.