summaryrefslogtreecommitdiffstats
path: root/roles
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies to ensure repos are available before openshift_master_* ↵Jason DeTiberus2015-07-174-3/+4
| | | | and etcd_* roles are run
* Add an initial delay for clustered HA startup verificationJason DeTiberus2015-07-171-1/+2
|
* fix typoJason DeTiberus2015-07-171-1/+1
|
* Add explicit timeouts to ha master resourceJason DeTiberus2015-07-171-1/+1
|
* Initial HA masterJason DeTiberus2015-07-1713-15/+192
| | | | | | | | | | | | | | | | | | | | | | - Ability to specify multiple masters - configures the CA only a single time on the first master - creates and distributes additional certs for additional master hosts - Depending on the status of openshift_master_cluster_defer_ha (defaults to False) one of two actions are taken when multiple masters are defined 1. If openshift_master_cluster_defer_ha is true a. Certs/configs for all masters are deployed b. openshift-master service is only started and enabled on the master c. HA configuration is expected to be handled by the user manually after the completion of the playbook run. 2. If oepnshift_master_cluster_defer_ha is false or undefined a. Certs/configs for all masters are deployed b. a Pacemaker/RHEL HA cluster is configured i. VIPs are configured based on the values of openshift_master_cluster_vip and openshift_master_cluster_plublic_vip ii. The openshift-master service is configured as an active/passive cluster service
* Fix etcd default interfaceJason DeTiberus2015-07-171-1/+1
| | | | | - instead of hardcoding to eth0, use the interface associated with the ipv4 default route as the default instead.
* Merge pull request #347 from detiber/fixHostnameFactThomas Wiest2015-07-161-1/+1
|\ | | | | Fix hostname default when valid hostname not found on system
| * Fix hostname default when valid hostname not found on systemJason DeTiberus2015-07-141-1/+1
| |
* | Merge pull request #341 from detiber/sdodson-etcd-playbookThomas Wiest2015-07-1635-623/+698
|\ \ | | | | | | External clustered etcd support
| * | add pauses to avoid service restarts from interfering with initial startup ↵Jason DeTiberus2015-07-152-1/+8
| | | | | | | | | | | | bootstrapping
| * | Playbook updates for clustered etcdJason DeTiberus2015-07-1012-13/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add support to bin/cluster for specifying etcd hosts - defaults to 0, if no etcd hosts are selected, then configures embedded etcd - Updates for the byo inventory file for etcd and master as node by default - Consolidation of cluster logic more centrally into common playbook - Added etcd config support to playbooks - Restructured byo playbooks to leverage the common openshift-cluster playbook - Added support to common master playbook to generate and apply external etcd client certs from the etcd ca - start of refactor for better handling of master certs in a multi-master environment. - added the openshift_master_ca and openshift_master_certificates roles to manage master certs instead of generating them in the openshift_master role - added etcd host groups to the cluster update playbooks - aded better handling of host groups when they are either not present or are empty. - Update AWS readme
| * | Etcd role updates and playbook updatesJason DeTiberus2015-07-1022-80/+348
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix firewall conflict issues with co-located etcd and openshift hosts - added os_firewall dependency to etcd role - updated etcd template to better handle clustered and non-clustered installs - added etcd_ca role - generates a self-signed cert to manage etcd certificates, since etcd peer certificates are required to be client and server certs and the openshift ca will only generate client or server certs (not one authorized for both). - renamed openshift_etcd_certs role to etcd_certificates and updated it to manage certificates generated from the CA managed by the etcd_ca role - remove hard coded etcd_port in openshift_facts - updates for the openshift-etcd common playbook - removed etcd and openshift-etcd playbooks from the byo playbooks directory - added a common playbook for setting etcd launch facts - added an openshift-etcd common service playbook - removed unused variables - fixed tests for embedded_{etcd,dns,kube} in openshift_master - removed old workaround for reloading systemd units
| * | Remove outdated openshift_register_nodes roleJason DeTiberus2015-07-105-606/+0
| | |
| * | Add etcd role that builds out basic etcd clusterScott Dodson2015-07-1012-3/+255
| | | | | | | | | | | | | | | | | | - Add initial etcd role - Add etcd playbook to create etcd client certs - Hookup master to etcd
* | | Adding ignore feature for idempotencyKenny Woodson2015-07-101-7/+19
|/ /
* | Bug 1241342 - Adding retry logic to handle node registration race conditionsBrenton Leanhardt2015-07-101-0/+9
| |
* | update repo to real ose releaseTroy Dawson2015-07-081-3/+3
| |
* | Merge pull request #319 from brenton/masterThomas Wiest2015-07-072-3/+0
|\ \ | |/ |/| fixes for node scheduleability
| * Removing unneeded delegate_to callsBrenton Leanhardt2015-06-302-3/+0
| |
* | Changes related to latest openshift.Avesh Agarwal2015-06-301-2/+4
|/
* Merge pull request #312 from sdodson/xpaas_updatesBrenton Leanhardt2015-06-3034-619/+1881
|\ | | | | Xpaas updates
| * Sync xpaas examples with githubScott Dodson2015-06-2934-619/+1881
| |
* | The manage_node commands should only run on the first masterBrenton Leanhardt2015-06-291-0/+11
| |
* | delegate_to doesn't appear to be thread safeBrenton Leanhardt2015-06-291-21/+0
| |
* | Merge pull request #311 from dlbewley/masterJhon Honce2015-06-291-0/+2
|\ \ | | | | | | fix markdown rendering
| * | fix markdown renderingDale Bewley2015-06-281-0/+2
| |/
* | Merge pull request #292 from sdodson/oadm-switcherooBrenton Leanhardt2015-06-291-1/+1
|\ \ | |/ |/| Switch openshift ex router/registry to oadm
| * Switch openshift ex router/registry to oadmScott Dodson2015-06-221-1/+1
| |
* | Merge pull request #306 from tdawson/2015-06-partitionTroy Dawson2015-06-254-0/+136
|\ \ | | | | | | Expand partition and filesystem to use entire disk.
| * | Creating openshift_expand_partitionTroy Dawson2015-06-244-0/+136
| | |
* | | Use copy instead of synchronizeJhon Honce2015-06-241-1/+3
|/ / | | | | | | * synchronize failed for a number of users
* | Merge pull request #287 from twiest/prThomas Wiest2015-06-244-5/+5
|\ \ | | | | | | changed Openshift to OpenShift
| * | changed Openshift to OpenShiftThomas Wiest2015-06-194-5/+5
| |/
* | Merge pull request #288 from tdawson/2015-06-nfsThomas Wiest2015-06-247-0/+198
|\ \ | | | | | | create storage_nfs_lvm role
| * | Create openshift_storage_nfs_lvm based off kube_nfs_volumesTroy Dawson2015-06-247-0/+198
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | initial import of openshift_storage_nfs from kube_nfs_volumes reduce total size so we do not go over Postpone making the mounts owned by nfsnobody rename openshift_storage_nfs storage_nfs_pvs Update README to latest settings have json files go to /root/ change categories from cloud to openshift, cuz this can run on bare metal storgae_nfs_lvm initial commit fixing default getting it working check these in, just cuz for lvm we do not need the library Update README to match reality adding recycle make volume_group a variable make volume_group a variable fix typo default should be /exports/openshift set owner and permissions of mount point update examples cleanup cruft fixup documentation fixup documentation rename storage_nfs_lvm to openshift_storage_nfs_lvm rename storage_nfs_lvm to openshift_storage_nfs_lvm use openshiftvg, not openshift3vg use ansible file: to set owner and permissions of mount dir change nfs_export_options to osnl_nfs_export_options change mount_dir to osnl_mount_dir change volume_group to osnl_volume_group change volume_prefix to osnl_volume_prefix change volume_size to osnl_volume_size change volume_num_start to osnl_volume_num_start change number_of_volumes to osnl_number_of_volumes replace volume_size with osnl_volume_size
* | Bug 1234717 - oo-install-ose should use openshift_hostname as parameter when ↵Brenton Leanhardt2015-06-231-3/+3
| | | | | | | | checking schedulable state
* | Merge pull request #294 from brenton/masterThomas Wiest2015-06-221-0/+21
|\ \ | | | | | | Adding support for labeling nodes as unscheduleable
| * | Adding support for labeling nodes as unscheduleableBrenton Leanhardt2015-06-221-0/+21
| |/ | | | | | | | | | | | | | | | | | | | | For idempotency it first checks the output of 'oc get node <hostname>' to see if any action needs to be taken. The trick was waiting to make sure that the node autoregistration had actually happened. If you set openshift_scheduleable=False in the inventory then the node will be marked as unscheduleable. Likewise setting it to True undoes the change. Having openshift_scheduleable undefined is the same as True since that is the default state of a Node.
* / Add openshift_examples roleScott Dodson2015-06-2250-0/+17958
|/ | | | | | This role installs db-templates, image-streams, and quickstart-templates into /usr/share/openshift/examples on the master and then uses `oc create` to import them.
* Update for RC2 changesScott Dodson2015-06-1612-60/+160
| | | | | | | | | | | | | Remove openshift-deployer.kubeconfig from master template Sync config template Update enterprise image names Switch to node auto registration Add deployer to list of serviceAccountConfig.managedNames Move package installation before registering facts change default kubeconfig location Change system:openshift-client to system:openshift-master Rename node cert/key/kubeconfig per openshift/origin#3160 Update references to /var/lib/openshift/openshift.local.certificates
* Guard against openstack bug 1334857Jason DeTiberus2015-06-151-2/+2
| | | | | Some versions of openstack erroneously return a comma separated list for the local-ipv4 value, this ensures that we handle that case properly
* * Make portal_net configurable when wetting up the nodes OpenShift RegistryJhon Honce2015-06-122-2/+3
|
* Infrastructure - Set OpenShift RegistryJhon Honce2015-06-121-0/+11
| | | | * TODO: update to secure when 'add volume' feature available in origin
* * Refactor to use openshift_master_config_dir when deploying servicesJhon Honce2015-06-104-2/+10
|
* Use the documented state=present for yum moduleJason DeTiberus2015-06-104-6/+6
|
* BugfixesScott Dodson2015-06-102-2/+1
| | | | | - Don't include ./ in the tarball we transfer to the nodes - Fixup node argument ordering
* Templatize configs and 0.5.2 changesJason DeTiberus2015-06-1027-535/+579
| | | | | | | | | | | | | | | | | | | | | | - Templatize node config - Templatize master config - Integrated sdn changes - Updates for openshift_facts - Added support for node, master and sdn related changes - registry_url - added identity provider facts - Removed openshift_sdn_* roles - Install httpd-tools if configuring htpasswd auth - Remove references to external_id - Setting external_id interferes with nodes associating with the generated node object when pre-registering nodes. - osc/oc and osadm/oadm binary detection in openshift_facts Misc Changes: - make non-errata puddle default for byo example - comment out master in list of nodes in inventory/byo/hosts - remove non-error errors from fluentd_* roles - Use admin kubeconfig instead of openshift-client
* Accomodate upstream configuration changeScott Dodson2015-06-108-39/+46
| | | | | | | | | | - Master config and certificates are now in /etc/openshift/master - Node config is now in /etc/openshift/node - Several certificates have been renamed to accomodate a flattening of structure to accomodate secret storage - Add openshift_data_dir to ensure etcd and volumes are stored in /var/lib/openshift - Add openshift_generated_configs_dir
* Switch to beta4 for onlineTroy Dawson2015-06-081-4/+4
|
* add use_fluentd to openshift_factsJason DeTiberus2015-06-062-1/+16
| | | | | - Move use_fluentd into openshift_facts proper - default use_fluentd to False unless deployment_type == origin