summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Add serviceNetworkCIDR to network configScott Dodson2015-09-021-0/+2
| | | | | | | | | | | | Required by OSE 3.0.2 and Origin 1.0.6
* | | Atomic Enterprise related changes.Avesh Agarwal2015-08-266-31/+52
| | |
* | | Fix quoting around nullJason DeTiberus2015-08-221-2/+2
| | |
* | | fix apiServerArguments and controllerServerArgumentsJason DeTiberus2015-08-221-8/+2
| | |
* | | Merge pull request #487 from detiber/bz1252337Brenton Leanhardt2015-08-181-1/+1
|\ \ \ | | | | | | | | Bug 1252337 - Fix for quote error in oauthConfig template
| * | | Bug 1252337 - Fix for quote error in oauthConfig templateJason DeTiberus2015-08-171-1/+1
| | |/ | |/| | | | | | | https://bugzilla.redhat.com/show_bug.cgi?id=1252337
* | | Merge pull request #405 from sdodson/loglevel2Brenton Leanhardt2015-08-171-1/+1
|\ \ \ | | | | | | | | Set loglevel=2 as our default across the board
| * | | Set loglevel=2 as our default across the boardScott Dodson2015-07-291-1/+1
| | | |
* | | | Merge pull request #393 from detiber/bz1246458Brenton Leanhardt2015-08-171-1/+1
|\ \ \ \ | |_|/ / |/| | | Bug 1246458 - dnsIP does not point to cluster IP
| * | | Bug 1246458 - dnsIP does not point to cluster IPJason DeTiberus2015-07-271-1/+1
| |/ / | | | | | | | | | | | | | | | | | | https://bugzilla.redhat.com/show_bug.cgi?id=1246458 - Previously when configuring an HA cluster for multi-master the dns ip in the node config was pointing only to the first master instead of the cluster ip.
* | | Add support for setting kubeletArguments, controllerArguments, and ↵Jason DeTiberus2015-08-132-0/+8
| | | | | | | | | | | | apiServerArguments
* | | Add support for setting default node selectorJason DeTiberus2015-08-122-1/+2
| |/ |/|
* | Fix Custom CorsDiego Castro2015-08-122-1/+4
| |
* | Add LDAPPasswordIdentityProvider bits to identity_provider_config macro.Andrew Butcher2015-07-311-0/+14
| |
* | Add support for setting routingConfig:subdomainJason DeTiberus2015-07-282-1/+2
|/
* Add masterCA to ServiceAccountConfigScott Dodson2015-07-211-0/+1
|
* Merge pull request #374 from detiber/ha_masterBrenton Leanhardt2015-07-202-5/+5
|\ | | | | properly test openshift_master_ha var
| * properly test openshift_master_ha varJason DeTiberus2015-07-202-5/+5
| |
* | Merge pull request #362 from sdodson/issue361Brenton Leanhardt2015-07-201-0/+1
|\ \ | | | | | | Issue361 - MatchNodeSelector should be first
| * | Issue361 - MatchNodeSelector should be firstScott Dodson2015-07-171-0/+1
| | |
* | | Merge pull request #354 from nekop/remove-betaThomas Wiest2015-07-171-1/+1
|\ \ \ | |_|/ |/| | Replace outdated beta repo ids with 3.0 release
| * | Replace outdated beta repo ids with 3.0 releaseTakayoshi Kimura2015-07-171-1/+1
| |/
* | fix typoJason DeTiberus2015-07-171-1/+1
| |
* | Initial HA masterJason DeTiberus2015-07-173-0/+28
|/ | | | | | | | | | | | | | | | | | | | | | - 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
* add pauses to avoid service restarts from interfering with initial startup ↵Jason DeTiberus2015-07-151-0/+5
| | | | bootstrapping
* Playbook updates for clustered etcdJason DeTiberus2015-07-101-11/+1
| | | | | | | | | | | | | | | | | | | | | - 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-102-9/+4
| | | | | | | | | | | | | | | | | | | | | - 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
* Add etcd role that builds out basic etcd clusterScott Dodson2015-07-101-0/+1
| | | | | | - Add initial etcd role - Add etcd playbook to create etcd client certs - Hookup master to etcd
* Changes related to latest openshift.Avesh Agarwal2015-06-301-2/+4
|
* Update for RC2 changesScott Dodson2015-06-162-17/+37
| | | | | | | | | | | | | 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
* Use the documented state=present for yum moduleJason DeTiberus2015-06-101-2/+2
|
* Templatize configs and 0.5.2 changesJason DeTiberus2015-06-105-37/+271
| | | | | | | | | | | | | | | | | | | | | | - 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-102-17/+20
| | | | | | | | | | - 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
* * Fix tables in README.md filesJhon Honce2015-06-011-1/+1
|
* * rename openshift_registry_url oreg_urlJhon Honce2015-06-012-8/+8
| | | | * rename option_images to _{oreg|ortr}_images
* Install fluentd on nodes and masterJhon Honce2015-05-291-0/+4
| | | | * Configure fluentd to aggragate container logs
* openshift_master open port for skydns serviceJason DeTiberus2015-05-201-1/+4
|
* Add vagrantfile and minor bugfixesJason DeTiberus2015-04-281-0/+11
| | | | | | | | - Add Vagrantfile for configuring a basic cluster - Add an initial readme for using vagrant - explicitly set connection: local and sudo: false for localhost actions in playbooks/common/openshift-node/config.yml - Fix permissions issue with openshift config file for non-root user
* Fixes for latest osc client config changesJason DeTiberus2015-04-221-5/+13
| | | | - also pylint fixes
* Use docker-registry.ops when deploying as onlineWesley Hearn2015-04-221-0/+6
|
* Fix issue with nodes being set to an empty string when generating master configJason DeTiberus2015-04-201-2/+2
|
* Configuration updates for latest builds and major refactorJason DeTiberus2015-04-142-15/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configuration updates for latest builds - Switch to using create-node-config - Switch sdn services to use etcd over SSL - This re-uses the client certificate deployed on each node - Additional node registration changes - Do not assume that metadata service is available in openshift_facts module - Call systemctl daemon-reload after installing openshift-master, openshift-sdn-master, openshift-node, openshift-sdn-node - Fix bug overriding openshift_hostname and openshift_public_hostname in byo playbooks - Start moving generated configs to /etc/openshift - Some custom module cleanup - Add known issue with ansible-1.9 to README_OSE.md - Update to genericize the kubernetes_register_node module - Default to use kubectl for commands - Allow for overriding kubectl_cmd - In openshift_register_node role, override kubectl_cmd to openshift_kube - Set default openshift_registry_url for enterprise when deployment_type is enterprise - Fix openshift_register_node for client config change - Ensure that master certs directory is created - Add roles and filter_plugin symlinks to playbooks/common/openshift-master and node - Allow non-root user with sudo nopasswd access - Updates for README_OSE.md - Update byo inventory for adding additional comments - Updates for node cert/config sync to work with non-root user using sudo - Move node config/certs to /etc/openshift/node - Don't use path for mktemp. addresses: https://github.com/openshift/openshift-ansible/issues/154 Create common playbooks - create common/openshift-master/config.yml - create common/openshift-node/config.yml - update playbooks to use new common playbooks - update launch playbooks to call update playbooks - fix openshift_registry and openshift_node_ip usage Set default deployment type to origin - openshift_repo updates for enabling origin deployments - also separate repo and gpgkey file structure - remove kubernetes repo since it isn't currently needed - full deployment type support for bin/cluster - honor OS_DEPLOYMENT_TYPE env variable - add --deployment-type option, which will override OS_DEPLOYMENT_TYPE if set - if neither OS_DEPLOYMENT_TYPE or --deployment-type is set, defaults to origin installs Additional changes: - Add separate config action to bin/cluster that runs ansible config but does not update packages - Some more duplication reduction in cluster playbooks. - Rename task files in playbooks dirs to have tasks in their name for clarity. - update aws/gce scripts to use a directory for inventory (otherwise when there are no hosts returned from dynamic inventory there is an error) libvirt refactor and update - add libvirt dynamic inventory - updates to use dynamic inventory for libvirt
* openshift_facts role/module refactor default settingsJason DeTiberus2015-04-035-45/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add openshift_facts role and module - Created new role openshift_facts that contains an openshift_facts module - Refactor openshift_* roles to use openshift_facts instead of relying on defaults - Refactor playbooks to use openshift_facts - Cleanup inventory group_vars - Update defaults - update openshift_master role firewall defaults - remove etcd peer port, since we will not be supporting clustered embedded etcd - remove 8444 since console now runs on the api port by default - add 8444 and 7001 to disabled services to ensure removal if updating - Add new role os_env_extras_node that is a subset of the docker role - previously, we were starting/enabling docker which was causing issues with some installations - Does not install or start docker, since the openshift-node role will handle that for us - Only adds root to the dockerroot group - Update playbooks to use ops_env_extras_node role instead of docker role - os_firewall bug fixes - ignore ip6tables for now, since we are not configuring any ipv6 rules - if installing package do a daemon-reload before starting/enabling service - Add aws support to bin/cluster - Add list action to bin/cluster - Add update action to bin/cluster - cleanup some stray debug statements - some variable renaming for clarity
* remove openshift_hostname_workaround var for openshift_common, rather rely ↵Jason DeTiberus2015-03-241-1/+0
| | | | on inventory/playbook variables for openshift_hostname
* node registration changesJason DeTiberus2015-03-242-31/+6
| | | | | | | | | | | | | | - Remove default value for openshift_hostname and make it required - Remove workarounds that are no longer needed - Remove resources parameter from openshift_register_node module - pre-create node certificates for each node before registering node - distribute created node certificates to each node - Move node registration logic to a new openshift_register_nodes role - This is because we now have to run the steps on a master as opposed to on the nodes like we were previously doing. - Rename openshift_register_node module to kubernetes_register_node, one more step to genericizing enough for upstreaming, however there are still plenty of openshift specific commands that still need to be genericized.
* Add workaround for openshift-master startup timeoutJason DeTiberus2015-03-131-0/+17
|
* Merge pull request #100 from detiber/randomCleanupThomas Wiest2015-03-092-14/+26
|\ | | | | Random cleanup
| * Initial READMEs for openshift_{common, node, master}Jason DeTiberus2015-03-061-13/+25
| |
| * Fix license nameJason DeTiberus2015-03-061-1/+1
| |
* | Merge pull request #106 from detiber/condionalNodeOptionThomas Wiest2015-03-091-2/+3
|\ \ | | | | | | Conditionally set --nodes on master