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!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
Add support for the validate-all status operation. In this mode,
the fence agent will validate the arguments given on either the
command line or standard input. If validation succeeds, it will
exit with code 0, otherwise it will exit with code 1.
Resolves: rhbz#1447700
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
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>
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>