cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9151) As a Developer I want the VRID to be set within the limits of KeepaliveD
Date Sat, 12 Dec 2015 18:03:46 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-9151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15054499#comment-15054499
] 

ASF GitHub Bot commented on CLOUDSTACK-9151:
--------------------------------------------

Github user remibergsma commented on the pull request:

    https://github.com/apache/cloudstack/pull/1231#issuecomment-164172595
  
    First test results:
    
    keepalived.conf looks as expected:
    ```
    vrrp_instance inside_network {
        state EQUAL
        interface eth2
        virtual_router_id 51
        nopreempt
    ```
    
    Service is running:
    ```
    root@r-11-VM:/etc/keepalived# ps aux | grep keepalived
    root      4058  0.1  0.4  47040  1032 ?        Ss   17:56   0:00 /usr/sbin/keepalived
    root      4059  0.1  0.9  53308  2368 ?        S    17:56   0:00 /usr/sbin/keepalived
    root      4060  0.2  0.7  53308  1768 ?        S    17:56   0:00 /usr/sbin/keepalived
    root      5994  0.0  0.3   8076   852 pts/1    S+   18:00   0:00 grep keepalived
    ```
    
    Logs:
    ```
    Dec 12 17:56:12 r-11-VM Keepalived_vrrp[4060]: Registering Kernel netlink reflector
    Dec 12 17:56:12 r-11-VM Keepalived_vrrp[4060]: Registering Kernel netlink command channel
    Dec 12 17:56:12 r-11-VM Keepalived_vrrp[4060]: Registering gratuitous ARP shared channel
    Dec 12 17:56:12 r-11-VM Keepalived_vrrp[4060]: Opening file '/etc/keepalived/keepalived.conf'.
    Dec 12 17:56:12 r-11-VM Keepalived_vrrp[4060]: Truncating auth_pass to 8 characters
    Dec 12 17:56:12 r-11-VM Keepalived_vrrp[4060]: Configuration is using : 64669 Bytes
    Dec 12 17:56:12 r-11-VM Keepalived_vrrp[4060]: Using LinkWatch kernel netlink reflector...
    Dec 12 17:56:12 r-11-VM Keepalived_vrrp[4060]: VRRP_Instance(inside_network) Entering
BACKUP STATE
    Dec 12 17:56:13 r-11-VM Keepalived_vrrp[4060]: VRRP_Script(heartbeat) succeeded
    Dec 12 17:56:16 r-11-VM Keepalived_vrrp[4060]: VRRP_Instance(inside_network) Transition
to MASTER STATE
    Dec 12 17:56:17 r-11-VM Keepalived_vrrp[4060]: VRRP_Instance(inside_network) Entering
MASTER STATE
    ```
    
    <img width="413" alt="screen shot 2015-12-12 at 19 01 24" src="https://cloud.githubusercontent.com/assets/1630096/11763223/ea78f8a0-a102-11e5-87dc-eb5f8fdaecd3.png">



> As a Developer I want the VRID to be set within the limits of KeepaliveD
> ------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9151
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9151
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Virtual Router, VPC
>    Affects Versions: 4.6.0, 4.6.1
>            Reporter: Wilder Rodrigues
>            Assignee: Wilder Rodrigues
>            Priority: Blocker
>             Fix For: 4.7.0, 4.6.2
>
>
> Dec 12 14:36:10 r-996-VM Keepalived_vrrp[28477]: VRRP Error : VRID not valid !
> Dec 12 14:36:10 r-996-VM Keepalived_vrrp[28477]:              must be between 1 &
255. reconfigure !
> ​[3:38] 
> inside the /etc/keepalived/keepalived.conf
> ​[3:38] 
> vrrp_instance inside_network {
>   state EQUAL
>   interface eth4
>   virtual_router_id 459
> ​[3:43]
> The current code uses the VPC ID as VRID, but it doesn't have to be unique per VPC, but
for NIC. So, we can simply use 51, as the KeepaliveD suggests.
> # arbitary unique number 0..255 # used to differentiate multiple instances of vrrpd #
running on the same NIC (and hence same socket). virtual_router_id 51



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message