| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This fixes a condition where it would take two Bcfg2 runs to properly
deploy new packages. Prior, if new specification deployed a new Yum
.repo file and new packages from that new repo, Bcfg2 would not be able
to install the new packages until the second run. This change causes
Yum to reload all of its configuration and incorperate any new .repo
files before attempting to install packages.
(cherry picked from commit 059d37b2c385a848764c631d0d735a51908de0cf)
|
| |
|
|
|
|
|
|
|
|
| |
This commit is not compatable with Python 2.4 and below.
Our goal is to support for the foreseeable future 2.4+ for
Bcfg2 server and 2.3+ for Bcfg2 client.
This reverts commit 4310284f6df01caf1b686c9bac8955364a895755.
|
|
|
|
|
|
| |
In earlier versions of python commas (,) could
be used in except statements. The new way is to
use 'as'.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
can dramatically reduce memory usage, and fixed several bugs:
* #1014 (Package plugin can't resolve dependencies for rpms with
Require: tags for full paths that aren't Provided explicitly)
* #991 (Dependency Resolution difference between Package and yum)
* #996 (Packages high memory usage)
* Added support for Yum package groups when using yum libraries
(#1039)
* Fixed #911 (bcfg2 output for wrong package version with Packages is
misleading)
* YUMng turns down the Yum debug level itself depending on the
debug/verbosity level requested by bcfg2 so you don't have to reduce
the Yum debug level on a global basis
* Added support for Pulp repositories, including registering Pulp
consumers and binding to repositories
* Added ability to disable magic OS groups
|
|
|
|
|
| |
If the arch is specified use it to select the package in VerifyPackage()
otherwise just work with the default arch.
|
| |
|
|
|
|
|
|
| |
So a package is not "installed" if a package of the same name but
different arch is. This will enable YUMng to handle multilib
package installs.
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
| |
Address ticket #955 and attempt to capture the exceptions that
may possibly be generated from Yum or Yum's plugins and return
some sort of error message.
|
|
|
|
|
|
| |
This make the YUMng verification behavior like the APT tool. Before
hand we just turned off package checksums which only worked with
very new versions of Yum.
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
(cherry picked from commit 81fce09fb9671c652703c37a5f9b48d020a34307)
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Jack Neely's commit message:
Add a patch from Joe Digilio to include a verify_flags knob.
I've added a line to also load this from the config file, and log in
debug mode.
Specifying 'verify_flags' with an Instance will override the values from
the config file.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
|
| |
Catch possible traceback if we are handed an instance not in our list. (This
seems to be a bug with duplicate instances.)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6065 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6054 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6049 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
| |
getinstalledgpg() is an RPMng method and is no longer needed in YUMng.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6047 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6046 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
|
|
| |
The pkg_checks, pkg_verify, installed_action, version_fail_action, and
verify_fail_action configuration knobs are all wired back up. Caching
implemented to help speed up the package verify routine.
Work arounds for Yum bug: http://yum.baseurl.org/ticket/573
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6045 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
|
|
|
| |
We no longer use RPMng in YUMng. This improves speed by not calling
prelink as yum takes care of that for us.
Yum can do reinstalls on package verify fail so lets wire that up.
Not all the knobs in /etc/bcfg2.conf are hooked up yet.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6035 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
|
| |
gpg-pubkeys are not packages, yet we treat them as so. They require
special handling for all install/upgrades/etc. This corrects a
condition where gpg-pubkeys were "upgraded" rather than "installed."
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6027 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6026 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
| |
The package object here can be either a yum PO or a string. Comparing
strings to POs tracebacks.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6025 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
| |
These callback classes pipe Yum's and RPM's logging output into our
own logger, cut down on verbosity, and allow us to fine tune what logging
goes where.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6018 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6008 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
| |
Currently a missing package throws an exception during the install. This
traps it and gracefully logs an error.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5993 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5980 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5965 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
| |
Patch submitted by Jack Neely. Replaces the Install and Remove methods with
code that directly uses the Yum API.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5964 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
|
|
|
| |
We currently have 'important' entries specified only inside the code for
various client tools. This provides no room for growing that list
outside of adding things to the code itself. With this change, users can
now specify important entries via an additional attribute in their
info.xml files.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5957 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5944 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5929 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5897 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5851 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5849 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5844 ce84e21b-d406-0410-9b95-82705330c041
|