Re: [pve-devel] [PATCH cluster 5/5] corosync: check if IPs are configured on cluster create

2019-11-21 Thread Thomas Lamprecht
On 11/20/19 5:43 PM, Stefan Reiter wrote: > Same as we do in assert_joinable, a cluster with unconfigured IPs will > fail start after creation anyway. > > Make "check_ip" a standalone sub ("check_ip_configured") and improve > error messages all around. > > Also move call to create_conf up, so if

[pve-devel] [PATCH cluster 5/5] corosync: check if IPs are configured on cluster create

2019-11-20 Thread Stefan Reiter
Same as we do in assert_joinable, a cluster with unconfigured IPs will fail start after creation anyway. Make "check_ip" a standalone sub ("check_ip_configured") and improve error messages all around. Also move call to create_conf up, so if it fails we exit before SSH and auth-key setup.