upgrade-tempest faild,it not install tempest to stack.sh for the base install of the environment

Bug #1651767 reported by wlhc
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grenade
Fix Released
Undecided
John L. Villalovos

Bug Description

When running the target upgrades for devstack from newton to master by started devstack-gate, the upgrade-tempest script produces the following error:

/opt/stack/new/grenade/upgrade-tempest:main:83 : cp /opt/stack/old/tempest/etc/tempest.conf /opt/stack/new/tempest/etc/tempest.conf
2016-12-21 13:44:25.797 | cp: cannot stat '/opt/stack/old/tempest/etc/tempest.conf': No such file or directory
2016-12-21 13:44:25.800 | + /opt/stack/new/grenade/upgrade-tempest:main:1 : exit_trap
2016-12-21 13:44:25.804 | + /opt/stack/new/grenade/functions:exit_trap:103 : local r=1
2016-12-21 13:44:25.807 | 1 main /opt/stack/new/grenade/upgrade-tempest
2016-12-21 13:44:25.807 | Exit code: 1
2016-12-21 13:44:25.834 | World dumping... see /opt/stack/new/worlddump-2016-12-21-134425.txt for details
2016-12-21 13:44:28.279 | + ./grenade.sh:main:311 : die 311 'Failure in upgrade-tempest'
2016-12-21 13:44:28.281 | + /opt/stack/new/devstack/functions-common:die:186 : local exitcode=1
2016-12-21 13:44:28.284 | [Call Trace]
2016-12-21 13:44:28.284 | ./grenade.sh:311:die
2016-12-21 13:44:28.287 | [ERROR] ./grenade.sh:311 Failure in upgrade-tempest
2016-12-21 13:44:29.289 | 1 die /opt/stack/new/devstack/functions-common
2016-12-21 13:44:29.289 | 311 main ./grenade.sh
2016-12-21 13:44:29.289 | Exit code: 1
2016-12-21 13:44:29.318 | World dumping... see /opt/stack/logs/worlddump-2016-12-21-134429.txt for details

devstack-gate environment variables:

export PROJECTS="openstack-dev/grenade $PROJECTS"
export PROJECTS="openstack/python-manilaclient $PROJECTS"
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=0
export DEVSTACK_GATE_GRENADE=pullup

export OVERRIDE_ENABLED_SERVICES=key,mysql,rabbit

It seems it not install tempest when install the base environment.

wlhc (wlhc)
description: updated
Revision history for this message
John L. Villalovos (happycamp) wrote :

Is there a link to a gate failure for this?

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to grenade (master)

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

Changed in grenade:
assignee: nobody → John L. Villalovos (happycamp)
status: New → In Progress
Revision history for this message
wlhc (wlhc) wrote :
Revision history for this message
Valeriy Ponomaryov (vponomaryov) wrote :

Manila grenade job is not affected anymore. So, I don't think it is correct to refer to it.

Revision history for this message
wlhc (wlhc) wrote :

After commit 3ede2d1c48962654ba187ef57881999f2fedef0e for manila, manila grenade job is not affected anymore.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to grenade (master)

Reviewed: https://review.openstack.org/413738
Committed: https://git.openstack.org/cgit/openstack-dev/grenade/commit/?id=192234dea95ca5727d9da3a21374a128cf0baba0
Submitter: Jenkins
Branch: master

commit 192234dea95ca5727d9da3a21374a128cf0baba0
Author: John L. Villalovos <email address hidden>
Date: Wed Dec 21 09:46:27 2016 -0800

    Fix grenade runs which don't use tempest

    A bug was reported for a grenade job that doesn't use tempest. Fix is to
    check for existence of tempest.conf file before copying it.

    Change-Id: I3a79347c8d5b84ea756e7571d0216384fbf2a05e
    Closes-Bug: #1651767

Changed in grenade:
status: In Progress → Fix Released
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.