Commit I34e5e49ae650219f986a2b0032df65672c319ec6 tried to fix mem_limit
not passed to docker when create container for docker API vesion >=1.19
in a wrong way, this patch fixes it by passing Memory unit to host_config
Closes-Bug: #1567834
Change-Id: Id8da5e40cf165317a9a5453036490cc028bd2e0d
Co-Authored-By: Spyros Trigazis <strigazi@gmail.com>
In our specs we not correctly reference as rst format, which
is not good to display well for readers.
Change-Id: Idca82ae3b2b447a40870b38b820c008db219165b
The constraints environments are not used at all, they have been
obsoleted everywhere in OpenStack. Remove them completely.
Now the normal jobs can use constraints - as magnum already does.
Change-Id: Iecec444fba59923c7894c1fd2a90aebbfdc4724d
In Ia400b5b6919753d6241233a6666a2c30c7618bc9, we are
adding a new library to global requirements. This
python-k8sclient library essentially has the same
code that was in Magnum so it's a straight replace.
Change-Id: Ib85bcf532e4163d5c1ac95ef701a1ec3133b69eb
It seems Magnum gate often broke after switching to neutron-lbaas
devstack plugin. To fix the gate, we remove the plugin for now.
We need to add it back once the issue is resolved.
Change-Id: I777c147a34e32a98592d5f5d8229763cceeb83e7
The Magnum functional tests currently use a DNS server setting of
8.8.8.8 when configuring nodes in a cluster. In some environments,
this DNS server setting doesn't work. When this is the case, and
functional tests are run locally, bay creation times out and the
functional tests fail.
This patch enhances the functional tests to allow configuration of
DNS nameserver to be used in baymodels that are created in
functional tests.
Change-Id: I958d199565ae5741dd6f4b8764e51ea16a8d505b
Closes-Bug: #1570543
Partial fix for problems output by checkbashisms for file
magnum/templates/kubernetes/fragments/write-kube-os-config.sh only.
Change-Id: I68b021da63b6c2d058053023a4fa26d643f0134b
Partial-Bug: #1561232
neutron-lbaas has been removed from devstack:
https://review.openstack.org/#/c/195329/
Magnum needs to use their devstack plugin instead.
Change-Id: Id112c6859fd2b83d6f8864d6bdd9d7aaf3382f2e
Depends-On: Ia9cc4c40b41db1159ad6fd3c4ec1b17b502e0f5b
Fix gate broken, we keep project configs in gate_hook.sh so we don't
need to subumit requests to project-config and wait for their
approval
Change-Id: Ia9cc4c40b41db1159ad6fd3c4ec1b17b502e0f5b
Partial fix for problems output by checkbashisms for file
magnum/templates/swarm/fragments/write-docker-service.sh only.
Quoted variable as recommended.
Change-Id: Iadcd3435b39ad7bd2575bbf838add1c22b04944f
Partial-Bug: #1561232
After this patch is merged, docker registry will be available.
We can push docker images into local repo on a bay node.
Change-Id: I1245bde7ef3173226617e60e6436759f433eb464
Partially-Implements: blueprint registryv2-in-master
Partial fix for problems output by checkbashisms for file
magnum/templates/swarm/fragments/configure-docker-storage.sh only.
Change-Id: I6fc8c789a2b5a1838c0ae98521e236c80a199323
Partial-Bug: #1561232
From http://logs.openstack.org/64/302064/6/check/
gate-magnum-python27/6c92a13/console.html the log clearly
said bay-xx-xx-xx-xx is an invalid UUID. Using UUIDFields
with invalid UUIDs is no longer supported, so in our test
let's use real UUID case for that.
Change-Id: I0f3dbd8748293741cb5501365aee710220eb3ea0
Co-Authored-By: Spyros Trigazis <strigazi@gmail.com>
In order for automated image builds to run, create
this script that can be called from magnum jobs, to
install needed dependencies for diskimage-builder
and fedora-atomic builds.
That script will be run on the VM that will be
spinned to run the image builds, targetted for ubuntu-trusty.
Change-Id: Icf5a2c79e47e632be2ac49bc9ccc528b4f604eb2
Implements blueprint fedora-atomic-image-build