Add copyright header to patch files
[armband.git] / patches / fuel-web / 0001-nailgun-Add-AArch64-Openstack-Newton-release-s.patch
1 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2 : Copyright (c) 2017 Enea AB, Cavium and others.
3 :
4 : All rights reserved. This program and the accompanying materials
5 : are made available under the terms of the Apache License, Version 2.0
6 : which accompanies this distribution, and is available at
7 : http://www.apache.org/licenses/LICENSE-2.0
8 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
9 From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
10 Date: Sun, 18 Dec 2016 21:08:42 +0100
11 Subject: [PATCH] nailgun: Add AArch64 Openstack Newton release(s).
12
13 Add the following Openstack releases:
14 - Newton on Ubuntu 16.04 (aarch64)
15 - Newton on Ubuntu+UCA 16.04 (aarch64)
16
17 Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.com>
18 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
19 ---
20  nailgun/nailgun/fixtures/openstack.yaml | 343 ++++++++++++++++++++++++++++++++
21  1 file changed, 343 insertions(+)
22
23 diff --git a/nailgun/nailgun/fixtures/openstack.yaml b/nailgun/nailgun/fixtures/openstack.yaml
24 index eb33db2..ba967d7 100644
25 --- a/nailgun/nailgun/fixtures/openstack.yaml
26 +++ b/nailgun/nailgun/fixtures/openstack.yaml
27 @@ -2511,3 +2511,346 @@
28              weight: 61
29              type: "checkbox"
30              value: true
31 +- &ubuntu_aarch64_xenial
32 +  pk: 4
33 +  extend: *base_release
34 +  fields:
35 +    name: "Newton on Ubuntu 16.04 (aarch64)"
36 +    version: "newton-10.0"
37 +    operating_system: "Ubuntu"
38 +    description: "This option will install the OpenStack Newton packages using Ubuntu as a base operating system. With high availability features built in, you are getting a robust, enterprise-grade OpenStack deployment."
39 +    attributes_metadata:
40 +      editable:
41 +        kernel_params:
42 +          kernel:
43 +            value: "console=ttyAMA0,115200 console=ttyS0,115200 console=tty0 net.ifnames=1 biosdevname=0 rootdelay=90 nomodeset"
44 +        repo_setup:
45 +          metadata:
46 +            label: "Repositories"
47 +            weight: 50
48 +            group: "general"
49 +            always_editable: true
50 +          repos:
51 +            type: "custom_repo_configuration"
52 +            extra_priority: null
53 +            description: |
54 +              Please note: the first repository will be considered the operating system mirror that will be used during node provisioning.
55 +              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.
56 +              Please make sure your Fuel master node has Internet access to the repository before attempting to create a mirror.
57 +            value:
58 +              - type: "deb"
59 +                name: "ubuntu-local"
60 +                uri: "http://{settings.MASTER_IP}:8080/mirrors/ubuntu"
61 +                suite: "xenial"
62 +                section: "main"
63 +                priority: null
64 +              - type: "deb"
65 +                name: "ubuntu"
66 +                uri: "http://ports.ubuntu.com/"
67 +                suite: "xenial"
68 +                section: "main universe multiverse"
69 +                priority: null
70 +              - type: "deb"
71 +                name: "ubuntu-updates"
72 +                uri: "http://ports.ubuntu.com/"
73 +                suite: "xenial-updates"
74 +                section: "main universe multiverse"
75 +                priority: null
76 +              - type: "deb"
77 +                name: "ubuntu-security"
78 +                uri: "http://ports.ubuntu.com/"
79 +                suite: "xenial-security"
80 +                section: "main universe multiverse"
81 +                priority: null
82 +              - type: "deb"
83 +                name: "mos"
84 +                uri: "http://{settings.MASTER_IP}:8080/{cluster.release.version}/ubuntu/x86_64"
85 +                suite: "mos10.0"
86 +                section: "main restricted"
87 +                priority: 1050
88 +              - type: "deb"
89 +                name: "mos-updates"
90 +                uri: "http://linux.enea.com/mos-repos/ubuntu/{cluster.release.environment_version}"
91 +                suite: "mos10.0-updates"
92 +                section: "main restricted"
93 +                priority: 1050
94 +              - type: "deb"
95 +                name: "mos-security"
96 +                uri: "http://linux.enea.com/mos-repos/ubuntu/{cluster.release.environment_version}"
97 +                suite: "mos10.0-security"
98 +                section: "main restricted"
99 +                priority: 1050
100 +              - type: "deb"
101 +                name: "mos-holdback"
102 +                uri: "http://linux.enea.com/mos-repos/ubuntu/{cluster.release.environment_version}"
103 +                suite: "mos10.0-holdback"
104 +                section: "main restricted"
105 +                priority: 1100
106 +              - type: "deb"
107 +                name: "Auxiliary"
108 +                uri: "http://{settings.MASTER_IP}:8080/{cluster.release.version}/ubuntu/auxiliary"
109 +                suite: "auxiliary"
110 +                section: "main restricted"
111 +                priority: 1150
112 +        provision:
113 +          metadata:
114 +            label: "Provision"
115 +            weight: 80
116 +            group: "general"
117 +            restrictions:
118 +              - condition: "false"
119 +                action: "hide"
120 +          packages:
121 +            label: "Initial packages"
122 +            weight: 10
123 +            type: "textarea"
124 +            value: |
125 +              acl
126 +              anacron
127 +              bash-completion
128 +              bridge-utils
129 +              bsdmainutils
130 +              build-essential
131 +              cloud-init
132 +              curl
133 +              daemonize
134 +              debconf-utils
135 +              gdisk
136 +              grub-efi-arm64
137 +              hwloc
138 +              linux-firmware
139 +              linux-headers-generic-lts-xenial
140 +              linux-image-generic-lts-xenial
141 +              lvm2
142 +              mcollective
143 +              mdadm
144 +              multipath-tools
145 +              multipath-tools-boot
146 +              nailgun-agent
147 +              nailgun-mcagents
148 +              network-checker
149 +              ntp
150 +              ntpdate
151 +              openssh-client
152 +              openssh-server
153 +              puppet
154 +              python-amqp
155 +              ruby-augeas
156 +              ruby-ipaddress
157 +              ruby-json
158 +              ruby-netaddr
159 +              ruby-openstack
160 +              ruby-shadow
161 +              ruby-stomp
162 +              telnet
163 +              ubuntu-minimal
164 +              ubuntu-standard
165 +              uuid-runtime
166 +              vim
167 +              virt-what
168 +              vlan
169 +      generated:
170 +        cobbler:
171 +          profile:
172 +            generator_arg: "ubuntu_bootstrap"
173 +        provision:
174 +          codename: "xenial"
175 +          image_data:
176 +            /:
177 +              uri: "http://{settings.MASTER_IP}:8080/targetimages/env_{cluster.id}_ubuntu_1604_arm64.img.gz"
178 +              format: "ext4"
179 +              container: "gzip"
180 +            /boot:
181 +              uri: "http://{settings.MASTER_IP}:8080/targetimages/env_{cluster.id}_ubuntu_1604_arm64-boot.img.gz"
182 +              format: "ext2"
183 +              container: "gzip"
184 +    node_attributes:
185 +      cpu_pinning:
186 +        metadata:
187 +          group: "nfv"
188 +          label: "CPU pinning"
189 +          weight: 10
190 +          restrictions:
191 +            - condition: "settings:common.libvirt_type.value != 'kvm'"
192 +              action: "hide"
193 +        nova:
194 +          weight: 10
195 +          description: "Number of CPUs for Nova usage"
196 +          label: "Nova CPU pinning"
197 +          type: "number"
198 +          value: 0
199 +          min: 0
200 +        dpdk:
201 +          weight: 20
202 +          description: "Number of CPUs for DPDK usage"
203 +          label: "DPDK CPU pinning"
204 +          type: "number"
205 +          value: 0
206 +          min: 0
207 +          restrictions:
208 +            - condition: "not ('experimental' in version:feature_groups)"
209 +              action: "hide"
210 +      hugepages:
211 +        metadata:
212 +          group: "nfv"
213 +          label: "Huge Pages"
214 +          weight: 20
215 +          restrictions:
216 +            - condition: "settings:common.libvirt_type.value != 'kvm'"
217 +              action: "hide"
218 +        nova:
219 +          weight: 10
220 +          description: "Nova Huge Pages configuration"
221 +          label: "Nova Huge Pages"
222 +          type: "custom_hugepages"
223 +          value: {}
224 +        dpdk:
225 +          weight: 20
226 +          description: "DPDK Huge Pages per NUMA node in MB"
227 +          label: "DPDK Huge Pages"
228 +          type: "number"
229 +          value: 0
230 +          min: 0
231 +          restrictions:
232 +            - condition: "not ('experimental' in version:feature_groups)"
233 +              action: "hide"
234 +    networks_metadata:
235 +      dpdk_drivers:
236 +        # Sources:
237 +        # http://dpdk.org/browse/dpdk/tree/doc/guides/rel_notes/known_issues.rst?h=releases&id=7173acefc7cfdfbbb9b91fcba1c9a67adb4c07c9#n168
238 +        # http://dpdk.org/browse/dpdk/tree/lib/librte_eal/common/include/rte_pci_dev_ids.h?h=releases&id=7173acefc7cfdfbbb9b91fcba1c9a67adb4c07c9
239 +        igb_uio: [
240 +          "8086:100e", "8086:100f", "8086:1011", "8086:1010", "8086:1012",
241 +          "8086:101d", "8086:105e", "8086:105f", "8086:1060", "8086:10d9",
242 +          "8086:10da", "8086:10a4", "8086:10d5", "8086:10a5", "8086:10bc",
243 +          "8086:107d", "8086:107e", "8086:107f", "8086:10b9", "8086:109a",
244 +          "8086:10d3", "8086:10f6", "8086:150c", "8086:10c9", "8086:10e6",
245 +          "8086:10e7", "8086:10e8", "8086:1526", "8086:150a", "8086:1518",
246 +          "8086:150d", "8086:10a7", "8086:10a9", "8086:10d6", "8086:150e",
247 +          "8086:150f", "8086:1510", "8086:1511", "8086:1516", "8086:1527",
248 +          "8086:1521", "8086:1522", "8086:1523", "8086:1524", "8086:1546",
249 +          "8086:1533", "8086:1534", "8086:1535", "8086:1536", "8086:1537",
250 +          "8086:1538", "8086:1539", "8086:1f40", "8086:1f41", "8086:1f45",
251 +          "8086:0438", "8086:043a", "8086:043c", "8086:0440", "8086:10b6",
252 +          "8086:1508", "8086:10c6", "8086:10c8", "8086:150b", "8086:10db",
253 +          "8086:10dd", "8086:10ec", "8086:10f1", "8086:10f4", "8086:10f7",
254 +          "8086:1514", "8086:1517", "8086:10f9", "8086:10fb", "8086:11a9",
255 +          "8086:1f72", "8086:17d0", "8086:0470", "8086:152a", "8086:1529",
256 +          "8086:1507", "8086:154d", "8086:154a", "8086:1558", "8086:1557",
257 +          "8086:10fc", "8086:151c", "8086:154f", "8086:1528", "8086:1560",
258 +          "8086:15ae", "8086:1563", "8086:15aa", "8086:15ab", "8086:155d",
259 +          "8086:1572", "8086:1574", "8086:157f", "8086:1580", "8086:1581",
260 +          "8086:1583", "8086:1584", "8086:1585", "8086:1586", "8086:15a4",
261 +          "8086:10ca", "8086:152d", "8086:1520", "8086:152f", "8086:10ed",
262 +          "8086:152e", "8086:1515", "8086:1530", "8086:1564", "8086:1565",
263 +          "8086:15a8", "8086:15a9", "8086:154c", "8086:1571", "1af4:1000",
264 +          "15ad:07b0", "8086:15a5", "1137:0043", "1137:0071", "14e4:168a",
265 +          "14e4:16a9", "14e4:164f", "14e4:168e", "14e4:16af", "14e4:163d",
266 +          "14e4:163f", "14e4:168d", "14e4:16a1", "14e4:16a2", "14e4:16ad",
267 +          "14e4:16ae", "14e4:163e", "14e4:16a4"
268 +        ]
269 +- pk: 5
270 +  extend: *ubuntu_aarch64_xenial
271 +  fields:
272 +    name: "Newton on Ubuntu+UCA 16.04 (aarch64)"
273 +    version: "newton-10.0"
274 +    description: "This option will install the OpenStack Newton 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."
275 +    attributes_metadata:
276 +      editable:
277 +        repo_setup:
278 +          repos:
279 +            type: "custom_repo_configuration"
280 +            extra_priority: null
281 +            description: |
282 +              Please note: the first repository will be considered the operating system mirror that will be used during node provisioning.
283 +              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.
284 +              Please make sure your Fuel master node has Internet access to the repository before attempting to create a mirror.
285 +            value:
286 +              - type: "deb"
287 +                name: "ubuntu-local"
288 +                uri: "http://{settings.MASTER_IP}:8080/mirrors/ubuntu"
289 +                suite: "xenial"
290 +                section: "main"
291 +                priority: null
292 +              - type: "deb"
293 +                name: "ubuntu"
294 +                uri: "http://ports.ubuntu.com/"
295 +                suite: "xenial"
296 +                section: "main universe multiverse"
297 +                priority: null
298 +              - type: "deb"
299 +                name: "ubuntu-updates"
300 +                uri: "http://ports.ubuntu.com/"
301 +                suite: "xenial-updates"
302 +                section: "main universe multiverse"
303 +                priority: null
304 +              - type: "deb"
305 +                name: "ubuntu-security"
306 +                uri: "http://ports.ubuntu.com/"
307 +                suite: "xenial-security"
308 +                section: "main universe multiverse"
309 +                priority: null
310 +              - type: "deb"
311 +                name: "uca"
312 +                uri: "http://ubuntu-cloud.archive.canonical.com/ubuntu"
313 +                suite: "xenial-updates/newton"
314 +                section: "main"
315 +                priority: 1080
316 +              - type: "deb"
317 +                name: "uca-proposed"
318 +                uri: "http://ubuntu-cloud.archive.canonical.com/ubuntu"
319 +                suite: "xenial-proposed/newton"
320 +                section: "main"
321 +                priority: 1080
322 +              - type: "deb"
323 +                name: "mos"
324 +                uri: "http://{settings.MASTER_IP}:8080/{cluster.release.version}/ubuntu/x86_64"
325 +                suite: "mos10.0"
326 +                section: "main restricted"
327 +                priority: 1050
328 +              - type: "deb"
329 +                name: "mos-updates"
330 +                uri: "http://linux.enea.com/mos-repos/ubuntu/{cluster.release.environment_version}"
331 +                suite: "mos10.0-updates"
332 +                section: "main restricted"
333 +                priority: 1050
334 +              - type: "deb"
335 +                name: "mos-security"
336 +                uri: "http://linux.enea.com/mos-repos/ubuntu/{cluster.release.environment_version}"
337 +                suite: "mos10.0-security"
338 +                section: "main restricted"
339 +                priority: 1050
340 +              - type: "deb"
341 +                name: "mos-holdback"
342 +                uri: "http://linux.enea.com/mos-repos/ubuntu/{cluster.release.environment_version}"
343 +                suite: "mos10.0-holdback"
344 +                section: "main restricted"
345 +                priority: 1100
346 +              - type: "deb"
347 +                name: "Auxiliary"
348 +                uri: "http://{settings.MASTER_IP}:8080/{cluster.release.version}/ubuntu/auxiliary"
349 +                suite: "auxiliary"
350 +                section: "main restricted"
351 +                priority: 1150
352 +          repo_type:
353 +            type: "hidden"
354 +            weight: 58
355 +            value: "uca"
356 +          pin_haproxy:
357 +            label: "HAProxy APT Pinning"
358 +            description: "Use Fuel HAProxy packages instead of upstream"
359 +            weight: 59
360 +            type: "checkbox"
361 +            value: true
362 +          pin_rabbitmq:
363 +            label: "RabbitMQ APT Pinning"
364 +            description: "Use Fuel RabbitMQ packages instead of upstream"
365 +            weight: 60
366 +            type: "checkbox"
367 +            value: true
368 +          pin_ceph:
369 +            label: "Ceph APT Pinning"
370 +            description: "Use Fuel Ceph packages instead of upstream"
371 +            weight: 61
372 +            type: "checkbox"
373 +            value: true