From 4b6fe6668779ea60781f77b94d7d7c4bb9dbae5e Mon Sep 17 00:00:00 2001 From: wanghao Date: Tue, 7 Nov 2017 10:20:00 +1100 Subject: [PATCH] Miss node_id in devstack lib When installing devstack, found there is a missing node id in devstack/lib/ironic when root devices are less than 4Gb. Change-Id: I331bfe1e6481dc0de2869166fc6a2a0398314735 Closes-Bug: #1730526 --- devstack/lib/ironic | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devstack/lib/ironic b/devstack/lib/ironic index a756c83b1d..b7a4ce4131 100644 --- a/devstack/lib/ironic +++ b/devstack/lib/ironic @@ -1801,7 +1801,8 @@ function enroll_nodes { # Setting root hint allows to install OS on such devices. # 0x1af4 is VirtIO vendor device ID. if [[ "$ironic_node_disk" -lt "4" && is_deployed_by_agent ]]; then - $IRONIC_CMD node set --property root_device='{"vendor": "0x1af4"}' + $IRONIC_CMD node set $node_id --property \ + root_device='{"vendor": "0x1af4"}' fi # In case we using portgroups, we should API version that support them.