Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-8616

Redundant VPC with both routers as Master

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.6.0
    • None
    • Virtual Router
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      There is an intermittent problem with the keepalived on the redundant VPC routers. Sometimes both routers stay on Master state for a while.

      We are able to reproduce it only when testing with Marvin, which executes the calls very quick. When using the UI and following the same steps, it doesn't happen.

      Setting up:

      1. Create a VPC using redundant VPC offering
      2. Add 2 Tiers
      3. Create 2 VMs in each Tier
      4. Create ACLs to allow traffic on port 22 coming from 0.0.0.0/0
      5. Acquire 4 public IPs
      6. Create Port Forwarding rules - per IP - for port 22
      7. Assign each PF created to one of the VMs
      8. SSH to the VMs

      Testing fail over:

      1. Stop the Master Router
      2. Check the the Backup Router became Master
      3. SSH to the VMs

      Testing failure:

      1. Delete all port forwarding rules
      2. SSH to the VMs
      3. Verify that it no longer works

      Test recovering

      1. Restart the router
      2. Once the router is running, check that it's on Backup state
      3. Add the port forwarding rules back
      4. Verify that the routers are still on the same state: 1 Master and 1 Backup

      • That's the part when it fails during the Marvin tests
      • When 2 routers are on Master, by restarting 1 router will bring everything to a normal state: 1 master and 1 backup
        5. SSH to the VMs

      Attachments

        Issue Links

          Activity

            People

              wilder.rodrigues Wilder Rodrigues
              wilder.rodrigues Wilder Rodrigues
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: