IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
Permit explicitly setting the delay to 0. The fix in
commit 44deba6ee9 for a typo caused a change
in behavior that resulted in an explicitly specified delay of 0 causing an
error.
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
Add a list-status operation that behaves the same way as the list operation
for compatibility with the other fence agents.
Resolves: rhbz#908455
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
it does not generate nor capable to answer to keepalive requests, which
causes libvirt connection to disconnect every 30 seconds (interval*timeout
in libvirtd.conf). Furthermore, it does not clean up filehandlers and leaves
hanging sockets. Also, if other thread opens its own connection to libvirt
(i.e. checkpoint.c), event function in virt-serial.c just updates event listener
file handler with a wrong one, what causes checkpoint.c malfunctions, fence_virtd hangs
and so on. This patch uses default event listener implementation from libvirt and
resolves theese problems.
Since systemd-218[1], systemd will emit following lines in the
journal upon (re)loading its configuration:
Support for option SysVStartPriority= has been removed and it is
ignored
As it allegedly had no importance for some time even before, simply
drop it.
[1] http://cgit.freedesktop.org/systemd/systemd/commit/?id=9e37c95
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Don't truncate the domain string for VMs when listing their status
in the output of the list command.
Resolves: rhbz#1207422
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
Fix wrong usage of perror. perror is called when data filled
by read system call is shorter than expected. It is not an error
of system call. In such case perror should not be used.
Similar code can be found in place where write system call is used.
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Add a clarification for the path option when in serial mode.
Clarified text from Chris Mackowski <cmackows@redhat.com>
Resolves: rhbz#1014238
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
Previously no status was printed to stdout when fence_virt and fence_xvm
were invoked with the -o status flag. The exit code of the program was
the only way to determine the result of the status operation. This
patch causes fence_virt and fence_xvm to additionally print
either "Status: ON" or "Status: OFF" when it is able to determine
the status.
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
Fix a bug that caused some libvirtd events to be missed. This bug could
cause client requests to fail in cases where VMs were either started or live
migrated to a node after fence_virtd had already started.
Resolves: rhbz#903172
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
In longer term, there should be a proper split of common/dedicated
arguments between modes (disjunct fields via union?) and also
args_print should dump the arguments as per mode.
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Fix a possible free() of an uninitialized struct member in
the error path that's hit in an OOM situation.
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>