Skip to content
  • Iustin Pop's avatar
    Big change/cleanup in relation to the master startup: · 880478f8
    Iustin Pop authored
      - move the master node name from the ConfigWriter to SimpleStore (all
        nodes need this, and it was the only thing pulled in from the
        ConfigWriter on nodes)
      - fix mcpu.py and the testing w.r.t. this change; for testing, rename
        the fake_config.py to mocks.py and add a FakeSStore object
      - then add a ganeti-master script which can be run on any node at boot
        and which will not do anything if not master on start (on stop it
        will still try to remove the ip address)
      - also add a new cluster-wide variable (master_netdev) that determines
        on which interface we add this ip address; it's customizable at
        cluster init time
      - also remove the cluster name file which was separately handled from
        ssconf (not needed anymore)
      - remove the master init.d links from the list of config files as this
        is not our responsibility now
    
    880478f8