Github user remibergsma commented on the pull request:

    https://github.com/apache/cloudstack/pull/839#issuecomment-140743242
  
    - Deployed Advanced zone with two KVM clusters
    - Created redundant router offering
    - Created network
    - Created VM in network
    
    Two routers were started, each on one cluster:
    ```
    MariaDB [cloud]> select name,host_id from vm_instance;
    +---------+---------+
    | name    | host_id |
    +---------+---------+
    | s-1-VM  |       1 |
    | v-2-VM  |       1 |
    | testvm1 |       4 |
    | r-4-VM  |       4 |
    | r-5-VM  |       1 |
    +---------+---------+
    5 rows in set (0.00 sec)
    
    MariaDB [cloud]> select name,id,cluster_id from host;
    +--------+----+------------+
    | name   | id | cluster_id |
    +--------+----+------------+
    | kvm3   |  1 |          1 |
    | v-2-VM |  2 |       NULL |
    | s-1-VM |  3 |       NULL |
    | kvm1   |  4 |          2 |
    +--------+----+------------+
    4 rows in set (0.00 sec)
    
    MariaDB [cloud]> select id,name from cluster;
    +----+------------+
    | id | name       |
    +----+------------+
    |  2 | MCCT-KVM-1 |
    |  1 | MCCT-KVM-3 |
    +----+------------+
    2 rows in set (0.00 sec)
    ```
    
    Log message:
    ```
    2015-09-16 13:17:49,543 DEBUG [c.c.v.VirtualMachineManagerImpl] 
(Work-Job-Executor-3:ctx-fbf1d659 job-16/job-17 ctx-a4481789) Deploy avoids 
pods: null, clusters: [2], hosts: null
    ```
    
    So, the second router (r-5-VM) avoids cluster 2 (because r-4-VM runs on 
host 4 which is part of cluster 2).
    
    Seems perfectly fine: LGTM
    
    Thanks @bvbharat 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to