#5687 closed task (complete)

HA Machine State Hold - Preparation

Reported by: stephen Owned by: wlodekwencel
Priority: medium Milestone: Kea1.5 QA
Component: tests Version: git
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: Core Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 40
Total Hours: 40 Internal?: no

Description

This stage covers the preparation for testing this option. In particular, it covers:

  • Preparation of the Kea configuration files used for testing
    • Need to check the combinations of:
      • IPv4/IPv6
      • Hot-standby and load-balancing configurations
  • Add function to Forge to:
    • be able to identify the HA state of a Kea server (using the ha-heartbeat command)
    • resume startup
  • Add functions to send DHCP requests to server
    • During the holding period
    • After the holding period
    • Need to be able to send queries to both primary server and secondary server
  • Add function to check whether a lease exists in the persistent store
  • Add framework for controlling test

Subtickets

Change History (2)

comment:1 Changed 20 months ago by wlodekwencel

  • Owner set to wlodekwencel
  • Status changed from new to accepted

comment:2 Changed 19 months ago by wlodekwencel

  • Add Hours to Ticket changed from 0 to 40
  • Resolution set to complete
  • Status changed from accepted to closed
  • Total Hours changed from 0 to 40

I little bit extended this ticket. I dumped my entire previous solution in forge to run multiple servers for HA setup. It was not scalable, hard to maintain and bogus. Decided to design everything again and wrote from scratch. It's now operates much better - forge can run 1,2 or more kea servers (each on different network location) and collect test results from all used places.

Extended support for JSON commands.

  • Preparation of the Kea configuration files used for testing
    • Need to check the combinations of:
      • IPv4/IPv6 DONE
      • Hot-standby and load-balancing configurations DONE
  • Add function to Forge to:
    • be able to identify the HA state of a Kea server (using the ha-heartbeat command) DONE
    • resume startup DONE
  • Add functions to send DHCP requests to server
    • During the holding period DONE
    • After the holding period DONE
    • Need to be able to send queries to both primary server and secondary server DONE
  • Add function to check whether a lease exists in the persistent store DONE
  • Add framework for controlling test DONE
Note: See TracTickets for help on using tickets.