f3b9ea70ed18da3c27b8cc22ec9ba5ef4ec059e9
[armband.git] / patches / fuel-web / 0001-nailgun-Add-AArch64-Openstack-Mitaka-release-s.patch
1 From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2 Date: Sat, 14 May 2016 00:53:36 +0200
3 Subject: [PATCH] nailgun: Add AArch64 Openstack Mitaka release(s).
4
5 Add the following Openstack releases:
6
7 - Mitaka on Ubuntu 14.04 (aarch64)
8 - Mitaka on Ubuntu+UCA 14.04 (aarch64)
9
10 Signed-off-by: Stanislaw Kardach <stanislaw.kardach@caviumnetworks.com>
11 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
12 ---
13  nailgun/nailgun/fixtures/openstack.yaml | 287 ++++++++++++++++++++++++++++++++
14  1 file changed, 287 insertions(+)
15
16 diff --git a/nailgun/nailgun/fixtures/openstack.yaml b/nailgun/nailgun/fixtures/openstack.yaml
17 index 62e6b73..9674d66 100644
18 --- a/nailgun/nailgun/fixtures/openstack.yaml
19 +++ b/nailgun/nailgun/fixtures/openstack.yaml
20 @@ -2314,3 +2314,290 @@
21              weight: 61
22              type: "checkbox"
23              value: true
24 +- &ubuntu_aarch64_release
25 +  pk: 4
26 +  extend: *base_release
27 +  fields:
28 +    name: "Mitaka on Ubuntu 14.04 (aarch64)"
29 +    version: "mitaka-9.0"
30 +    operating_system: "Ubuntu"
31 +    description: "This option will install the OpenStack Mitaka packages using Ubuntu as a base operating system. With high availability features built in, you are getting a robust, enterprise-grade OpenStack deployment."
32 +    attributes_metadata:
33 +      editable:
34 +        kernel_params:
35 +          kernel:
36 +            value: "console=ttyAMA0,115200 console=ttyS0,115200 net.ifnames=1 biosdevname=0 rootdelay=90 nomodeset"
37 +        repo_setup:
38 +          metadata:
39 +            label: "Repositories"
40 +            weight: 50
41 +            group: "general"
42 +            always_editable: true
43 +          repos:
44 +            type: "custom_repo_configuration"
45 +            extra_priority: null
46 +            description: |
47 +              Please note: the first repository will be considered the operating system mirror that will be used during node provisioning.
48 +              To create a local repository mirror on the Fuel master node, please follow the instructions provided by running "fuel-createmirror --help" on the Fuel master node.
49 +              Please make sure your Fuel master node has Internet access to the repository before attempting to create a mirror.
50 +              For more details, please refer to the documentation (https://docs.mirantis.com/openstack/fuel/fuel-9.0/operations.html#external-ubuntu-ops).
51 +            value:
52 +              - type: "deb"
53 +                name: "ubuntu"
54 +                uri: "http://ports.ubuntu.com/"
55 +                suite: "trusty"
56 +                section: "main universe multiverse"
57 +                priority: null
58 +              - type: "deb"
59 +                name: "ubuntu-updates"
60 +                uri: "http://ports.ubuntu.com/"
61 +                suite: "trusty-updates"
62 +                section: "main universe multiverse"
63 +                priority: null
64 +              - type: "deb"
65 +                name: "ubuntu-security"
66 +                uri: "http://ports.ubuntu.com/"
67 +                suite: "trusty-security"
68 +                section: "main universe multiverse"
69 +                priority: null
70 +              - type: "deb"
71 +                name: "mos"
72 +                uri: "http://{settings.MASTER_IP}:8080/{cluster.release.version}/ubuntu/x86_64"
73 +                suite: "mos9.0"
74 +                section: "main restricted"
75 +                priority: 1050
76 +              - type: "deb"
77 +                name: "mos-updates"
78 +                uri: "http://linux.enea.com/mos-repos/ubuntu/{cluster.release.environment_version}"
79 +                suite: "mos9.0-updates"
80 +                section: "main restricted"
81 +                priority: 1050
82 +              - type: "deb"
83 +                name: "mos-security"
84 +                uri: "http://linux.enea.com/mos-repos/ubuntu/{cluster.release.environment_version}"
85 +                suite: "mos9.0-security"
86 +                section: "main restricted"
87 +                priority: 1050
88 +              - type: "deb"
89 +                name: "mos-holdback"
90 +                uri: "http://linux.enea.com/mos-repos/ubuntu/{cluster.release.environment_version}"
91 +                suite: "mos9.0-holdback"
92 +                section: "main restricted"
93 +                priority: 1100
94 +              - type: "deb"
95 +                name: "Auxiliary"
96 +                uri: "http://{settings.MASTER_IP}:8080/{cluster.release.version}/ubuntu/auxiliary"
97 +                suite: "auxiliary"
98 +                section: "main restricted"
99 +                priority: 1150
100 +        provision:
101 +          metadata:
102 +            label: "Provision"
103 +            weight: 80
104 +            group: "general"
105 +            restrictions:
106 +              - condition: "false"
107 +                action: "hide"
108 +          packages:
109 +            label: "Initial packages"
110 +            weight: 10
111 +            type: "textarea"
112 +            value: |
113 +              acl
114 +              anacron
115 +              bash-completion
116 +              bridge-utils
117 +              bsdmainutils
118 +              build-essential
119 +              cloud-init
120 +              curl
121 +              daemonize
122 +              debconf-utils
123 +              gdisk
124 +              grub-efi-arm64
125 +              hpsa-dkms
126 +              hwloc
127 +              i40e-dkms
128 +              linux-firmware
129 +              linux-firmware-nonfree
130 +              linux-headers-generic-lts-trusty
131 +              linux-image-generic-lts-trusty
132 +              lvm2
133 +              mcollective
134 +              mdadm
135 +              multipath-tools
136 +              multipath-tools-boot
137 +              nailgun-agent
138 +              nailgun-mcagents
139 +              network-checker
140 +              ntp
141 +              openssh-client
142 +              openssh-server
143 +              puppet
144 +              python-amqp
145 +              ruby-augeas
146 +              ruby-ipaddress
147 +              ruby-json
148 +              ruby-netaddr
149 +              ruby-openstack
150 +              ruby-shadow
151 +              ruby-stomp
152 +              telnet
153 +              ubuntu-minimal
154 +              ubuntu-standard
155 +              uuid-runtime
156 +              vim
157 +              virt-what
158 +              vlan
159 +      generated:
160 +        repo_setup:
161 +          installer_kernel:
162 +            remote_relative: "dists/trusty/main/installer-arm64/current/images/generic/netboot/vmlinuz"
163 +            local: "/var/www/nailgun/ubuntu/arm64/images/linux"
164 +          installer_initrd:
165 +            remote_relative: "dists/trusty/main/installer-arm64/current/images/generic/netboot/initrd.gz"
166 +            local: "/var/www/nailgun/ubuntu/arm64/images/initrd.gz"
167 +        cobbler:
168 +          profile:
169 +            generator_arg: "ubuntu_1404_arm64"
170 +        provision:
171 +          codename: "trusty"
172 +          image_data:
173 +            /:
174 +              uri: "http://{settings.MASTER_IP}:8080/targetimages/env_{cluster.id}_ubuntu_1404_arm64.img.gz"
175 +              format: "ext4"
176 +              container: "gzip"
177 +            /boot:
178 +              uri: "http://{settings.MASTER_IP}:8080/targetimages/env_{cluster.id}_ubuntu_1404_arm64-boot.img.gz"
179 +              format: "ext2"
180 +              container: "gzip"
181 +    node_attributes:
182 +      cpu_pinning:
183 +        metadata:
184 +          group: "nfv"
185 +          label: "CPU pinning"
186 +          weight: 10
187 +          restrictions:
188 +            - condition: "settings:common.libvirt_type.value != 'kvm'"
189 +              action: "hide"
190 +        nova:
191 +          weight: 10
192 +          description: "Number of CPUs for Nova usage"
193 +          label: "Nova CPU pinning"
194 +          type: "number"
195 +          value: 0
196 +          min: 0
197 +      hugepages:
198 +        metadata:
199 +          group: "nfv"
200 +          label: "Huge Pages"
201 +          weight: 20
202 +          restrictions:
203 +            - condition: "settings:common.libvirt_type.value != 'kvm'"
204 +              action: "hide"
205 +        nova:
206 +          weight: 10
207 +          description: "Nova Huge Pages configuration"
208 +          label: "Nova Huge Pages"
209 +          type: "custom_hugepages"
210 +          value: {}
211 +- pk: 5
212 +  extend: *ubuntu_aarch64_release
213 +  fields:
214 +    name: "Mitaka on Ubuntu+UCA 14.04 (aarch64)"
215 +    version: "mitaka-9.0"
216 +    description: "This option will install the OpenStack Mitaka packages using Ubuntu as a base operating system, including Ubuntu Cloud Archive OpenStack packages. With high availability features built in, you are getting a robust, enterprise-grade OpenStack deployment."
217 +    attributes_metadata:
218 +      editable:
219 +        repo_setup:
220 +          repos:
221 +            type: "custom_repo_configuration"
222 +            extra_priority: null
223 +            description: |
224 +              Please note: the first repository will be considered the operating system mirror that will be used during node provisioning.
225 +              To create a local repository mirror on the Fuel master node, please follow the instructions provided by running "fuel-createmirror --help" on the Fuel master node.
226 +              Please make sure your Fuel master node has Internet access to the repository before attempting to create a mirror.
227 +              For more details, please refer to the documentation (https://docs.mirantis.com/openstack/fuel/fuel-9.0/operations.html#external-ubuntu-ops).
228 +            value:
229 +              - type: "deb"
230 +                name: "ubuntu"
231 +                uri: "http://ports.ubuntu.com/"
232 +                suite: "trusty"
233 +                section: "main universe multiverse"
234 +                priority: null
235 +              - type: "deb"
236 +                name: "ubuntu-updates"
237 +                uri: "http://ports.ubuntu.com/"
238 +                suite: "trusty-updates"
239 +                section: "main universe multiverse"
240 +                priority: null
241 +              - type: "deb"
242 +                name: "ubuntu-security"
243 +                uri: "http://ports.ubuntu.com/"
244 +                suite: "trusty-security"
245 +                section: "main universe multiverse"
246 +                priority: null
247 +              - type: "deb"
248 +                name: "uca"
249 +                uri: "http://ubuntu-cloud.archive.canonical.com/ubuntu"
250 +                suite: "trusty-updates/mitaka"
251 +                section: "main"
252 +                priority: 1080
253 +              - type: "deb"
254 +                name: "uca-proposed"
255 +                uri: "http://ubuntu-cloud.archive.canonical.com/ubuntu"
256 +                suite: "trusty-proposed/mitaka"
257 +                section: "main"
258 +                priority: 1080
259 +              - type: "deb"
260 +                name: "mos"
261 +                uri: "http://{settings.MASTER_IP}:8080/{cluster.release.version}/ubuntu/x86_64"
262 +                suite: "mos9.0"
263 +                section: "main restricted"
264 +                priority: 1050
265 +              - type: "deb"
266 +                name: "mos-updates"
267 +                uri: "http://linux.enea.com/mos-repos/ubuntu/{cluster.release.environment_version}"
268 +                suite: "mos9.0-updates"
269 +                section: "main restricted"
270 +                priority: 1050
271 +              - type: "deb"
272 +                name: "mos-security"
273 +                uri: "http://linux.enea.com/mos-repos/ubuntu/{cluster.release.environment_version}"
274 +                suite: "mos9.0-security"
275 +                section: "main restricted"
276 +                priority: 1050
277 +              - type: "deb"
278 +                name: "mos-holdback"
279 +                uri: "http://linux.enea.com/mos-repos/ubuntu/{cluster.release.environment_version}"
280 +                suite: "mos9.0-holdback"
281 +                section: "main restricted"
282 +                priority: 1100
283 +              - type: "deb"
284 +                name: "Auxiliary"
285 +                uri: "http://{settings.MASTER_IP}:8080/{cluster.release.version}/ubuntu/auxiliary"
286 +                suite: "auxiliary"
287 +                section: "main restricted"
288 +                priority: 1150
289 +          repo_type:
290 +            type: "hidden"
291 +            weight: 58
292 +            value: "uca"
293 +          pin_haproxy:
294 +            label: "HAProxy APT Pinning"
295 +            description: "Use Fuel HAProxy packages instead of upstream"
296 +            weight: 59
297 +            type: "checkbox"
298 +            value: true
299 +          pin_rabbitmq:
300 +            label: "RabbitMQ APT Pinning"
301 +            description: "Use Fuel RabbitMQ packages instead of upstream"
302 +            weight: 60
303 +            type: "checkbox"
304 +            value: true
305 +          pin_ceph:
306 +            label: "Ceph APT Pinning"
307 +            description: "Use Fuel Ceph packages instead of upstream"
308 +            weight: 61
309 +            type: "checkbox"
310 +            value: true