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
This commit is contained in:
parent
57bf86b06a
commit
4b6fe66687
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user