| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
Fix libvirt cluster creation
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/ |
|
|\
| |
| | |
Remove fluentd_master and fluentd_node roles
|
| | |
|
| |
| |
| |
| | |
default
|
|\ \
| | |
| | | |
Fix infra_node deployment
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
openshift_facts without declaring a dependency
|
| | |
| | |
| | |
| | |
| | | |
- make service account creation more flexible
- create service accounts near where they are consumed
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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
|
|\ \ \
| | | |
| | | | |
Add gte check for 3.2, update version checks to gte
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Add missing atomic- and openshift-enterprise
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| |_|/ /
|/| | | |
Make pod_eviction_timeout configurable from cli
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Add a DNS server on OpenStack clusters
|
| |/ / / |
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Allow compression option to be set to empty for non compressed images
|
| |/ /
| | |
| | |
| | | |
Support tgz and gzip compressed images
|
|\ \ \
| | | |
| | | | |
Additional overrides for cloud provider playbooks
|
| | | |
| | | |
| | | |
| | | |
| | | | |
- sdn overrides
- allow overrides for use_flannel and use_fluentd
|
|\ \ \ \
| | | | |
| | | | | |
Check that openshift_hostname resolves to an ip on our host
|
| | | | | |
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
Refactor storage options
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix scaleup playbook.
|
| | | | | | |
|
| | |_|_|/
| |/| | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- 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
|
|\ \ \ \
| | | | |
| | | | | |
Install and start one etcd server before the others.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
s3_registry no filter named 'lookup'
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* 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
|
| |_|_|/
|/| | | |
|
|\ \ \ \
| | | | |
| | | | | |
Multi-master fixes for provider playbooks
|
| | |_|/
| |/| |
| | | |
| | | |
| | | | |
- set openshift_master_cluster_method=native for all cloud providers so
bin/cluster will build the ha masters correctly
|
|\ \ \ \
| |/ / /
|/| | | |
Fix hostname for aws cloud provider
|
| | | |
| | | |
| | | |
| | | | |
- No longer set openshift_hostname to the private ip for the instance
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- 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
|