[nova] Do not throw out stdout of nova-manage --version

"nova-manage --version" used to print to stderr, but
at least since Rocky it prints to stdout

Change-Id: I48e46612e17556babc35263355c6749c70fd8711
This commit is contained in:
Jiří Suchomel 2019-03-14 12:05:24 +01:00
parent 00fff1d274
commit f33c07b8fb
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ limitations under the License.
set -ex
NOVA_VERSION=$(nova-manage --version 2>&1 > /dev/null)
NOVA_VERSION=$(nova-manage --version 2>&1)
# NOTE(portdirect): check if nova fully supports cells v2, and manage
# accordingly. Support was complete in ocata (V14.x.x).

View File

@ -18,7 +18,7 @@ limitations under the License.
set -ex
NOVA_VERSION=$(nova-manage --version 2>&1 > /dev/null)
NOVA_VERSION=$(nova-manage --version 2>&1)
function manage_cells () {
# NOTE(portdirect): check if nova fully supports cells v2, and manage