Merge ~powersj/cloud-init:disable-fastestmirror into cloud-init:master
| Status: | Merged |
|---|---|
| Approved by: | Chad Smith on 2017-10-19 |
| Approved revision: | 636448e1555c0561122288264c440b5995efdc51 |
| Merged at revision: | ee90a6cda4083479d5e9e2aa26887d3db91a3785 |
| Proposed branch: | ~powersj/cloud-init:disable-fastestmirror |
| Merge into: | cloud-init:master |
| Diff against target: |
11 lines (+1/-0) 1 file modified
tools/run-centos (+1/-0) |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Server Team CI bot | continuous-integration | Approve on 2017-10-19 | |
| Chad Smith | 2017-10-19 | Approve on 2017-10-19 | |
|
Review via email:
|
|||
Commit Message
tools: disable fastestmirror if using proxy
Per centos documentation using the fastestmirror plugin is
effective at finding the fastest mirror, unless you are behind a
proxy. In that case you should disable it. Therefore, in our tests
if we are setting the proxy we should also disable the
fastestmirror plugin.
| Chad Smith (chad.smith) wrote : | # |
+1 on this changeset. We can tweak the specific mirrors we use if need be in the future. Let's see you this behaves for a while since fastest mirror is giving us fairly frequent CI failures.
| Chad Smith (chad.smith) wrote : | # |
I tested clean lxc cent6 images without fastestmirror and installing all dependencies worked fine. Same w/ updating existing systems.
| Chad Smith (chad.smith) wrote : | # |
Also exec'd run-centos using your sed in my environment and run-centos succeeded w/out fastest mirror
PASSED: Continuous integration, rev:636448e1555
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
SUCCESS: MAAS Compatability Testing
IN_PROGRESS: Declarative: Post Actions
Click here to trigger a rebuild:
https:/
| Scott Moser (smoser) wrote : | # |
on the order of a small number of milliseconds faster would be
inside "$name" sed -i "s/enabled=
ie, we do not need to invoke a shell to invoke a single command.
if you dont want to spend the several minutes to test that fix for a millisecond or so, then i'm not overly upset.
thank you for fixing the issue.
- 758add0... by Joshua Powers on 2017-10-19


FAILED: Continuous integration, rev:636448e1555 c0561122288264c 440b5995efdc51 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 413/
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
FAILED: Ubuntu LTS: Integration
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 413/rebuild
https:/