Skip to content
Snippets Groups Projects
  1. Apr 30, 2013
  2. Apr 29, 2013
  3. Apr 25, 2013
  4. Apr 24, 2013
  5. Apr 23, 2013
  6. Apr 22, 2013
    • Klaus Aehlig's avatar
      Extend the simulation backend to also simulate a master node · 30dd3377
      Klaus Aehlig authored
      
      In a simulated cluster as created by the simulation backend to
      the htools, make the first node of the first node group the master
      node. In this way, hools (like hroller) that require a master node
      can also be used on simulated clusters, e.g., for testing.
      
      Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
      Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
      30dd3377
    • Klaus Aehlig's avatar
      Add unit tests for hroller · 754b9b1c
      Klaus Aehlig authored
      
      Add a unit test for hroller in a situation where the order
      is completely determined. There are 3 nodes where node 2 has,
      for each of the other nodes, an instanced shared with it. So
      node 2 has to be a reboot group of its own. There are no more
      instances, hence, my minimality, the other two nodes have to
      form a single group. Node 1 is the master, and hence has to
      be rebooted last; this determines the order.
      
      Also add a unit test verifying that hroller rejects configurations
      with multiple master nodes, even if the option --force is given.
      
      Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      754b9b1c
    • Klaus Aehlig's avatar
      Extend Text format by marking the master node · 000ca91a
      Klaus Aehlig authored
      
      Sometimes, e.g., for hroller, it is necessary to know which node
      is the master node. Therefore this information has to be included
      in the text format as well. Since we never use an offline node as
      master node, we can put this information can be put in the "is
      offline" field; as old versions only check this field for equality
      to "Y", using "M" to indicate the master is compatible in both
      directions. This also leaves room to add more roles in the future,
      should we need them.
      
      Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      000ca91a
Loading