summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-01-06 19:27:04 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-01-06 21:02:01 +0100
commit3aa172fb1659925a837b432649793f9f1f46cca9 (patch)
tree4d97fbfbe8cc1e81a7195f26e136c7b8e679ee32
parent215a567501812b1d950aa4b42f51091ecee50415 (diff)
deploy.sh: Print sysinfo
JIRA: FUEL-323 Change-Id: I0dcbcfbedc7e9ef013ca50dcc08f804323f91701 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
-rwxr-xr-xci/deploy.sh3
-rw-r--r--mcp/scripts/requirements_deb.yaml1
-rw-r--r--mcp/scripts/requirements_rpm.yaml1
-rwxr-xr-xmcp/scripts/sysinfo_print.sh18
4 files changed, 23 insertions, 0 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index 19ae23ccb..501a36c67 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -289,6 +289,9 @@ if ! virsh list >/dev/null 2>&1; then
exit 1
fi
+# Collect jump server system information for deploy debugging
+./sysinfo_print.sh
+
# Clone git submodules and apply our patches
make -C "${REPO_ROOT_PATH}/mcp/patches" deepclean patches-import
diff --git a/mcp/scripts/requirements_deb.yaml b/mcp/scripts/requirements_deb.yaml
index 84b75ee65..9a6ec8273 100644
--- a/mcp/scripts/requirements_deb.yaml
+++ b/mcp/scripts/requirements_deb.yaml
@@ -9,6 +9,7 @@
requirements_pkg:
# Common pkgs required for all deploys, no matter the type, arch etc.
common:
+ - bridge-utils
- cloud-guest-utils
- cpu-checker
- curl
diff --git a/mcp/scripts/requirements_rpm.yaml b/mcp/scripts/requirements_rpm.yaml
index 0ee95febb..daf5e62e2 100644
--- a/mcp/scripts/requirements_rpm.yaml
+++ b/mcp/scripts/requirements_rpm.yaml
@@ -10,6 +10,7 @@ requirements_pkg:
# Common pkgs required for all deploys, no matter the type, arch etc.
common:
- bc
+ - bridge-utils
- cloud-utils-growpart
- curl
- e2fsprogs
diff --git a/mcp/scripts/sysinfo_print.sh b/mcp/scripts/sysinfo_print.sh
new file mode 100755
index 000000000..bff36aff4
--- /dev/null
+++ b/mcp/scripts/sysinfo_print.sh
@@ -0,0 +1,18 @@
+#!/bin/bash -ex
+##############################################################################
+# Copyright (c) 2017 Mirantis Inc., Enea AB and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+#
+# Collect jump server system information for deploy debugging
+#
+
+# Network info
+brctl show
+
+# Distro & pkg info
+cat /etc/*-release
+uname -a