| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
We can use openshift_facts's service_type to determine the package
names.
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Because that's the main playbook directory in use.
|
| |
|
| |
|
|
|
|
|
| |
This makes it so that one doesn't need to explicitly enable nor replace
the default callback plugin.
|
| |
|
|\
| |
| | |
WIP: oo_filters: Moved static methods to functions
|
| |
| |
| |
| |
| | |
This change moves the static methods into functions in an effort to
reduce complexity and improve readability.
|
|\ \
| | |
| | | |
first swing at release version wording
|
|/ /
| |
| |
| | |
clarify our branching and release compat. policy.
|
|\ \
| | |
| | | |
Ansible module for modifying yaml idempotently.
|
| |/ |
|
|\ \
| | |
| | | |
Add a fact to select --evacuate or --drain based on your OCP version
|
| | |
| | |
| | |
| | | |
Closes #3070
|
|\ \ \
| |_|/
|/| | |
Correct tox to run on Travis
|
|/ / |
|
|\ \
| | |
| | | |
[WIP] Correct return code compairison for yamllint
|
| | | |
|
|\ \ \
| |_|/
|/| | |
Update branch status
|
|/ /
| |
| |
| | |
master is now applicable to v1.5 and v1.4
|
|\ \
| | |
| | | |
rename openshift_metrics to openshift_hosted_metrics
|
| |/ |
|
|\ \
| | |
| | | |
Update aws dynamic inventory
|
| | |
| | |
| | |
| | | |
Fetch from https://raw.githubusercontent.com/ansible/ansible/devel/contrib/inventory/ec2.py
|
|\ \ \
| | | |
| | | | |
Update gce dynamic inventory
|
| | |/
| |/|
| | |
| | | |
Fetch from https://raw.githubusercontent.com/ansible/ansible/devel/contrib/inventory/gce.py
|
|\ \ \
| | | |
| | | | |
cleanup: Removed debug prints from tests
|
| |/ / |
|
|\ \ \
| |/ /
|/| | |
improve issue template
|
| | | |
|
|\ \ \
| | | |
| | | | |
remove debug statement from test
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
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.
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
Partial uninstall functionality
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
Cleanup cluster upgrade
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
All references to it were removed in
b89c835e3235f2628b37de15713c311d1b5a4bad
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
All references to it were removed in
739ad9de2a11bb8c67d77641a86cfd39e4594542
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The script nuke_images.sh was introduced in
0c31d72be3bf32f848eedad9859a81ba858f8c8f and seems that the shell
argument $1 was never used (the only $1 in the script back then refers
to a field in a awk script).
There was a reference to $2 that was always undefined/empty.
The script was then simplified in
b89c835e3235f2628b37de15713c311d1b5a4bad, removing any reference to $1
and $2.
This commit cleans up the only call site to the shell script.
|
|\ \ \ \ \
| |_|_|_|/
|/| | | | |
The scaleup subcommand does not support the unattended option
|