DeepthiMachiraju created CLOUDSTACK-9959:
--------------------------------------------
Summary: [UI] Inconsistency in Redundant state switching over to
Master when current master is destroyed
Key: CLOUDSTACK-9959
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9959
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Virtual Router
Affects Versions: 4.10.0.0
Reporter: DeepthiMachiraju
Fix For: 4.10.0.0
- In AD , create an Isolated NW with RVR Network offering.
- Once both the master and back up are in Running state , destroy the Master.
Observation :
- Back up is not switched to Master in the UI and DB .
- Whereas in VR the state shows as Master..
- no CheckRouterCommand / CheckRouterAnswer observed for the new failover
router in Ms log.
================================
root@r-135-VM:/etc/cloudstack# cat cmdline.json
{
"config": {
"--": "--",
"advert_int": "1",
"baremetalnotificationapikey":
"xucbW6QYh6CBtoAWfm1IBNyIs62G3Zj0uhxA5mlxTP1fecZdcgl3PYjhP45fIBuc-JarB8r7H1obENvOQlF2iA",
"baremetalnotificationsecuritykey":
"xtLBtehx4T-XdhDfSaeRvvEJDwKAtYsjz9DwtstYrKBekJcQg1jPM7ThIR8BBpZr1nuYZVxoxrwkghNEE_xX5A",
"cidrsize": "24",
"console": "hvc0",
"debian-installer": "en_US",
"dhcprange": "10.1.1.1",
"disable_rp_filter": "true",
"dns1": "10.105.112.2",
"domain": "cs2cloud.internal",
"eth0ip": "10.1.1.146",
"eth0mask": "255.255.255.0",
"eth1ip": "169.254.2.200",
"eth1mask": "255.255.0.0",
"eth2ip": "10.147.30.115",
"eth2mask": "255.255.255.0",
"gateway": "10.147.30.1",
"guestbrd": "10.1.1.255",
"guestcidrsize": "24",
"guestgw": "10.1.1.1",
"host": "10.147.59.149",
"name": "r-135-VM",
"port": "8080",
"quiet": "quiet",
"redundant_master": true,
"redundant_router": "true",
"redundant_state": "MASTER",
"ro": "ro",
"root": "UUID",
"template": "domP",
"type": "router"
},
"id": "cmdline"
}
=============================
root@r-135-VM:/etc/cloudstack#
root@r-135-VM:/etc/cloudstack# checkrouter.sh
Status: MASTER
================================
mysql> select * from domain_router where id=135\G;
******* 1. row *********
id: 135
element_id: 1
public_mac_address: 06:58:d0:00:00:10
public_ip_address: 10.147.30.115
public_netmask: 255.255.255.0
guest_netmask: NULL
guest_ip_address: NULL
is_redundant_router: 1
priority: NULL
redundant_state: BACKUP
stop_pending: 0
role: VIRTUAL_ROUTER
template_version: Cloudstack Release 4.10.0 Wed May 17 11:36:48 UTC 2017
scripts_version: 296ed37908709aa4e1e9e04b03bb6248
vpc_id: NULL
update_state: NULL
1 row in set (0.00 sec)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)