GitHub user summer-abacus added a comment to the discussion: Redundant virtual 
routers on same host

At the moment it looks like reproducable.

migrate virtual router r-981-VM to srv1-214

```
list routers listall=true filter=name,state,redundantstate,hostname,
count = 5
router:
+-----------+---------+----------------+----------+
|   NAME    |  STATE  | REDUNDANTSTATE | HOSTNAME |
+-----------+---------+----------------+----------+
| r-8-VM    | Running | UNKNOWN        | srv1-215 |
| r-75-VM   | Running | UNKNOWN        | srv1-215 |
| r-981-VM  | Running | BACKUP         | srv1-214 |
| r-982-VM  | Running | PRIMARY        | srv1-215 |
| r-1063-VM | Running | UNKNOWN        | srv1-214 |
+-----------+---------+----------------+----------+
```

set srv1-214 into maintenance mode

r-981-VM will be migrated to srv1-215

```
(cloudstackmsu) 🐞 > list routers listall=true 
filter=name,state,redundantstate,hostname,
count = 5
router:
+-----------+---------+----------------+----------+
|   NAME    |  STATE  | REDUNDANTSTATE | HOSTNAME |
+-----------+---------+----------------+----------+
| r-8-VM    | Running | UNKNOWN        | srv1-215 |
| r-75-VM   | Running | UNKNOWN        | srv1-215 |
| r-981-VM  | Running | BACKUP         | srv1-215 |
| r-982-VM  | Running | PRIMARY        | srv1-215 |
| r-1063-VM | Running | UNKNOWN        | srv1-214 |
+-----------+---------+----------------+----------+
```

Same happens, when we migrate the r-981-VM to srv1-213. And there is also 
nothing running on this cluster at the moment:

```
 list hostsmetrics filter=name,cpuallocated,memoryallocated
host:
count = 3
+----------+--------------+-----------------+
|   NAME   | CPUALLOCATED | MEMORYALLOCATED |
+----------+--------------+-----------------+
| srv1-214 | 0.00%        |               0 |
| srv1-215 | 1.03%        |      8053063680 |
| srv1-213 | 2.16%        |     22011707392 |
+----------+--------------+-----------------+
```

I've attached the management server logs but I do not see anything unexpected 
in there.
[mgmt-srv-router.log](https://github.com/user-attachments/files/24429091/mgmt-srv-router.log)



GitHub link: 
https://github.com/apache/cloudstack/discussions/12329#discussioncomment-15411982

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to