Commit Graph

277 Commits

Author SHA1 Message Date
Davanum Srinivas 64426d814b Step #2 - Retiring Nova-docker : Remove Project Content
Depends-On: I7adcc29cac151ec55f6cc322a880189e0e827db1
Change-Id: I0f46c700c8c6a6495ebb64e9976218bc2fb83b65
2017-02-08 12:29:40 +00:00
zhangguoqing 034a4842fc add active_migrations attribute to DockerDriver
1. For passing the nova unit tests about the active_migrations attribute.
2. Fix test_get_dns_entries DNS IPs that changed from nova.
3. Add conf path to netconf that changed from nova.

Closes-Bug: #1584741
Closes-Bug: #1582615

Change-Id: Iaab7e695055f042b9060f07e31681c66197b8c79
2016-05-24 02:17:46 +00:00
OpenStack Proposal Bot e4da579759 Updated from global requirements
Change-Id: I88bd7d1c05524843b1fddbfc879ad0999b1d0590
2016-04-15 14:07:56 +00:00
Alessandro Pilotti 54b3791a25 Adds Windows support
Windows Server 2016 includes support for containers
and Docker. This commit adds portability support
for running nova-docker on Windows.

Co-Authored-By: Alin Balutoiu <abalutoiu@cloudbasesolutions.com>

Change-Id: Iabd667dd6ed0b1ecb277f527bff1c6a1ce51ecea
Implements: blueprint windows-docker-support
2016-04-14 17:37:17 +03:00
OpenStack Proposal Bot 8cdafd4e81 Updated from global requirements
Change-Id: Ibfbb8024cae32116c85b20178c2e1cee7183182f
2016-04-12 23:12:34 +00:00
OpenStack Proposal Bot d5e91cda2f Updated from global requirements
Change-Id: I3b36c5b730727537517450485b661a1b07279839
2016-04-08 06:36:42 -04:00
Alvaro Lopez Garcia 7a44a97468 Fix vlan detection in vif driver
The vif driver was not checking properly if the network was relying in a
VLAN, therefore it failed to spawn containers whenever VLAN mode was
used.

Closes-Bug: #1560951
Change-Id: I3b6bb5f122a94db40ba32cdb8715dd347bbb73a8
2016-03-23 13:32:13 +01:00
Davanum Srinivas 0f02ddd567 Deal better with test_live_migration
base class throws NotImplementedError, so we should skip
this test.

Change-Id: I6d114ad9884b4e41468068f87f2a18034c4836e4
2016-03-17 20:33:49 -04:00
Jenkins 7e55fd551e Merge "Better debug install_docker.sh failures" 2016-02-27 03:16:46 +00:00
Davanum Srinivas 8a4bfb8059 Better debug install_docker.sh failures
Change-Id: I01bd531cd0d11157a6b6253e402f02bf78c573fa
2016-02-26 10:53:33 -08:00
Jenkins 4da84aff5e Merge "Add docs to tox" 2016-02-26 18:52:50 +00:00
OpenStack Proposal Bot d5ebaf9836 Updated from global requirements
Change-Id: I832a4f4811f3ce8a505f0004c6c96921fa9d120b
2016-02-26 01:51:40 +00:00
OpenStack Proposal Bot a1a8facfed Updated from global requirements
Change-Id: I5950e397f736c4c2af2fba38140e57c23522ac41
2016-02-24 08:35:57 +00:00
zhangguoqing 1b0d76c584 Add docs to tox
In order to know about nova-docker, we can use the command
'tox -e docs' to build nova-docker documents conveniently.

Change-Id: Ib172c71c7cb94f83a497112496787a5344ea9a47
2016-02-22 23:41:52 +08:00
OpenStack Proposal Bot d887358d73 Updated from global requirements
Change-Id: Ib412730f8e58b3409e9361aebbda30a6249207aa
2016-02-20 21:59:06 +00:00
OpenStack Proposal Bot bdfa159a8f Updated from global requirements
Change-Id: Ibdee9723e970e3f533aee7084f26193473947453
2016-02-16 21:54:27 +00:00
Jenkins 905679cac2 Merge "When creating a container wait for network events" 2016-02-01 12:02:10 +00:00
Jenkins fe9d53cd50 Merge "Updated from global requirements" 2016-01-29 01:55:19 +00:00
Davanum Srinivas 1f09d43b63 Convert old code in extras.d into devstack plugin
extras.d is no longer supported, we need a devstack plugin that
can be used for installing docker service

Change-Id: I0f68cd8819f01398a3d7421f7a06a9540349391b
2016-01-28 17:47:04 -05:00
Davanum Srinivas 711390ef3c Get Tempest DSVM back on its feet
* External devstack plugin hosted on my github account, will try
  to fold it back into nova-docker in a subsequent review
* Remove extras.d as the devstack/devstack-gate no longer supports
  extras.d
* Pull the cirros image from ewindisch's repo
* supported_instances is now a Nova object, so switch syntax
* Add some log/debug in driver.py to trace image loading

Change-Id: Ib5c6751b10fc3fb8fef2f3647c514f6d833a5597
2016-01-28 16:34:20 -05:00
OpenStack Proposal Bot cb731e6d80 Updated from global requirements
Change-Id: Iac27e2feda95f82a70d14ff354f1470014701782
2016-01-26 23:27:23 +00:00
OpenStack Proposal Bot 848f4f339a Updated from global requirements
Change-Id: I65b3f57d8d2f0ac21917ee8d55c376677b9645a4
2016-01-25 19:01:51 +00:00
Davanum Srinivas 28c4f1ef0d compute: convert manager to use nova.objects.ImageMeta
All nova drivers had to be fixed to support this change:
I75465a2029b53aa4d338b80619ed7380e0d19e6a

Change-Id: I9690a3549313368fa65669b922d7df60f0ccb414
2016-01-24 17:37:59 -05:00
rossella 9e977f700f When creating a container wait for network events
This patch adds a way to wait for Neutron to
confirm that the vif was plugged when creating a
container, similar to what's done in the nova libvirt
driver.

Change-Id: I17f295611046f352a82104984ea59a4465b989f6
Closes-bug: #1536546
2016-01-21 13:28:04 +00:00
OpenStack Proposal Bot 7a9e71380d Updated from global requirements
Change-Id: I16470774ce28233e0d31a15bfaca7e4d9dfb03b1
2016-01-16 03:30:36 +00:00
Jenkins facac0e8c3 Merge "Remove MANIFEST.in" 2016-01-15 19:09:19 +00:00
Jenkins 219d52aef3 Merge "py26/py33 are no longer supported by Infra's CI" 2016-01-15 19:09:11 +00:00
OpenStack Proposal Bot 6f2cd6b21e Updated from global requirements
Change-Id: I4c98d856d83c60119c91aac5840e5b40ebf6f94e
2016-01-06 23:18:02 +00:00
zhangguoqing 7232915a72 Remove MANIFEST.in
This not needed any more because manifest is now managed by pbr.

Change-Id: I02d9790db340046f8be16e57a63b0a05b3713c94
2016-01-05 01:37:46 +00:00
janonymous 05ffef18cd py26/py33 are no longer supported by Infra's CI
Python 3.3/2.6 support would be dropped by
Infra team from mitaka,CI would no longer be testing it,
so projects should drop it also.

Change-Id: If5662f101340ae0e4b892b65ea285f5979441b61
2015-12-26 14:17:43 +05:30
Doug Hellmann c99ee0c7e2 remove python 2.6 trove classifier
OpenStack projects are no longer being tested under Python 2.6, so
remove the trove classifier implying that this project supports 2.6.

Change-Id: I3bd20fb498b0512d09aa96e31beba73016f6c6e9
2015-12-23 01:31:13 +00:00
OpenStack Proposal Bot 49139f4bd1 Updated from global requirements
Change-Id: Id150749b0f54868122bb75972e0c3fe4ba45b6db
2015-12-15 18:58:39 +00:00
OpenStack Proposal Bot 666f5922bf Updated from global requirements
Change-Id: I2fb42fa563b551493269e3e720fe827c691e4ea5
2015-12-11 15:23:03 +00:00
Jenkins a21b7bc016 Merge "Disable TSO for Docker network interface" 2015-12-02 15:12:33 +00:00
ChangBo Guo(gcb) f1022407b1 Use version convert methods from oslo_utils.versionutils
We switch to oslo_utils.versionutils in Nova master branch in commit
26635e7c49daa8cdaa874b65b10bd0eecb5ff1f6, Let's also do this in
nova-docker.

Change-Id: I0aedde8dde818dc0b7c9afe724b106d7cdc09ea7
2015-11-30 22:06:37 +08:00
Abel Navarro f42f4886dc Disable TSO for Docker network interface
This patch disables TSO (TCP Segmentation Offload) for the Docker
network interface.

Change-Id: Iafbd51bd47909c5365eadea5161b41c291bdd639
Partial-Bug: #1519357
2015-11-27 13:31:04 +00:00
zhangguoqing 95b914ec30 Remove redundant pipe in command line
When save docker image to Glance directly, the command line has
a redundant 'docker save busybox' pipe. This patch removes it.

Change-Id: I64a2efcf9d1a7339baaf8817dfea929e6d9dbfd4
2015-11-24 08:27:35 +08:00
OpenStack Proposal Bot 13a82358ba Updated from global requirements
Change-Id: I68c449597f8253d2b9f7c94f1ec410c899f03172
2015-11-19 15:59:49 +00:00
OpenStack Proposal Bot bf6e437d6d Updated from global requirements
Change-Id: I8189251795417ef95395eed825b13eb2aef4df5f
2015-11-09 12:32:50 +00:00
zhangguoqing 8781293d94 Update for new namespace, stackforge -> openstack
About .gitreview and contrib

Change-Id: I0b615d81d79b15835c530d64a8190b63de009194
2015-11-08 09:08:47 -05:00
Jeremy Stanley 06205914c1 Update .gitreview for new namespace
Change-Id: Ib866866d8299ddacb2d57de1fc9197196e9e62e2
2015-10-17 22:33:10 +00:00
OpenStack Proposal Bot 9d09e06bd3 Updated from global requirements
Change-Id: Idb0ffb1feb30ebfca1638ca000ac47318dee26a4
2015-10-16 01:17:01 +00:00
yanyanhu 4336d50f9c Update README.rst
The example for docker image creation in README.rst is out of date
since 'is-public' option has been replaced by 'visibility' in
latest python-glanceclient. This patch updates related description
to use openstackclient to create example docker image. Also the
glance image-update needs image id rather than name as positional
argument. This patch fixes related description.

Change-Id: I27ce7c9c4cfaa96d0e517b02ae346c5601e40444
2015-09-28 05:31:21 -04:00
lqslan 33643b24a1 Find container by uuid instead of by name
Currently, when boot a container, novadocker will create the container firstly,
then attach the interface, this step novadocker will loop to inspect all the
containers to find the right one. This takes too much time and docker connections.

This patch use find container by uuid instead of by name, this way would save much
time and connections.

Change-Id: I1cdf672e99b269b1f7e18d1a73a6557c7eb0540a
Closes-Bug: #1497949
2015-09-23 06:53:37 -04:00
Jenkins 60b3b2422e Merge "Updated from global requirements" 2015-09-22 13:16:30 +00:00
Monty Taylor b168675504 Change ignore-errors to ignore_errors
Needed for coverage 4.0

Change-Id: I3502920f892234ef65f378a190cb726b724356ef
2015-09-21 15:01:30 +00:00
OpenStack Proposal Bot fc1fa8876b Updated from global requirements
Change-Id: Id102fb1695a40d4cfa494c36be153ecf7d96cb52
2015-09-17 12:18:16 +00:00
Jenkins 091fc51636 Merge "Up lo device when start container" 2015-09-11 23:50:12 +00:00
lvdongbing 005921b074 Up lo device when start container
Sometimes container's lo device is down, it causes some application
using localhost not work, maybe it's better to up lo device when
start container.

Change-Id: I2808c93e59d3c514854b79ac0f24ce3b9608dac1
Closes-Bug: #1494150
2015-09-10 21:06:38 -04:00
wanghuagong 20a5e13d2a Make "privileged" configurable and pass it to docker client.
Change-Id: I825567a7eb6b354100a3fd8982a1f0adad5e1fee
2015-09-09 15:25:28 +08:00