| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Note: on a simple example run of ansible-playbook against a single
docker-based host, I saw the execution time jump from 7s to 17s. That's
unfortunate, but it is probably better to reuse openshift_facts, than to
come up with new variables.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I came across this:
Traceback (most recent call last):
File "/tmp/ansible_BhXpTE/ansible_module_openshift_facts.py", line 2409, in <module>
main()
File "/tmp/ansible_BhXpTE/ansible_module_openshift_facts.py", line 2396, in main
protected_facts_to_overwrite)
File "/tmp/ansible_BhXpTE/ansible_module_openshift_facts.py", line 1855, in __init__
protected_facts_to_overwrite)
File "/tmp/ansible_BhXpTE/ansible_module_openshift_facts.py", line 1892, in generate_facts
defaults = self.get_defaults(roles, deployment_type, deployment_subtype)
File "/tmp/ansible_BhXpTE/ansible_module_openshift_facts.py", line 1989, in get_defaults
version_info = get_docker_version_info()
File "/tmp/ansible_BhXpTE/ansible_module_openshift_facts.py", line 1290, in get_docker_version_info
if is_service_running('docker'):
File "/tmp/ansible_BhXpTE/ansible_module_openshift_facts.py", line 1249, in is_service_running
bus = SystemBus()
File "/usr/lib64/python2.7/site-packages/dbus/_dbus.py", line 194, in __new__
private=private)
File "/usr/lib64/python2.7/site-packages/dbus/_dbus.py", line 100, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 122, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
|
| |
|
|\
| |
| | |
Ansible module for modifying yaml idempotently.
|
| | |
|
|/
|
|
| |
Closes #3070
|
| |
|
|\
| |
| | |
More Toxification
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Move pylint tests to tox
- Move yamllint tests to tox
- Create separate tox config (and setup.py) for root
- bump ansible requirement
- unify pylint config
- add docs
- remove git directory containing old testing tools
- install python-six if not present for openshift-facts
- add python-six as a dependency for openshift-ansible-utils
|
|\ \
| | |
| | | |
Workaround for dnf+docker version race condition
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In some versions of dnf the rpm database can require maintenance after
usage. Unfortunately, this trips up get_version_output in the
openshift_facts library as the maintenance may interrupt the STDOUT
stream. This makes the resulting data returned from get_version_output
malformed and unparsable. This change adds an rpm --rebuilddb command
before requesting docker version output when the ansible package manager
is dnf. This causes the STDOUT maintenance messages to no longer
interrupt the expected yaml stream as well as releases locks in the rpm
database.
|
|\ \ \
| |_|/
|/| | |
Return role dependencies to roles for openshift_{hosted,master,node}
|
| | |
| | |
| | |
| | | |
and openshift_hosted.
|
|\ \ \
| | | |
| | | | |
Fix openshift_image_tag=latest.
|
| | |/
| |/| |
|
|\ \ \
| |/ /
|/| | |
Enable firewalld by default
|
| | | |
|
|\ \ \
| | | |
| | | | |
Add future versions to openshift_facts
|
| | | | |
|
|\ \ \ \
| |_|_|/
|/| | | |
Fix repo defaults
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Add required python-six package to installation
|
| | | |
| | | |
| | | |
| | | |
| | | | |
* Moves package list into a defaults/main.yml file
* Closes #3020
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Fix jsonpath expected output when checking registry volume secrets
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In k8s 1.5 (see rebase PR: origin 12143) jsonpath output is slightly
different than previously. Causing this line to fail. We need to pick
secret or secretName when checking this task failure condition.
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Cast openshift_enable_origin_repo to bool.
|
| | |_|/ /
| |/| | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Add osnl_volume_reclaim_policy variable to nfs_lvm role
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
This allows to choose which volume reclamation policy to
use when provisioning storage with `openshift_storage_nfs_lvm`.
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
Enable repos defined in openshift_additional_repos by default
|
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes #3025
|
|/ / / / |
|
|/ / / |
|
|/ /
| |
| |
| | |
versions
|
|\ \
| | |
| | | |
Cert expiry updates
|
| | |
| | |
| | |
| | | |
changes
|
| | |
| | |
| | |
| | |
| | | |
* Addresses RFE in
https://bugzilla.redhat.com/show_bug.cgi?id=1389264
|
| |/
| |
| |
| | |
* Addresses https://bugzilla.redhat.com/show_bug.cgi?id=1389263
|
|/
|
|
| |
* https://trello.com/c/TeaEB9fX/307-3-deprecate-node-evacuation
|
| |
|
|\
| |
| | |
YAML Linting with CI checking
|
| |
| |
| |
| |
| | |
* Added checks to make ci for yaml linting
* Modified y(a)ml files to pass lint checks
|
|/ |
|
|\
| |
| | |
Fix metricsPublicURL only being set correctly on first master.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem was caused by facts not being set for that master. To fix this
patch cleans up the calculation of metricsPublicURL in general. Because
this value is used in openshift_master to template into the master
config file, we now define these facts more clearly in
openshift_master_facts, and add a dependency on this to
openshift_metrics.
The calculation of default sub-domain is also changed to remove it from
system facts (as neither of these are facts about the system) and
instead use plain variables.
|
|\ \
| | |
| | | |
Pre-pull master/node/ovs images during upgrade.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We did this for install but not upgrade, leading to situations where the
service restarts after upgrade could take much longer than expected as
docker pulls down the new image. Now the images are present when we
restart services and should allow them to come back online much more
quickly, equivalent to rpm service restarts.
|
|\ \ \
| | | |
| | | | |
Silence warnings when using rpm directly
|