Eric MacDonald 41e60486af Fix sourcing openrc in collect
The openrc file is being sourced in a short lived
shell rather than in the shell of the sourcing code.

As a result the environment created by the 'source'
does not persist and the inventory request fails
which prevents collect from learning/validating
remote host names.

This update corrects that and makes the code block
involved in learning openrc variables a function
call rather than inline whenever collect_utils
is sourced.

Test Plan:

PASS: Verify collect all with no openrc already sourced
PASS: Verify collect select hosts (same no pre-openrc)
PASS: Verify collect self controller (same no pre-openrc)
PASS: Verify collect of self on compute

Change-Id: I41a097d9d751351f178a1366eb76dfb526c57b19
Closes-Bug: 1837412
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
2019-07-22 16:52:17 -04:00
2019-07-05 01:22:19 +00:00
2019-04-03 22:30:59 -04:00
2019-07-03 09:17:48 -04:00
2019-06-14 15:09:09 -07:00
2019-05-03 14:48:56 -04:00
2019-01-30 16:40:20 -08:00
2019-07-05 13:42:52 -04:00
2019-07-22 16:52:17 -04:00
2019-04-23 15:37:42 -04:00
2019-01-08 11:42:04 -05:00
2019-04-19 19:52:31 +00:00
2019-05-16 17:22:59 -05:00
2018-05-31 07:36:35 -07:00

integ

StarlingX Integration

Description
StarlingX Integration and packaging
Readme 52 MiB
Languages
Shell 33.2%
JavaScript 23.8%
Perl 14.2%
Python 10.2%
Makefile 7.1%
Other 11.4%