Bug 1880962
| Summary: | Upgrade of host is very slow after 4.4.2 upgrade | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Rik Theys <rik.theys> | ||||
| Component: | ovirt-host-deploy-ansible | Assignee: | Dana <delfassy> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Petr Matyáš <pmatyas> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 4.4.2 | CC: | bugs, didi, mperina | ||||
| Target Milestone: | ovirt-4.4.3 | Flags: | pm-rhel:
ovirt-4.4+
|
||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | No Doc Update | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-11-11 06:41:27 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Rik Theys
2020-09-21 09:40:40 UTC
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again. Please attach host upgrade log of a slow upgrade run Created attachment 1715698 [details]
host upgrade log
Hi,
This is the ansible host upgrade log.
The "Install ovirt-host package if it isn't installed" tasks seems to be run multiple times.
The "ovirt-host-upgrade: Upgrade packages" task loops over all the updates and each invocation of the yum plugin has update_cache set to True, which slows things down and is not necessary for each package. As you can see from the log file, this took 3243 seconds!
Since the update_cache: yes is already set for the check that ovirt-host is installed, it should not be set in the Upgrade packages step. The chance of the repo changing between these two steps is very small.
Regards,
Rik
Verified on ovirt-engine-4.4.3.5-0.5.el8ev.noarch This bugzilla is included in oVirt 4.4.3 release, published on November 10th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.3 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |