Bogdan Dobrelya
47b4242613
Adjust collect-info playbook
Cleanup collected artifacts,
drop unrelated files/commands.
Always install gitinfos script to binaries for external
use.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Smaine Kahlouch
92c4428cfd
Merge pull request #422 from kubespray/issue-421
remove host ca-certs, as they aren't necessary
8 years ago
Smaine Kahlouch
d97673c13f
Merge pull request #423 from bogdando/fix_gitinfos
Fix gen-gitinfos.sh
8 years ago
Bogdan Dobrelya
f61071312a
Fix gen-gitinfos.sh
Fix the error gen-gitinfos.sh: 57: [: foo: unexpected operator
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Spencer Smith
234608433e
remove host ca-certs, as they aren't necessary
8 years ago
Smaine Kahlouch
36b6ae9a3c
Merge pull request #419 from bogdando/fix_322
Fix resolv.conf search/nameserver
8 years ago
Bogdan Dobrelya
977f82c32c
Fix resolv.conf search/nameserver
Rename nodnsupdate hook the resolvconf hook to be sourced always
before it.
Ensure dhclient restarted via network restart to apply the
nodnsupdate hook.
Ensure additional nameserver/search, if defined as vars.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Smaine Kahlouch
1f6dce61ba
Merge pull request #418 from kubespray/fixkubeletnode
Restart kubelet if launcher changed
8 years ago
Matthew Mosesohn
6f07da9f41
Restart kubelet if launcher changed
Fixes #409
8 years ago
Smaine Kahlouch
ac7cc4b7d1
Merge pull request #413 from kubespray/fix_etcd_standalone_play
Fix etcd play to only run on non-k8s-cluster nodes
8 years ago
Matthew Mosesohn
d591b59205
Fix etcd play to only run on non-k8s-cluster nodes
This decreases the time required to deploy a cluster with
3 nodes, but none are standalone etcd roles.
8 years ago
Smaine Kahlouch
c6f2102073
Merge pull request #412 from kubespray/optionalkubeletcni
Copy hyperkube cni plugins optionally for calico deployment
8 years ago
Smaine Kahlouch
612266f3e5
Merge pull request #408 from kubespray/upstreaming_to_k8s
upstreaming to k8s
8 years ago
Smana
5fbfa1481e
files needed to move kargo to k8s
8 years ago
Smaine Kahlouch
430a87d887
Merge pull request #416 from kubespray/bug383
Fix init scripts for etcd. Fixes #383
8 years ago
Matthew Mosesohn
0c953101ff
Fix init scripts for etcd. Fixes #383
Fixes Ubuntu 14.04 deployment of etcd.
8 years ago
Smaine Kahlouch
07c144d8a6
Merge pull request #415 from kubespray/issue-414
force fact check of all nodes first thing
8 years ago
Spencer Smith
298ab8e89e
force fact check of all nodes first thing
8 years ago
Smaine Kahlouch
8812be1e14
Merge pull request #411 from idvoretskyi/patch-1
OpenStack minor fix
8 years ago
Ihor Dvoretskyi
4268996680
OpenStack minor fix
8 years ago
Smaine Kahlouch
34232a170a
Merge pull request #410 from dis-xcom/fix-resolvconf-discovery
Fix resolvconf executable discovery
8 years ago
dis
0fa90ec9e8
Fix resolvconf executable discovery
If resolvconf was installed and then removed, the file
/etc/resolvconf/resolv.conf.d/head remains in the filesystem
- change discovery of 'resolvconf' executable to check if it
can be located with 'which resolvconf' command or not.
8 years ago
Matthew Mosesohn
f073ee91ea
Copy hyperkube cni plugins optionally for calico deployment
Hyperkube from CoreOS now ships with all binaries required for
calico and flannel (but not weave). It simplifies deployment for
some network plugin scenarios to not download CNI images.
TODO: Optionally disable downloading calico to /opt/cni/bin
8 years ago
Smaine Kahlouch
cf502735e9
Merge pull request #407 from bogdando/ansible_logs
Collect ansible logs as artifacts
8 years ago
Bogdan Dobrelya
252a30aee8
Collect ansible logs as artifacts
Extends https://github.com/kubespray/kargo/pull/406
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Smaine Kahlouch
677c4c4cb6
Merge pull request #404 from bogdando/fix_sunit
Fix calico-node service unit
8 years ago
Smaine Kahlouch
6a457720a4
Merge pull request #406 from bogdando/collect_info
Add a diagnostic info collect playbook
8 years ago
Smaine Kahlouch
f2de250b10
Merge pull request #405 from kubespray/disableipv6dns
Add option to disable ipv6 dns lookup
8 years ago
Bogdan Dobrelya
6cb9bd2619
Add a diagnostic info collect playbook
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Matthew Mosesohn
e727bd52f1
Add option to disable ipv6 dns lookup
New variable disable_ipv6_dns in kubernetes/preinstall.
8 years ago
Bogdan Dobrelya
d2c57142d3
Fix calico-node service unit
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Smaine Kahlouch
9be099466d
Merge pull request #403 from kubespray/bug368
Check dnsmasq on first kube-node
8 years ago
Matthew Mosesohn
acae5d4286
Check dnsmasq on first kube-node
kube-masters without kube-node role will not run
kube-proxy, and therefore can't check if dnsmasq
is running.
Fixes #368
8 years ago
Smaine Kahlouch
637eabccce
Merge pull request #401 from bogdando/revert_ci_changes
Revert "Merge pull request #393 from bogdando/ci_changes"
8 years ago
Bogdan Dobrelya
e6cfbe42db
Revert "Merge pull request #393 from bogdando/ci_changes"
This reverts commit 4662b41de6
, reversing
changes made to 4fb4ac120b
.
8 years ago
Smaine Kahlouch
15aec7cd87
Merge pull request #398 from mattymo/rework_systemd_wait_master
Improve systemd handling and stabilize docker
8 years ago
Antoine Legrand
b5d3f9b2fe
Merge pull request #397 from kubespray/docker112
Add future docker versions
8 years ago
Matthew Mosesohn
e38258381f
Wait for static pods when setting up
Fixes #390
8 years ago
Matthew Mosesohn
e8a1c7a53f
Move docker systemd unit creation to docker role
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.
8 years ago
Matthew Mosesohn
5bf9b5345e
Add future docker versions
Default version is still unchanged, but added docker versions 1.11 and 1.12
8 years ago
Bogdan Dobrelya
2af71f31b4
Rework systemd service units
* 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: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Antoine Legrand
4662b41de6
Merge pull request #393 from bogdando/ci_changes
Add CI test layouts
8 years ago
Bogdan Dobrelya
ff5a48c9f9
Add CI test layouts
* Drop Trusty from test matrix
* Add extra cases to test separate roles deployment
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
8 years ago
Antoine Legrand
4fb4ac120b
Merge pull request #389 from kubespray/fixweave
Fix weave deployment task names
8 years ago
Matthew Mosesohn
c7fef6cb76
Fix weave deployment task names
8 years ago
Antoine Legrand
6a7308d5c7
Merge pull request #372 from adidenko/calico-ipip-support
Support --ipip option for calico pool
8 years ago
Antoine Legrand
4419662fa0
Merge pull request #330 from jonbec/master
Add settable flannel image tag & image repo
8 years ago
Antoine Legrand
b91f8630a3
Merge pull request #387 from kubespray/dockerwants
Fix etcd restart and calico-node unit
8 years ago
Matthew Mosesohn
5668e5f767
Fix etcd restart and handler systemd tasks
Changed Wants=docker.service to docker.socket
Renamed handlers for reloading systemd to contain role in task name.
8 years ago
Antoine Legrand
aa0d7ea5d0
Merge pull request #386 from kubespray/fixetcdproxysysv
Fix etcd user for etcd-proxy service
8 years ago