Fix version maps for snaps and debs

This ensures that charms don't try to upgrade themselves everytime
an update-status hook call occurs; specifically we need to map the
numerical version to the latest OpenStack release that carries
that version for the UCA.

Gnocchi does always major release with OpenStack.

Change-Id: I777097c5188c73523fc4c41fc698b6dc6a87fd24
This commit is contained in:
James Page 2017-11-02 09:01:50 +00:00
parent 76cd529b9a
commit 3e7af01510
1 changed files with 2 additions and 4 deletions

View File

@ -221,8 +221,7 @@ class GnocchiCharm(GnochiCharmBase):
package_codenames = {
'gnocchi-common': collections.OrderedDict([
('2', 'mitaka'),
('3', 'newton'),
('4', 'pike'),
('3', 'pike'),
]),
}
@ -275,8 +274,7 @@ class GnocchiSnapCharm(GnochiCharmBase):
snap_codenames = {
'gnocchi': collections.OrderedDict([
('2', 'mitaka'),
('3', 'newton'),
('3', 'ocata'),
('4', 'pike'),
]),
}