| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Automatic merge from submit-queue.
Allow for blank StorageClass in PVC creation
In the case where a default StorageClass is already defined and a PV's
storage kind is not 'dynamic', allows for the storageClassName of the
associated PVC to be blank so as to not use the default SC.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1544387
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
In the case where a default StorageClass is already defined and a PV's
storage kind is not 'dynamic', allows for the storageClassName of the
associated PVC to be blank so as to not use the default SC.
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
|
|\ \
| | |
| | | |
Fix etcd scaleup plays
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit ensures that only the proper host groups
have sanity checks run during etcd scaleup.
This commit also adds additional debugging statements
to sanity_checks.py to make it easier to debug when
an error occurs.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1543771
|
|/
|
|
| |
Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
|
|\
| |
| | |
Determine which host is the etcd CA host
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
Automatic merge from submit-queue.
Symlink kubectl to oc instead of openshift
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1538933
@sdodson @juanvallejo FYI
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
Automatic merge from submit-queue.
Bug 1536217: Need to validate etcd serving certs before 3.9 upgrade
|
| | |
| | |
| | |
| | | |
etcd serving cert SAN.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Certificates may have alternate names specified, which may contain
different name types. Only 'DNS' alternate types should be parsed.
X509v3 Subject Alternative Name:
email:hostmaster@example.com, DNS:host.example.com
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1502838
|
| | |
| | |
| | |
| | |
| | | |
Create custome ansible module 'swapoff' to idempotently
disable swap in /etc/fstab and also run swapoff.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Automatic merge from submit-queue.
un-hardcode default subnet az
allow defining 'default_az' for one of the subnets in the vpc structure, and pull that default_az and set it to openshift_aws_subnet_az.
this should allow one less variable to be defined/overridded when using non-default (us-east-1) regions
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
allow defining 'default_az' for one of the subnets in the vpc structure, and pull that default_az and set it to openshift_aws_subnet_az.
this should allow one less variable to have to be defined/overridded (openshift_aws_subnet_az) when using non-default (us-east-1) regions
update provisioning_vars.yml.example to show an example VPC structure
|
|\ \ \ \
| |_|_|/
|/| | | |
CRI-O, Docker: Use images from the CentOS and Fedora registry
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes:
Object of type 'bytes' is not JSON serializable
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Solves this exception with python3:
TypeError: a bytes-like object is required, not 'str
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | | |
This commit adds the ability to mount volumes into
system containerized nodes.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1534933
|
| |/
|/|
| |
| | |
Ansible 2.4
|
|/
|
|
|
|
|
| |
This commit continues moving plugins into lib_utils.
This commit does not move any plugins for add-on roles
such as logging and metrics.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit changes how we handle openshift_version role.
Most of the version initialization code is only run
on the first master now. All other hosts have values
set from the master.
Aftwards, we run some basic RPM queries to ensure
that the correct version is available on the other nodes.
Containerized needs to do their own image checks elsewhere.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In Ansible 2.2, the include_role directive came into existence as
a Tech Preview. It is still a Tech Preview through Ansible 2.4
(and in current devel branch), but with a noteable change. The
default behavior switched from static: true to static: false
because that functionality moved to the newly introduced
import_role directive (in order to stay consistent with include*
being dynamic in nature and `import* being static in nature).
The dynamic include is considerably more memory intensive as it will
dynamically create a role import for every host in the inventory
list to be used. (Also worth noting, there is at the time of this
writing an object allocation inefficiency in the dynamic include
that can in certain situations amplify this effect considerably)
This change is meant to mitigate the pressure on memory for the
Ansible control host.
We need to evaluate where it makes sense to dynamically include roles
and revert back to dynamic inclusion if and where it makes sense to do
so.
|
|
|
|
|
|
|
| |
Move openshift_deployment_type check into sanity_check
action plugin. Remove compatibility for deployment_type.
deployment_type has been deprecated for some time now.
|
|
|
|
|
|
| |
Move more checks outside of init/main.yml for
speeding up upgrades and other operational plays that
need to run.
|
|
|
|
|
|
|
| |
This commit moves sanity_checks tasks into a custom
action plugin that is only run against a single host.
This will result in a large reduction of tasks during initialization
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit relocates filter_plugings to lib_utils,
changes the namespacing to prevent unintended use of
older versions that may be present in filter_plugins/
directory on existing installs.
Add lib_utils to meta depends for roles
Also consolidate some plugins into lib_utils from
various other areas.
Update rpm spec, obsolete plugin rpms.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, the command 'docker login' is run when using
oreg with authentication.
On some hosts, such as hosts configured to use system containers,
the docker service is not running. 'docker login' will fail
without the docker service running.
This commit adds a module to idempotently add credentials
to the registry credentials file without the use of
'docker login'
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1511374
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Explicitly convert from bytes to string so that splitting the string is
successful. This change works with python 2 as well.
Closes #4182
|
|\
| |
| | |
Introduce excluder-free rpm version detection role
|
| | |
|
|/ |
|
| |
|
|
|
|
| |
against yedit module being passed an empty key
|
| |
|
| |
|
|
|
|
|
| |
They are not executable anymore, and tests are now meant to be run
through pytest.
|
|
|
|
|
|
| |
That line is testing Python's list.count method, instead of yedit.
The assertion right above is a superset of it, as it checks for
equality to some expected value.
|
|
|
|
| |
Just rely on PyYAML as a fallback and hope that's there
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
if we're given path a.b.c and the existing object is:
a:
b:
- item1
raise an exception due to unexpected objects found while traversing the path (ie. b is a list, not a dict)
also, add_entry assumes new dicts for each sub element when creating elements besides the final assignment value.
doing something like a.b.c[0] = 12 where 'c' doesn't exist raises an exception
add test cases to cover:
access path that differs from existing object
create new objects with an embedded list in the path
create new object with a list at the end (define the end list in the passed in 'value' to avoid this exception)
|
|\
| |
| | |
Install repos on containerized hosts for python dependencies
|
| | |
|