Bug 1448459
Summary: | [RFE] yum timeout and retries should be configurable in kickstart file | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | daniel <dmoessne> | |
Component: | anaconda | Assignee: | Vendula Poncova <vponcova> | |
Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> | |
Severity: | medium | Docs Contact: | Petr Bokoc <pbokoc> | |
Priority: | medium | |||
Version: | 7.3 | CC: | cshao, cww, dmoessne, jikortus, jstodola, lmiksik, mschwabe, pasik, pbokoc, qiyuan, rbarry, sbueno, vponcova, ycui | |
Target Milestone: | rc | Keywords: | FutureFeature | |
Target Release: | 7.5 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | anaconda-21.48.22.127-1 | Doc Type: | Enhancement | |
Doc Text: |
New options for Kickstart "%packages" allow configuring *Yum* timeout and number of retries
This update adds two new options for the "%packages" section in Kickstart files:
* "--timeout=X" - sets the *Yum* timeout to `X` seconds. Defaults to 30.
* "--retries=Y" - sets the number of *Yum* retries to `Y`. Defaults to 10.
Note that if you use multiple "%packages" sections during the installation, options set on the section which appears last will be used for every section. If the last section has neither of these options set, every "%packages" section in the Kickstart file will use the default values.
These new options may help when performing a large number parallel installations from a single package source at once, when package download speed is limited by disk read or network speeds. The new options only affect the system during installation and have no effect on *Yum* configuration on the installed system.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1482912 1488427 (view as bug list) | Environment: | ||
Last Closed: | 2018-04-10 08:45:01 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1420851, 1478303, 1482912 |
Description
daniel
2017-05-05 13:06:33 UTC
Hello, we have implemented --timeout and --retries options for the %packages section in a kickstart file. These options are written to the yum configuration file and they are not used in any other way for now. However, we are not sure if it will fix all mentioned problems. Could the customer test the updates image and provide logs from failing installations, if there are any? A boot option for RHEL 7.4 installation: inst.updates=https://vponcova.fedorapeople.org/rhel7_yum_updates.img Kickstart options for setting yum's timeout and retries: %packages --timeout=30 --retries=10 ... %end Thanks, Vendy Fixed in a pull request: https://github.com/rhinstaller/anaconda/pull/1208 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0671 |