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-9883) VPC RVR private gateway interface is not configured correctly
Date Wed, 19 Apr 2017 09:14:41 GMT

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

Jayapal Reddy commented on CLOUDSTACK-9883:
-------------------------------------------

Another issue observed that the password server is also started on privategateway ip.
{noformat}
root@r-268-QA:~# ps axu | grep passwd_server
root      5494  0.0  0.6  19624  1584 ?        S    08:54   0:00 /bin/bash /opt/cloud/bin/passwd_server_ip
10.147.52.100 dummy
root      5496  0.0  3.1  48472  7908 ?        S    08:54   0:00 python /opt/cloud/bin/passwd_server_ip.py
10.147.52.100
root      5503  0.0  0.6  19624  1588 ?        S    08:54   0:00 /bin/bash /opt/cloud/bin/passwd_server_ip
10.1.1.1 dummy
root      5505  0.0  3.1  48472  7912 ?        S    08:54   0:00 python /opt/cloud/bin/passwd_server_ip.py
10.1.1.1
root      7567  0.0  0.3   8272   896 pts/0    S+   09:09   0:00 grep passwd_server
{noformat}

Also observe the issue of assigning ips incorrectly to the interface after creating the private
gateway. Once this issue is seen after that I am not able to reproduce.
{noformat}
-     rVPC with private gateway has issues

          Logs after PGW configuration.
root@r-226-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:3f brd ff:ff:ff:ff:ff:ff
    inet 169.254.2.63/16 brd 169.254.255.255 scope global eth0
5: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 02:00:5c:96:00:04 brd ff:ff:ff:ff:ff:ff
    inet 10.147.46.104/24 brd 10.147.46.255 scope global eth1
    inet 10.2.1.109/24 brd 10.2.1.255 scope global eth1
    inet 10.2.1.1/24 brd 10.2.1.255 scope global secondary eth1
7: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 06:2c:56:00:00:22 brd ff:ff:ff:ff:ff:ff
    inet 10.147.52.100/24 brd 10.147.52.255 scope global eth2
    inet 10.147.52.1/24 brd 10.147.52.255 scope global secondary eth2
root@r-226-QA:~# checkrouter.sh
Status: MASTER
root@r-226-QA:~#

root@r-227-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:00:73 brd ff:ff:ff:ff:ff:ff
    inet 169.254.0.115/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:ab:30:00:00:10 brd ff:ff:ff:ff:ff:ff
    inet 10.147.46.104/24 brd 10.147.46.255 scope global eth1
    inet 10.2.1.45/24 brd 10.2.1.255 scope global eth1
    inet 10.2.1.1/24 brd 10.2.1.255 scope global secondary eth1
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 02:00:79:63:00:05 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:b4:c6:00:00:22 brd ff:ff:ff:ff:ff:ff
    inet 10.147.52.100/24 brd 10.147.52.255 scope global eth3
    inet 10.147.52.1/24 brd 10.147.52.255 scope global secondary eth3
root@r-227-QA:~#
root@r-227-QA:~# checkrouter.sh
Status: MASTER
root@r-227-QA:~#

Logs after PGW removal:
root@r-226-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:3f brd ff:ff:ff:ff:ff:ff
    inet 169.254.2.63/16 brd 169.254.255.255 scope global eth0
5: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 02:00:5c:96:00:04 brd ff:ff:ff:ff:ff:ff
    inet 10.147.46.104/24 brd 10.147.46.255 scope global eth1
    inet 10.2.1.109/24 brd 10.2.1.255 scope global eth1
    inet 10.2.1.1/24 brd 10.2.1.255 scope global secondary eth1
root@r-226-QA:~# checkrouter.sh

Status: MASTER
root@r-226-QA:~#
root@r-227-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:00:73 brd ff:ff:ff:ff:ff:ff
    inet 169.254.0.115/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:ab:30:00:00:10 brd ff:ff:ff:ff:ff:ff
    inet 10.147.46.104/24 brd 10.147.46.255 scope global eth1
    inet 10.2.1.45/24 brd 10.2.1.255 scope global eth1
    inet 10.2.1.1/24 brd 10.2.1.255 scope global secondary eth1
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 02:00:79:63:00:05 brd ff:ff:ff:ff:ff:ff
root@r-227-QA:~# checkrouter.sh
Status: MASTER
root@r-227-QA:~#

#cat /etc/cloudstack/ips.json ethic has two ips and on reboot also the will remaining same.
    "eth2": [
        {
            "add": false,
            "broadcast": "10.147.46.255",
            "cidr": "10.147.46.102/24",
            "device": "eth2",
            "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": 2,
            "nw_type": "public",
            "one_to_one_nat": false,
            "public_ip": "10.147.46.102",
            "size": "24",
            "source_nat": true,
            "vif_mac_address": "06:67:20:00:00:0e"
        },
        {
            "add": false,
            "broadcast": "10.2.1.255",
            "cidr": "10.2.1.106/24",
            "device": "eth2",
            "gateway": "10.2.1.1",
            "netmask": "255.255.255.0",
            "network": "10.2.1.0/24",
            "nic_dev_id": "2",
            "nw_type": "guest",
            "one_to_one_nat": false,
            "public_ip": "10.2.1.106",
            "size": "24",
            "source_nat": false
        }
    ],
{noformat}

> VPC RVR private gateway interface is not configured correctly
> -------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9883
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9883
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Network Controller, Network Devices
>            Reporter: Jayapal Reddy
>             Fix For: 4.10.0.0
>
>
> 1. create a Redundant VPC.
> 2. Deploy a VM in the tier network.
> 3. Create a private gateway in VPC.
> On master it is observed that the private gateway interface is configured with the privategateway
ip and start ip in the subnet. Ex: private gateway ip is 10.147.52.100 then it is also configured
with the 10.147.52.1.
> If 10.147.52.1 is the gateway then it will create issues.
> {noformat}
> root@r-256-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:00:02 brd ff:ff:ff:ff:ff:ff
>     inet 169.254.0.2/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:dd:6c:00:00:10 brd ff:ff:ff:ff:ff:ff
>     inet 10.147.46.104/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:01:28:00:07 brd ff:ff:ff:ff:ff:ff
>     inet 10.2.1.253/24 brd 10.2.1.255 scope global eth2
>     inet 10.2.1.1/24 brd 10.2.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:01:6a:00:00:24 brd ff:ff:ff:ff:ff:ff
>     inet 10.147.52.100/24 brd 10.147.52.255 scope global eth3
>     inet 10.147.52.1/24 brd 10.147.52.255 scope global secondary eth3
> root@r-256-QA:~# checkrouter.sh
> Status: MASTER
> root@r-256-QA:~#
> {noformat}



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

Mime
View raw message