[RESOLVED] - yum update ICAClient takes too long

Issues related to applications and software problems
Post Reply
User avatar
warron.french
Posts: 499
Joined: 2014/03/27 20:21:58

[RESOLVED] - yum update ICAClient takes too long

Post by warron.french » 2019/12/18 21:50:38

I am using Remote Execution with Foreman from Satellite-6.2 against a list of various machines in the same hostgroup.

The hosts are all running RHEL-7.6||kernel-3.10.0-957.27.2, and they do have ICAClient-13.10.0.20-0.

The REX scripts logs into the machine and then executes a general yum update, specifically:

Code: Select all

yum update -t -y -e 0 update
We do have a newer version-release of ICAClient in our repository as ICAClient-19.6.0.60-0.

The problem is the process takes too long (several minutes to nearly 30 minutes, inconsistently)!

Has anyone else seen this problem? Did they find a solution?

Thanks,
Last edited by warron.french on 2020/01/07 18:14:56, edited 1 time in total.
Thanks,
War

aks
Posts: 3008
Joined: 2014/09/20 11:22:14

Re: yum update ICAClient takes too long

Post by aks » 2019/12/21 07:30:09

No, but you could look. Unpack the RPM and have a look at the pre post and so on scripts - what's taking so long (I think it's unlikely to be the amount of files being placed on disk). When you have the scripts, profile them to isolate the cause and see if you think of a better way of doing whatever the script(s) is/are doing.

User avatar
warron.french
Posts: 499
Joined: 2014/03/27 20:21:58

Re: yum update ICAClient takes too long

Post by warron.french » 2019/12/24 01:12:06

aks, thanks for the reply.

As much as I have been writing RPMs this year, this particular package (ICAClient) was written by Citrix Corp.

I found a solution to upgrading the ICAClient, it just isn't an RPM/YUM-based solution; essentially;
  1. yum erase ICAClient
, then
  • yum install ICAClient
I was aware of the %pre, %preun, %post, and %postun scripts. (I am getting better at this stuff.) It was indeed one of the RPM scripts that was executing a Citrix script, and it takes way too long. Ironically, my solution yum erase/install ICAClient method is super fast; compared to the 30 minutes it takes as a yum update.
Thanks,
War

aks
Posts: 3008
Joined: 2014/09/20 11:22:14

Re: yum update ICAClient takes too long

Post by aks » 2019/12/25 07:05:26

Suggest you open a ticket with Citrix to alert them of the fact (and they'll probably ignore it anyway).

User avatar
warron.french
Posts: 499
Joined: 2014/03/27 20:21:58

Re: yum update ICAClient takes too long

Post by warron.french » 2019/12/26 19:49:11

aks, I think you are correct about that.
Thanks,
War

User avatar
warron.french
Posts: 499
Joined: 2014/03/27 20:21:58

Re: yum update ICAClient takes too long

Post by warron.french » 2020/01/07 18:14:40

I did manage to find the problem on this using strace. Not that I really know how to use strace.

I found an ioctl error and according to the web that error implies configration changes to a terminal that are not working.

I cannot reduplicate the error anymore, but I know the problem is specific to virtual machines and not applicable to real/physical machines with monitors.

I attempted to post my question on citrix.com for support and was prompty informed (systematically) that my post had to first be approved by a moderator. I haven't heard anything back in over a week already. :-(
Thanks,
War

Post Reply

Return to “CentOS 7 - Software Support”