summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-24Revert "Jwhonce wip/cluster"Jhon Honce
2015-03-24gce inventory/playbook updates for node registration changesJason DeTiberus
2015-03-24remove openshift_hostname_workaround var for openshift_common, rather rely ↵Jason DeTiberus
on inventory/playbook variables for openshift_hostname
2015-03-24node registration changesJason DeTiberus
- 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.
2015-03-24Rename repos role to openshift_reposJason DeTiberus
- Rename repos role to openshift_repos - Make openshift_repos a dependency of openshift_common - Add README and metadata for openshift_repos - Playbook updates for role rename - Verify libselinux-python is installed, otherwise some of the bulit-in modules we use fail
2015-03-24* Updates from code reviewsJhon Honce
2015-03-24remove os_firewall creation of DOCKER chainJason DeTiberus
2015-03-24Use docker as package name instead of docker-ioJason DeTiberus
2015-03-24Add new role os_env_extras_node that is a subset of the docker roleJason DeTiberus
- Does not install or start docker, since the openshift-node role will handle that for us - Only add root to the dockerroot group and configures the enter-container script.
2015-03-24* Replace asserts with raisesJhon Honce
2015-03-24* Updates from code reviewsJhon Honce
2015-03-24Add verify_chain action to os_firewall_manage_iptables moduleJason DeTiberus
- Add verify_chain action to os_firewall_manage_iptables module - Update os_firewall module to use os_firewall_manage_iptables for creating the DOCKER chain.
2015-03-24* Add DOCKER chain to iptablesJhon Honce
2015-03-24use more specific variable names in gce/openshift-cluster/launch.ymlJason DeTiberus
2015-03-24replace oo_hosts_to_config with oo_nodes_to_config and oo_masters_to_configJason DeTiberus
2015-03-24Fix openshift_master_ips and openshift_master_public_ips resolutionJason DeTiberus
- don't use set_fact on localhost for openshift_master_ips and openshift_master_public_ips - we are only using it for the configure play - move definition to vars section of configure play - otherwise we'd have to set openshift_master_ips and openshift_master_public_ips from hostvars['localhost'] and since we aren't refrerencing it anywhere else, might as well just do it in vars instead of set_fact on locahost.
2015-03-24add repos role to gce cluster launch so that we are applying ↵Jason DeTiberus
os_update_latest after repo config
2015-03-24Use env for gce paramsJason DeTiberus
2015-03-24Use ansible playbook to initialize openshift clusterJhon Honce
* Added playbooks/gce/openshift-cluster * Added bin/cluster (will replace cluster.sh)
2015-03-24Various fixesJason DeTiberus
- playbooks/gce/openshift-cluster: - Remove some stray debugging statements - Some minor formatting fixes - removing un-necessary quotes - cleaning up some jinja templates for readability - add a play to the launch playbook to apply the os_update_latest role on all hosts in the new environment - improve setting groups and gce_public_ip when using add_host module - set gce_public_ip as a variable for the host using the returned gce instance_data - add a group for each tag configured on the host (pre-pending tag_ to the tag name) - update the openshift-master/config.yml and openshift-node/config.yml includes to use the tag_env-host-type groups - openshift-{master,node}/config.yml - Some cleanup - remove some extraneous quotes - remove connection: ssh from remote hosts, since it is the default - remove user: root and instead set ansible_ssh_user in inventory/gce/group_vars/all - set openshift_public_ip and openshift_env to templated values in inventory/gce/group_vars/all as well - no longer set openshift_node_ips for the master host, since nodes will register themselves now when they are configured (prevent reboot on adding nodes) - move setting openshift_master_ips and openshift_public_master_ips using set_fact and instead use the vars: of the 'Configure Instances' play
2015-03-24add roles symlink to playbooks/gce/openshift-cluster to allow launch to call ↵Jason DeTiberus
os_update_latest role
2015-03-24Move yum update * to new os_update_latest roleJason DeTiberus
2015-03-24add oo_prepend_strings_in_list filterJason DeTiberus
2015-03-24Add spacing to implicit string concatenation for python backwards compatibilityJason DeTiberus
2015-03-24Use ansible playbook to initialize openshift clusterJhon Honce
* Added playbooks/gce/openshift-cluster * Added bin/cluster (will replace cluster.sh)
2015-03-24Merge pull request #118 from liangxia/masterThomas Wiest
minor fix
2015-03-24Merge pull request #117 from detiber/repoRenameThomas Wiest
Rename repos role to openshift_repos
2015-03-23Update README_GCE.mdDan McPherson
2015-03-23Update README_GCE.mdDan McPherson
2015-03-19minor fixliangxia
2015-03-18Merge pull request #116 from detiber/bugSquashingThomas Wiest
Bug squashing
2015-03-18Rename repos role to openshift_reposJason DeTiberus
- Rename repos role to openshift_repos - Make openshift_repos a dependency of openshift_common - Add README and metadata for openshift_repos - Playbook updates for role rename - Verify libselinux-python is installed, otherwise some of the bulit-in modules we use fail
2015-03-18Register node fixesJason DeTiberus
- Set --hostname flag in node config in openshift_node role - Support some additional node attributes in openshift_node role - podCIDR - labels - annotations - Support both output types for openshift ex config view in openshift_register_node module - Support multiple api versions in openshift_register_node module - Support additional attributes in openshift_register_node module - annotations - labels - pod_cidr - external_ips (v1beta3, will be available after next kube rebase) - internal_ips (v1beta3, will be available after next kube rebase) - hostnames (v1beta3, will be available after next kube rebase) - external_id (v1beta3, will be available after next kube rebase)
2015-03-18Fix hostname handlingJason DeTiberus
- always set hostname if hostname does not match openshift_hostname - Use local IP instead of public IP as hostname for workaround
2015-03-13Merge pull request #114 from twiest/prThomas Wiest
Renamed AnsibleUtil to AwsUtil. Fixed bug in AwsUtil for hosts without environment set.
2015-03-13made the bug fix more python-esqThomas Wiest
2015-03-13fixed bug in AwsUtil that was causing it to blow up on hosts without an ↵Thomas Wiest
environment set.
2015-03-13renamed AnsibleUtil to AwsUtil because that's what it really is.Thomas Wiest
2015-03-13Merge pull request #112 from detiber/masterWorkaroundThomas Wiest
Add workaround for openshift-master startup timeout
2015-03-13Merge pull request #113 from detiber/kubeFormatThomas Wiest
Update openshift_register_node module for changes in .kubeconfig format ...
2015-03-13Update openshift_register_node module for changes in .kubeconfig format ↵Jason DeTiberus
following latest kubernetes rebase
2015-03-13Add workaround for openshift-master startup timeoutJason DeTiberus
2015-03-11Merge pull request #111 from twiest/opsshThomas Wiest
added opssh
2015-03-11added opsshThomas Wiest
2015-03-10Merge pull request #70 from lhuard1A/fix_awsThomas Wiest
Fix AWS playbooks
2015-03-10Fix AWS playbooksLénaïc Huard
2015-03-09Merge pull request #110 from detiber/nodeResourcesThomas Wiest
Allow for overriding node resources
2015-03-09Merge pull request #109 from twiest/prThomas Wiest
fixed github repo name in READMEs
2015-03-09fixed github repo name in READMEsThomas Wiest
2015-03-09Allow for overriding node resourcesJason DeTiberus
- add variable openshift_node_resources to openshift_node role - set default value for openshift_node_resources to { capacity: { cpu: ,memory: }} - If cpu is not set, then the default value will be chosen by the openshift_register_node module (num logical cpus) - If memory is not set, then the default value will be chosen by the openshift_register_node module (75% MemTotal according to /proc/meminfo)