Red Hat Bugzilla – Bug 987713
[RFE] temp disable packagekit
Last modified: 2016-01-04 09:46:21 EST
On RHEL 6.4 with gnome desktop installed, I got the following _sometimes_
ERROR : Error during puppet run : err: /Stage[main]/Horizon/Package[horizon]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install openstack-dashboard' returned 1: Existing lock /var/run/yum.pid: another copy is running as pid 7229.
Is there a way to temp disable packagekit during the install.
Maybe adjusting enabled in /etc/yum/pluginconf.d/refresh-packagekit.conf
around packstack runs might work?
Trying to triage RDO bugs, what's the status here? Does packstack maintainers think this is a reasonable change to be implemented?
Interrupted yum happens sometimes, so lowering risk of that would be a good thing to do I guess.
And from my googling it should be easy change also:
A provisioned system is expected to be provided to Packstack not the other way around.
And because of the non production target nature of Packstack, this is not really a needed feature.
Also changing the refresh-packagekit.conf flag doesn't workaround another yum instance already launched in the background, pushing the problem further to kill that instance. Not sure we want Packstack on that road.