From 87c3637d0c28c0640114414cc378bfff24d500c3 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Mon, 9 May 2016 17:08:54 +0200 Subject: UX: Update bootstrap/target build time estimate. While building for a different architecture (e.g. AArch64 on x86_64), the bootstrap/target image build may take longer, due to latency introduced by using qemu-user-static. Change-Id: I2b57aae73ccc172fea9e53867bcb66e2f950498f Signed-off-by: Alexandru Avadanii (cherry picked from commit 8b601647ac2b5910e869de444d6942be7d89f610) --- TODO.md | 1 - ...date-bootstrap-target-build-time-estimate.patch | 33 ++++++++++++++++++++++ ...date-bootstrap-target-build-time-estimate.patch | 33 ++++++++++++++++++++++ 3 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 patches/fuel-agent/0010-UX-Update-bootstrap-target-build-time-estimate.patch create mode 100644 patches/opnfv-fuel/0027-UX-Update-bootstrap-target-build-time-estimate.patch diff --git a/TODO.md b/TODO.md index ad9c4937..ae2da275 100644 --- a/TODO.md +++ b/TODO.md @@ -3,7 +3,6 @@ List of missing features and things to do Cleanup tasks ========================================= -* [arm64-master] Find `puppetlabs-products` repo for arm64. * [arm64-master] Fix license in ubuntu_1404_arm64.pp * [arm64-master] Look into default ubuntu_debootstrap change in cobbler.pp * [arm64-master] [fuel-agent] Package and repo update for arm64 in [2] (?) diff --git a/patches/fuel-agent/0010-UX-Update-bootstrap-target-build-time-estimate.patch b/patches/fuel-agent/0010-UX-Update-bootstrap-target-build-time-estimate.patch new file mode 100644 index 00000000..d8a7588f --- /dev/null +++ b/patches/fuel-agent/0010-UX-Update-bootstrap-target-build-time-estimate.patch @@ -0,0 +1,33 @@ +From: Alexandru Avadanii +Date: Mon, 9 May 2016 17:08:06 +0200 +Subject: [PATCH] UX: Update bootstrap/target build time estimate. + +While building for a different architecture (e.g. AArch64 on x86_64), +the bootstrap/target image build may take longer, due to latency +introduced by using qemu-user-static. + +Signed-off-by: Alexandru Avadanii +--- + .../fuel_bootstrap_cli/fuel_bootstrap/utils/bootstrap_image.py | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +diff --git a/contrib/fuel_bootstrap/fuel_bootstrap_cli/fuel_bootstrap/utils/bootstrap_image.py b/contrib/fuel_bootstrap/fuel_bootstrap_cli/fuel_bootstrap/utils/bootstrap_image.py +index 6e60fb8..95bc08a 100644 +--- a/contrib/fuel_bootstrap/fuel_bootstrap_cli/fuel_bootstrap/utils/bootstrap_image.py ++++ b/contrib/fuel_bootstrap/fuel_bootstrap_cli/fuel_bootstrap/utils/bootstrap_image.py +@@ -180,9 +180,12 @@ def make_bootstrap(data): + OSLO_CONF = cfg.CONF + OSLO_CONF(opts, project='fuel-agent') + mngr = manager.Manager(bootdata) +- LOG.info("Build process is in progress. Usually it takes 15-20 minutes." +- " It depends on your internet connection and hardware" +- " performance.") ++ LOG.info("Build process is in progress. Usually it takes 15-20 minutes for" ++ " a native build (x86_64) and/or 30-45 minutes for each" ++ " cross-build (e.g. AArch64)." ++ " It depends on your internet connection, hardware performance" ++ " and selected bootstrap architecture(s)." ++ " This ISO supports AArch64 only.") + mngr.do_mkbootstrap() + + return bootdata['bootstrap']['uuid'], bootdata['output'] diff --git a/patches/opnfv-fuel/0027-UX-Update-bootstrap-target-build-time-estimate.patch b/patches/opnfv-fuel/0027-UX-Update-bootstrap-target-build-time-estimate.patch new file mode 100644 index 00000000..9791f595 --- /dev/null +++ b/patches/opnfv-fuel/0027-UX-Update-bootstrap-target-build-time-estimate.patch @@ -0,0 +1,33 @@ +From: Alexandru Avadanii +Date: Mon, 9 May 2016 17:05:53 +0200 +Subject: [PATCH] UX: Update bootstrap/target build time estimate. + +While building for a different architecture (e.g. AArch64 on x86_64), +the bootstrap/target image build may take longer, due to latency +introduced by using qemu-user-static. + +Signed-off-by: Alexandru Avadanii +--- + build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +diff --git a/build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh b/build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh +index 744f352..7395af3 100755 +--- a/build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh ++++ b/build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh +@@ -29,9 +29,12 @@ and added to cluster. \ + For more information please visit \ + https://docs.mirantis.com/openstack/fuel/fuel-master/" + bs_progress_message="There is no active bootstrap. Bootstrap image building \ +-is in progress. Usually it takes 15-20 minutes. It depends on your internet \ +-connection and hardware performance. Please reboot failed to discover nodes \ +-after bootstrap image become available." ++is in progress. Usually it takes 15-20 minutes for a native build (x86_64) \ ++and/or 30-45 minutes for each cross-build (e.g. AArch64). \ ++It depends on your internet connection, hardware performance and selected \ ++bootstrap architecture(s). This ISO supports AArch64 only. Please reboot \ ++failed to discover nodes after bootstrap image become available." ++ + bs_done_message="Default bootstrap image building done. Now you can boot new \ + nodes over PXE, they will be discovered and become available for installing \ + OpenStack on them" -- cgit 1.2.3-korg