Skip to content
  1. Jan 19, 2017
  2. Jan 17, 2017
  3. Jan 15, 2017
    • Greg Althaus's avatar
      This PR adds/or modifies a few tasks to allow for the playbook to · 6c69da15
      Greg Althaus authored
      be run by limit on each node without regard for order.
      
      The changes make sure that all of the directories needed to do
      certificate management are on the master[0] or etcd[0] node regardless
      of when the playbook gets run on each node.  This allows for separate
      ansible playbook runs in parallel that don't have to be synchronized.
      6c69da15
  4. Jan 13, 2017
    • Greg Althaus's avatar
      If the inventory name of the host exceeds 63 characters, · 95bf380d
      Greg Althaus authored
      the openssl tools will fail to create signing requests because
      the CN is too long.  This is mainly a problem when FQDNs are used
      in the inventory file.
      
      THis will truncate the hostname for the CN field only at the
      first dot.  This should handle the issue for most cases.
      95bf380d
  5. Jan 09, 2017
  6. Jan 05, 2017
  7. Jan 04, 2017
  8. Jan 03, 2017
  9. Jan 02, 2017
  10. Dec 30, 2016
  11. Dec 28, 2016
  12. Dec 27, 2016
  13. Dec 22, 2016
  14. Dec 19, 2016
  15. Dec 15, 2016
  16. Dec 09, 2016
    • Bogdan Dobrelya's avatar
      Preconfigure DNS stack and docker early · a15d6267
      Bogdan Dobrelya authored
      
      
      In order to enable offline/intranet installation cases:
      * Move DNS/resolvconf configuration to preinstall role. Remove
        skip_dnsmasq_k8s var as not needed anymore.
      
      * Preconfigure DNS stack early, which may be the case when downloading
        artifacts from intranet repositories. Do not configure
        K8s DNS resolvers for hosts /etc/resolv.conf yet early (as they may be
        not existing).
      
      * Reconfigure K8s DNS resolvers for hosts only after kubedns/dnsmasq
        was set up and before K8s apps to be created.
      
      * Move docker install task to early stage as well and unbind it from the
        etcd role's specific install path. Fix external flannel dependency on
        docker role handlers. Also fix the docker restart handlers' steps
        ordering to match the expected sequence (the socket then the service).
      
      * Add default resolver fact, which is
        the cloud provider specific and remove hardcoded GCE resolver.
      
      * Reduce default ndots for hosts /etc/resolv.conf to 2. Multiple search
        domains combined with high ndots values lead to poor performance of
        DNS stack and make ansible workers to fail very often with the
        "Timeout (12s) waiting for privilege escalation prompt:" error.
      
      * Update docs.
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      a15d6267
    • Bogdan Dobrelya's avatar
      Add tags · 8cc84e13
      Bogdan Dobrelya authored
      
      
      Add tags to allow more granular tasks filtering.
      Add generator script for MD formatted tags found.
      Add docs for tags how-to.
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      8cc84e13
  17. Nov 19, 2016
    • Dan Bode's avatar
      Ensure that etcd health checks always pass · ff675d40
      Dan Bode authored
      in the etcd handler, the reload etcd action
      was called after ansible waits for etcd to be
      up, this means that the health checks which are
      called immediately after fail (resulting in the etcd
      role always failing and never finishing)
      
      This patch changes the order to move the 'wait for etcd
      up' resource after the 'reload etcd resource', ensuring that
      the service is up before the health check is called.
      ff675d40
  18. Nov 18, 2016
  19. Nov 14, 2016
  20. Nov 09, 2016
  21. Oct 21, 2016
  22. Oct 20, 2016
  23. Sep 15, 2016
  24. Sep 13, 2016
  25. Aug 29, 2016
  26. Aug 25, 2016
    • Bogdan Dobrelya's avatar
      Refactor roles and hosts · 8168689c
      Bogdan Dobrelya authored
      
      
      Shorten deployment time with:
      - Remove redundand roles if duplicated by a dependency and vice versa
      - When a member of k8s-cluster, always install docker as a dependency
        of the etcd role and drop the docker role from cluster.yaml.
      - Drop etcd and node role dependencies from master role as they are
        covered by the node role in k8s-cluster group as well. Copy defaults
        for master from node role.
      - Decouple master, node, secrets roles handlers and vars to be used w/o
        cross references.
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      8168689c
  27. Aug 15, 2016
  28. Aug 02, 2016
    • Matthew Mosesohn's avatar
      Move docker systemd unit creation to docker role · e8a1c7a5
      Matthew Mosesohn authored
      Creating the unit using default settings early on
      and then changing it during network_plugin section
      leads to too many docker restarts and duplicated code.
      
      Reversed Wants= dependence on docker.service so it does not
      restart docker when reloading systemd
      
      Consolidated all docker restart handlers.
      e8a1c7a5
    • Bogdan Dobrelya's avatar
      Rework systemd service units · 2af71f31
      Bogdan Dobrelya authored
      
      
      * Add for docker system units:
          ExecReload=/bin/kill -s HUP $MAINPID
          Delegate=yes
          KillMode=process.
      * Add missed DOCKER_OPTIONS for calico/weave docker systemd unit.
      * Change Requires= to a less strict and non-faily Wants=, add missing
        Wants= for After=.
      * Align wants/after in a wat if Wants=foo, After= has foo as well.
      * Make wants/after docker.service to ask for the docker.socket as well.
      * Move "docker rm -f" commands from ExecStartPre= to ExecStopPost=.
        hooks to ensure non-destructive start attempts issued by Wants=.
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      2af71f31
  29. Jul 29, 2016
Loading