1155 Commits

Author SHA1 Message Date
ShunliZhou
2d7be38ead Add filter scheduler doc.
Add filter scheduler doc.

Change-Id: Ie00c16446e118c6cab1939e9bafb44ebf59fd5d9
2017-08-02 09:49:53 +08:00
Jenkins
706075cd68 Merge "Add missing configuration index" 2017-07-31 06:19:43 +00:00
Jenkins
d7bb6f932a Merge "Remove unused requirement: greenlet" 2017-07-31 06:19:37 +00:00
wangzhh
e14fbe5d14 Make some config options work
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
2017-07-30 13:22:00 -04:00
Anandprakash Tandale
0bf9481e5b Remove unused requirement: greenlet
greenlet was added in: https://review.openstack.org/#/c/316354,
but never used. So cleaning it up.

Change-Id: Id51224aaeb4016ab451d6378c9a0b1b65ed8f0c3
2017-07-29 14:16:47 +05:30
Jenkins
964a00563d Merge "Updated from global requirements" 2017-07-29 02:16:35 +00:00
Hongbin Lu
557b5b52f4 Add missing configuration index
This should fix the missing URL:
https://docs.openstack.org/zun/latest/configuration/index.html

Change-Id: I31383b8b17ebb914e30c225433b7dab34d8afb4c
2017-07-28 18:30:33 +00:00
Kien Nguyen
5caaa8fb21 Add delete_container to periodic task
- 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
2017-07-28 18:13:19 +00:00
OpenStack Proposal Bot
b793a1a2e4 Updated from global requirements
Change-Id: I35db4a4c6b3164caeb6d158d6873520d6b5c02a5
2017-07-28 15:22:22 +00:00
wangzhh
7d3f1a0558 Check if security groups is duplicated or not in API
Change-Id: I393620562b8f1f733a62ade12f29706519166dbd
Closes-bug:1698471
2017-07-28 04:42:47 -04:00
Jenkins
080f4fb00f Merge "Make sandbox container optional" 2017-07-27 03:57:44 +00:00
Kien Nguyen
d7d1b6821f Refactor Glance Image driver
- 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
2017-07-27 01:06:59 +00:00
Jenkins
bd6d538631 Merge "Modify the Cinder integration spec" 2017-07-26 16:54:48 +00:00
Jenkins
7da812a67f Merge "[doc-migration] Add install and configuration folders" 2017-07-26 06:36:22 +00:00
Madhuri Kumari
ba12241c19 [doc-migration] Add install and configuration folders
Change-Id: I0e760acd62d1e9082d0e7ec0f3c96c6839a7ef6d
Close-Bug: #1706194
2017-07-25 19:12:59 +05:30
Jenkins
36c1bde125 Merge "Stop using deprecated 'message' attribute in Exception" 2017-07-25 05:19:21 +00:00
Jenkins
bd2e89b438 Merge "Bump the version to 1.4 for host list api control" 2017-07-24 13:55:07 +00:00
bhavani.cr
2b557f942d Stop using deprecated 'message' attribute in Exception
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
2017-07-24 11:42:53 +00:00
Jenkins
3d860ba754 Merge "Support show/delete with all_tenants" 2017-07-24 02:16:09 +00:00
ShunliZhou
00f158137e Bump the version to 1.4 for host list api control
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
2017-07-24 09:32:22 +08:00
Jenkins
b5b85d026d Merge "Add host list api" 2017-07-22 23:03:20 +00:00
ShunliZhou
1b5bb285e5 Add host list api
Add host list api

Change-Id: I0511f3d0608043a709249052aa29a76ba9ded166
Partially-Implements: blueprint show-container-engine-info
2017-07-21 09:19:15 +08:00
OpenStack Proposal Bot
fa87508a1a Updated from global requirements
Change-Id: I792418cef898dfaffc4693ce86bd7e885bfdec92
2017-07-20 13:44:06 +00:00
miaohb
a001c5a023 Make sandbox container optional
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
2017-07-20 16:51:02 +07:00
Jenkins
5a49fefb15 Merge "Added support for Auto remove the container" 2017-07-20 09:38:57 +00:00
Madhuri Kumari
15cbc669de Update quickstart link in document
Change-Id: I719f459784c9830d42e8d34b0bf64eb380d05cb1
2017-07-20 11:22:58 +05:30
Madhuri Kumari
1d4899c28e Add admin folder for related documents
Change-Id: Ieb3bfbdcfdfb411ad549194fae1aba32434df5f0
Partial-Bug: #1703442
2017-07-19 15:00:49 +05:30
prameswar
2a0a7992b9 Added support for Auto remove the container
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
2017-07-19 09:44:25 +07:00
OpenStack Proposal Bot
154bcf785a Updated from global requirements
Change-Id: I8e10e36aa0a0d5a94cd2e3d78f931fc145c592ee
2017-07-18 01:59:33 +00:00
Jenkins
c16a826396 Merge "Fix error in containers.inc" 2017-07-17 21:14:48 +00:00
Jenkins
2fc4b19cfd Merge "Add unit test for kuryr network driver" 2017-07-17 17:05:48 +00:00
Hongbin Lu
563da72267 Support show/delete with all_tenants
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
2017-07-17 15:41:27 +00:00
Jenkins
acca7e0614 Merge "PCI passthrough device modeling" 2017-07-17 14:19:58 +00:00
ShunliZhou
2c115f0fc6 Add unit test for kuryr network driver
Add unit test for kuryr network driver

Change-Id: I7f4bf2683144b0359e28aa92ac8cf9b76406a5f6
Closes-Bug: #1704461
2017-07-17 15:21:38 +08:00
Jenkins
db8f4857fc Merge "Fix docs & specs erros." 2017-07-17 06:44:35 +00:00
miaohb
e9afac04c5 Fix error in containers.inc
This patch updates some return code in containers.inc according to
the current version.

Change-Id: I50a672295835e8d07b2cf78c5dfb6fd04b70b474
2017-07-17 08:53:09 +08:00
Jenkins
d2010e7983 Merge "Refactor networking code of docker driver" 2017-07-16 15:32:31 +00:00
Kien Nguyen
76057450b5 Fix docs & specs erros.
- 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
2017-07-15 16:10:06 +07:00
Jenkins
5e22975429 Merge "Introduce policy rule for all tenants" 2017-07-15 07:45:31 +00:00
Jenkins
b41d459b0e Merge "Add api-ref for container stats" 2017-07-14 21:57:18 +00:00
Jenkins
19fa3807b3 Merge "Revise the policy data" 2017-07-14 19:38:19 +00:00
Jenkins
36558bae05 Merge "cors: update default configuration" 2017-07-14 19:38:11 +00:00
Jenkins
6de96d5185 Merge "Add warning-is-error in setup.cfg" 2017-07-14 19:38:00 +00:00
Jenkins
ddaa5c4d77 Merge "Refactor create/delete sandbox code" 2017-07-14 15:42:04 +00:00
Jenkins
a06c82d7b8 Merge "Minor refactor of get_security_group_ids" 2017-07-14 15:41:54 +00:00
Jenkins
303a4433e0 Merge "Optimize connect_container_to_network" 2017-07-14 15:41:40 +00:00
Madhuri Kumari
4b489da4f7 Add warning-is-error in setup.cfg
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
2017-07-14 08:58:54 +00:00
Madhuri Kumari
6e48d31a72 Move the contributor related docs to contributor/ dir
Change-Id: I79d168e60758722af4c9c4a0df69efb1728e3bd6
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454
Partial-Bug: #1703442
2017-07-14 10:21:18 +05:30
Hongbin Lu
6d80dd6af4 Modify the Cinder integration spec
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
2017-07-14 11:10:49 +07:00
Jenkins
4c2f1ea5b6 Merge "Update URLs in documents according to document migration" 2017-07-14 03:21:36 +00:00