summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts
Commit message (Collapse)AuthorAgeFilesLines
* Conditionalize master config update for admission_plugin_config.Andrew Butcher2016-12-051-2/+2
|
* Cleanup ovs file and restart docker on every upgrade.Devan Goodwin2016-11-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | In 3.3 one of our services lays down a systemd drop-in for configuring Docker networking to use lbr0. In 3.4, this has been changed but the file must be cleaned up manually by us. However, after removing the file docker requires a restart. This had big implications particularly in containerized environments where upgrade is a very fragile series of upgrading and service restarts. To avoid double docker restarts, and thus double service restarts in containerized environments, this change does the following: - Skip restart during docker upgrade, if it is required. We will restart on our own later. - Skip containerized service restarts when we upgrade the services themselves. - Clean shutdown of all containerized services. - Restart Docker. (always, previously this only happened if it needed an upgrade) - Ensure all containerized services are restarted. - Restart rpm node services. (always) - Mark node schedulable again. At the end of this process, docker0 should be back on the system.
* refactor handling of scheduler defaultsJason DeTiberus2016-11-291-32/+16
|
* update tests and flake8/pylint fixesJason DeTiberus2016-11-291-73/+117
|
* Merge pull request #2842 from mscherer/check_dbus_moduleScott Dodson2016-11-281-2/+10
|\ | | | | Verify the presence of dbus python binding
| * Verify the presence of dbus python bindingMichael Scherer2016-11-231-2/+10
| | | | | | | | | | | | While the proper fix is to have it installed by default, this commit will also permit to have a better error message in the case the module is not present (as running on python 3)
* | Merge pull request #2836 from abutcher/BZ1393645Scott Dodson2016-11-281-13/+29
|\ \ | |/ |/| Merge admission plugin configs
| * Merge kube_admission_plugin_config with admission_plugin_configSamuel Munilla2016-11-221-13/+29
| | | | | | | | | | | | | | | | Move the values in kube_admission_plugin_config up one level per the new format from 1.3: "The kubernetesMasterConfig.admissionConfig.pluginConfig should be moved and merged into admissionConfig.pluginConfig."
* | Refactor to use Ansible package moduleRussell Teague2016-11-171-6/+5
|/ | | | | The Ansible package module will call the correct package manager for the underlying OS.
* Merge pull request #2763 from yfauser/byo_cni_plugin_fixesAndrew Butcher2016-11-161-0/+2
|\ | | | | [#2698] Change to allow cni deployments without openshift SDN
| * Change to allow cni deployments without openshift SDNyfauser2016-11-081-0/+2
| | | | | | | | | | | | | | The roles/openshift_facts main task did not pass the cni plugin variable to the later role playbooks. The master.yaml and node.yaml templates did not allow for a cni configuration without either installing openshift sdn or nuage. This change will allow to use os_sdn_network_plugin_name=cni and set openshift_use_openshift_sdn=false for deployments that use a cni plugin that doesn't need and want openshift sdn to be installed
* | Add updates for containerizedScott Dodson2016-11-141-3/+3
| |
* | Merge pull request #2600 from mscherer/python3_portingScott Dodson2016-11-101-8/+17
|\ \ | | | | | | Port openshift_facts to py3
| * | Port openshift_facts to py3Michael Scherer2016-10-141-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix configparser import - convert bytes to str using to_native - replace method that did got removed in py3 with six equivalent With ansible 2.2, python 3 start to be supported enough to run non trivial playbooks, and so a test run of openshift-ansible on F24 showed that openshift_facts.py needed to be ported.
* | | Merge pull request #2777 from dgoodwin/jenkins-role-bindingsScott Dodson2016-11-101-2/+8
|\ \ \ | | | | | | | | Reconcile role bindings for jenkins pipeline during upgrade.
| * | | Reconcile role bindings for jenkins pipeline during upgrade.Devan Goodwin2016-11-101-2/+8
| | | | | | | | | | | | | | | | https://github.com/openshift/origin/issues/11170 for more info.
* | | | Fix typos in openshift_facts gce cloud providerScott Dodson2016-11-091-2/+2
|/ / / | | | | | | | | | | | | Fixes Bug 1390160 Fixes BZ1390160
* | / Revert "Revert openshift.node.nodename changes"Scott Dodson2016-11-081-7/+20
| |/ |/|
* | Merge pull request #2753 from jkhelil/proxy_settingsScott Dodson2016-11-081-2/+2
|\ \ | | | | | | Always add local dns domain to no_proxy
| * | Always add local dns domain to no_proxyjawed2016-11-081-2/+2
| | |
* | | Merge pull request #2751 from sdodson/BZ1388253Scott Dodson2016-11-081-20/+7
|\ \ \ | | | | | | | | Revert openshift.node.nodename changes
| * | | Revert "Fix the nodeName of the OpenShift nodes on OpenStack"Scott Dodson2016-11-071-1/+1
| | | | | | | | | | | | | | | | This reverts commit aaaf82ba6032d0b1e9c36a39a7eda25b8c5f4b84.
| * | | Revert "Fix OpenStack cloud provider"Scott Dodson2016-11-071-10/+0
| | | | | | | | | | | | | | | | This reverts commit 1f2276fff1e41c1d9440ee8b589042ee249b95d7.
| * | | Revert "Check that OpenStack hostnames are resolvable"Scott Dodson2016-11-071-9/+6
| | | | | | | | | | | | | | | | This reverts commit 3cc2d6b019fa8a05ba480a7425cd654aa051355f.
* | | | Refactor default sdn_cluster_network_cidr and sdn_host_subnet_lengthScott Dodson2016-11-071-4/+9
| |/ / |/| | | | | | | | | | | Inventory values highest priority, then anything in master-config.yaml, then defaults last.
* | | Merge pull request #2652 from smunilla/BZ1320952_default_for_clusterNetworkCIDRScott Dodson2016-11-071-5/+19
|\ \ \ | |/ / |/| | Update defaults for clusterNetworkCIDR & hostSubnetLength
| * | Update defaults for clusterNetworkCIDR & hostSubnetLengthSamuel Munilla2016-11-031-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per https://github.com/openshift/openshift-docs/issues/1700: The default values for pod networking have changed: - clusterNetworkCIDR now defaults to 10.128.0.0/14 (10.128.0.0 - 10.131.255.255) rather than 10.1.0.0/16. - hostSubnetLength now defaults to 9 rather than 8 (meaning each node will be assigned a /23 subnet rather than a /24) Fixes Bug 1320952
* | | default to multizone GCE configSeth Jennings2016-11-041-0/+3
|/ /
* | Remove commit offset strings from parsed versionsTim Bielawa2016-10-311-2/+22
| |
* | Merge pull request #2670 from abutcher/hosted-registry-insecureScott Dodson2016-10-261-2/+21
|\ \ | | | | | | Bug 1388016 - The insecure-registry address was removed during upgrade
| * | Default hosted_registry_insecure true when insecure registry present in ↵Andrew Butcher2016-10-261-2/+21
| | | | | | | | | | | | existing /etc/sysconfig/docker.
* | | Fix race condtion in openshift_factsSamuel Munilla2016-10-251-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | If, for some reason, two facts processes were run simultaneously on the same host, creating the directory could cause an exception. This should help with that. Fixes Bug 1385449
* | | Merge pull request #2615 from tbielawa/node-labels-fixTim Bielawa2016-10-251-3/+36
|\ \ \ | |/ / |/| | Set node-labels in kubeletArguments
| * | Add node-labels to kubeletArgumentsTim Bielawa2016-10-201-3/+36
| | | | | | | | | | | | * Node labels are parsed from openshift_node_labels if they exist
* | | Fix typosRodolfo Carvalho2016-10-191-1/+1
|/ /
* / update handling of use_dnsmasqJason DeTiberus2016-10-131-2/+2
|/
* Merge pull request #2561 from lhuard1A/check_openstack_hostname_are_resovableScott Dodson2016-10-101-6/+9
|\ | | | | Check that OpenStack hostnames are resolvable
| * Check that OpenStack hostnames are resolvableLénaïc Huard2016-10-061-6/+9
| | | | | | | | If they’re not, then use IP instead
* | Merge pull request #2546 from abutcher/master-debug-levelTim Bielawa2016-10-051-0/+1
|\ \ | |/ |/| Bug 1366522 - The value of "debug_level" isn't applied to /etc/sysconfig/atomic-openshift-master
| * Move openshift.common.debug.level to openshift_facts.Andrew Butcher2016-10-051-0/+1
| |
* | Merge pull request #2511 from vishpat/nuage_haAndrew Butcher2016-10-041-8/+0
|\ \ | |/ |/| Changes for Nuage HA
| * Filterize haproxy frontends/backends and add method for providing additional ↵Andrew Butcher2016-10-031-8/+0
| | | | | | | | frontends/backends.
* | Merge pull request #2404 from sdodson/loggingScott Dodson2016-09-291-4/+19
|\ \ | | | | | | Logging fixes
| * | Add storage for loggingScott Dodson2016-09-261-4/+19
| |/
* | Merge pull request #2501 from lhuard1A/fix_openstack_cloudproviderAndrew Butcher2016-09-261-1/+11
|\ \ | |/ |/| Fix openstack cloudprovider
| * Fix OpenStack cloud providerLénaïc Huard2016-09-261-0/+10
| |
| * Fix the nodeName of the OpenShift nodes on OpenStackLénaïc Huard2016-09-221-1/+1
| |
* | Add GCE cloud provider kind.Andrew Butcher2016-09-211-0/+6
| |
* | Split openshift_builddefaults_no_proxy if it's not a listScott Dodson2016-09-201-0/+3
|/
* Add 'MaxGCEPDVolumeCount' to default scheduler predicates.Andrew Butcher2016-09-161-0/+1
|