From 7fab4be0db8233e0225a8f026fabbb80cadff760 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Wed, 5 Nov 2014 15:49:45 +1100 Subject: [PATCH] Initial Fedora 21 nodepool disk-image creation Add config for a build of the Fedora 21 beta .qcow2 images. For reference, to run your own test builds... --- $ TMP_DIR=~/tmp \ DIB_RELEASE=21 \ DIB_CLOUD_IMAGES=http://download.fedoraproject.org/pub/fedora/linux/releases/test/21-Beta/Cloud/Images/x86_64/ BASE_IMAGE_FILE=Fedora-Cloud-Base-20141029-21_Beta.x86_64.qcow2 \ DISTRO=fedora ./tools/build-image.sh --- Depends-On: I06b6d97000f67d099d9886f75f528a41aa68e8e7 Depends-On: Ib2f763ea82b9a3b397d202453099d58e5dd5a355 Change-Id: Ic6c21f715441a16a1d832163dc71921f25d654df --- .../templates/nodepool/nodepool.yaml.erb | 47 ++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/modules/openstack_project/templates/nodepool/nodepool.yaml.erb b/modules/openstack_project/templates/nodepool/nodepool.yaml.erb index b036874ad6..47000752a2 100644 --- a/modules/openstack_project/templates/nodepool/nodepool.yaml.erb +++ b/modules/openstack_project/templates/nodepool/nodepool.yaml.erb @@ -208,6 +208,16 @@ labels: - name: hpcloud-b3 - name: hpcloud-b4 - name: hpcloud-b5 + - name: devstack-fedora21-dib + image: devstack-fedora21-dib + ready-script: configure_mirror.sh + min-ready: 0 + providers: + - name: hpcloud-b1 + - name: hpcloud-b2 + - name: hpcloud-b3 + - name: hpcloud-b4 + - name: hpcloud-b5 - name: tripleo-precise image: tripleo-precise min-ready: 8 @@ -576,6 +586,11 @@ providers: diskimage: devstack-centos7-dib username: jenkins private-key: /home/nodepool/.ssh/id_rsa + - name: devstack-fedora21-dib + min-ram: 30720 + diskimage: devstack-fedora21-dib + username: jenkins + private-key: /home/nodepool/.ssh/id_rsa - name: py3k-precise base-image: 'Ubuntu Server 12.04.5 LTS (amd64 20140927) - Partner Image' min-ram: 30720 @@ -667,6 +682,11 @@ providers: diskimage: devstack-centos7-dib username: jenkins private-key: /home/nodepool/.ssh/id_rsa + - name: devstack-fedora21-dib + min-ram: 30720 + diskimage: devstack-fedora21-dib + username: jenkins + private-key: /home/nodepool/.ssh/id_rsa - name: py3k-precise base-image: 'Ubuntu Server 12.04.5 LTS (amd64 20140927) - Partner Image' min-ram: 30720 @@ -752,6 +772,11 @@ providers: diskimage: devstack-centos7-dib username: jenkins private-key: /home/nodepool/.ssh/id_rsa + - name: devstack-fedora21-dib + min-ram: 30720 + diskimage: devstack-fedora21-dib + username: jenkins + private-key: /home/nodepool/.ssh/id_rsa - name: bare-f20 base-image: 'Fedora 20 Server 64-bit 20140407 - Partner Image' min-ram: 30720 @@ -850,6 +875,11 @@ providers: diskimage: devstack-centos7-dib username: jenkins private-key: /home/nodepool/.ssh/id_rsa + - name: devstack-fedora21-dib + min-ram: 30720 + diskimage: devstack-fedora21-dib + username: jenkins + private-key: /home/nodepool/.ssh/id_rsa - name: py3k-precise base-image: 'Ubuntu Server 12.04.5 LTS (amd64 20140927) - Partner Image' min-ram: 30720 @@ -943,6 +973,11 @@ providers: diskimage: devstack-centos7-dib username: jenkins private-key: /home/nodepool/.ssh/id_rsa + - name: devstack-fedora21-dib + min-ram: 30720 + diskimage: devstack-fedora21-dib + username: jenkins + private-key: /home/nodepool/.ssh/id_rsa - name: py3k-precise base-image: 'Ubuntu Server 12.04.5 LTS (amd64 20140927) - Partner Image' min-ram: 30720 @@ -1077,4 +1112,14 @@ diskimages: - puppet - nodepool-base - node-devstack - + - name: devstack-fedora21-dib + elements: + - fedora + - vm + - puppet + - nodepool-base + - node-devstack + release: 21 + env-vars: + - DIB_CLOUD_IMAGES: http://download.fedoraproject.org/pub/fedora/linux/releases/test/21-Beta/Cloud/Images/x86_64/ + - BASE_IMAGE_FILE: Fedora-Cloud-Base-20141029-21_Beta.x86_64.qcow2