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
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
The usage of ca-show and ca-sign have been changed in [1].
So we should update the doc.
[1] https://review.openstack.org/#/c/303272/
Change-Id: I14d98da2560e73e6d2f5cb64b089cc904974c8c5
New image on 4/5 has Kube version 1.2.0
For Kubernetes bay, the scheduler, controller and proxy
are run from container, not from Kube binaries in the
image. The version for these containers are currently
hardcoded in the Heat template as 1.0.6, so update to
the new version 1.2.0. Otherwise, the scheduler and
kubelet would not work properly with the mixed versions.
There is a patch under review to expose the Kube version
as a label:
https://review.openstack.org/#/c/295655/
Implements: blueprint atomic23
Change-Id: I46be4038b62be202ba670749e0a5c6663eeb12d3
* Rename tenant to project in functional test In particular,
rename "admin_tenant_name" to "admin_project_name" and
rename "tenant_name" to "project_name". These configs have been
renamed in tempest [1], so Magnum needs to adapt the change.
* Temporarily remove "subjectAltName" from CSR config, because
it caused failure of certificate signing, possibly, due to a
bug or imcompatible change in pyOpenSSL 16.0.0.
[1] https://review.openstack.org/#/c/301167/
Change-Id: I41438cbfaefd9d04d7e73a4f46f5ece1494b349c
Closes-Bug: #1568212
Closes-Bug: #1567691
In flanneld version 0.5.4(on fedora-atomic-23 iamge), the default flannel
etcd key changed from /coreos.com/network to /atomic.io/network.
Use $FLANNEL_ETCD_KEY in /etc/sysconfig/flanneld for debugging.
Change-Id: I13e26061b7a6b33878f90834eacde9c4bc6e72d7
It looks the official Fedora mirror is unstable right now, so we
uploaded the image to fedorapeople. This is a temprorary solution.
Once the official mirror become stable, we switch back to it.
Note: alt.fedoraproject.org seems to have a newer image and
the official mirrors (download.fedoraproject.org) do not seem to have
gotten the new image yet. So when download.fedoraproject.org
redirects (302) to a mirror the image does not exist there. We can
pull image from alt directly, but we opted for using fedorapeople as
we don't want to introduce load on alt.
Co-Authored-By: Hongbin Lu <hongbin.lu@huawei.com>
Closes-Bug: #1567124
Change-Id: I441898d846d1768b9723b293196b5339271a377e