summaryrefslogtreecommitdiffstats
path: root/playbooks
Commit message (Collapse)AuthorAgeFilesLines
* Fix adhoc boostrap fedora playbookJason DeTiberus2016-02-121-1/+0
|
* Merge pull request #1392 from lhuard1A/manage_etc_hosts_falseBrenton Leanhardt2016-02-121-1/+0
|\ | | | | Fix libvirt cluster creation
| * Fix libvirt cluster creationLénaïc Huard2016-02-121-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Doing a `bin/cluster create libvirt …` fails with the following error: ``` TASK: [Warn user about bad openshift_hostname values] ************************* [lenaic-node-compute-cf3fb, lenaic-node-compute-f39d3, lenaic-node-infra-0407f, lenaic-master-fc5f9] The hostname "lenaic-node-compute-cf3fb.example.com" for "lenaic-node-compute-cf3fb.example.com" doesn't resolve to an ip address owned by this host. Please set openshift_hostname variable to a hostname that when resolved on the host in question resolves to an IP address matching an interface on this host. This host will fail liveness checks for pods utilizing hostPorts, press CTRL-C to continue.: ``` because the `/etc/hosts` of the VM is containing: ``` [openshift@lenaic-node-compute-cf3fb ~]$ cat /etc/hosts # Your system has configured 'manage_etc_hosts' as True. # As a result, if you wish for changes to this file to persist # then you will need to either # a.) make changes to the master file in /etc/cloud/templates/hosts.redhat.tmpl # b.) change or remove the value of 'manage_etc_hosts' in # /etc/cloud/cloud.cfg or cloud-config from user-data # # The following lines are desirable for IPv4 capable hosts 127.0.0.1 lenaic-node-compute-cf3fb.example.com lenaic-node-compute-cf3fb 127.0.0.1 localhost.localdomain localhost 127.0.0.1 localhost4.localdomain4 localhost4 # The following lines are desirable for IPv6 capable hosts ::1 lenaic-node-compute-cf3fb.example.com lenaic-node-compute-cf3fb ::1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 ``` Disabling `manage_etc_hosts` removes the lines for `lenaic-node-compute-cf3fb` from `/etc/hosts` and makes than name resolved by the DNS to its real IP.
* | Add missing `type` node labels on OpenStack and libvirtLénaïc Huard2016-02-122-0/+19
|/
* Merge pull request #1324 from abutcher/fluentd-fixesBrenton Leanhardt2016-02-112-4/+0
|\ | | | | Remove fluentd_master and fluentd_node roles
| * Remove fluentd_master and fluentd_node roles.Andrew Butcher2016-02-082-4/+0
| |
* | Bug 1302970 - update script does not patch router if name is different from ↵Brenton Leanhardt2016-02-113-22/+43
| | | | | | | | default
* | Merge pull request #1326 from detiber/bz1303939Brenton Leanhardt2016-02-102-30/+22
|\ \ | | | | | | Fix infra_node deployment
| * | fix default valueJason DeTiberus2016-02-101-1/+1
| | |
| * | add missing connection:localJason DeTiberus2016-02-091-0/+1
| | |
| * | consolidate oo_first_master post-config a bit, fix some roles that use ↵Jason DeTiberus2016-02-091-32/+10
| | | | | | | | | | | | openshift_facts without declaring a dependency
| * | openshift_serviceaccounts updatesJason DeTiberus2016-02-091-9/+16
| | | | | | | | | | | | | | | - make service account creation more flexible - create service accounts near where they are consumed
| * | Fix infra_node deploymentJason DeTiberus2016-02-091-5/+11
| | | | | | | | | | | | | | | | | | | | | - Do not deploy the router/registry when the infra_nodes variable is present but does not contain a list of infra nodes. - use right node group and only set openshift_infra_nodes if group is present
* | | Merge pull request #1368 from detiber/gte3_2Brenton Leanhardt2016-02-102-2/+2
|\ \ \ | | | | | | | | Add gte check for 3.2, update version checks to gte
| * | | Add gte check for 3.2, update version checks to gteJason DeTiberus2016-02-092-2/+2
| | | |
* | | | Merge pull request #1364 from codificat/openshift-enterpriseBrenton Leanhardt2016-02-105-5/+5
|\ \ \ \ | |/ / / |/| | | Add missing atomic- and openshift-enterprise
| * | | Add missing atomic- and openshift-enterprisePep Turró Mauri2016-02-095-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | Some checks related to *enterprise deployments were still only looking for "enterprise" deployment_type. Update them to cover also atomic-enterprise and openshift-enterprise deployment types.
* | | | Merge pull request #1330 from jkhelil/make-cli-pod-eviction-timeout-configurableBrenton Leanhardt2016-02-091-0/+4
|\ \ \ \ | |_|/ / |/| | | Make pod_eviction_timeout configurable from cli
| * | | Make pod_eviction_timeout configurable from clijawed2016-02-041-0/+4
| | | |
* | | | Bug 1304150 - Can't upgrade atomic-openshift to specified versionBrenton Leanhardt2016-02-091-0/+12
| | | |
* | | | Merge pull request #1206 from lhuard1A/openstack_dnsThomas Wiest2016-02-046-26/+234
|\ \ \ \ | | | | | | | | | | Add a DNS server on OpenStack clusters
| * | | | Add a DNS server on OpenStack clustersLénaïc Huard2016-02-046-26/+234
| |/ / /
* | | | renamed /etc/openshift to /etc/originSten Turpin2016-02-041-1/+1
| | | |
* | | | Merge pull request #1088 from akram/allow_no_compression_for_qcow_imageThomas Wiest2016-02-042-2/+17
|\ \ \ \ | |/ / / |/| | | Allow compression option to be set to empty for non compressed images
| * | | Allow compression option to be set to empty for non compressed QCow imagesAkram Ben Aissi2016-02-032-2/+17
| |/ / | | | | | | | | | Support tgz and gzip compressed images
* | | Merge pull request #1239 from detiber/bin_cluster_overridesThomas Wiest2016-02-034-0/+16
|\ \ \ | | | | | | | | Additional overrides for cloud provider playbooks
| * | | Additional overrides for cloud provider playbooksJason DeTiberus2016-02-014-0/+16
| | | | | | | | | | | | | | | | | | | | - sdn overrides - allow overrides for use_flannel and use_fluentd
* | | | Merge pull request #1291 from sdodson/bz1293578Brenton Leanhardt2016-02-032-0/+28
|\ \ \ \ | | | | | | | | | | Check that openshift_hostname resolves to an ip on our host
| * | | | Add an early check to ensure that node names resolve to an interface on the hostScott Dodson2016-02-032-0/+28
| | | | |
* | | | | Merge pull request #1173 from abutcher/nfs-groupBrenton Leanhardt2016-02-037-10/+17
|\ \ \ \ \ | |_|_|/ / |/| | | | Refactor storage options
| * | | | Refactor registry storage options.Andrew Butcher2016-02-017-10/+17
| | | | |
* | | | | Merge pull request #1325 from abutcher/fix-scaleupBrenton Leanhardt2016-02-023-1/+4
|\ \ \ \ \ | | | | | | | | | | | | Fix scaleup playbook.
| * | | | | Do not apply the etcd_certificates role during node playbook.Andrew Butcher2016-02-021-0/+1
| | | | | |
| * | | | | Add g_new_node_hosts to cluster_hosts.Andrew Butcher2016-02-022-1/+3
| | |_|_|/ | |/| | |
* | | | | Improve docs and consistency of setting the ssh_userJason DeTiberus2016-02-027-9/+9
| | | | |
* | | | | remove outdated commentsJason DeTiberus2016-02-022-5/+0
| | | | |
* | | | | add etcd hosts for gce playbooksJason DeTiberus2016-02-021-0/+11
| | | | |
* | | | | GCE cloud provider updatesJason DeTiberus2016-02-027-94/+49
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix overrides for gce machine type and gce machine image - Update default image for origin - Update default ssh user for origin and enterprise - Remove old commented out code - Remove wip and join_node playbooks - Added add_nodes playbook which will now allow for using bin/cluster to add additional nodes - Allow env override of ssh_user - improve list playbook
* | | | Merge pull request #1019 from dgoodwin/etcd-serialBrenton Leanhardt2016-02-021-2/+26
|\ \ \ \ | | | | | | | | | | Install and start one etcd server before the others.
| * | | | Bring first etcd server up before others.Devan Goodwin2015-12-111-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In faster environments (i.e. all local VMs) etcd nodes could come online at roughly the same time leading to conflicts with self-elections, resulting in a non-functional cluster. To solve we configure the first etcd host by itself, then configure the remaining ones in parallel to keep things as fast as possible.
* | | | | Merge pull request #1303 from talset/s3_registry_clusteridStefanie Forrester2016-02-011-1/+1
|\ \ \ \ \ | |_|_|/ / |/| | | | s3_registry no filter named 'lookup'
| * | | | s3_registry no filter named 'lookup'talset2016-01-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added a default function for the lookup. * According to [1] added default(,true) to avoid empty string [1] https://github.com/openshift/openshift-ansible/blob/master/docs/best_practices_guide.adoc#filters
* | | | | changed adhoc playbook to match new host monitoring containerMatt Woodson2016-02-011-1/+1
| |_|_|/ |/| | |
* | | | Merge pull request #1309 from detiber/multi-masterStefanie Forrester2016-02-014-0/+4
|\ \ \ \ | | | | | | | | | | Multi-master fixes for provider playbooks
| * | | | Multi-master fixes for provider playbooksJason DeTiberus2016-02-014-0/+4
| | |_|/ | |/| | | | | | | | | | | | | | - set openshift_master_cluster_method=native for all cloud providers so bin/cluster will build the ha masters correctly
* | | | Merge pull request #1310 from detiber/aws_hostnameStefanie Forrester2016-02-012-2/+0
|\ \ \ \ | |/ / / |/| | | Fix hostname for aws cloud provider
| * | | Fix hostname for aws cloud providerJason DeTiberus2016-01-292-2/+0
| | | | | | | | | | | | | | | | - No longer set openshift_hostname to the private ip for the instance
* | | | fix for terminateJason DeTiberus2016-02-011-1/+1
| | | |
* | | | Fix node tags for aws providerJason DeTiberus2016-02-011-1/+1
| | | |
* | | | infra_node fixesJason DeTiberus2016-02-015-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - openshift_master role update - infra_nodes was previously being set to num_infra, which is an integer value when using the cloud providers, added a new variable osm_infra_nodes that is expected to be a list of hosts - if openshift_infra_nodes is not already set, create it from the nodes that have the region=infra label. - Cloud provider config playbook updates - override openshift_router_selector for cloud providers to avoid using the default of 'region=infra' when deployment_type is not 'online' - Set openshift_infra_nodes to g_infra_host for cloud providers