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!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
We used 60 seconds timeout for disconnecting inactive clients. This is
too long to protect from bad clients leaving open connections, and too
short for applications that need long timeout[1].
Change the default timeout to 15 seconds, configurable via
daemon:auth_timeout. This timeout is used for new unauthorized
connections. If a connection does not authorize within this timeout, it
is disconnected.
When a connection is authorized during the first request, the connection
timeout is increased to ticket.inactivity_timeout. The default value is
60 seconds, configurable via daemon:inactivity_timeout.
Application with special needs can request a larger timeout when
creating an image transfer. Engine need to include the transfer
inactivity timeout in the ticket.
[1] https://bugzilla.redhat.com/2032324Fixes#14.
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
Add ovirt_imageio.admin python library for controlling the imageio
daemon. The library provides the Client class, supporting adding,
getting or deleting tickets. This library will replace the code in vdsm
for manipulating tickets.
The new ovirt-imageioctl command uses the admin library to manipulate
tickets, providing way to manage tickets manually. This will be useful
to test the Go client.
The library and the command also make it possible to use the
ovirt-imageio service on any host without oVirt installation. One use
case can be a container image, starting a daemon for single image. The
container startup script can install a ticket using the ovirt-imageioctl
command.
Change-Id: I2cc209f4a27d8b4a1021e49c214b7f1f7f229915
Signed-off-by: Nir Soffer <nsoffer@redhat.com>