tools/create_virtual_hardware.sh fails to create zpools via thing-flinger #1612
Labels
bootstrap services
For those occasions where you want the rack to turn on
development
Bugs, paper cuts, feature requests, or other thoughts on making omicron development better
networking
Related to the networking.
I'm currently building out multi-node deployment capabilities via thing-flinger and realized that zpools that should have been created when
create_virtual_hardware.sh
ran as part of theinstall-prereqs
command don't exist. Looking at the output of thing-flinger I noticed the following error:This appears to be because
create_virtual_hardware.sh
assumes it is running inside the omicron repo directly and has access to thesmf
directory which is not the case with thing-flinger.thing-flinger deploy install
does installconfig.toml
into/opt/oxide/sled-agent/pkg
, but that happens after install-prereqs.A simple fix seems to be to just copy the config file into
/root/omicron_staging/smf/sled-agent/config.toml
duringinstall-prereqs
before we runcreate_virtual_hardware.sh
.The text was updated successfully, but these errors were encountered: