Fix gate issues
NOTE(mriedem): This is a squash of four commits. The first commit message is: Jobs run as jenkins on Zuul v2 but run as user zuul on Zuul v3. NOTE(mriedem): This is only taking one specific fix from the large change on master (queens) since we don't need the other changes for stable/pike to fix the gate. (cherry picked from commit9ec134996a
) This is the 2nd commit message: Update .gitreview for stable/pike This is the 3rd commit message: Update UPPER_CONSTRAINTS_FILE for stable/pike This is the 4th commit message: Increase the TROVE_AGENT_CALL_HIGH_TIMEOUT to help the upgrade test pass. The upgrade test has an agent call that takes longer than the current timeout when running in the gate on Nova compute with virt_type set as qemu. NOTE(smatzek): This is only taking one fix from this change as the other is N/A in this case as it was enabling the disabled integration tests. (cherry picked from commitd7b773d2b0
) Change-Id: Ic55187b0d73d4c572d7f8332882b4f455a6177c8
This commit is contained in:
parent
0fb67d459b
commit
e6d4b4b3fe
|
@ -2,3 +2,4 @@
|
|||
host=review.openstack.org
|
||||
port=29418
|
||||
project=openstack/trove.git
|
||||
defaultbranch=stable/pike
|
||||
|
|
|
@ -36,7 +36,7 @@ TROVE_MAX_ACCEPTED_VOLUME_SIZE=${TROVE_MAX_ACCEPTED_VOLUME_SIZE}
|
|||
TROVE_MAX_INSTANCES_PER_TENANT=${TROVE_MAX_INSTANCES_PER_TENANT}
|
||||
TROVE_MAX_VOLUMES_PER_TENANT=${TROVE_MAX_VOLUMES_PER_TENANT}
|
||||
TROVE_AGENT_CALL_LOW_TIMEOUT=${TROVE_AGENT_CALL_LOW_TIMEOUT}
|
||||
TROVE_AGENT_CALL_HIGH_TIMEOUT=${TROVE_AGENT_CALL_HIGH_TIMEOUT}
|
||||
TROVE_AGENT_CALL_HIGH_TIMEOUT=${TROVE_AGENT_CALL_HIGH_TIMEOUT:-1200}
|
||||
TROVE_RESIZE_TIME_OUT=${TROVE_RESIZE_TIME_OUT}
|
||||
TROVE_USAGE_TIMEOUT=${TROVE_USAGE_TIMEOUT}
|
||||
TROVE_STATE_CHANGE_WAIT_TIME=${TROVE_STATE_CHANGE_WAIT_TIME}
|
||||
|
|
|
@ -1291,7 +1291,7 @@ function cmd_dsvm_gate_tests() {
|
|||
|
||||
local DATASTORE_TYPE=${1:-'mysql'}
|
||||
local TEST_GROUP=${2:-${DATASTORE_TYPE}}
|
||||
local HOST_SCP_USERNAME=${3:-'jenkins'}
|
||||
local HOST_SCP_USERNAME=${3:-$USER}
|
||||
local GUEST_USERNAME=${4:-'ubuntu'}
|
||||
local CONTROLLER_IP=${5:-$ACTUAL_HOSTNAME}
|
||||
local ESCAPED_PATH_TROVE=${6:-'\/opt\/stack\/new\/trove'}
|
||||
|
@ -1330,8 +1330,8 @@ function cmd_dsvm_gate_tests() {
|
|||
export TROVE_REPORT_DIR=$HOME/dsvm-report/
|
||||
TROVESTACK_DUMP_ENV=true
|
||||
|
||||
# Devstack vm-gate runs as the jenkins user, but needs to connect to the guest image as ubuntu
|
||||
echo "User=ubuntu" >> /home/jenkins/.ssh/config
|
||||
# Devstack vm-gate runs as a non-ubuntu user, but needs to connect to the guest image as ubuntu
|
||||
echo "User=ubuntu" >> /home/$USER/.ssh/config
|
||||
|
||||
# Fix iptables rules that prevent amqp connections from the devstack box to the guests
|
||||
sudo iptables -D openstack-INPUT -j REJECT --reject-with icmp-host-prohibited || true
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -8,7 +8,7 @@ setenv = VIRTUAL_ENV={envdir}
|
|||
PYTHONWARNINGS=default::DeprecationWarning
|
||||
usedevelop = True
|
||||
install_command = pip install \
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} \
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/pike} \
|
||||
-U {opts} {packages}
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
|
|
Loading…
Reference in New Issue