[PVE-User] Corosync : name & IP confusion

Wolfgang Link w.link at proxmox.com
Tue Aug 30 14:15:12 CEST 2016


This out put is generated by corosync.

But you are correct it is not possible to delete a IP (ring0_addr).

Please make a bugzilla entry.

https://bugzilla.proxmox.com/

On 08/30/2016 12:35 PM, Florent B wrote:
> Hi everyone,
> 
> I configured my corosync.conf to use nodes IP address as "ring0_addr"
> like this :
> 
> node {
>     name: host7
>     nodeid: 2
>     quorum_votes: 1
>     ring0_addr: 10.109.0.7
>   }
> 
> The problem is that PVE is not using this information very well : you
> take as "node name" the value of "ring0_addr" :o :
> 
> # pvecm nodes
> 
> Membership information
> ----------------------
>     Nodeid      Votes Name
>          8          1 10.109.0.1
>          7          1 10.109.0.2
>          6          1 10.109.0.3
>          5          1 10.109.0.4
>          4          1 10.109.0.5
>          3          1 10.109.0.6
>          2          1 10.109.0.7
>          1          1 10.109.0.8
>          9          1 10.109.0.9 (local)
> 
> And of course when I want to remove host3 (10.109.0.3):
> 
> # pvecm delnode host3
> no such node 'host3'
> 
> # pvecm delnode 10.109.0.3
> 400 Parameter verification failed.
> node: invalid format - value does not look like a valid node name
> 
> I think PVE is doing a large confusion for a long time between name & IP
> (a lot of people having problem with their hosts file, see forum &
> mailing list).
> 
> Why don't simplify all this ? Do not configure an host file on each
> node, but use "ring0_addr" for what it is done : node IP address ?
> 
> What do you think about this ?
> 
> Flo
> 
> 
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
> 




More information about the pve-user mailing list