Creating a Bare Metal Instance on distributed storage failed. How do I resolve this?
ZSvirt was open-sourced from the ZStack ZSphere commercial project and has since developed independently. Some code, configuration, and documentation still retain historical ZStack/ZSphere names (such as environment variables, configuration items, dependencies, paths, and commands). These names are for compatibility only and do not affect the normal use of ZSvirt.
Cause
Low bandwidth caused the creation to time out.
Solution
-
Connect to the Management Node via SSH.
-
Run the following commands in sequence to set the timeout to 24 hours:
[root@localhost ~]# zstack-cli admin >>>LogInByAccount accountName=admin password=$password //the password of the admin admin >>> UpdateGlobalConfig category=baremetal2 name=convert.volume.to.local.disk.timeout value=24h