Upgrade failed due to an issue with availability of python-virtualenv package.

Bug #1505210 reported by Vasily Gorin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Sergey Kulanov

Bug Description

CI: https://product-ci.infra.mirantis.net/view/8.0_swarm/job/8.0.system_test.ubuntu.upgrade_one_controller_neutron/3/testReport/

Scenario:
1. Install 7.0 and deploy some env
2. Load to master upgrade script (fuel-kilo-8.0-upgrade-139-2015-10-09_16-23-00.tar.lrz)
3. Execute command '/var/upgrade.sh --no-rollback --password *****'

Expected result:

Upgrade was successful .

Actual result:
Script failed with following message:

[root@nailgun var]# /var/upgrade.sh --no-rollback --password *****
which: no virtualenv in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror, priorities
Setting up Install Process
Loading mirror speeds from cached hostfile
No package python-virtualenv available.
Error: Nothing to do
Failed to install python-virtualenv
[root@nailgun var]#

Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Fuel build team (fuel-build)
Revision history for this message
Vladimir Kozhukalov (kozhukalov) wrote :

By 8.0 upgrade script will be modified so it uses only packaged dependencies and there won't be need to use virtualenv. I have no idea why this bug is critical if we have approved epic to get rid of upgrade tarball.

Roman Vyalov (r0mikiam)
Changed in fuel:
importance: Critical → High
status: New → Triaged
Changed in fuel:
importance: High → Medium
Revision history for this message
Vladimir Kozhukalov (kozhukalov) wrote :

Despite the fact that we are going to get rid of upgrade tarball we need to continue testing this script with virtualenv until re-factoring is done. So it looks like we need to build python-virtualenv package for Fuel 8.0 both for Centos 6 and Centos 7. Re-assigning the issue on mos-packaging team.

Changed in fuel:
assignee: Fuel build team (fuel-build) → MOS Packaging Team (mos-packaging)
importance: Medium → High
importance: High → Critical
Revision history for this message
Vladimir Kozhukalov (kozhukalov) wrote :

Once package is ready and available, please re-assign the issue on Fuel-build team. We'll modify fuel-main/requirements-rpm.txt file to make this package available on the master node.

Changed in fuel:
milestone: 8.0 → 7.0-updates
Revision history for this message
Vladimir Kozhukalov (kozhukalov) wrote :

The package is not available on 7.0 master node, so changing milestone to 7.0-updates. We need it to be available on 7.0 master node, so we can put it into 7.0-updates repo.

Changed in fuel:
assignee: MOS Packaging Team (mos-packaging) → Sergey Kulanov (skulanov)
Revision history for this message
Sergey Kulanov (skulanov) wrote :

Discussed and is going to implement workaround

Changed in fuel:
milestone: 7.0-updates → 8.0
importance: Critical → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

Fix proposed to branch: master
Review: https://review.openstack.org/233681

Changed in fuel:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/233681
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=8a2ab8a3cc8d17d722e93c424c8b7be27e71d102
Submitter: Jenkins
Branch: master

commit 8a2ab8a3cc8d17d722e93c424c8b7be27e71d102
Author: Sergey Kulanov <email address hidden>
Date: Mon Oct 12 18:12:09 2015 +0300

    Install python-virtualenv for upgrade script

    Since we are going to completely re-factor upgrade scripts approach,
    we need to have simple workaround without publishing
    python-virtualenv scripts in our updates mirror

    Change-Id: I14a5f78b323c1c62a9986b3536ba7dde79ec5fb3
    Closes-bug: #1505210

Changed in fuel:
status: In Progress → Fix Committed
tags: added: on-verification
Revision history for this message
Veronica Krayneva (vkrayneva) wrote :

Checked on 301 iso 7.0 and fuel-8.0-upgrade-33-2015-10-16_01-42-00.tar.lrz
Issue with availability of python-virtualenv package was fixed

tags: removed: on-verification
Changed in fuel:
status: Fix Committed → Fix Released
Dmitry Pyzhov (dpyzhov)
tags: added: area-build
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.