-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ilo2_ribcl needs to have access to signal_service_thread #1909
Comments
Original comment by: mohandev2 |
dh_shlibdeps -a -- -- warnings=1 pkg-shlibdeps: warning: debian/openhpi-plugin-ilo2-ribcl/usr/lib/openhpi/libilo2_ribcl.so.3.6.1 contains an unresolvable reference to symbol signal_service_thread: it's probably a plugin This is not a major problem as ilo2_ribcl is a plugin and the daemon libraries are present. So we do not want to add a new dependency. Looking at the code, daemon and the plugin code are mixed up in this case as this variable is used inside the plugin thread (not a thread created by main thread). Take a deeper look at how to handle the functionality without adding this new variable. May be the main ilo2_ribcl thread could signal the other ilo2_ribcl threads? Take a deeper look at this. Original comment by: mohandev2 |
mkdir /home/mohan/debian_testing_test Go to https://packages.debian.org/testing/libopenhpi3 and download three files manually dpkg-source -x openhpi_3.6.1-2.dsc 2>&1 | tee dpkg_source.log Original comment by: mohandev2 |
Please check if OA_SOAP_CHEK_SHUTDOWN_REQ could be implemented in ilo2_ribcl also. Could this be used in blade power situations also? Original comment by: mohandev2 |
I had a check with other plug-in(oa_soap plug-in) in the same area in order to find the way that how they are handling this scenario. Even in oa_soap as well they have the similar concept of polling the loop for the response when we do reset power state for the server. In oa_soap also we have wait time and this can be observed in the set_server_power_state() code. The way we are waiting in the loop in ilo2_ribcl plug-in ilo2_ribcl_set_power_state() , similar wait is there is oa_soap as well. For the testing I tested the oa_soap plug-in with issuing the kill -15 at different time intervals and based on the time stamp, I got the scenario where even we are waiting for more time compare to the ilo2_ribcl plug-in. It was around 150 seconds wait time. Further went through the man page and found that dpkg-shlibdeps waring are as expected in our scenario and this can be ignored. In this case symbol is provided by openhpid which loads this plugin. Hence this warning message can be ignored. Please go through the below link for the more details on this warning: http://man.he.net/man1/dpkg-shlibdeps Now we have two options to handle this:
Original comment by: erpraveenk |
Original comment by: mohandev2 |
ilo2_ribcl plugin uses signal_service_thread variable which is in daemon code. This code is not a library and it is not linked against ilo2_ribcl plugin library. This is not a big problem as ilo2_ribcl is a plugin. But ideally the library containing the variable needs to be linked against the ilo2_ribcl. However openhpid is the daemon application. Please take a look at how to handle it.
Reported by: mohandev2
Original Ticket: openhpi/bugs/1909
The text was updated successfully, but these errors were encountered: