1. 13 Jul, 2015 1 commit
  2. 08 Jul, 2015 2 commits
  3. 07 Jul, 2015 4 commits
  4. 06 Jul, 2015 30 commits
  5. 03 Jul, 2015 3 commits
    • Helga Velroyen's avatar
      Consider ECDSA in SSH setup · 13feca73
      Helga Velroyen authored
      So far, Ganeti did only care about DSA and RSA host
      keys. With the rising popularity of ECDSA, we should
      support this key type as well, as it is already
      enabled by default in many common distributions.
      
      This fixes Issue 1098.
      Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
      Reviewed-by: default avatarPetr Pudlak <pudlak@google.com>
      13feca73
    • Helga Velroyen's avatar
      Update documentation of watcher and RAPI daemon · 73de8118
      Helga Velroyen authored
      .. to reflect the relationship between the RAPI daemons'
      -b option and the watchers --rapi-ip option.
      Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
      Reviewed-by: default avatarPetr Pudlak <pudlak@google.com>
      73de8118
    • Helga Velroyen's avatar
      Watcher: add option for setting RAPI IP · fbf8089c
      Helga Velroyen authored
      Per default, the RAPI daemon binds to 0.0.0.0 when being
      started. This means it serves from any IP the machine is
      configured for. This works well together with the watcher
      which always polls the RAPI daemons on 127.0.0.1 and
      restarts it when it is not reachable.
      
      If a user decides to start the RAPI daemon with a particular
      IP other than 127.0.0.1 (using the option -b, for example
      set in /etc/default/ganeti), RAPI will only serve from that
      IP and thus it will not be reachable from 127.0.0.1. Since
      the watcher only polls on this IP, it will inevitably fail
      to connect to the RAPI daemon and thus restart it every five
      minutes.
      
      To solve this, this patch adds an option --rapi-ip to the
      watcher. Whenever -b of the RAPI daemon is set, the watcher
      needs to be fed the same IP with --rapi-ip (which means
      editing /etc/cron.d/ganeti for example). This is not optimal
      regarding user experience (as it is easy to forget one of
      the two places), but the alternative would be to make this
      a ganeti configuration parameter which is fed to both, RAPI
      daemon and watcher, but this would be significantly more
      effort for this relatively rarely used feature.
      Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
      Reviewed-by: default avatarPetr Pudlak <pudlak@google.com>
      fbf8089c