You are correct. It was implemented this way taking in consideration the
output when checking for updates on RHVH hosts.
This implementation is indeed going to be changed, so that upgrade will
become faster

Dana


On Wed, Jun 9, 2021 at 2:19 PM Gianluca Cecchi <[email protected]>
wrote:

> On Wed, Jun 9, 2021 at 10:41 AM Dana Elfassy <[email protected]> wrote:
>
>> Hi Gianluca,
>> Upgrade host time depends on the upgrading that needs to be done
>>
>
> For sure. This is always true. In my case part of the update is updating
> the host from 8.3 to 8.4, so many packages involved.
> And my observation is that it seems as if the process updates all the
> packages one by one as subsequent commands, with an unneeded long time in
> my opinion.
> Each time it seems it goes through transaction test and so on...
> Very very suboptimal if it is true and confirmed.
>
> From an ansible point of view it seems that it happens something like this
>
> - name: ensure a list of packages installed
>   yum:
>     name: "{{ item }}"
>    state: latest
>   loop: "{{ packages }}"
>
> instead of
>
> - name: ensure a list of packages installed
>   yum:
>     name: "{{ packages }}"
>     state: latest
>
> Where {{ packages }} is a pre-computed (probably in a previous step) list
> of packages to be updated.
>
> Gianluca
>
>
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/EX5MNIUEKR5ETONXMV2PGRWLSOKY5K5U/

Reply via email to