diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-12-19 18:09:52 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-12-19 18:09:52 +0000 |
commit | fbf520aa48b44b4b6cec070cc46fca007a41661a (patch) | |
tree | 97cb3eb52a511918b491affa00f3889730686a6f /mcp/patches | |
parent | 0d39b12184b63e155b338fff84115fef2a3f905a (diff) | |
parent | 8da73521d3b9347a982ea6e77114bba0d0f0adeb (diff) |
Merge "[baremetal] MaaS: Reduce timeout values"
Diffstat (limited to 'mcp/patches')
-rw-r--r-- | mcp/patches/0003-maas-region-force-artifact-download.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mcp/patches/0003-maas-region-force-artifact-download.patch b/mcp/patches/0003-maas-region-force-artifact-download.patch index ecda80a02..56e3bd504 100644 --- a/mcp/patches/0003-maas-region-force-artifact-download.patch +++ b/mcp/patches/0003-maas-region-force-artifact-download.patch @@ -66,8 +66,8 @@ new file mode 100644 +maas login {{ region.admin.username }} \ + http://{{ region.bind.host }}:5240/MAAS/api/2.0 - < \ + /var/lib/maas/.maas_credentials || exit 1 -+# wait max 15 min for service up / image download, 5 min region to rack sync -+wait_for 90 "grep -qzE '(Unable to probe for DHCP servers|DHCP probe complete).*Rack controller' /var/log/maas/rackd.log" ++# wait max 5 min for service up, 15 min image download, 5 min region to rack sync ++wait_for 30 "grep -qzE '(Unable to probe for DHCP servers|DHCP probe complete).*Rack controller' /var/log/maas/rackd.log" +maas opnfv boot-resources import || exit 2 +wait_for 90 "! maas opnfv boot-resources is-importing | grep -q 'true'" +maas opnfv rack-controllers import-boot-images || exit 3 |