summaryrefslogtreecommitdiffstats
path: root/patches/opnfv-fuel/0013-maas-boot-resources-Add-arm64-architecture.patch
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-08-06 19:35:41 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-08-17 19:46:53 +0200
commit55dabaa703f90f77cecb841a3b5c4ef64b205439 (patch)
tree93c85ada16735b79ea8cd5ce4caa400d107f6ead /patches/opnfv-fuel/0013-maas-boot-resources-Add-arm64-architecture.patch
parentd81ba0acaf68ad4d5e8db943395431558d77b638 (diff)
Baremetal support for MCP on AArch64
NOTE: Armband moves MaaS IPs to x.y.z.2 (from x.y.z.3) due to address overlap with IPMI static IPs residing in the same range. Change-Id: I2fc9539afe921d2704e7f5ff615ccd86d0914b7b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'patches/opnfv-fuel/0013-maas-boot-resources-Add-arm64-architecture.patch')
-rw-r--r--patches/opnfv-fuel/0013-maas-boot-resources-Add-arm64-architecture.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/patches/opnfv-fuel/0013-maas-boot-resources-Add-arm64-architecture.patch b/patches/opnfv-fuel/0013-maas-boot-resources-Add-arm64-architecture.patch
new file mode 100644
index 00000000..e5b822cc
--- /dev/null
+++ b/patches/opnfv-fuel/0013-maas-boot-resources-Add-arm64-architecture.patch
@@ -0,0 +1,22 @@
+From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
+Date: Fri, 11 Aug 2017 00:07:29 +0200
+Subject: [PATCH] maas: boot-resources: Add arm64 architecture
+
+Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
+---
+ mcp/patches/0003-maas-region-force-artifact-download.patch | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mcp/patches/0003-maas-region-force-artifact-download.patch b/mcp/patches/0003-maas-region-force-artifact-download.patch
+index 72114bb..4be68da 100644
+--- a/mcp/patches/0003-maas-region-force-artifact-download.patch
++++ b/mcp/patches/0003-maas-region-force-artifact-download.patch
+@@ -24,7 +24,7 @@ index d3227ca..8a2243d 100644
+
+ +maas_force_artifact_sync:
+ + cmd.run:
+-+ - name: "maas login {{ region.admin.username }} http://{{ region.bind.host }}/MAAS/api/2.0 - < /var/lib/maas/.maas_credentials && while ! grep -qzE '(Unable to probe for DHCP servers|DHCP probe complete).*Rack controller' /var/log/maas/rackd.log; do sleep 5; echo -n '.'; done && maas opnfv boot-resources import && while maas opnfv boot-resources is-importing | grep -q -e 'true'; do sleep 5; echo -n '.'; done && maas opnfv rack-controllers import-boot-images && while ! test -d /var/lib/maas/boot-resources/current/ubuntu; do sleep 5; echo -n '.'; done"
+++ - name: "maas login {{ region.admin.username }} http://{{ region.bind.host }}/MAAS/api/2.0 - < /var/lib/maas/.maas_credentials && while ! grep -qzE '(Unable to probe for DHCP servers|DHCP probe complete).*Rack controller' /var/log/maas/rackd.log; do sleep 5; echo -n '.'; done && maas opnfv boot-resources import && while maas opnfv boot-resources is-importing | grep -q -e 'true'; do sleep 5; echo -n '.'; done && maas opnfv rack-controllers import-boot-images && while ! test -d /var/lib/maas/boot-resources/current/ubuntu; do sleep 5; echo -n '.'; done && maas opnfv boot-source-selection update 1 1 arches='amd64' arches='arm64' && maas opnfv boot-resources import && while maas opnfv boot-resources is-importing | grep -q -e 'true'; do sleep 5; echo -n '.'; done && maas opnfv rack-controllers import-boot-images && while ! test -d /var/lib/maas/boot-resources/current/ubuntu/arm64; do sleep 5; echo -n '.'; done"
+ + - require:
+ + - cmd: maas_login_admin
+ +