Releases: lablup/backend.ai
Releases · lablup/backend.ai
22.09.1
Features
- Added
shared_vfolder_info
to get shared folder information andupdate_shared_vf_permission
andremove_shared_vf_permission
API to update and delete shared folder permissions. (#608) - Add
-a
/--all
option tobackend.ai ps
likedocker ps -a
to list all sessions regardless of the statuses (#616) - Introduce vfolder status to control user access to individual vfolders (#713)
- Add a new Agent option to (or not to) force terminate abusing kernels to support the use case for admins to watch what the containers actually do before terminating them. (#764)
- Expose
ComputeSession.id
to query filter to enable GraphQL queries filter items by list of id. (#772)
Fixes
- Fix extra vFolder access condition not applied when querying vFolder (#766)
- Create vfolder status field in DB schema correctly. (#768)
- Prevent unhandled
read_stream
exception which leads to the stuck of newly created sessions in thePREPARING
status. (#771) - skip resolving fields from dead agent. (#775)
Full Changelog
Check out the full changelog until this release (22.09.1).
Full Commit Logs
Check out the full commit logs between release (22.09.0) and (22.09.1).
22.09.0
Breaking Changes
- All installations MUST replace "postgresql://" to "postgresql+asyncpg://" in
alembic.ini
(#702)
Features
- Add
shared_user_uuid
paramater to allow superadmins to remove users from shared vfolders. (#522) - Allow reading compute plugin blocklists from agent local configuration. (#624)
- Add
shared_user_uuid
parameter to vfolder'sleave
api to allow superadmins to remove users from shared vfolders. (#692) - Implement IP-based client restriction. (#695)
- Show agent summary information to user only if
manager.hide-agents
config is set totrue
. (#699) - Add new
hide_agents
config for Webserver to control the visibility of agent information to normal users. (#704) - Agents skip containers owned by other agents in the same host during scanning containers. (#712)
- Implement retry on vfolder-download when connection error or timeout error occurs. (#714)
- Add agent configuration option to apply alternative docker network. (#715)
- Add commit history link between releases in release notes(
CHANGELOG_RELEASE.md
). (#721) - Always mount infiniband device if it exists on agent host, without checking if kernel uses multi container or not. (#731)
- Add webserver option to support session enqueue feature, introduced from lablup/backend.ai-webui#1162 (#732)
- Introduce abusing container status and agent local_config API (#737)
- Upgrade aiomonitor-ng to 0.6.0 for improved line-editing in telnet prompts and easier live-debugging with the
console
command via additionalconsole_locals
variable references (#743)
Fixes
- Remove dependency to
psycopg2-binary
completely and make all database operations to run withasyncpg
(#702) - Fix user update in client method and manager's mutation method (#718)
- Let admins can purge a user account even if there is no related kaypair. (#725)
- Allow installation of packaged wheels on compatible Python versions (e.g., any of 3.10.x) (#727)
- Fix wrong type matching in scaling group query method (#738)
Miscellaneous
- Refactor session commit functionality and change commit file name format. (#674)
- Bump base Python version from 3.10.5 to 3.10.7 to reflect Python coroutine bugfix. (#719)
Full Changelog
Check out the full changelog until this release (22.09.0).
Full Commitlog
Check out the full commit logs between release (22.09.0b6) and (22.09.0).
22.09.0b6
Features
- Update codespace bootstrap script to reflect updated
install-dev.sh
(#516) - Allow non-admin users to query agent information by implementing new gql schema. (#645)
Fixes
- Fix accelerator specific files created under work directory (
/home/work
) instead of config directory (/home/config
). (#701) - Update
etcetra
(to v0.1.10) to avoid potential accumulation of unreclaimed async tasks
Full Changelog
Check out the full changelog until this release (22.09.0b6).
22.03.14
Features
- Elaborate messaging of
InstanceNotAvailable
errors and log it inside thestatus_data
column as thescheduler.msg
JSON field (#643) - Enable the asyncio debug mode when our debug mode is enabled (e.g.,
--debug
) and replaceaiomonitor
withaiomonitor-ng
(#688)
Fixes
- Accept both string field names and
FieldSpec
instances in the Client SDK's functional API wrappers (#613)
Full Changelog
Check out the full changelog until this release (22.03.14).
22.09.0b5
Features
- Refactor
decrypt_payload()
as a middleware so that applied toweb_handler()
andlogin_handler()
(#626) - Preserve the given
reason
value even when a kernel is force-terminated with a fallback toforce-terminated
(#681) - Enable the asyncio debug mode when our debug mode is enabled (e.g.,
--debug
) and replaceaiomonitor
withaiomonitor-ng
(#688)
Fixes
- Accept both string field names and
FieldSpec
instances in the Client SDK's functional API wrappers (#613) - Do not remove lock file when FileLock does not have lock. (#676)
- Make the Web-UI login work again by fixing missing decrypted payloads as JSON (a regression of #626) (#689)
Full Changelog
Check out the full changelog until this release (22.09.0b5).
22.09.0b4
Features
- Elaborate messaging of
InstanceNotAvailable
errors and log it inside thestatus_data
column as thescheduler.msg
JSON field (#643)
Fixes
- Skip non-running sessions for commit status checks by returning null in the
commit_status
GraphQL query field because the agent(s) won't have any information about the non-running kernels (#667)
Full Changelog
Check out the full changelog until this release (22.09.0b4).
22.03.13
- A follow-up hotfix for #664
Full Changelog
Check out the full changelog until this release (22.03.13).
22.03.11.post1
Fixes
- Add missing lazy-imported cli modules in the package (#664)
Full Changelog
Check out the full changelog until this release (22.03.11.post1).
22.03.11
Features
- Accept the explicit "s" (seconds) unit suffix as well in
common.validators.TimeDuration
(#570) - Support wsproxy v2 when the coordinator's user-accessible URL is different from the manager-accessible URL (usually when the user is separated from the Backend.AI service by NAT) (#582)
- Add
common.logging.LocalLogger
to improve logging outputs in test cases, which does not use the relay handler to send log records to another (parent) process but just the standard Python logging subsystem (#630) - Use the full terminal width when formatting CLI help texts for better readability (#662)
Fixes
- Ignore if a scanned
BUILD
orbuild
target is a directory when scanning them to discover plugin entrypoints (#550) - web: Force the keypair-based auth mode regardless to env-vars (#564)
- Fixed a Regex/shell escaping issue when updating var-base-path by changing parsing. (#567)
- install-dev: Add compatibility checks for
-f
option of thedocker compose
(v2) commands in the user home directory and system-wide directory (#602) - Pin
hiredis
version to 1.1.0 (the version auto-inferred fromredis-py
is 2.0) to avoid a potential memory corruption error, such as "free(): invalid pointer" upon termination (#636) - Improve null-checks when querying allowed vfolder hosts to prevent internal server errors when there are no allowed vfolder hosts (#638)
- Fix a spurious insufficient privilege error when running
backend.ai run
command as a normal user due to a mishandling of the default value of--assign-agent
CLI option (#639) - Fix
FileLock
not acquiring lock forever when lock file is created without write permission to manager processes' owner (#642) - Change
client.cli
to useai.backend.cli.main:main
as its root CommandGroup. (#650)
Miscellaneous
- Upgrade Pants to 2.12.0 to 2.13.0rc0 to take advantage of the latest bug fixes and improvements (#589)
- Revamp and refactor BUILD files to make Pants to handle fine-grained target selection better via per-directory BUILD files and utilize automatic internal-dependency inferences whenever possible, with unification of the source target names to
:src
(previously,:lib
and:service
) (#627)
Full Changelog
Check out the full changelog until this release (22.03.11).
22.09.0b3
- A follow-up hotfix for #664
Full Changelog
Check out the full changelog until this release (22.09.0b3).