summaryrefslogtreecommitdiffstats
path: root/playbooks
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1369 from lhuard1A/gce_oo_optionThomas Wiest2016-02-151-4/+4
|\ | | | | Make the GCE image_name and the machine_type configurable from the CLI
| * Make the GCE image_name and the machine_type configurable from the CLILénaïc Huard2016-02-101-4/+4
| |
* | Merge pull request #1355 from lhuard1A/fix_when_no_infraThomas Wiest2016-02-154-8/+8
|\ \ | | | | | | Fix issue when there are no infra nodes
| * | Fix issue when there are no infra nodesLénaïc Huard2016-02-094-8/+8
| |/
* | Merge pull request #1357 from lhuard1A/pretty_print_gce_list_clusterThomas Wiest2016-02-151-2/+9
|\ \ | | | | | | Better structure the output of the list playbook
| * | Better structure the output of the list playbookLénaïc Huard2016-02-091-2/+9
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The list playbook listed the IPs of the VMs without logging their role like: ``` PLAY [List instance(s)] ******************************************************* TASK: [debug ] **************************************************************** ok: [lenaic-node-compute-cd81b] => { "msg": "public ip: 104.155.50.164 private ip:10.55.0.49" } ok: [lenaic-master-9e767] => { "msg": "public ip: 104.155.47.180 private ip:10.55.0.113" } ok: [lenaic-node-infra-ab7c8] => { "msg": "public ip: 104.155.11.34 private ip:10.55.0.131" } ``` The list playbook now prints the information in a more structured way like: ``` PLAY [List Hosts] ************************************************************* TASK: [debug ] **************************************************************** ok: [localhost] => { "msg": { "lenaic": { "master": { "default": [ { "name": "lenaic-master-9e767", "private IP": "10.55.0.113", "public IP": "104.155.47.180" } ] }, "node": { "compute": [ { "name": "lenaic-node-compute-cd81b", "private IP": "10.55.0.49", "public IP": "104.155.50.164" } ], "infra": [ { "name": "lenaic-node-infra-ab7c8", "private IP": "10.55.0.131", "public IP": "104.155.11.34" } ] } } } } ``` This change of the output of the list playbook was previously done for OpenStack and libvirt in 332aa8c (#461). This change makes the GCE output identical to OpenStack and libvirt’s one.
* | Don't automatically give additional permissions to all OAuth users on upgradeJordan Liggitt2016-02-122-0/+2
| |
* | 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
| |_|_|/ |/| | |