Missing upgrade support from R2.01/R2.11 to R2.20

Bug #1456036 reported by wenqing liang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
New
High
Shweta Naik
R2.20
Fix Committed
Critical
Shweta Naik

Bug Description

Upgrade contrail from R2.01-41 to R2.20-22 aborted:

2015-05-17 18:19:14:315054: [root@10.87.129.173] run: dpkg -s contrail-install-packages | grep Version: | cut -d' ' -f2 | cut -d'-' -f2
2015-05-17 18:19:14:315295: [root@10.87.129.173] out: 22~icehouse
2015-05-17 18:19:14:356932: [root@10.87.129.173] out:
2015-05-17 18:19:14:357158:
2015-05-17 18:19:14:357489: Traceback (most recent call last):
2015-05-17 18:19:14:357783: File "/usr/local/lib/python2.7/dist-packages/fabric/main.py", line 743, in main
2015-05-17 18:19:14:357842: *args, **kwargs
2015-05-17 18:19:14:358081: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 375, in execute
2015-05-17 18:19:14:358135: multiprocessing
2015-05-17 18:19:14:358305: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 271, in _execute
2015-05-17 18:19:14:358353: return task.run(*args, **kwargs)
2015-05-17 18:19:14:358495: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run
2015-05-17 18:19:14:358543: return self.wrapped(*args, **kwargs)
2015-05-17 18:19:14:358664: File "/usr/local/lib/python2.7/dist-packages/fabric/decorators.py", line 53, in inner_decorator
2015-05-17 18:19:14:358711: return func(*args, **kwargs)
2015-05-17 18:19:14:358808: File "/opt/contrail/utils/fabfile/tasks/upgrade.py", line 861, in upgrade_contrail
2015-05-17 18:19:14:358855: execute('backup_config', from_rel)
2015-05-17 18:19:14:370854: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 375, in execute
2015-05-17 18:19:14:370912: multiprocessing
2015-05-17 18:19:14:371083: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 271, in _execute
2015-05-17 18:19:14:371131: return task.run(*args, **kwargs)
2015-05-17 18:19:14:371273: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run
2015-05-17 18:19:14:371320: return self.wrapped(*args, **kwargs)
2015-05-17 18:19:14:371441: File "/usr/local/lib/python2.7/dist-packages/fabric/decorators.py", line 53, in inner_decorator
2015-05-17 18:19:14:371489: return func(*args, **kwargs)
2015-05-17 18:19:14:371596: File "/opt/contrail/utils/fabfile/tasks/upgrade.py", line 391, in backup_config
2015-05-17 18:19:14:371649: upgrade_data = get_upgrade_schema(ostype, from_rel, to_rel, to_build)
2015-05-17 18:19:14:371838: File "/opt/contrail/utils/fabfile/tasks/upgrade.py", line 223, in get_upgrade_schema
2015-05-17 18:19:14:371886: raise RuntimeError("Upgrade not supported from release %s to %s" % (from_rel, to_rel))
2015-05-17 18:19:14:372039: RuntimeError: Upgrade not supported from release 2.01 to 2.20
2015-05-17 18:19:14:372180: Disconnecting from 10.87.129.173... done.
2015-05-17 18:19:14:455766: root@cmbu-vse2100-1:/opt/contrail/utils#

Upgrade from R2.11-55 to R2.20-22:

2015-05-17 22:50:37:547903: Traceback (most recent call last):
2015-05-17 22:50:37:548447: File "/usr/local/lib/python2.7/dist-packages/fabric/main.py", line 743, in main
2015-05-17 22:50:37:548505: *args, **kwargs
2015-05-17 22:50:37:548861: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 375, in execute
2015-05-17 22:50:37:548922: multiprocessing
2015-05-17 22:50:37:549180: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 271, in _execute
2015-05-17 22:50:37:549230: return task.run(*args, **kwargs)
2015-05-17 22:50:37:549415: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run
2015-05-17 22:50:37:549464: return self.wrapped(*args, **kwargs)
2015-05-17 22:50:37:549643: File "/usr/local/lib/python2.7/dist-packages/fabric/decorators.py", line 53, in inner_decorator
2015-05-17 22:50:37:549695: return func(*args, **kwargs)
2015-05-17 22:50:37:549854: File "/opt/contrail/utils/fabfile/tasks/upgrade.py", line 973, in upgrade_contrail
2015-05-17 22:50:37:549904: execute('upgrade_orchestrator', from_rel, pkg)
2015-05-17 22:50:37:557535: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 375, in execute
2015-05-17 22:50:37:557597: multiprocessing
2015-05-17 22:50:37:557826: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 271, in _execute
2015-05-17 22:50:37:557877: return task.run(*args, **kwargs)
2015-05-17 22:50:37:558075: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run
2015-05-17 22:50:37:558124: return self.wrapped(*args, **kwargs)
2015-05-17 22:50:37:558284: File "/usr/local/lib/python2.7/dist-packages/fabric/decorators.py", line 53, in inner_decorator
2015-05-17 22:50:37:558334: return func(*args, **kwargs)
2015-05-17 22:50:37:558453: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 168, in __call__
2015-05-17 22:50:37:558502: return self.run(*args, **kwargs)
2015-05-17 22:50:37:558673: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run
2015-05-17 22:50:37:558723: return self.wrapped(*args, **kwargs)
2015-05-17 22:50:37:558907: File "/opt/contrail/utils/fabfile/tasks/upgrade.py", line 955, in upgrade_orchestrator
2015-05-17 22:50:37:558957: execute('upgrade_openstack', from_rel, pkg)
2015-05-17 22:50:37:559349: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 375, in execute
2015-05-17 22:50:37:559400: multiprocessing
2015-05-17 22:50:37:559629: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 271, in _execute
2015-05-17 22:50:37:559678: return task.run(*args, **kwargs)
2015-05-17 22:50:37:559907: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run
2015-05-17 22:50:37:559960: return self.wrapped(*args, **kwargs)
2015-05-17 22:50:37:560183: File "/usr/local/lib/python2.7/dist-packages/fabric/decorators.py", line 53, in inner_decorator
2015-05-17 22:50:37:560220: return func(*args, **kwargs)
2015-05-17 22:50:37:560295: File "/opt/contrail/utils/fabfile/tasks/upgrade.py", line 581, in upgrade_openstack
2015-05-17 22:50:37:560331: execute("upgrade_openstack_node", from_rel, pkg, env.host_string)
2015-05-17 22:50:37:560518: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 415, in execute
2015-05-17 22:50:37:560556: results['<local-only>'] = task.run(*args, **new_kwargs)
2015-05-17 22:50:37:560692: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run
2015-05-17 22:50:37:560727: return self.wrapped(*args, **kwargs)
2015-05-17 22:50:37:560817: File "/opt/contrail/utils/fabfile/tasks/upgrade.py", line 593, in upgrade_openstack_node
2015-05-17 22:50:37:560852: execute('backup_config_node', from_rel, host_string)
2015-05-17 22:50:37:561044: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 415, in execute
2015-05-17 22:50:37:561080: results['<local-only>'] = task.run(*args, **new_kwargs)
2015-05-17 22:50:37:561246: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run
2015-05-17 22:50:37:561281: return self.wrapped(*args, **kwargs)
2015-05-17 22:50:37:561371: File "/opt/contrail/utils/fabfile/tasks/upgrade.py", line 435, in backup_config_node
2015-05-17 22:50:37:561405: upgrade_data = get_upgrade_schema(ostype, from_rel, to_rel, to_build)
2015-05-17 22:50:37:561577: File "/opt/contrail/utils/fabfile/tasks/upgrade.py", line 239, in get_upgrade_schema
2015-05-17 22:50:37:561614: raise RuntimeError("Upgrade not supported from release %s to %s" % (from_rel, to_rel))
2015-05-17 22:50:37:561742: RuntimeError: Upgrade not supported from release 2.11 to 2.20
2015-05-17 22:50:37:561846: Disconnecting from 10.87.129.174... done.
2015-05-17 22:50:37:578520: Disconnecting from 10.87.129.175... done.
2015-05-17 22:50:37:670151: Disconnecting from 10.87.129.173... done.
2015-05-17 22:50:37:723871: root@cmbu-vse2100-1:/opt/contrail/utils#

Tags: provisioning
wenqing liang (wliang)
description: updated
summary: - Missing upgrade support from R2.01 to R2.20
+ Missing upgrade support from R2.01/R2.11 to R2.20
tags: added: provisioning
removed: contrail-installer
Changed in juniperopenstack:
milestone: r2.20-fcs → none
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.20

Review in progress for https://review.opencontrail.org/10504
Submitter: Shweta Naik (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/10504
Committed: http://github.org/Juniper/contrail-packaging/commit/2f59491b398ac4dd319737b21a0c7aa40d35fef6
Submitter: Zuul
Branch: R2.20

commit 2f59491b398ac4dd319737b21a0c7aa40d35fef6
Author: Shweta Naik <email address hidden>
Date: Mon May 18 11:58:15 2015 -0700

Removing the contrail-fabric-utls dependency on python-ecdsa
for trusty icehouse, as we dont package python-ecdsa.
Closes-Bug: 1456036

Change-Id: I0616496509c14cd4a3b010fd49b4f6de6b4482c0

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Bug update]

bug update...

no longer affects: juniperopenstack/r3.1
no longer affects: juniperopenstack/r3.0
no longer affects: juniperopenstack/trunk
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.