cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jayapal Reddy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9885) VPC RVR: On deleting first tier network both VRs becoming MASTER
Date Mon, 22 May 2017 11:58:12 GMT

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

Jayapal Reddy commented on CLOUDSTACK-9885:
-------------------------------------------

10.147.52.x is the private gateway. Its "nw_type": "guest", due to this its interface has
two ip addresses configured.

root@r-113-QA:~# ip a show eth2
12: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
    link/ether 06:87:40:00:00:27 brd ff:ff:ff:ff:ff:ff
    inet 10.147.52.1/24 brd 10.147.52.255 scope global eth2
    inet 10.147.52.100/24 brd 10.147.52.255 scope global secondary eth2
root@r-113-QA:~# 
{noformat}
root@r-113-QA:~# cat /etc/cloudstack/ips.json 
{
    "eth0": [
        {
            "add": true, 
            "broadcast": "169.254.255.255", 
            "cidr": "169.254.3.120/16", 
            "device": "eth0", 
            "gateway": "None", 
            "netmask": "255.255.0.0", 
            "network": "169.254.0.0/16", 
            "nic_dev_id": "0", 
            "nw_type": "control", 
            "one_to_one_nat": false, 
            "public_ip": "169.254.3.120", 
            "size": "16", 
            "source_nat": false
        }
    ], 
    "eth1": [
        {
            "add": true, 
            "broadcast": "10.147.46.255", 
            "cidr": "10.147.46.108/24", 
            "device": "eth1", 
            "first_i_p": true, 
            "gateway": "10.147.46.1", 
            "netmask": "255.255.255.0", 
            "network": "10.147.46.0/24", 
            "new_nic": false, 
            "nic_dev_id": 1, 
            "nw_type": "public", 
            "one_to_one_nat": false, 
            "public_ip": "10.147.46.108", 
            "size": "24", 
            "source_nat": true, 
            "vif_mac_address": "06:38:a6:00:00:14"
        }
    ], 
    "eth2": [
        {
            "add": true, 
            "broadcast": "10.147.52.255", 
            "cidr": "10.147.52.1/24", 
            "device": "eth2", 
            "first_i_p": false, 
            "gateway": "10.147.52.100", 
            "netmask": "255.255.255.0", 
            "network": "10.147.52.0/24", 
            "new_nic": false, 
            "nic_dev_id": 2, 
            "nw_type": "guest", 
            "one_to_one_nat": false, 
            "public_ip": "10.147.52.1", 
            "size": "24", 
            "source_nat": true, 
            "vif_mac_address": "06:87:40:00:00:27"
        }, 
        {
            "add": false, 
            "broadcast": "10.1.1.255", 
            "cidr": "10.1.1.151/24", 
            "device": "eth2", 
            "gateway": "10.1.1.1", 
            "netmask": "255.255.255.0", 
            "network": "10.1.1.0/24", 
            "nic_dev_id": "2", 
            "nw_type": "guest", 
            "one_to_one_nat": false, 
            "public_ip": "10.1.1.151", 
            "size": "24", 
            "source_nat": false
        }, 
        {
            "add": false, 
            "broadcast": "10.1.1.255", 
            "cidr": "10.1.1.245/24", 
            "device": "eth2", 
            "gateway": "10.1.1.1", 
            "netmask": "255.255.255.0", 
            "network": "10.1.1.0/24", 
            "nic_dev_id": "2", 
            "nw_type": "guest", 
            "one_to_one_nat": false, 
            "public_ip": "10.1.1.245", 
            "size": "24", 
            "source_nat": false
        }
    ], 
    "eth3": [
        {
            "add": false, 
            "broadcast": "10.1.2.255", 
            "cidr": "10.1.2.64/24", 
            "device": "eth3", 
            "gateway": "10.1.2.1", 
            "netmask": "255.255.255.0", 
            "network": "10.1.2.0/24", 
            "nic_dev_id": "3", 
            "nw_type": "guest", 
            "one_to_one_nat": false, 
            "public_ip": "10.1.2.64", 
            "size": "24", 
            "source_nat": false
        }, 
        {
            "add": true, 
            "broadcast": "10.1.2.255", 
            "cidr": "10.1.2.170/24", 
            "device": "eth3", 
            "gateway": "10.1.2.1", 
            "netmask": "255.255.255.0", 
            "network": "10.1.2.0/24", 
            "nic_dev_id": "3", 
            "nw_type": "guest", 
            "one_to_one_nat": false, 
            "public_ip": "10.1.2.170", 
            "size": "24", 
            "source_nat": false
        }
    ], 
    "eth4": [
        {
            "add": false, 
            "broadcast": "10.1.3.255", 
            "cidr": "10.1.3.82/24", 
            "device": "eth4", 
            "gateway": "10.1.3.1", 
            "netmask": "255.255.255.0", 
            "network": "10.1.3.0/24", 
            "nic_dev_id": "4", 
            "nw_type": "guest", 
            "one_to_one_nat": false, 
            "public_ip": "10.1.3.82", 
            "size": "24", 
            "source_nat": false
        }
    ], 
    "id": "ips"

{noformat}

> VPC RVR: On deleting first tier network both VRs becoming MASTER
> ----------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9885
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9885
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Jayapal Reddy
>            Priority: Blocker
>             Fix For: 4.10.0.0
>
>
> - Configure two tier networks t1 and t2. Delete the t1 network. Both VRs are getting
 into MASTER state.
> r-269-QA - was BACKUP VR. On deleting t1 network it became MASTER.
> {noformat}
> root@r-269-QA:~# ip a
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>     inet 127.0.0.1/8 scope host lo
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 0e:00:a9:fe:01:dc brd ff:ff:ff:ff:ff:ff
>     inet 169.254.1.220/16 brd 169.254.255.255 scope global eth0
> 3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
>     link/ether 06:e4:c8:00:00:0e brd ff:ff:ff:ff:ff:ff
>     inet 10.147.46.102/24 brd 10.147.46.255 scope global eth1
> 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 02:00:5d:a4:00:03 brd ff:ff:ff:ff:ff:ff
>     inet 10.1.1.33/24 brd 10.1.1.255 scope global eth2
> 5: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 06:de:fc:00:00:29 brd ff:ff:ff:ff:ff:ff
>     inet 10.147.52.200/24 brd 10.147.52.255 scope global eth3
> 6: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 02:00:31:e1:00:03 brd ff:ff:ff:ff:ff:ff
>     inet 10.1.2.78/24 brd 10.1.2.255 scope global eth4
> root@r-269-QA:~#
> root@r-269-QA:~# ip a
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>     inet 127.0.0.1/8 scope host lo
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 0e:00:a9:fe:01:dc brd ff:ff:ff:ff:ff:ff
>     inet 169.254.1.220/16 brd 169.254.255.255 scope global eth0
> 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 06:e4:c8:00:00:0e brd ff:ff:ff:ff:ff:ff
>     inet 10.147.46.102/24 brd 10.147.46.255 scope global eth1
> 5: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 06:de:fc:00:00:29 brd ff:ff:ff:ff:ff:ff
>     inet 10.147.52.200/24 brd 10.147.52.255 scope global eth3
>     inet 10.147.52.100/24 brd 10.147.52.255 scope global secondary eth3
> 6: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 02:00:31:e1:00:03 brd ff:ff:ff:ff:ff:ff
>     inet 10.1.2.78/24 brd 10.1.2.255 scope global eth4
>     inet 10.1.2.1/24 brd 10.1.2.255 scope global secondary eth4
> root@r-269-QA:~# checkrouter.sh
> Status: MASTER
> root@r-269-QA:~#
> {noformat}
> root@r-268-QA - was MASTER VR. On deleting t1 it deleted its eth2 interface and delete
10.2.1.1 ip on ethic interface.
>    After some time it configured 10.2.1.1 ip on eth4 and it became master.
> {noformat}
> root@r-268-QA:~# ip a
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>     inet 127.0.0.1/8 scope host lo
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 0e:00:a9:fe:02:ac brd ff:ff:ff:ff:ff:ff
>     inet 169.254.2.172/16 brd 169.254.255.255 scope global eth0
> 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 06:e4:c8:00:00:0e brd ff:ff:ff:ff:ff:ff
>     inet 10.147.46.102/24 brd 10.147.46.255 scope global eth1
> 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 02:00:15:ab:00:02 brd ff:ff:ff:ff:ff:ff
>     inet 10.1.1.189/24 brd 10.1.1.255 scope global eth2
>     inet 10.1.1.1/24 brd 10.1.1.255 scope global secondary eth2
> 5: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 06:67:ce:00:00:29 brd ff:ff:ff:ff:ff:ff
>     inet 10.147.52.200/24 brd 10.147.52.255 scope global eth3
>     inet 10.147.52.100/24 brd 10.147.52.255 scope global secondary eth3
> 6: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 02:00:09:1d:00:02 brd ff:ff:ff:ff:ff:ff
>     inet 10.1.2.49/24 brd 10.1.2.255 scope global eth4
>     inet 10.1.2.1/24 brd 10.1.2.255 scope global secondary eth4
> root@r-268-QA:~#
> root@r-268-QA:~# ip a
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>     inet 127.0.0.1/8 scope host lo
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 0e:00:a9:fe:02:ac brd ff:ff:ff:ff:ff:ff
>     inet 169.254.2.172/16 brd 169.254.255.255 scope global eth0
> 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 06:e4:c8:00:00:0e brd ff:ff:ff:ff:ff:ff
>     inet 10.147.46.102/24 brd 10.147.46.255 scope global eth1
> 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 02:00:15:ab:00:02 brd ff:ff:ff:ff:ff:ff
> 5: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 06:67:ce:00:00:29 brd ff:ff:ff:ff:ff:ff
>     inet 10.147.52.200/24 brd 10.147.52.255 scope global eth3
> 6: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 02:00:09:1d:00:02 brd ff:ff:ff:ff:ff:ff
>     inet 10.1.2.49/24 brd 10.1.2.255 scope global eth4
> root@r-268-QA:~# ip a
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>     inet 127.0.0.1/8 scope host lo
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 0e:00:a9:fe:02:ac brd ff:ff:ff:ff:ff:ff
>     inet 169.254.2.172/16 brd 169.254.255.255 scope global eth0
> 3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
>     link/ether 06:e4:c8:00:00:0e brd ff:ff:ff:ff:ff:ff
>     inet 10.147.46.102/24 brd 10.147.46.255 scope global eth1
> 5: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 06:67:ce:00:00:29 brd ff:ff:ff:ff:ff:ff
>     inet 10.147.52.200/24 brd 10.147.52.255 scope global eth3
> 6: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 02:00:09:1d:00:02 brd ff:ff:ff:ff:ff:ff
>     inet 10.1.2.49/24 brd 10.1.2.255 scope global eth4
> root@r-268-QA:~# ip a
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>     inet 127.0.0.1/8 scope host lo
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 0e:00:a9:fe:02:ac brd ff:ff:ff:ff:ff:ff
>     inet 169.254.2.172/16 brd 169.254.255.255 scope global eth0
> 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 06:e4:c8:00:00:0e brd ff:ff:ff:ff:ff:ff
>     inet 10.147.46.102/24 brd 10.147.46.255 scope global eth1
> 5: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 06:67:ce:00:00:29 brd ff:ff:ff:ff:ff:ff
>     inet 10.147.52.200/24 brd 10.147.52.255 scope global eth3
>     inet 10.147.52.100/24 brd 10.147.52.255 scope global secondary eth3
> 6: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen
1000
>     link/ether 02:00:09:1d:00:02 brd ff:ff:ff:ff:ff:ff
>     inet 10.1.2.49/24 brd 10.1.2.255 scope global eth4
>     inet 10.1.2.1/24 brd 10.1.2.255 scope global secondary eth4
> root@r-268-QA:~# checkrouter.sh
> Status: MASTER
> root@r-268-QA:~#
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message