deploy.sh: Print sysinfo 65/50165/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sat, 6 Jan 2018 18:27:04 +0000 (19:27 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sun, 7 Jan 2018 20:39:07 +0000 (20:39 +0000)
JIRA: FUEL-323

Change-Id: I0dcbcfbedc7e9ef013ca50dcc08f804323f91701
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 3aa172fb1659925a837b432649793f9f1f46cca9)

ci/deploy.sh
mcp/scripts/requirements_deb.yaml
mcp/scripts/requirements_rpm.yaml
mcp/scripts/sysinfo_print.sh [new file with mode: 0755]

index 09167dc..04747ba 100755 (executable)
@@ -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
 
index 84b75ee..9a6ec82 100644 (file)
@@ -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
index 0ee95fe..daf5e62 100644 (file)
@@ -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 (executable)
index 0000000..bff36af
--- /dev/null
@@ -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