Browse Source

Updating script references for openrc

Old location: /etc/nova/openrc
New location: /etc/platform/openrc

The collect script exclude folder is also updated
since /etc/nova and etc/cinder no longer exist on
baremetal.

Story: 2004764
Task: 29907
Change-Id: Iae521fb1d6d394f7ffcf474e7726963215b88bcd
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
changes/20/680920/1
Al Bailey 3 years ago
parent
commit
ca74c5401f
  1. 2
      tools/collector/scripts/etc.exclude
  2. 2
      tools/engtools/hostdata-collectors/scripts/remote/rbzip2-engtools.sh
  3. 2
      tools/engtools/hostdata-collectors/scripts/remote/rstart-engtools.sh
  4. 2
      tools/engtools/hostdata-collectors/scripts/remote/rstop-engtools.sh
  5. 2
      tools/engtools/hostdata-collectors/scripts/remote/rsync-engtools-data.sh

2
tools/collector/scripts/etc.exclude

@ -1,5 +1,3 @@
/etc/cinder/volumes
/etc/nova/instances
/etc/postgresql
/etc/alternatives
/etc/terminfo

2
tools/engtools/hostdata-collectors/scripts/remote/rbzip2-engtools.sh

@ -11,7 +11,7 @@ if [ $UID -eq 0 ]; then
fi
# environment for system commands
source /etc/nova/openrc
source /etc/platform/openrc
declare -a CONTROLLER
declare -a COMPUTE

2
tools/engtools/hostdata-collectors/scripts/remote/rstart-engtools.sh

@ -11,7 +11,7 @@ if [ $UID -eq 0 ]; then
fi
# environment for system commands
source /etc/nova/openrc
source /etc/platform/openrc
declare -a BLADES
BLADES=( $(system host-list | awk '(/compute|controller|storage/) {print $4;}') )

2
tools/engtools/hostdata-collectors/scripts/remote/rstop-engtools.sh

@ -11,7 +11,7 @@ if [ $UID -eq 0 ]; then
fi
# environment for system commands
source /etc/nova/openrc
source /etc/platform/openrc
declare -a BLADES
BLADES=( $(system host-list | awk '(/compute|controller|storage/) {print $4;}') )

2
tools/engtools/hostdata-collectors/scripts/remote/rsync-engtools-data.sh

@ -11,7 +11,7 @@ if [ $UID -eq 0 ]; then
fi
# environment for system commands
source /etc/nova/openrc
source /etc/platform/openrc
declare -a BLADES
declare -a CONTROLLER

Loading…
Cancel
Save