1.Seperate the etcd_group and glance_opt_group from [DEFAULT]
2.Change refrence CONF.common.xx to CONF.xx
Change-Id: I0f95c063941e649ec92faf2328107925ee5e7e2b
Closes-Bug: #1707506
- The container with status DELETED is not removed automatically.
This patch will add delete_container method to remove it
in periodic task.
- Increase the severity of log level to Info.
- Support filter container with status, task_state.
- Change param handlers to endpoints for consistent.
Change-Id: I0c703fc2c69c9a582e7cb3b34e8aa08c098e37e4
Depends-On: Ic6d35274a49648bde5e0e7486453a6d1a13f6f2e
Related-Bug: #1644901
Closes-Bug: #1701984
- In update_image method, has tag arg or not, always return
update_image_format. The called method, update_image_tags,
doesn't do any works.
- Add new method download_image_in_chunks like another methods.
Init glanceclient in utils module.
- Update testcases.
Change-Id: I3a3e9ec38c39ae4abc12196d907b1f32096ad9b6
Partial-Bug: #1702587
The 'message' attribute has been deprecated and removed
from Python3.
For more details, please check:
https://www.python.org/dev/peps/pep-0352/
Change-Id: If2e148bfd7166567ff8b692e48e6986f25659a8d
This patch https://review.openstack.org/#/c/485049/ bump the api
version to 1.4 but missed to bump the api version control of the
function wrapper and test case.
Bump the version to 1.4.
Change-Id: I78ba93c98381c3c8980e9f623424a8ce20bc37df
Infra container (sandbox) is not a must for native Docker driver (it
is a must for Nova Docker driver). Introducing infra container to
native Docker driver incurs an overhead to manage the additional
resources.
This patch makes infra container optional for native Docker driver.
Cloud administrators could turn on/off infra container via a config.
By default, infra container is turned off.
Co-Authored-By: Hongbin Lu <hongbin.lu@huawei.com>
Change-Id: Ie9e8dec947ed3a89f979e4f4df3abd8d133bd856
Implements: blueprint make-sandbox-optional
Docker run command has an option that automatically
removes the container when it exits. This commit introduces
the equivalent in Zun. In particular, this commit does
the followings:
* Introduce an 'auto_remove' field in container. If this
field is set, the container will be automatically
removed when it exits.
* Introduce a new container state 'Delete'. This states
indicated that the container has been automatically
removed, but the record is still existed in DB.
* Bump the docker REST API version to 1.25 or higher
since 'auto_remove' feature was introduced in 1.25.
There are several future work of this commit. The first task is
to add a tempest test to verify the container is indeed
auto-removed in docker daemon. The second task is to introduce
a periodic task that purge container in 'Deleted' state.
Co-Authored-By: Hongbin Lu <hongbin.lu@huawei.com>
Co-Authored-By: Kien Nguyen <kiennt@vn.fujitsu.com>
Related-Bug: #1644901
Change-Id: Ic6d35274a49648bde5e0e7486453a6d1a13f6f2e
Users have administrator privilege can list containers in all
tenants. This commit add the similar capability for 'show'
and 'delete'. This allows cloud administrator to manage
containers in other tenants, which could be useful.
Cloess-Bug: #1681589
Change-Id: Ica579c2f297c6ee08118859b1571b084e40c9bf9
- Fix erros when run tox -edocs (except one spec - cinder-integration.rst,
will be fixed when merge patch set [1])
- Update urls.
[1] https://review.openstack.org/#/c/468658/
Change-Id: I05865708ef356f17a388eace234ac004dd1a364f
This patch adds the ``warning-is-error`` flag in setup.cfg
to build documents and also fix failure with the introduction
of this flag.
Change-Id: I3bfedc31361584526d6f528b74b0be3993f1ecba
Partial-Bug: #1703442
Fuxi is a docker volume plugin that allows users to use Docker API
to manage data volumes backed by Cinder or Manila. Fuxi is a
desired solution for some use cases, but it has several
disadvantages:
* It currently doesn't support multi-tenancy. Fuxi-server will
use a pre-created credential to authenticate againest
Cinder/Manila. Therefore, it cannot manage resources that is
outside of the tenant of the credential.
* It is currently under heavy development. In particular, Fuxi
team is planning to port the code from Python to Golang [1].
The stability of the project will be affected.
* It is a web service. That means extra overhead for operators
to install and manage the extra service.
Due to the limitations, we proposes to introduce another driver
as an alternative. The new driver will be a standalone module
(instead of a service) that directly interfaces with Cinder.
The architecture will be designed to be pluggable so that
the support of multiple volume drivers is possible.
[1] https://blueprints.launchpad.net/fuxi/+spec/convert-to-golang
Co-Author-By: Kien Nguyen <kiennt@vn.fujitsu.com>
Partial-Implements: blueprint direct-cinder-integration
Change-Id: Idbe4511378dd321d3087f0abcde5fec01b31e774