Skip to content

Commit

Permalink
Update packages in compute to use 3.13.0-106
Browse files Browse the repository at this point in the history
closes-bug: #1664422

Change-Id: I44b1c010e92809a4280334534194a43928871bae
  • Loading branch information
haripk committed Feb 15, 2017
1 parent 9289485 commit d7e8872
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions fabfile/tasks/upgrade.py
Expand Up @@ -221,12 +221,15 @@ def upgrade_compute_node(from_rel, pkg, *args, **kwargs):
pkgs.append('contrail-vrouter-3.13.0-100-generic')
elif LooseVersion(from_rel) <= LooseVersion('3.1.2.0'):
dist, version, extra = get_linux_distro()
if version == '14.04' and 'contrail-vrouter-3.13.0-85-generic' in pkgs:
pkgs.remove('contrail-vrouter-3.13.0-85-generic')
if version == '14.04':
if 'contrail-vrouter-3.13.0-40-generic' in pkgs:
pkgs.remove('contrail-vrouter-3.13.0-40-generic')
if 'contrail-vrouter-3.13.0-85-generic' in pkgs:
pkgs.remove('contrail-vrouter-3.13.0-85-generic')
pkgs.append('contrail-vrouter-3.13.0-100-generic')
elif LooseVersion(from_rel) <= LooseVersion('3.2.1.0'):
dist, version, extra = get_linux_distro()
if version == '14.04' and 'contrail-vrouter-3.13.0-106-generic' in pkgs:
if version == '14.04':
if 'contrail-vrouter-3.13.0-40-generic' in pkgs:
pkgs.remove('contrail-vrouter-3.13.0-40-generic')
if 'contrail-vrouter-3.13.0-85-generic' in pkgs:
Expand Down

0 comments on commit d7e8872

Please sign in to comment.