Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
8dac66f
Revert "Disable Cinder v1 API support by default"
sdague Sep 30, 2015
92005ef
update references for liberty
sdague Sep 30, 2015
d680e9b
Workaround potential failure to shutdown services
kk7ds Apr 23, 2015
06796ed
Merge "update references for liberty" into stable/liberty
Oct 3, 2015
cbcce85
Merge "Workaround potential failure to shutdown services" into stable…
Oct 9, 2015
d095b32
modify stackforge/swift3 to openstack/swift3
EinstCrazy Oct 19, 2015
b30dca9
remove wheel cache code
sdague Nov 4, 2015
e19494f
Restrict requests to fedora
hamzy Oct 14, 2015
1816012
remove gratuitous python packages
sdague Nov 6, 2015
65f4f12
Really get the "general" packages
ianw Nov 9, 2015
6ff54a3
Merge "remove gratuitous python packages" into stable/liberty
Nov 10, 2015
aca08de
install ebtables locking workaround
sdague Nov 17, 2015
0355ecc
Add flag for test_incremental_backup
obutenko Oct 20, 2015
d3a9cab
Simplify RDO install
ianw Sep 25, 2015
cad121e
Fix tunneling support for linuxbridge-agent
intellinfra-dev Aug 4, 2015
6313bf8
create apt_get_update to try to work around broken mirrors
sdague Dec 2, 2015
00f43e5
Always use v3 nova/neutron authentication
Aug 27, 2015
e0c8d48
Merge "Fix tunneling support for linuxbridge-agent" into stable/liberty
Dec 14, 2015
e401ae4
Merge "Always use v3 nova/neutron authentication" into stable/liberty
Dec 14, 2015
d9422b8
Do not fail with Tox 2.3.1
dims Dec 21, 2015
46a272b
set the validation path to fixed for n-net
sdague Dec 15, 2015
0387d1f
Ensure link is set to up, when moving IP addresses across interfaces.
Nov 7, 2015
042e687
Merge "Ensure link is set to up, when moving IP addresses across inte…
Jan 6, 2016
91eba8e
Add distro support for KVM for IBM z Systems
Dec 2, 2015
539d189
neutron: enable MTU advertisement
Jan 11, 2016
6b75782
Remove vme and ssse3 from gate64 cpu mapping
cboylan Jan 19, 2016
c3faf14
Support for logging the nova-dhcpbridge command line
dims Jan 13, 2016
385508e
Cap installed pip to be < 8
mtreinish Jan 20, 2016
3bf1215
Always cache tokens in a shared memcache
tempusfrangit Jan 20, 2016
5acb98a
Merge "Remove vme and ssse3 from gate64 cpu mapping" into stable/liberty
Jan 21, 2016
c21d6ae
Revert "set the validation path to fixed for n-net"
mtreinish Jan 21, 2016
ac9f5d9
Merge "Support for logging the nova-dhcpbridge command line" into sta…
Jan 22, 2016
5bd1fb6
Merge "neutron: enable MTU advertisement" into stable/liberty
Jan 22, 2016
640bf5d
Merge "Always cache tokens in a shared memcache" into stable/liberty
Jan 22, 2016
bf3c7e5
reduce default lease time to 5 minutes
sdague Jan 22, 2016
58bcbce
Merge "Revert "set the validation path to fixed for n-net"" into stab…
Jan 23, 2016
9a4130b
Merge "reduce default lease time to 5 minutes" into stable/liberty
Jan 23, 2016
bbcc74a
neutron: enable ml2 mtu calculation mechanism
Jan 14, 2016
5762816
always default to floating ips for validation
sdague Jan 25, 2016
bf8735c
Add subunit output for total elapsed time
mtreinish Oct 13, 2015
526f8f6
Limit keystone extension tests for the existing
Jan 28, 2016
48c8a41
Merge "Limit keystone extension tests for the existing" into stable/l…
Jan 31, 2016
704d547
Merge "always default to floating ips for validation" into stable/lib…
Feb 1, 2016
ab6da55
Remove unnecessary group of Tempest config
Feb 2, 2016
380c6a4
Switch tempest verify-config usage to avoid bug
mtreinish Feb 10, 2016
bcc239f
Set unprovision and active timeout to match build_timeout
Nov 21, 2015
019bd53
XenAPI: Fix disk_formats verified by tempest
Jan 15, 2016
4b80bc2
make fwaas plugin and driver configurable
jerryz1982 Feb 2, 2016
b9ee0e8
Merge "make fwaas plugin and driver configurable" into stable/liberty
Feb 26, 2016
501bb07
Merge "XenAPI: Fix disk_formats verified by tempest" into stable/liberty
Feb 28, 2016
49b97f7
Ironic: Don't use token for glance & check for some unset vars
Mar 9, 2016
40024ea
Install uuid-runtime on Ubuntu
chungg Mar 16, 2016
4d39e07
Move node UUID generation later in lib/ironic
dtantsur Mar 17, 2016
bf7eb80
Merge "Move node UUID generation later in lib/ironic" into stable/lib…
Mar 17, 2016
ebb848a
[ironic] set ipa-debug=1 for greater debugability
Mar 18, 2016
e776ec5
Install apparmor b/c Docker.io has undeclared dep
jimrollenhagen Mar 21, 2016
ec39f18
Merge "[ironic] set ipa-debug=1 for greater debugability" into stable…
Mar 24, 2016
a83b538
Allow fetching IPA ramdisk with branch name
jimrollenhagen Mar 31, 2016
86b0f80
Handle common and seperate tempest tox venvs
mtreinish May 2, 2016
71af1ee
Default to venv isolated tempest on stable liberty
mtreinish May 3, 2016
525bc5c
Use common tempest tox venv and add plugin install variable
mtreinish May 4, 2016
8c432d9
Disable compute interface attach Tempest tests if using cells
Oct 15, 2015
73e16ae
Disable resize tests in Tempest if using cells with custom flavors
Nov 6, 2015
3a64be8
Merge "Disable compute interface attach Tempest tests if using cells"…
May 10, 2016
e8928e9
Merge "Disable resize tests in Tempest if using cells with custom fla…
May 10, 2016
38c31ca
Assign admin role for admin user on default domain
Sep 10, 2015
d5b4ac7
Merge "Default to venv isolated tempest on stable liberty" into stabl…
May 20, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
create apt_get_update to try to work around broken mirrors
Ubuntu's apt mirroring mechanism produces inconsistent mirrors pretty
regularly. The devstack-gate apt-get update model seems to have been
more effective getting past this than what we did in devstack. Adopt
that method for our updates.

Change-Id: I97c7896ef38b275aacb4f933fc849acee1bab858
(cherry picked from commit 88ee8ce)
  • Loading branch information
sdague committed Dec 11, 2015
commit 6313bf8452173f19dd69287330df86d18d401486
33 changes: 24 additions & 9 deletions functions-common
Original file line number Diff line number Diff line change
Expand Up @@ -982,6 +982,29 @@ function _get_package_dir {
echo "$pkg_dir"
}

# Wrapper for ``apt-get update`` to try multiple times on the update
# to address bad package mirrors (which happen all the time).
function apt_get_update {
# only do this once per run
if [[ "$REPOS_UPDATED" == "True" && "$RETRY_UPDATE" != "True" ]]; then
return
fi

# bail if we are offline
[[ "$OFFLINE" = "True" ]] && return

local sudo="sudo"
[[ "$(id -u)" = "0" ]] && sudo="env"

local proxies="http_proxy=${http_proxy:-} https_proxy=${https_proxy:-} no_proxy=${no_proxy:-} "
local update_cmd="$sudo $proxies apt-get update"
if ! timeout 300 sh -c "while ! $update_cmd; do sleep 30; done"; then
die $LINENO "Failed to update apt repos, we're dead now"
fi

REPOS_UPDATED=True
}

# Wrapper for ``apt-get`` to set cache and proxy environment variables
# Uses globals ``OFFLINE``, ``*_proxy``
# apt_get operation package [package ...]
Expand Down Expand Up @@ -1148,15 +1171,7 @@ function update_package_repo {
fi

if is_ubuntu; then
local xtrace=$(set +o | grep xtrace)
set +o xtrace
if [[ "$REPOS_UPDATED" != "True" || "$RETRY_UPDATE" = "True" ]]; then
# if there are transient errors pulling the updates, that's fine.
# It may be secondary repositories that we don't really care about.
apt_get update || /bin/true
REPOS_UPDATED=True
fi
$xtrace
apt_get_update
fi
}

Expand Down