Smaine Kahlouch
9ac744779c
Merge pull request #433 from bogdando/issues/322
...
Fix resolv.conf search/nameserver
2016-08-24 17:08:31 +02:00
Bogdan Dobrelya
ea57ce7514
Fix resolv.conf search/nameserver
...
* Ensure additional nameserver/search, if defined as vars.
* Don't backup changed dhclient hooks as they are going to be
executed by dhclient as well, which is not what we want.
* For debian OS family only:
- Rename nodnsupdate hook the resolvconf hook to be sourced always
before it.
- Ensure dhclient restarted via network restart to apply the
nodnsupdate hook.
* For rhel OS family, the fix TBD, it doesn't work the same way.
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2016-08-24 15:31:57 +02:00
Smaine Kahlouch
439a2e2678
Merge pull request #432 from kubespray/revert_regressions
...
Revert regressions
2016-08-24 15:31:21 +02:00
Smana
346eca5748
Revert "pass cloud provider flag in all cases, not just openstack"
...
This reverts commit f35e5e864f
.
2016-08-24 14:32:54 +02:00
Smana
643b28f9d3
Revert "Fix resolv.conf search/nameserver"
...
This reverts commit 977f82c32c
.
2016-08-24 12:36:25 +02:00
Smaine Kahlouch
1938c96239
Merge pull request #420 from bogdando/collect_info
...
Adjust collect-info playbook
2016-08-24 10:06:30 +02:00
Smaine Kahlouch
5dc8f5229f
Merge pull request #427 from kubespray/issue-426
...
pass cloud provider flag in all cases, not just openstack
2016-08-23 21:12:11 +02:00
Spencer Smith
f35e5e864f
pass cloud provider flag in all cases, not just openstack
2016-08-23 13:57:32 -04:00
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>
2016-08-23 11:28:27 +02:00
Smaine Kahlouch
92c4428cfd
Merge pull request #422 from kubespray/issue-421
...
remove host ca-certs, as they aren't necessary
2016-08-23 10:17:38 +02:00
Smaine Kahlouch
d97673c13f
Merge pull request #423 from bogdando/fix_gitinfos
...
Fix gen-gitinfos.sh
2016-08-23 10:17:21 +02:00
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>
2016-08-23 10:15:30 +02:00
Spencer Smith
234608433e
remove host ca-certs, as they aren't necessary
2016-08-22 16:09:33 -04:00
Smaine Kahlouch
36b6ae9a3c
Merge pull request #419 from bogdando/fix_322
...
Fix resolv.conf search/nameserver
2016-08-22 13:48:35 +02:00
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>
2016-08-22 11:53:44 +02:00
Smaine Kahlouch
1f6dce61ba
Merge pull request #418 from kubespray/fixkubeletnode
...
Restart kubelet if launcher changed
2016-08-19 09:10:55 +02:00
Matthew Mosesohn
6f07da9f41
Restart kubelet if launcher changed
...
Fixes #409
2016-08-18 19:00:05 +03:00
Smaine Kahlouch
ac7cc4b7d1
Merge pull request #413 from kubespray/fix_etcd_standalone_play
...
Fix etcd play to only run on non-k8s-cluster nodes
2016-08-18 14:15:15 +02:00
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.
2016-08-18 14:08:24 +03:00
Smaine Kahlouch
c6f2102073
Merge pull request #412 from kubespray/optionalkubeletcni
...
Copy hyperkube cni plugins optionally for calico deployment
2016-08-16 14:00:27 +02:00
Smaine Kahlouch
612266f3e5
Merge pull request #408 from kubespray/upstreaming_to_k8s
...
upstreaming to k8s
2016-08-16 13:59:13 +02:00
Smana
5fbfa1481e
files needed to move kargo to k8s
2016-08-16 14:01:03 +02:00
Smaine Kahlouch
430a87d887
Merge pull request #416 from kubespray/bug383
...
Fix init scripts for etcd. Fixes #383
2016-08-16 09:17:53 +02:00
Matthew Mosesohn
0c953101ff
Fix init scripts for etcd. Fixes #383
...
Fixes Ubuntu 14.04 deployment of etcd.
2016-08-15 14:09:42 +03:00
Smaine Kahlouch
07c144d8a6
Merge pull request #415 from kubespray/issue-414
...
force fact check of all nodes first thing
2016-08-12 17:16:18 +02:00
Spencer Smith
298ab8e89e
force fact check of all nodes first thing
2016-08-12 10:06:31 -04:00
Smaine Kahlouch
8812be1e14
Merge pull request #411 from idvoretskyi/patch-1
...
OpenStack minor fix
2016-08-11 14:22:36 +02:00
Ihor Dvoretskyi
4268996680
OpenStack minor fix
2016-08-11 12:33:29 +03:00
Smaine Kahlouch
34232a170a
Merge pull request #410 from dis-xcom/fix-resolvconf-discovery
...
Fix resolvconf executable discovery
2016-08-10 21:58:16 +02:00
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.
2016-08-10 17:22:33 +03:00
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
2016-08-10 15:35:53 +03:00
Smaine Kahlouch
cf502735e9
Merge pull request #407 from bogdando/ansible_logs
...
Collect ansible logs as artifacts
2016-08-09 09:14:31 +02:00
Bogdan Dobrelya
252a30aee8
Collect ansible logs as artifacts
...
Extends https://github.com/kubespray/kargo/pull/406
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2016-08-08 16:52:08 +02:00
Smaine Kahlouch
677c4c4cb6
Merge pull request #404 from bogdando/fix_sunit
...
Fix calico-node service unit
2016-08-08 16:41:28 +02:00
Smaine Kahlouch
6a457720a4
Merge pull request #406 from bogdando/collect_info
...
Add a diagnostic info collect playbook
2016-08-08 16:09:53 +02:00
Smaine Kahlouch
f2de250b10
Merge pull request #405 from kubespray/disableipv6dns
...
Add option to disable ipv6 dns lookup
2016-08-08 16:09:43 +02:00
Bogdan Dobrelya
6cb9bd2619
Add a diagnostic info collect playbook
...
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2016-08-08 13:38:25 +02:00
Matthew Mosesohn
e727bd52f1
Add option to disable ipv6 dns lookup
...
New variable disable_ipv6_dns in kubernetes/preinstall.
2016-08-08 13:59:20 +03:00
Bogdan Dobrelya
d2c57142d3
Fix calico-node service unit
...
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2016-08-08 12:06:32 +02:00
Smaine Kahlouch
9be099466d
Merge pull request #403 from kubespray/bug368
...
Check dnsmasq on first kube-node
2016-08-05 15:07:25 +02:00
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
2016-08-05 16:55:48 +04:00
Smaine Kahlouch
637eabccce
Merge pull request #401 from bogdando/revert_ci_changes
...
Revert "Merge pull request #393 from bogdando/ci_changes"
2016-08-03 15:13:07 +02:00
Bogdan Dobrelya
e6cfbe42db
Revert "Merge pull request #393 from bogdando/ci_changes"
...
This reverts commit 4662b41de6
, reversing
changes made to 4fb4ac120b
.
2016-08-03 12:42:52 +02:00
Smaine Kahlouch
15aec7cd87
Merge pull request #398 from mattymo/rework_systemd_wait_master
...
Improve systemd handling and stabilize docker
2016-08-03 11:30:14 +02:00
Antoine Legrand
b5d3f9b2fe
Merge pull request #397 from kubespray/docker112
...
Add future docker versions
2016-08-02 17:39:43 +02:00
Matthew Mosesohn
e38258381f
Wait for static pods when setting up
...
Fixes #390
2016-08-02 17:56:31 +03:00
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.
2016-08-02 17:56:24 +03:00
Matthew Mosesohn
5bf9b5345e
Add future docker versions
...
Default version is still unchanged, but added docker versions 1.11 and 1.12
2016-08-02 12:35:05 +03:00
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>
2016-08-02 10:55:42 +02:00
Antoine Legrand
4662b41de6
Merge pull request #393 from bogdando/ci_changes
...
Add CI test layouts
2016-08-01 05:31:05 -07:00