| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
add configuration for build default+overrides settings
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
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
|
|/
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
Add future versions to openshift_facts
|
| | |
|
|/
|
|
|
| |
* Moves package list into a defaults/main.yml file
* Closes #3020
|
|
|
|
| |
versions
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In 3.3 one of our services lays down a systemd drop-in for configuring
Docker networking to use lbr0. In 3.4, this has been changed but the
file must be cleaned up manually by us.
However, after removing the file docker requires a restart. This had big
implications particularly in containerized environments where upgrade is
a very fragile series of upgrading and service restarts.
To avoid double docker restarts, and thus double service restarts in
containerized environments, this change does the following:
- Skip restart during docker upgrade, if it is required. We will restart
on our own later.
- Skip containerized service restarts when we upgrade the services
themselves.
- Clean shutdown of all containerized services.
- Restart Docker. (always, previously this only happened if it needed an
upgrade)
- Ensure all containerized services are restarted.
- Restart rpm node services. (always)
- Mark node schedulable again.
At the end of this process, docker0 should be back on the system.
|
| |
|
| |
|
|\
| |
| | |
Verify the presence of dbus python binding
|
| |
| |
| |
| |
| |
| | |
While the proper fix is to have it installed by default, this commit
will also permit to have a better error message in the case the module
is not present (as running on python 3)
|
|\ \
| |/
|/| |
Merge admission plugin configs
|
| |
| |
| |
| |
| |
| |
| |
| | |
Move the values in kube_admission_plugin_config up one level per
the new format from 1.3:
"The kubernetesMasterConfig.admissionConfig.pluginConfig should be moved
and merged into admissionConfig.pluginConfig."
|
|/
|
|
|
| |
The Ansible package module will call the correct package manager for the
underlying OS.
|
|\
| |
| | |
[#2698] Change to allow cni deployments without openshift SDN
|
| |
| |
| |
| |
| |
| |
| | |
The roles/openshift_facts main task did not pass the cni plugin variable to the later role playbooks.
The master.yaml and node.yaml templates did not allow for a cni configuration without either installing openshift sdn or nuage.
This change will allow to use os_sdn_network_plugin_name=cni and set openshift_use_openshift_sdn=false for deployments that use a cni plugin that doesn't need and want openshift sdn to be installed
|
| | |
|
|\ \
| | |
| | | |
Port openshift_facts to py3
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- fix configparser import
- convert bytes to str using to_native
- replace method that did got removed in py3 with six equivalent
With ansible 2.2, python 3 start to be supported enough to
run non trivial playbooks, and so a test run of openshift-ansible on
F24 showed that openshift_facts.py needed to be ported.
|
|\ \ \
| | | |
| | | | |
Reconcile role bindings for jenkins pipeline during upgrade.
|
| | | |
| | | |
| | | |
| | | | |
https://github.com/openshift/origin/issues/11170 for more info.
|
|/ / /
| | |
| | |
| | |
| | | |
Fixes Bug 1390160
Fixes BZ1390160
|
| |/
|/| |
|
|\ \
| | |
| | | |
Always add local dns domain to no_proxy
|
| | | |
|
|\ \ \
| | | |
| | | | |
Revert openshift.node.nodename changes
|
| | | |
| | | |
| | | |
| | | | |
This reverts commit aaaf82ba6032d0b1e9c36a39a7eda25b8c5f4b84.
|
| | | |
| | | |
| | | |
| | | | |
This reverts commit 1f2276fff1e41c1d9440ee8b589042ee249b95d7.
|
| | | |
| | | |
| | | |
| | | | |
This reverts commit 3cc2d6b019fa8a05ba480a7425cd654aa051355f.
|
| |/ /
|/| |
| | |
| | |
| | | |
Inventory values highest priority, then anything in master-config.yaml, then
defaults last.
|
|\ \ \
| |/ /
|/| | |
Update defaults for clusterNetworkCIDR & hostSubnetLength
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Per https://github.com/openshift/openshift-docs/issues/1700:
The default values for pod networking have changed:
- clusterNetworkCIDR now defaults to 10.128.0.0/14 (10.128.0.0 - 10.131.255.255)
rather than 10.1.0.0/16.
- hostSubnetLength now defaults to 9 rather than 8
(meaning each node will be assigned a /23 subnet rather than a /24)
Fixes Bug 1320952
|
|/ / |
|
| | |
|
|\ \
| | |
| | | |
Bug 1388016 - The insecure-registry address was removed during upgrade
|
| | |
| | |
| | |
| | | |
existing /etc/sysconfig/docker.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If, for some reason, two facts processes were run simultaneously
on the same host, creating the directory could cause an exception.
This should help with that.
Fixes Bug 1385449
|
|\ \ \
| |/ /
|/| | |
Set node-labels in kubeletArguments
|
| | |
| | |
| | |
| | | |
* Node labels are parsed from openshift_node_labels if they exist
|
|/ / |
|
|/ |
|
|\
| |
| | |
Check that OpenStack hostnames are resolvable
|