| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| | |
Reported-By: Klaus Kaempf <kkaempf@suse.de>
|
|/
|
|
| |
Fixed Coverity findings, enhanced fail case scenarios.
|
|
|
|
| |
Do not require openlmi-providers installed, when making documentation.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
New subpackage:
openlmi-account-doc
containing admin guide
Also added missing dependency for openlmi-providers-devel subpackage,
which was missing konkretcmpi-python in its Requires. It needs to be
present for openlmi-doc-class2rst script to work properly.
|
|
|
|
|
|
|
|
| |
Allowed to pass different logging configuration dictionary.
Changed behaviour, when [Log] Stderr = True. Now both logging to CIMOM
and to stderr are enabled. Previously only logging to stderr has been
done.
|
| |
|
| |
|
|
|
|
| |
Also fixed dependency (lmi -> openlmi).
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
It needs to be present in the buildroot but will not be actually
installed.
See:
http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list-directives.html#S3-RPM-INSIDE-FLIST-GHOST-DIRECTIVE
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
|
|
|
| |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
|
|
|
|
|
|
| |
changed 'lmi' to 'openlmi' of python eggs to make them look related to
openlmi-storage and openlmi-tools eggs
preparation for upload to PyPi
|
|
|
|
|
| |
Now, that functionality of lmi.software.util.cmpi_logging is provided by
lmi.providers.cmpi_logging, we can safely move to the shared one.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Module now contains enhanced tracing function decorators providing more
details. There is no global logger, each provider module should obtain
its own logger via get_logger() function.
Usage of LogManager is optional. It allows for logging's
reconfiguration, when config file is changed.
Exceptions logged with error(), exception() or critical() methods are
now logged twice:
* First time for specified level with error message only.
* Second time for TRACE_WARNING level with traceback.
This prevents the polution of syslog.
|
|
|
|
|
| |
This option is already handled by base class BaseConfiguration,
no need to override it.
|
|
|
|
|
|
|
| |
Since disablement of SoftwareIdentity enumeration, there has been no way
to search for particular package (using [WC]QL query for example). This
serious limitation is now treated by this addition to
LMI_SoftwareInstallationService.
|
|
|
|
|
|
|
| |
If repoid is given, only 'available' packages need to be searched,
otherwise the package is not found if installed.
Let's just enable particular repository instead of comparing repoid
attribute.
|
|
|
|
|
|
| |
Logger needs to be obtained in a wrapper at runtime instead of
making it at init time of a module. In latter case logger could be
already invalid after the call to logging's configuration function.
|
| |
|
|
|
|
| |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
As per https://fedorahosted.org/openlmi/wiki/CodingConventions any
debugging message that shouldn't go to user should be using
CMTraceMessage().
Doing this change to minimize output to syslog, making journald
indications nearly impossible to debug due to constant logging,
generating more and more indications, resulting in endless loop.
|
|
|
|
|
| |
This fixes thread leak due to im_stop_ind() not cleaning up running thread.
This change also brings some guarantees, see README for details.
|
|
|
|
|
|
| |
When not polling, manager->enums is NULL resulting in segfault. This patch
adds extra test and retrieves the object path required from instances
to be sent.
|
|
|
|
|
| |
Manual instance creation in the gather callback sometimes requires access
to the CMPIBroker instance, stored in the indication manager struct.
|
| |
|
| |
|
|
|
|
|
| |
SFCB does not like the initial underscore charactes, which violate MOF syntax.
As consequence, the __MethodParameters classes are now in separate MOF file.
|
|
|
|
| |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
| |
|
| |
|
|
|
|
|
| |
If the repository is enabled, expect repository to be ready.
If disabled, allow both OK and Failed states.
|
|
|
|
|
|
| |
There can be a situation, when base_urls and mirror_list are empty, but
metalink is filled. Let's fallback to metalink while obtaining
AccessInfo value.
|
|
|
|
| |
test fix
|
|
|
|
|
| |
Fixed UnboundLocalError, when expecting, that at least mirror_list
or some base_url of repository is available.
|
|
|
|
| |
test fix
|
|
|
|
| |
Do not compare SystemName property byte by byte. Allow alliases.
|
|
|
|
|
| |
This is a temporary work around Pegasus not being able to handle
instances of unknown classes.
|
|
|
|
|
|
|
|
| |
Pegasus does not support instances of unknown classes, that's why we
need to define additional classes representing parameters of
asynchronous methods. These will be used in
LMI_ConcreteJob.JobOutParameters and CIM_InstMethodCall.MethodParameters
properties.
|
| |
|
|
|
|
|
|
| |
Setuptools do not install __init__ module of top-level namespace module,
which prevents user installed eggs from being loaded. This commit adds
installation statements to spec itself.
|
|
|
|
|
| |
Make sure, that lmi/__init__.py gets installed by software provider's
setup to ensure compability with lmi packages installed to user.
|