Xena Series Release Notes¶
Now Storlets supports some new features to optimize resource usage by storlet containers. Also, management of docker containers was refactored and re-implemented by the docker python sdk, to allow more flexible and secure container management.
The new timeout feature has been added to the agent processes running in storlet containers. This feature makes storlet containers and storlet daemon processes inside these containers to terminate automatically if the process receives no requests for 300 seconds.
Now storlet containers are started with auto remove flag enabled. Because of this change the containers are automatically deleted after these are stoped (manually or because of timeout).
The agent processes inside storlet containers now accept SIGHUP signal and shutdown gracefully.
max_containers_per_nodeoption has been added to the docker gateway configuration file. This option limits the number of storlet containers in a single node, and would be useful to distribute containers among multiple nodes. This parameter should be carefully determined based on actual workload. If the limit is too low, clients might experience frequent 503 errors because the required storlet container cannot be launched in the cluster.
restart_docker_containerscript has been removed, and now the storlet_handler middleware directly communicates with the docker daemon to manage docker containers. Because of this change, now the user to run swift processes (which is usually the
swiftuser) should belong to the
managed_by=storletsis added as a tag to all storlet containers, to look up containers launched by Storlets. All existing containers without this tag should be stoped and removed during upgrade to use the new
In this cycle, Storlets is rebased on Focal Fossa(20.04) which is the latest Ubuntu LTS release. It also includes some minor improvements about its operability.
Now Storlets use Python 3.8 as default Python 3 runtime. If any application has
3.6then the metadata should be updated to