]> git.proxmox.com Git - pve-manager.git/commit
ui: CephInstallWizard: make first mon node static
authorAaron Lauterer <a.lauterer@proxmox.com>
Wed, 10 Aug 2022 15:10:19 +0000 (17:10 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 7 Sep 2022 13:25:09 +0000 (15:25 +0200)
commitf25c38553e1cdb1687b2b970a7b04c669bc628a6
tree07a9919d7baa360a2d332e2c74ba58f6c62129a6
parent25eaf729d71c97c147ac8bce034328aeed31c26d
ui: CephInstallWizard: make first mon node static

Removes the possibility to select the node on which to create the first
monitor in the configuration / initialization step and always sets it to
the current node.

This prevents that a user might select another node on which the Ceph
packages have not yet been installed. If a user did that, they would get
an error, but the Ceph config file would have been written. If the user
then does not select a valid node to create the first mon, but aborts
the wizard, they are greeted with a rados_connect error because the
config file exists, but it does not contain any mon infos that are
needed to connect to the Ceph cluster.

Creating a mon manually will remedy such a situation, but especially for
new users, this behavior is not ideal and confusing.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
www/manager6/ceph/CephInstallWizard.js