Hi,
i have a cluster. i failed to new node join.
master
root@pmg3:~# pmgversion -v
proxmox-mailgateway: 6.1-1 (API: 6.1-2/53ccdd75, running kernel: 5.3.10-1-pve)
pmg-api: 6.1-2
pmg-gui: 2.1-3
pve-kernel-5.3: 6.0-12
pve-kernel-helper: 6.0-12
pve-kernel-5.3.10-1-pve: 5.3.10-1
libarchive-perl: 3.3.3-1
libjs-extjs: 6.0.1-10
libjs-framework7: 4.4.7-1
libpve-apiclient-perl: 3.0-2
libpve-common-perl: 6.0-8
libpve-http-server-perl: 3.0-3
libxdgmime-perl: 0.01-5
lvm2: 2.03.02-3
pmg-docs: 6.1-2
proxmox-mini-journalreader: 1.1-1
proxmox-spamassassin: 3.4.2-13
proxmox-widget-toolkit: 2.0-9
pve-firmware: 3.0-4
pve-xtermjs: 3.13.2-1
zfsutils-linux: 0.8.2-pve2
root@pmg3:~# pmgcm status
NAME(CID)--------------IPADDRESS----ROLE-STATE---------UPTIME---LOAD----MEM---DISK
pmg7(6) 1.1.1.123 node ERROR: 401 permission denied - invalid PMG ticket - - -% -% -> -> dedicated (I added it in the same way but it was not added. it gives an error. the room gave the same error as I have more than one dedicated server.)
pmg3(1) 1.1.1.1.7 master S 8 days 15:19 0.88 45% 19% -> VM
pmg4(2) 1.1.1.18 node S 8 days 15:27 0.07 38% 10% -> VM
pmg6(5) 1.1.1.93 node S 1 day 01:05 0.04 13% 4% -> dedicated (this server has been added successfully. There was no problem.)
node:
root@pmg7:~# pmgversion -v
proxmox-mailgateway: 6.1-1 (API: 6.1-2/53ccdd75, running kernel: 5.3.10-1-pve)
pmg-api: 6.1-2
pmg-gui: 2.1-3
pve-kernel-5.3: 6.0-12
pve-kernel-helper: 6.0-12
pve-kernel-5.3.10-1-pve: 5.3.10-1
libarchive-perl: 3.3.3-1
libjs-extjs: 6.0.1-10
libjs-framework7: 4.4.7-1
libpve-apiclient-perl: 3.0-2
libpve-common-perl: 6.0-8
libpve-http-server-perl: 3.0-3
libxdgmime-perl: 0.01-5
lvm2: 2.03.02-3
pmg-docs: 6.1-2
proxmox-mini-journalreader: 1.1-1
proxmox-spamassassin: 3.4.2-13
proxmox-widget-toolkit: 2.0-9
pve-firmware: 3.0-4
pve-xtermjs: 3.13.2-1
zfsutils-linux: 0.8.2-pve2
root@pmg7:~# pmgcm status
NAME(CID)--------------IPADDRESS----ROLE-STATE---------UPTIME---LOAD----MEM---DISK
pmg4(2) 1.1.1.18 node ERROR: 401 permission denied - invalid PMG ticket - - -% -%
pmg6(5) 1.1.1.93 node ERROR: 401 permission denied - invalid PMG ticket - - -% -%
pmg3(1) 1.1.1.17 master ERROR: 401 permission denied - invalid PMG ticket - - -% -%
pmg7(6) 1.1.1.123 node S 1 day 01:04 0.16 27% 4%
root@pmg7:~# pmgcm join 1.1.1.17
Enter password: **********************
The authenticity of host '1.1.1.17' can't be established.
X509 SHA256 key fingerprint is C5:6FB:50:61:***********************8:92:7C:79:24:F4.
Are you sure you want to continue connecting (yes/no)? yes
stop all services accessing the database
save new cluster configuration
cluster node successfully joined
updated /etc/pmg/cluster.conf
updated /etc/pmg/pmg-authkey.key
updated /etc/pmg/pmg-authkey.pub
updated /etc/pmg/pmg-csrf.key
updated /etc/pmg/user.conf
updated /etc/pmg/domains
updated /etc/pmg/mynetworks
updated /etc/pmg/transport
updated /etc/pmg/pmg.conf
copying master database from '1.1.1.17'
copying master database finished (got 10583203 bytes)
delete local database
could not change directory to "/root": Permission denied
create new local database
could not change directory to "/root": Permission denied
insert received data into local database
creating indexes
run analyze to speed up database queries
could not change directory to "/root": Permission denied
ANALYZE
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
syncing quarantine data
syncing quarantine data finished
***********
Last status:
root@pmg3:~# pmgcm status
NAME(CID)--------------IPADDRESS----ROLE-STATE---------UPTIME---LOAD----MEM---DISK
pmg6(5) 1.1.1.93 node S 1 day 01:23 0.02 13% 4% -> New Dedicated Machine
pmg8(7) 1.1.1.129 node ERROR: 401 permission denied - invalid PMG ticket - - -% -% -> New Dedicated Machine
pmg9(8) 1.1.1.135 node S 1 day 01:23 0.14 13% 4% -> New Dedicated Machine
pmg7(6) 1.1.1.123 node ERROR: 401 permission denied - invalid PMG ticket - - -% -% -> New Dedicated Machine
pmg3(1) 1.1.1.17 master S 8 days 15:37 0.85 47% 19% -> Virtual Machine
pmg5(9) 1.1.1.63 node ERROR: 401 permission denied - invalid PMG ticket - - -% -% -> New Dedicated Machine
pmg4(2) 1.1.1.18 node S 8 days 15:45 0.28 39% 10% -> Virtual Machine
pmg5 = pmgcm join 1.1.1.17 = failed
pmg6 = pmgcm join 1.1.1.17 = ok
pmg7 = pmgcm join 1.1.1.17 = failed
pmg8 = pmgcm join 1.1.1.17 = failed
pmg9 = pmgcm join 1.1.1.17 = ok
all have the same version pmg.
i have a cluster. i failed to new node join.
master
root@pmg3:~# pmgversion -v
proxmox-mailgateway: 6.1-1 (API: 6.1-2/53ccdd75, running kernel: 5.3.10-1-pve)
pmg-api: 6.1-2
pmg-gui: 2.1-3
pve-kernel-5.3: 6.0-12
pve-kernel-helper: 6.0-12
pve-kernel-5.3.10-1-pve: 5.3.10-1
libarchive-perl: 3.3.3-1
libjs-extjs: 6.0.1-10
libjs-framework7: 4.4.7-1
libpve-apiclient-perl: 3.0-2
libpve-common-perl: 6.0-8
libpve-http-server-perl: 3.0-3
libxdgmime-perl: 0.01-5
lvm2: 2.03.02-3
pmg-docs: 6.1-2
proxmox-mini-journalreader: 1.1-1
proxmox-spamassassin: 3.4.2-13
proxmox-widget-toolkit: 2.0-9
pve-firmware: 3.0-4
pve-xtermjs: 3.13.2-1
zfsutils-linux: 0.8.2-pve2
root@pmg3:~# pmgcm status
NAME(CID)--------------IPADDRESS----ROLE-STATE---------UPTIME---LOAD----MEM---DISK
pmg7(6) 1.1.1.123 node ERROR: 401 permission denied - invalid PMG ticket - - -% -% -> -> dedicated (I added it in the same way but it was not added. it gives an error. the room gave the same error as I have more than one dedicated server.)
pmg3(1) 1.1.1.1.7 master S 8 days 15:19 0.88 45% 19% -> VM
pmg4(2) 1.1.1.18 node S 8 days 15:27 0.07 38% 10% -> VM
pmg6(5) 1.1.1.93 node S 1 day 01:05 0.04 13% 4% -> dedicated (this server has been added successfully. There was no problem.)
node:
root@pmg7:~# pmgversion -v
proxmox-mailgateway: 6.1-1 (API: 6.1-2/53ccdd75, running kernel: 5.3.10-1-pve)
pmg-api: 6.1-2
pmg-gui: 2.1-3
pve-kernel-5.3: 6.0-12
pve-kernel-helper: 6.0-12
pve-kernel-5.3.10-1-pve: 5.3.10-1
libarchive-perl: 3.3.3-1
libjs-extjs: 6.0.1-10
libjs-framework7: 4.4.7-1
libpve-apiclient-perl: 3.0-2
libpve-common-perl: 6.0-8
libpve-http-server-perl: 3.0-3
libxdgmime-perl: 0.01-5
lvm2: 2.03.02-3
pmg-docs: 6.1-2
proxmox-mini-journalreader: 1.1-1
proxmox-spamassassin: 3.4.2-13
proxmox-widget-toolkit: 2.0-9
pve-firmware: 3.0-4
pve-xtermjs: 3.13.2-1
zfsutils-linux: 0.8.2-pve2
root@pmg7:~# pmgcm status
NAME(CID)--------------IPADDRESS----ROLE-STATE---------UPTIME---LOAD----MEM---DISK
pmg4(2) 1.1.1.18 node ERROR: 401 permission denied - invalid PMG ticket - - -% -%
pmg6(5) 1.1.1.93 node ERROR: 401 permission denied - invalid PMG ticket - - -% -%
pmg3(1) 1.1.1.17 master ERROR: 401 permission denied - invalid PMG ticket - - -% -%
pmg7(6) 1.1.1.123 node S 1 day 01:04 0.16 27% 4%
root@pmg7:~# pmgcm join 1.1.1.17
Enter password: **********************
The authenticity of host '1.1.1.17' can't be established.
X509 SHA256 key fingerprint is C5:6FB:50:61:***********************8:92:7C:79:24:F4.
Are you sure you want to continue connecting (yes/no)? yes
stop all services accessing the database
save new cluster configuration
cluster node successfully joined
updated /etc/pmg/cluster.conf
updated /etc/pmg/pmg-authkey.key
updated /etc/pmg/pmg-authkey.pub
updated /etc/pmg/pmg-csrf.key
updated /etc/pmg/user.conf
updated /etc/pmg/domains
updated /etc/pmg/mynetworks
updated /etc/pmg/transport
updated /etc/pmg/pmg.conf
copying master database from '1.1.1.17'
copying master database finished (got 10583203 bytes)
delete local database
could not change directory to "/root": Permission denied
create new local database
could not change directory to "/root": Permission denied
insert received data into local database
creating indexes
run analyze to speed up database queries
could not change directory to "/root": Permission denied
ANALYZE
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
syncing quarantine data
syncing quarantine data finished
***********
Last status:
root@pmg3:~# pmgcm status
NAME(CID)--------------IPADDRESS----ROLE-STATE---------UPTIME---LOAD----MEM---DISK
pmg6(5) 1.1.1.93 node S 1 day 01:23 0.02 13% 4% -> New Dedicated Machine
pmg8(7) 1.1.1.129 node ERROR: 401 permission denied - invalid PMG ticket - - -% -% -> New Dedicated Machine
pmg9(8) 1.1.1.135 node S 1 day 01:23 0.14 13% 4% -> New Dedicated Machine
pmg7(6) 1.1.1.123 node ERROR: 401 permission denied - invalid PMG ticket - - -% -% -> New Dedicated Machine
pmg3(1) 1.1.1.17 master S 8 days 15:37 0.85 47% 19% -> Virtual Machine
pmg5(9) 1.1.1.63 node ERROR: 401 permission denied - invalid PMG ticket - - -% -% -> New Dedicated Machine
pmg4(2) 1.1.1.18 node S 8 days 15:45 0.28 39% 10% -> Virtual Machine
pmg5 = pmgcm join 1.1.1.17 = failed
pmg6 = pmgcm join 1.1.1.17 = ok
pmg7 = pmgcm join 1.1.1.17 = failed
pmg8 = pmgcm join 1.1.1.17 = failed
pmg9 = pmgcm join 1.1.1.17 = ok
all have the same version pmg.
Last edited: