Commit Graph

38 Commits

Author SHA1 Message Date
Michal Nasiadka fa5aa8f625 Drop k8s_fedora_ironic_v1 driver
Change-Id: Ic7114e5923b74a4202a043388701826b4e47326e
2024-02-05 08:14:56 +00:00
Michal Nasiadka 5c0c27807a Drop k8s_coreos_v1 driver
Change-Id: I64884677cf05c59c64988dfbee9bf22e97a3466b
2024-02-05 07:04:05 +00:00
guilhermesteinmuller 6e8657912c Drop Mesos code
The coe mesos has not been maintained for quite some
time and hasn't got much attention from the community
in general. As discussed in the mailing list [1] we
are dropping for now.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-December/026230.html

Co-Authored-By: jake.yip@ardc.edu.au

Change-Id: Ie7de9a37bfad6214f52d0605409e74d62a51df47
2023-03-07 14:02:05 +11:00
Spyros c1c9942f8b fcos-k8s: Update to v1.22
* change rbac.authorization.k8s.io/v1beta1 to v1
  * update metrics-server
* change storage.k8s.io/v1beta1 to v1
* drop kubelet-https
* update to FCOS 35

story: 2009828
task: 44416

Signed-off-by: Spyros <strigazi@gmail.com>
Change-Id: I24b89366a4a8e8bc4c90f6a85ef6de2ac77dae1d
2022-02-03 13:59:32 +00:00
Bharat Kunwar 9fedb8fe43 [ci] Use Fedora CoreOS image for devstack plugin
Story: 2007561
Task: 39478

Depends-on: https://review.opendev.org/#/c/721213/

Change-Id: I05caa60fd0180e20003f876fd439b6f421e50ff3
2020-04-21 19:52:14 +00:00
Feilong Wang 703de97cd4 Using Fedora Atomic 29 as default image
Fedora Atomic 27 has end of life for a while, it's time to replace it
with Fedora Atomic 29 now.

Task: 36356
Story: 2006441

Change-Id: Iab131745854b0b908be17bd17c7510cd54dde1f5
2019-08-24 09:37:35 +12:00
Ian Wienand ae6933ffce Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Ie288c147a3cbdd19abd257bf14972c316db6d67c
2019-03-24 20:34:05 +00:00
Mohammed Naser d16479709a functional: bump atomic version to latest
This patch brings the Fedora Atomic version used in gating to
the latest one which includes some improvements alongside a newer
version of Docker (which seems to run things better overall).

Change-Id: Iad0a1f57b29aec9a0cdb2a104fdaa5970133cfb4
2018-12-08 22:16:42 -05:00
Julia Kreger 547f9309a1 Minor fixes to re-align with Ironic
Ironic has evolved and a few items were no longer correct
in the contributed scripts for use with ironic.

Additionally a database workaround was fixed, and as such
commented out.

Change-Id: I105791985973e8348d43d41982ac7ba3e0cf970c
2018-10-23 09:34:51 -07:00
Spyros Trigazis d95ba4d1ff Run etcd and flanneld in a system container
In Fedora Atomic 27 etcd and flanneld are removed from the base image.
Install them as a system containers.

* update docker-storage configuration
* add etcd and flannel tags as labels

Change-Id: I2103c7c3d50f4b68ddc11abff72bc9e3f22839f3
Closes-Bug: #1735381
2018-02-22 12:30:27 +00:00
Spyros Trigazis 4fb91cc109 tests: Use swarm-mode for api tests
* Swarm-mode is the fastest cluster to deploy since it doesn't
  require to pull anything from outside.
* Add the output nodes for swarm-mode too.
* Disable copy logs (I think a better practice is to copy logs
  on demand).
* Don't run test_create_list_sign_delete_clusters, because it is
  very unstable on the CI.

Partially-Implements: blueprint swarm-mode-support

2nd commit message:

Update to Fedora Atomic 26

This patch moves the current master to test against Fedora Atomic 26,
in addition, it switches to downloading from Fedora mirrors.

2nd-Change-Id: I9a97c0eb78b2c9d10e8be1501babb19e73ee70c1

3rd commit message:

Set default iptables FORWARD policy to ACCEPT

With the release of Docker 1.13 which is available in Fedora
Atomic 26, it no longer sets the policy of the FORWARD chain
to ACCEPT[1].  Therefore, CNI networking such as Flannel will
cease to work.

This patch sets the policy to ACCEPT so that traffic can work
once again for deployments which are based on Docker versions
which are newer than 1.13

[1]: https://github.com/moby/moby/pull/28257

3rd-Change-Id: I1457602748619f38f87542fc01a2996ee80e58b7
Closes-Bug: #1708454

Co-Authored-By: Mohammed Naser <mnaser@vexxhost.com>
Change-Id: I86d4dcc94fff622be4ee2acc8dd60ed81bc5d433
2017-08-21 05:30:09 +00:00
yatin 4b9e8db8a5 [Fix ironic gate] Use IP_VERSION=4 in devstack local.conf
Ironic to work with magnum, requires devstack to be
configured with IP_VERSION=4.

Change-Id: I263373db15bff77405d7509e0d1f94316c4f0cfd
2017-07-17 06:58:37 +00:00
Spyros Trigazis 4fdee1f6c4 ci: Remove *_ssh ironic drivers
Mitaka branch is EOLed. The Ironic team is going to proceed with
removal of SSH-based power and management drivers for virtualized
HW which were deprecated back in newton release.

http://lists.openstack.org/pipermail/openstack-dev/2017-July/119284.html

Change-Id: I7351573a20f3835f481ab1973b6439d8ca2b8f60
2017-07-06 11:04:16 +02:00
Jenkins 8ac9ce828a Merge "Ignore: Try pxe_ipmitool since vbmc is used" 2017-05-20 19:20:35 +00:00
yatin ecded75c32 Ignore: Try pxe_ipmitool since vbmc is used
k8s-ironic jobs are failing since long, pxe_ssh is deprecated,
so try pxe_ipmitool.

Change-Id: I48ba8ba4d10a616eb7b482e48ed4a83c3d0acf09
2017-05-19 17:15:17 +05:30
yatin 34efcdfcaf Use 'virt_type=kvm' in devstack vm if supported
If the devstack vm supports nested virtualization we should
use it.
This can done using by setting: DEVSTACK_GATE_LIBVIRT_TYPE=kvm.
This will increase the performance in gate jobs.

Change-Id: I2439de036dfec2ada3c92c2d4b71c73b5f41a518
2017-05-17 21:37:20 +05:30
Jenkins de8567d054 Merge "Update Fedora images" 2017-04-12 11:00:39 +00:00
Spyros Trigazis 2b83962cad Fix gate: Revert mesos image to ocata
Revert the ubuntu-mesos to ocata to unblock the mesos job.

Change-Id: I145e0e15dc93923b93144682839e8fa9d24772db
2017-04-06 18:24:21 +02:00
Spyros Trigazis c5a4a18104 Update Fedora images
New release of Fedora Atomic [1].
The new release of Fedora Ironic includes the same
packages.

Main changes:
Kubernetes 1.5.3
etcd 3.1.3
Plus several fixes and version bumps.

Add :Z when mounting certs in the swarm containers to set
selinux labels properly.

[1] http://www.projectatomic.io/blog/2017/03/fedora_atomic_mar28/

Closes-Bug: #1677664

Change-Id: I2539ae83401db5b34716ebd4bbdfbe288f5c768b
2017-04-03 08:52:12 +02:00
yatinkarel bfa10bf202 Fix: mesos gate tests
Recent change in Infra [1] makes use of local.conf instead of
localrc. Use DEVSTACK_LOCAL_CONFIG to pass the MAGNUM_IMAGE_URL.

[1] https://review.openstack.org/#/c/326585/

Change-Id: I0426cd0aba64a3f4cc595a0919320adbbc86d5f0
2017-02-24 09:55:30 -05:00
Spyros Trigazis 0d58cf4dbe [mesos] Use latest build for mesos image
After changes in the heat-agents [1] the auth calls of the nodes
to heat were failing. The mesos image that was used was missing
chnage [1].

Update to ubuntu-mesos daily builds.

[1] https://review.openstack.org/#/c/397232/1

Closes-Bug: #1662280
Change-Id: I06ab3f7a92f06a7eddf297c5ecd2bf2e35f3728b
2017-02-06 19:00:21 +01:00
Spyros Trigazis d2532a3af2 Upgrade to Fedora 25
Atomic image contains:
kubernetes-1.5.2-2.fc25.x86_64
docker-1.12.6-5.git037a2f5.fc25.x86_64
flannel-0.5.5-8.fc25.x86_64
etcd-3.0.15-1.fc25.x86_64

The ironic image contains exactly the same packages.

* For this upgrade the upstream image is used, which is
  uploaded here [1].
* Minor changes for flannel and docker-storage-setup
  were needed.
* The image will be built in the CI and uploaded to
  tarballs.openstack.org as soon as possible.
* Ironic image [2].

Notes:
* docker-storage-setup config changes were needed because in
  the previous images it was disabled and it was started by us.
* We can have selinux enables in containers since the images
  have kernel 4.9.x.

[1] https://fedorapeople.org/groups/magnum/fedora-atomic-25-latest.qcow2
[2] https://fedorapeople.org/groups/magnum/fedora-25-kubernetes-ironic.tar.gz

Change-Id: Iac6e30c530821a49a5c3978e335e0b1d56a576e0
2017-01-26 15:40:34 +01:00
Mathieu Velten dfac6e88b9 Change gate Fedora Atomic image to the automated f24 build
The new image includes:
kubernetes-1.2.0-0.26.git4a3f9c5.fc24.x86_64
docker-1.10.3-26.git1ecb834.fc24.x86_64
etcd-2.2.5-5.fc24.x86_64
flannel-0.5.5-6.fc24.x86_64

Change-Id: I5bf6c5ce775d937cc656d4da678ce2a2a33c9dab
2016-12-12 17:55:35 +01:00
Monty Taylor ff6514f5bc
Disable horizon, ceilomter and swift in gate hook
If the services are disabled in the devstack/settings file, it disables
them for everyone who uses the magnum devstack plugin. Some people (like
shade) use both magnum and swift to test things. Putting this in the
gate hook means it's used in all of magnum's jobs, but not in other
people's jobs.

Change-Id: Icd82a4ab68533f39f967575c2125b0f61c70e0a6
2016-12-09 13:44:27 -06:00
Spyros Trigazis 67d71104bb Disable horizon, swift and ceilometer
Swift Ceilometer and horizon are not used. Disabling them
it will give us space.

Cleanup disabling of octavia and neutron/lbaas.

Closes-Bug: #1646870
Closes-Bug: #1648148
Change-Id: I4b177421f0eb0a058b8927b9d2dd12865d3c920e
2016-12-07 17:36:12 +01:00
Spyros Trigazis 04cb27c580 Disable lbaas from ci tests
Disable lbaas and octavia since we run only non lbaas tests.

Change-Id: Ib7ba661987e609e87b9239cf2c23c29485dc24a5
Partial-Bug: #1646870
2016-12-02 17:19:08 +01:00
Hongbin Lu 31d04e312d Update name of ubuntu-mesos image
Update the gate and docs to use "ubuntu-mesos-latest" instead of
"ubuntu-14.04.3-mesos-0.25.0.qcow2". The intent is to make the
image upgrade easier (by using a static image name). In fedorapeople,
a soft link was created from "ubuntu-mesos-latest.qcow2" to
"ubuntu-14.04.3-mesos-0.25.0.qcow2"

Change-Id: I544773d184e5436843595dbfd9ab118b99870281
2016-09-21 14:14:31 -05:00
OTSUKA, Yuanying 38059d53f9 Fix the order of enabling devstack plugin
The order of enabling devstack plugin is important if project
has dependency of other projects.
Magnum has some dependency of projects, so this patch fixes
the order of enabling plugin.

Change-Id: I733e061fab4ed40fd00bfb017d9c2835c49f6a8f
2016-09-15 17:16:59 +09:00
rabi 719018e9cb Use heat devstack plugin
Now that heat is available as a devstack plugin, we should
use it. In-tree devstack code for heat is planned to be
removed soon[1].

And also, this patch remove `update_heat_policy` function
in devstack plugin. Because fetching global stack list is
already option to use in Magnum.

[1] https://review.openstack.org/#/c/317618/

Change-Id: Iab675da5ea8d02b3f7e71f6169c81724a0066858
Co-Authored-By: OTSUKA, Yuanying <yuanying@fraction.​jp>
2016-09-15 10:43:09 +09:00
Spyros Trigazis 8b354e3e10 Disable lbaas on k8s-ironic job
Proper functionality with lbaas and ironic couldn't
be verified and the infra job was failing.

Disable lbaas on the ironic driver for now.

Change-Id: I2518bb57e44eb71bd26faad4a3af19fa0e9e75f4
Partially-Implements: blueprint magnum-lbaasv2-support
2016-09-09 06:57:01 +00:00
Hua Wang 77e6c3160f Add Support of LBaaS v2 API
LBaaS v1 api is completely removed by neutron, so it
cannot be used now. Added Support of LBaaS v2 API.
Now all COE's uses LBaaS v2.

Co-Authored-By: yatin karel <yatin.karel@nectechnologies.in>
Change-Id: Idbccbe1065857449fc8e158115b7833b68c2da9f
Partially-Implements: blueprint magnum-lbaasv2-support
2016-09-09 10:01:30 +05:30
Spyros Trigazis 1ddcafc536 Update fedora image for ironic driver
Only fedora 24 is the default release used in the
fedora-minimal elements. [1]

[1] I0ac0d0767d4de9d28ae86d1344fd7c9d8876e5a1

Change-Id: I089baf0105b68bcd13aa86fb683c6d240e560107
2016-09-06 15:10:08 +02:00
OTSUKA, Yuanying 83e0d8d32b Add functional test for k8s ironic
This patch adds functional test for k8s ironic, and modify
utility scripts for gate jobs.

Partial-Implements: blueprint magnum-baremetal-full-support
Change-Id: I8d68711af9d90e4a52901765e7daf97bc2851125
Co-Authored-By: Spyros Trigazis <strigazi@gmail.com>
Co-Authored-By: OTSUKA, Yuanying <yuanying@fraction.jp>
2016-08-09 11:30:04 +02:00
Yolanda Robla fd0974e4b7 Start using fedora atomic images that live in our mirrors
The atomic images are now generated on demand by an experimental
job that lives on magnum. It creates a qcow2 image and pushes it
to the tarballs magnum directory.
Start consuming that instead of relying on external fedorapeole image,
to increase reliability and performance of our tests.

Change-Id: I787160fea947cf7cf69881641c202b850211e85b
2016-05-09 09:30:15 +02:00
Hongbin Lu c52e5bea06 Add tox test for k8s coreos bay
* Add a CoreOS test class TestCoreosKubernetesAPIs
* Add a CoreOS test environment in tox.ini
* Create a base class BaseK8sTest and move OS-agnostic k8s testing
  code to that class.
* Increase the disk size from 8G to 10G for m1.magnum and s1.magnum,
  since CoreOS image requires more disk space to boot.
* Set os-distro property for CoreOS image.

Partial-Bug: #1546101
Change-Id: Ie56a9442ecebe05f39c7669bc950f5a6ca11df33
2016-05-09 02:36:26 +00:00
Hongbin Lu f575ef773e Gate: Remove neutron-lbaas devstack plugin
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
2016-04-16 15:02:58 -04:00
Eli Qiao 11b88008c3 Move project-configs to gate hook
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
2016-04-14 11:56:27 +00:00
Eli Qiao 69a4f5345e Functional: Add mesos functional bay creation basic testing frame work
This patch adds functional testing case for mesos bay creation testing.

1. Add gate_hook.sh to set MAGNUM_GUEST_IMAGE_URL to use ubuntu image
2. Modify post_test_hook to use ubuntu image when doing functional
testing
3. Add new tox env entry to do mesos functional testing.

Partially implements: blueprint mesos-functional-testing
Change-Id: I8ee53de4d34aa79d037901e599fc6409a7de2e72
2016-01-02 10:18:28 +08:00