Review Request 1166: providers: Prevent libglib2 from unloading
by Stephen Gallagher
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-openlmi.rhcloud.com/r/1166/
-----------------------------------------------------------
Review request for OpenLMI Developers.
Repository: openlmi-providers
Description
-------
Prevent libglib2 from unloading
On shutdown, Pegasus CIMOM unloads (dlclose()) the provider first and then
destroys its worker threads. Since glib2 uses pthread_key_create()
internally, thread local storage destructors are called to free glib2's
data. As glib2 is already unloaded, the provider crashes.
This patch manually opens glib2 so it is not unloaded on dlclose() of
the provider shared library and thus the thread shutdown callbacks
do not crash.
Diffs
-----
src/CMakeLists.txt e2317ed535c90c8b73e5ac3d63b9d744d7c3d6e8
src/openlmi.c 1dc1b62e30782b63ef9ddab746625a28109bfb4f
Diff: http://reviewboard-openlmi.rhcloud.com/r/1166/diff/
Testing
-------
Thanks,
Jan Safranek
10 years, 6 months
Review Request 1165: storage: Use get_system_name() to get name from CIMOM instead of simple domain name
by Stephen Gallagher
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-openlmi.rhcloud.com/r/1165/
-----------------------------------------------------------
Review request for OpenLMI Developers.
Repository: openlmi-storage
Description
-------
Use get_system_name() to get name from CIMOM instead of simple domain name
ComputerSystem.Name is now opaque to the provider and the CIMOM can use any
CoputerSystem implementation.
Diffs
-----
src/lmi/storage/CapabilitiesProvider.py edd7b888526d6894957d2c01f9894ce5a25acfdd
src/lmi/storage/ExtentProvider.py dcff358eaab7ed7075ad358bf1253d4fc31e33d3
src/lmi/storage/FormatProvider.py a3323b722ac01f7bc3eb7ae9e9981ff2f8c808b8
src/lmi/storage/LMI_AttachedFileSystem.py 86185e681dc7fd85cca9c48707f02495e783b418
src/lmi/storage/LMI_BlockStorageStatisticalData.py ab586d2d13caf0ca2fa91e175b1c16dd4854bbb5
src/lmi/storage/LMI_HostedFileSystem.py e0487d7ab744289c2874a4ba601abc08bd68d90e
src/lmi/storage/LMI_HostedMount.py 0e4803d5d3b1ba0dd1fecc8730c6d5e787489613
src/lmi/storage/LMI_HostedStorageService.py c1778e5e74a547c36680a01065d7a95a7507e70b
src/lmi/storage/LMI_MountPoint.py 470028e358b713b96eeaff6a9fd91689314776f0
src/lmi/storage/LMI_SystemStorageDevice.py b9f5ba030100c25a515153cdbb8f4899ba1054db
src/lmi/storage/ServiceProvider.py 31af03e6db2004a4d5a856faf9d9bfe2186b3905
src/lmi/storage/cimom_entry.py 6a3c35ae661f39c603dbbc8ed21ac0fe09d13187
Diff: http://reviewboard-openlmi.rhcloud.com/r/1165/diff/
Testing
-------
Thanks,
Jan Safranek
10 years, 6 months