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