| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
Make the GCE image_name and the machine_type configurable from the CLI
|
| | |
|
|\ \
| | |
| | | |
Fix issue when there are no infra nodes
|
| |/ |
|
|\ \
| | |
| | | |
Better structure the output of the list playbook
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
|\ \
| | |
| | | |
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
|