| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
| |
Some jobs may not be completable on some machines. With current
algorithm, in case of worker process failure, the terminated process is
resurrected and job is restarted. This patch takes into account the
number of resurrections done during processing of single job. If this
number exceeds some limit, job is thrown away and exception is raised.
Resolves: rhbz#1031132
|
|
|
|
|
|
|
|
| |
Cached YumBase instance may keep some objects with active connection to
files in yum package database. We need to clean them when unlocking
database in order to allow other processes to operate.
Resolves: rhbz#1028535
|
|
|
|
|
|
|
| |
When searching for package with a partial name match, other filtering
properties were ignored.
Resolves: rhbz#1030999
|
|
|
|
|
|
|
|
| |
OpenSUSE distribution uses tilde character (~) in version of their
packages a lot. This patch allows to parse such packages.
Resolves: bz#1031345
Reported-by: Klaus Kämpf <kkaempf@suse.de>
|
|
|
|
|
|
|
| |
Until now repository configuration was reloaded only at the provider
start and when the request related to repositories came.
Resolves: rhbz#1030831
|
|
|
|
|
|
| |
When cimom is terminated or killed and the provider is requested to
clean up, let's stop waiting for separated process to complete its jobs
and raise an error instead.
|
|
|
|
|
| |
Let's not process any additional jobs when terminating command has been
received.
|
|
|
|
|
|
|
| |
Separated process did a clean up only when the session ended. But when
cimom is suddenly terminated or killed, process can receive terminating
command even during the session. Let's clean up yum database and cached
objects when that happens.
|
|
|
|
|
|
|
|
|
|
|
| |
When job manager received None command (which says "shut down") it
is was enqueued into priority queue where comparison functions did not
count with None as a valid object. This does not have inpact on
functionality (job manager and YumWorker terminate anyway) but the
terminating message is not written into log due to an AttributeError.
This modifies comparison function to accept None and give it the highest
priority.
|
|
|
|
|
|
|
| |
Separated process disables all loggers when starting up because most of
them are not needed anymore. That includes tracing function in
lmi.base.cmpi_logging. This logger needs to be reenabled in order for
trace messages to be logged.
|
|
|
|
|
|
|
| |
This greatly speeds up listing of associators of
LMI_SoftwareIdentityResource. Packages of particular reposity can now be
listed in few seconds (for 2000 pkgs large repository) instead of
minutes.
|
|
|
|
|
|
|
|
|
| |
Listing of installed packages could take several minutes. With overriden
and optimized MI_associators method this is reduced to several seconds.
Original method calls GetInstance() on each returned object path which
is very time consuming operation in this case.
This resolves: rhbz#1005803
|
|
|
|
|
| |
0 shall be returned on successful run of tests and 1 otherwise.
Not the other way round.
|
|
|
|
| |
Limit number of randomly selected packages to speed up tests.
|
|
|
|
|
| |
Skipped two unreliable performed on random packages. This is a temporary
solution.
|
|
|
|
|
| |
TargetOperatingSystem property is tested also in
TestSoftwareIdentityChecks, let's share the code in util module.
|
|
|
|
| |
Also remove dependency on sblim-cmpi-base
|
|
|
|
|
| |
Few tests of LMI_SoftwareIdentityFileCheck are not reliable on randomly
selected package. Let's skip them temporarily.
|
|
|
|
| |
Make sure to check for correct TargetOperatingSystem for rhel.
|
|
|
|
|
| |
LMI_InstalledSoftwareIdentity generated wrong object paths of
SoftwareIdentities. System does not belong into its keys.
|
|
|
|
|
| |
Base software tests on LmiTestCase from lmi.test.base. Use lmi.shell
abstractions instead of plain pywbem.
|
|
|
|
| |
Do not use packages related to openlmi and CIM for testing purposes.
|
|
|
|
|
|
|
| |
Dangerous tests changing yum package database are not reliable because
they operate on dynamically changing repositories. This patch
temporarily disables them until custom testing repositories are created
for the purpose of software tests.
|
|
|
|
|
| |
Do not presume that any cache is available before call to yum.
If the cache is not there, call fails.
|
|
|
|
|
|
|
|
|
| |
system_name property has been removed from BaseConfiguration.
This replaces remaining reference with access to ComputerSystem module.
Silently ignore the first access to get_system_name() when
ComputerSystem instance has not been loaded yet. host property is not
mandatory.
|
| |
|
| |
|
|
|
|
|
|
| |
Let's write openlmi version to the main __init__ module of each python
egg at build time. This version information is easily accessible from
setup scripts.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Everything is in openlmi-providers/doc/admin directory.
- 'make doc' automatically builds documentation of all
enabled providers.
- Documentation shares one 'conf.py' for sphinx.
- All documentation uses the same directory structure.
There is only one CMakefile.txt to generate all the docs.
|
|
|
|
| |
A fallout from commit b60cd25e366d
|
|
|
|
|
|
| |
Let's not deviate from other providers by having '_build' directory.
Also moved the sources to source directory - just like the other
providers.
|
|
|
|
|
|
|
| |
Preserve the attributes of function being wrapped when creating a
wrapper in decorator.
Also removed redundant logging.
|
|
|
|
|
| |
Big number are displayed as 12,345 which breaks the parsing, with LANG=C
they're displayed as 12345 and parsed correctly.
|
|
|
|
| |
providers.
|
| |
|
|
|
|
| |
use track instead
|
| |
|
|
|
|
| |
Added a short introduction to OpenLMI Software provider documentation.
|
|
|
|
| |
specified regular expression for Version and Release properties
|
|
|
|
|
| |
Add a note about the need to change the SystemClassName in config when
sfcb is used.
|
|
|
|
|
| |
Regular expressions could parse nevra and envra strings wrongly. Also
increased the rebustness of checks for SoftwareIdentity::InstanceID.
|
|
|
|
|
|
|
| |
And get rid of sblim-cmpi-base dependency.
It would be nice if our tests have an option to select Linux_ComputerSystem
or PG_ComputerSystem in the future...
|
| |
|
|
|
|
| |
Bumped version in setups to 0.3.0.
|
| |
|
| |
|
|
|
|
|
|
| |
It may happen that get_providers are called twice in single python
process. Let's prevent an error to be raised due to double instantiation
of IndicationManager which is a singleton.
|
|
|
|
| |
Let's ignore trailing slashes when comparing repository urls.
|
|
|
|
|
| |
Added AssocClass property to Associator(Name)?s calls which limits the
number of association classes being enumerated by cimom to 1.
|