- Apr 06, 2017
-
-
Mohammed Naser authored
The example to pull images is incorrect, this patch addresses it and corrects it accordingly. Change-Id: Ice79e7f73d99c024781cb379d190f6d05e1a34a9
-
- Mar 05, 2017
-
-
Jeffrey Zhang authored
docker-py 2.0.0 is released with renaming docker.Client to docker.APIClient. and with a new python package name "docker" rather than "docker-py". This patch support docker and docker-py packages. Change-Id: Ib4400a4d2ce803191ee6215c5b28f0052970332c Closes-Bug: #1668346
-
- Feb 21, 2017
-
-
Chao Guo authored
A empty docker volume item will cause start_container to fail. This bug is not triggered in current kolla deployment scripts, but only if you pass a empty volume item to kolla_docker module. E.g. Using a if expression in items of volumes list while calling start_container. Like the one in start.yml of iscsi and cinder. Change-Id: I389246fb9650ab5304463e943459ecb68706167f
-
- Feb 16, 2017
-
-
Abel Lopez authored
There is inconsistent use of either `/usr/bin/python` or `/usr/bin/env python`. This makes for unexpected results when a user might be using a virtualenv. Change-Id: Ibb030f920a8869f9113ade70b66a921cc815060d
-
- Feb 08, 2017
-
-
Jeffrey Zhang authored
Security opt is disable when using host ipc or host pid or privileged[0]. [0] https://github.com/docker/docker/blob/master/daemon/create.go#L161,L164 Change-Id: I83d7c74aaeb5c59981c76464e69d5b5baa00fefb
-
- Feb 04, 2017
-
-
Mauricio Lima authored
Co-Authored-By:
Jeffrey Zhang <jeffrey.zhang@99cloud.net> Change-Id: I92c0757af6567cbb4ff338493df9931ebef3366c
-
- Feb 03, 2017
-
-
Jeffrey Zhang authored
bypass_checks is disabled by Ib2e19794bbe804470a880253d5870254041358c8 . But we use pid_mode: "{{ service.pid_mode | default('') }}" pattern in the yaml file. whereas pid_mode only support "host" value, this patch add '' as a choice of these two parameters. Change-Id: Ib83ed5e437ca868f0e42ce740ad1125d2fa48ff4
-
- Feb 02, 2017
-
-
Jeffrey Zhang authored
Recreate and start a new container when container parameter is changed in COPY_ALWAYS strategy. Change-Id: I1e45c0dc34a93a18b664109823d6fd5b88c331a2 Closes-Bug: #1659799
-
- Jan 25, 2017
-
-
Jeffrey Zhang authored
Change-Id: Ida7c955d9ddf7b7dc3289001958326c38c62d0c9 Partially-implements: blueprint better-reconfigure
-
- Jan 23, 2017
-
-
zhuzeyu authored
Replace the original code with required_if when Ansible 2.0 lands Change-Id: Ib2e19794bbe804470a880253d5870254041358c8
-
- Jan 20, 2017
-
-
Jeffrey Zhang authored
Docker v1.25 api now validates restart policies[0] [0] https://github.com/docker/docker/blob/master/docs/api/version-history.md Change-Id: Idc90cb99cf38ab1e637568ee5dbe5adcb2fa5b78 Closes-Bug: #1657946
-
- Jan 02, 2017
-
-
Jeffrey Zhang authored
Partically-implements: blueprint better-reconfigure Change-Id: I89e30e8b87f24a621c521d915842a4af0042d6fe
-
- Nov 25, 2016
-
-
Paul Bourke authored
When using stream=True with docker-py it returns byte arrays rather than strings. Change-Id: I8eb6707ba2b122cf779135173abafe874b7223d2 Closes-Bug: #1643740
-
- Nov 09, 2016
-
-
maniram477 authored
The parameter "required=True" is mistyped as "requried=True" in ansible/library/kolla_docker.py and tests/test_kolla_docker.py Closes bug: 1640423 Change-Id: I64c333275b9eb3eff5b1c0fa5d550f478e68020d
-
- Sep 26, 2016
-
-
Sajauddin Mohammad authored
Current implementation has docker_restart_policy "always" and docker_restart_policy_retry:"10" which should be mutually exclusive. "unless-stopped" will restart the containers on any exit state but not start on daemon startup if container was put to stopped state before. Closes-Bug: #1621187 Change-Id: I4d881cd123a55625121b7a9047385e9b54e2e129
-
- Aug 04, 2016
-
-
Lu lei authored
Fix a spelling error, and modify some words. TrivialFix Change-Id: Ieb55bd2679291ab61080b55feaaaf3c494939978
-
- Aug 02, 2016
-
-
MD NADEEM authored
Change-Id: I354d7350671bf6a6d6fb432b074144b4e02cd154 Closes-Bug: #1608841
-
- Aug 01, 2016
-
-
Jeffrey Zhang authored
After docker 1.12, the RepoTags will be None rather than [] in the image list API. This PS will handle the both case. Change-Id: Ie2da44b44229c2f190550755b50876f607f9cc0c Closes-Bug: #1608358
-
- Jul 26, 2016
-
-
qinchunhua authored
Replace dict.iteritems() with dict.items(). The Python 3 dict type has no iteritems() method, the old iteritems() method was renamed to items(). TrivialFix. Change-Id: I2137e72554fd16d2c70e50306e4f57d27e35bcd3
-
- Jun 28, 2016
-
-
MD NADEEM authored
Change-Id: I44a5ba649d73f4ca2d48065625c8d67445576944 Partially-Implements: blueprint ansible-unit-tests
-
- Jun 27, 2016
-
-
MD NADEEM authored
Change-Id: I1d59ed9089def808bab31d97ba4cba9e8592b568 Closes-Bug: #1595814
-
- May 31, 2016
-
-
Jeffrey Zhang authored
The traceback is logged also and will be helpful when the library failed. We can get which line is failed from the log. TrivialFix Change-Id: Ia417232007e2f34c83d2e7cad6ed08dee49ce836
-
- May 30, 2016
-
-
Jeffrey Zhang authored
Ansible 2.1.0 has lots of change and the plugin is not compatible between 2.0.0 and 2.1.0. This change fix the gap. * fix the signature change for _make_tmp_path in ansible 2.1.0 * fix the common_options in the kolla_docker.py Change-Id: I05f5f05581c8bd625cd868fa0db549d0c60a7043 Closes-Bug: #1586018
-
- May 24, 2016
-
-
Jeffrey Zhang authored
DocImpact Change-Id: I3cdfbf84919de80f535c030bd146787ecda40dec partial-Implements: blueprint ansible2
-
- May 03, 2016
-
-
Serguei Bezverkhi authored
This patch adds ability to specify required capabilities and security mode for a specific docker container. Change-Id: Ib8c15a8e354178bedd31ebb31a64618431f0e135 Closes-Bug: #1572648
-
- Apr 13, 2016
-
-
Jeffrey Zhang authored
When image id is the same, the container won't re-create with the latest image tag. Change-Id: I402ad275c388006248cb559851b01b0b963cf170 Closes-Bug: #1569723
-
- Apr 11, 2016
-
-
Carlos Cesario authored
As suggested it was created the variable KOLLA_SERVICE_NAME to identify the container service name through PS1 shell variable. This method it was previously discussed in IRC. https://goo.gl/k7AdEg The other option it was usage hostname param in kolla_docker, but currently docker does not support it due this issue: https://github.com/docker/compose/issues/2460 The final result is like this: $ docker exec -it heka /bin/bash (heka)[heka@kolla-control /]$ $ docker exec -it mariadb /bin/bash (mariadb)[mysql@kolla-control /]$ More details can be accessed through this link http://paste.openstack.org/show/493689/ Closes-Bug: #1557454 Change-Id: I6aab8d640a8ebb17baa9d6d4f1edd6e331674713
-
- Mar 26, 2016
-
-
Jeffrey Zhang authored
Change-Id: Ia5bcfa7253fc5a471a089339c52883af05623068 Closes-Bug: #1562345
-
Nguyen Hung Phuong authored
TrivialFix Change-Id: I21f51811ec4256d9b6b2e219de6201e4811dfc5a
-
- Mar 16, 2016
-
-
Serguei Bezverkhi authored
This change will enable to lvm commands running in a container communicate with udev process running on a host. Partially-Implements: blueprint iscsi-lvm2-docker Change-Id: If780710bb81adaee44ce0d291e22ce91ec6436aa
-
- Mar 09, 2016
-
-
Rodolfo Alonso authored
A change in docker-py made this fix needed, to allow to create env variables with empty values. Change-Id: Ife6dfc242b600fe386c02dd23d6a142b25c86567 Closes-Bug: #1554126
-
- Mar 07, 2016
-
-
Steven Dake authored
The new image doesn't have an existing old image, so it ends up not existing. In this condition, we know that we are dealing with a version change upgrade. TrivialFix Change-Id: Ic2f83c2bb6c34731b60b3430ba66a6324439f0a9
-
- Mar 01, 2016
-
-
Jeffrey Zhang authored
add three actions used for reconfigure * restart_container * get_container_env * get_container_state Partially-implements: bp kolla-reconfig Change-Id: I63609ce47f044926ff276ab1188b10f44270a0b5
-
- Feb 19, 2016
-
-
Michal Jastrzebski authored
This creates tree and playbook for nova upgrade. Also other service upgrades will follow standard setup here. Change-Id: Ic31759efaee4986eb87b9ff0968f13189d130d48 Partially-Implements: blueprint upgrade-kolla Implements: blueprint upgrade-nova
-
- Feb 17, 2016
-
-
Éric Lemoine authored
This commit fixes a bug in kolla_checker.py where the check_volume function will raise "TypeError NoneType object is not iterable" if there are no existing volumes. TrivialFix Change-Id: Ic57c339793fa532ed8db075ba1074db75106e36d
-
- Jan 28, 2016
-
-
SamYaple authored
With the switch to named volumes we run into a few situations where we cannot bootstrap volumes like we used to. This labels param will fix that as the next patchset shows. Change-Id: Ia93166dd204c5c0d1a0eb9ffeb6d0aba486e269a Partially-Implements: blueprint docker-named-volumes
-
SamYaple authored
Co-Authored-By:
Sam Yaple <sam@yaple.net> Change-Id: I066b2d419abb3ef2d4827ce686865c0dc68a5e97 Closes-bug: #1537763
-
- Jan 04, 2016
-
-
Jeffrey Zhang authored
Closes-Bug: #1530649 Change-Id: I74191c711d1e5c27d33011be4d5528fe08c14273
-
SamYaple authored
Change-Id: Ic236371cdf545a09e8a3c9e41abd7eb82a3d8bb3 Partially-Implements: blueprint kolla-docker-module
-
- Jan 03, 2016
-
-
SamYaple authored
Change-Id: Iabb08fee7ce0d1b6e5364075bcd5e12255ee83b7 Partially-Implements: blueprint kolla-docker-module
-