summaryrefslogtreecommitdiff
path: root/roles/openshift_node
AgeCommit message (Collapse)Author
2018-03-1899-origin-dns.sh: Only modify resolv.conf if upstream DNS is already configuredSuren A. Chilingaryan
2018-03-07Fix NetworkManager hook to support OpenShift running on non-default network ↵Suren A. Chilingaryan
interface
2018-02-13Move installation of packages before container_runtime to ensure bind mounts ↵Kenny Woodson
are avaialable.
2018-02-13Merge pull request #5251 from celebdor/configurable_node_startOpenShift Merge Robot
Automatic merge from submit-queue. Make node start options configurable Thanks to this, the node startup can be customized. Change-Id: Ifb93bf892d7de52a575b8d0231328d44f733d0aa Signed-off-by: Antoni Segura Puimedon <celebdor@gmail.com>
2018-02-12Merge pull request #7103 from vrutkovs/origin-dns-prepend-cluster-localOpenShift Merge Robot
Automatic merge from submit-queue. origin-dns: make sure cluster.local DNS server is listed first This would ensure glibc resolver won't discard this server when existing DNS server list is longer than 2. This sed would also update existing configuration, where cluster.local was appended Fixes bug https://bugzilla.redhat.com/show_bug.cgi?id=1544001
2018-02-12Merge pull request #7073 from abutcher/aws-node-hostnameOpenShift Merge Robot
Automatic merge from submit-queue. Update user-data for FQDN instance hostnames * Remove node service start from bootstrap.yml. We start and enable the node service in user-data and we want the node service to start after NetworkManager so that the instance will have its final hostname. * Restart systemd-hostnamed before restarting NetworkManager. In testing this has ensured that instances receive an FQDN hostname which is required for kube.
2018-02-12Remove node start from bootstrap.yml.Andrew Butcher
2018-02-12origin-dns: make sure cluster.local DNS server is listed firstVadim Rutkovsky
This would ensure glibc resolver won't discard this server when existing DNS server list is longer than 2. This sed would also update existing configuration, where cluster.local was appended
2018-02-08Merge pull request #7031 from mgugino-upstream-stage/fix-syscon-varsOpenShift Merge Robot
Automatic merge from submit-queue. Fix master and node system container variables This commit corrects service names and adds DOCKER_SERVICE variable to openshift_master system container creation. This will ensure services will restart correctly and in the proper order. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1542324
2018-02-07openshift_node: Remove master from aws node buildingSteve Milner
Since it is expected to be re-added at some point in the future the lines have been commented out rather than deleted. Signed-off-by: Steve Milner <smilner@redhat.com>
2018-02-06Fix master and node system container variablesMichael Gugino
This commit corrects service names and adds DOCKER_SERVICE variable to openshift_master system container creation. This will ensure services will restart correctly and in the proper order. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1542324
2018-02-06Fix docker rpm upgrade install task wordingMichael Gugino
This commit corrects wording of task name.
2018-02-02dynamic inventory bug when group exists but its emptyMangirdas
2018-01-31add glusterblock support for ansibleMangirdas
Co-authored-by: Christina Kyriakidou <Ckyriaki@Redhat.com>
2018-01-25node: specify bind option to /root/.dockerGiuseppe Scrivano
Without the option, runc fails with "no such device" when trying to create the mount point. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1534933 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-01-24Merge pull request #6551 from mgugino-upstream-stage/swapoffScott Dodson
Create swapoff module
2018-01-24Merge pull request #6843 from rajatchopra/bugdnsmasqScott Dodson
Change dnsmasq Requires to Wants
2018-01-24Create swapoff moduleMichael Gugino
Create custome ansible module 'swapoff' to idempotently disable swap in /etc/fstab and also run swapoff.
2018-01-23Merge pull request #6827 from vrutkovs/node-uppercase-certificatesOpenShift Merge Robot
Automatic merge from submit-queue. Lowercase node names when creating certificates Additional fix for https://github.com/openshift/openshift-ansible/pull/6812
2018-01-23Change dnsmasq Requires to Wants. ↵Rajat Chopra
https://bugzilla.redhat.com/show_bug.cgi?id=1532960 Signed-off-by: Rajat Chopra <rchopra@redhat.com>
2018-01-23Merge pull request #6783 from mgugino-upstream-stage/node-syscon-add-mountsScott Dodson
Add ability to mount volumes into system container nodes
2018-01-23Lowercase node names when creating certificatesVadim Rutkovsky
2018-01-18Add ability to mount volumes into system container nodesMichael Gugino
This commit adds the ability to mount volumes into system containerized nodes. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1534933
2018-01-18Add Azure to support openshift_cloudprovider_kindweherdh
2018-01-13Merge pull request #6426 from danwinship/cleanup-ipamScott Dodson
Clean up host-local IPAM data while nodes are drained
2018-01-10Add defaults for openshift_pkg_versionMichael Gugino
This variable may or may not be defined by the users. During deployments, it will be set to '-{{ openshift_version }}' if undefined. During upgrades, it will remain undefined. This commit ensures that if the variable is undefined, empty strings '' are set.
2018-01-10Merge pull request #6553 from ↵Michael Gugino
mgugino-upstream-stage/node-reduce-package-commands Install node packages in one task instead of 3
2018-01-09Merge pull request #6658 from mgugino-upstream-stage/containerized_boolsOpenShift Merge Robot
Automatic merge from submit-queue. ensure containerized bools are cast
2018-01-09Merge pull request #6650 from ↵OpenShift Merge Robot
vrutkovs/containerized_upgrade_set_openshift_use_openshift_sdn Automatic merge from submit-queue. upgrades: use openshift_node_use_openshift_sdn when trying to pre-pull the image This affects 3.8/3.9 upgrades for containerized hosts, if nodes are separate from master.
2018-01-09Use openshift_node_use_openshift_sdn when doing a containerized node upgradeVadim Rutkovsky
Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
2018-01-08Merge pull request #6653 from mgugino-upstream-stage/fix-crio-boolMichael Gugino
Properly cast crio boolean variables to bool
2018-01-08ensure containerized bools are castMichael Gugino
2018-01-08Merge pull request #6549 from mgugino-upstream-stage/node-meta-depends2OpenShift Merge Robot
Automatic merge from submit-queue. Remove last of openshift_node role meta-depends Remove last non-taskless meta-depends from openshift_node role.
2018-01-08Properly cast crio boolean variables to boolMichael Gugino
Variables that are specifically booleans should be cast to bool. This is because users may sometimes pass them as string values. This is particularly prevalent when using ini-style inventories. Affected-by: https://github.com/ansible/ansible/issues/34591 Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1531592
2018-01-05Don't overwrite node's systemd units for containerized installVadim Rutkovsky
Systemd units are being updated in ../systemd_units.yml Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
2018-01-04Install node packages in one task instead of 3Michael Gugino
This commit reduces the number of package tasks from 3 to 1.
2018-01-03Merge pull request #6586 from ↵OpenShift Merge Robot
mgugino-upstream-stage/cast-bool-openshift_docker_use_system_container Automatic merge from submit-queue. Cast openshift_docker_use_system_container to bool openshift_docker_use_system_container might be passed in via ini inventory as 'openshift_docker_use_system_container=false' This condition will be interpreted as a string type, instead of boolean. Casting openshift_docker_use_system_container as bool will achieve the users desired intent. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1528943
2018-01-02Merge pull request #6581 from mgugino-upstream-stage/fix-syscontainer-reg-authOpenShift Merge Robot
Automatic merge from submit-queue. Add docker auth credentials to system container install This commit adds docker auth credentials mount to system container systemd unit file. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1514324
2018-01-02Merge pull request #6583 from mgugino-upstream-stage/aws-creds-locationOpenShift Merge Robot
Automatic merge from submit-queue. Correct kublet_args cloud-provider directories This commit updates kublet_args to correct cloudprovider configuration file locaitons. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1527203
2018-01-02Cast openshift_docker_use_system_container to boolMichael Gugino
openshift_docker_use_system_container might be passed in via ini inventory as 'openshift_docker_use_system_container=false' This condition will be interpreted as a string type, instead of boolean. Casting openshift_docker_use_system_container as bool will achieve the users desired intent. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1528943
2018-01-02Correct kublet_args cloud-provider directoriesMichael Gugino
This commit updates kublet_args to correct cloudprovider configuration file locaitons. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1527203
2018-01-02Add docker auth credentials to system container installMichael Gugino
This commit adds docker auth credentials mount to system container systemd unit file. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1514324
2018-01-02Remove last of openshift_node role meta-dependsMichael Gugino
Remove last non-taskless meta-depends from openshift_node role. Remove variable 'openshift_node_upgrade_in_progress' as it is no longer used.
2017-12-21Remove bootstrap.yml from main.yml in openshift_node roleMichael Gugino
This commit utilizes include_role for bootstrapping the node instead of conditional include of tasks now that the node role has no meta includes that have tasks.
2017-12-21Remove references to deployment_typeMichael Gugino
Move openshift_deployment_type check into sanity_check action plugin. Remove compatibility for deployment_type. deployment_type has been deprecated for some time now.
2017-12-21Make node start options configurableAntoni Segura Puimedon
Thanks to this, the node startup can be customized. Change-Id: Ifb93bf892d7de52a575b8d0231328d44f733d0aa Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
2017-12-20Remove openshift.common.{is_atomic|is_containerized}Michael Gugino
We set these variables using facts in init, no need to duplicate the logic all around the codebase.
2017-12-18Relocate filter plugins to lib_utilsMichael Gugino
This commit relocates filter_plugings to lib_utils, changes the namespacing to prevent unintended use of older versions that may be present in filter_plugins/ directory on existing installs. Add lib_utils to meta depends for roles Also consolidate some plugins into lib_utils from various other areas. Update rpm spec, obsolete plugin rpms.
2017-12-18Remove openshift_node_facts roleMichael Gugino
This commit removes the remainder of openshift_node_facts role.
2017-12-17Merge pull request #6456 from mgugino-upstream-stage/node-factsMichael Gugino
Remove openshift_node_facts part 1