1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 15:47:14 +01:00
Commit Graph

10750 Commits

Author SHA1 Message Date
Pierre Prinetti
f6dbeccc70 openstack: Expose worker server group policy
With this change, Compute nodes within each MachineSet are automatically
created in a Server group, with a default policy of
"soft-anti-affinity".

With this change, a "serverGroupPolicy" can be set in install-config, on
the worker MachinePool and/or in the platform default.

Implements OSASINFRA-2570

Co-Authored-By: Matthew Booth <mbooth@redhat.com>
2021-10-04 18:05:15 +02:00
OpenShift Merge Robot
292329d3ef Merge pull request #5264 from shiftstack/openstack_tfvars
openstack: Move TFVars logic to own package
2021-10-04 10:12:42 -04:00
Pierre Prinetti
eaee6db02c openstack: Move TFVars logic to own package
This refactoring moves code from the shared `tfvars` asset directory to
the OpenStack-specific package.

The behaviour is left completely unchanged.
2021-10-02 20:56:19 +02:00
OpenShift Merge Robot
0410867f30 Merge pull request #5260 from shiftstack/flavor-validation
Bug 2009699: Fix RAM validation for openstack flavors
2021-10-01 11:01:13 -04:00
Martin André
d4cf2461c8 Bug 2009699: Fix RAM validation for openstack flavors
OpenStack flavors report RAM in MB and not GB. This unit error caused
the installer to accept flavors with insufficient RAM to install
OpenShift.
2021-10-01 13:59:14 +02:00
OpenShift Merge Robot
35094e9157 Merge pull request #5258 from staebler/bz2008119
Bug 2008119: force cvo to ignore installer-provided resources
2021-09-30 20:34:25 -04:00
OpenShift Merge Robot
cfd0b22a22 Merge pull request #5234 from cjschaef/add_subnets_to_provider_config
Inject subnet names into IBM Cloud provider config
2021-09-30 14:24:26 -04:00
staebler
0f65703a06 Bug 2008119: force cvo to ignore installer-provided resources
When the installer provides manifests for resources that are included
as create-only resources in the release payload, there is a race
between whether cluster-bootstrap will apply the installer-provided
manifest or cluster-version-operato will apply the payload-provided
manifest. Whichever one is applied first will be the only one applied.
This is problematic since the expectation is that the installer-provided
manifests should always be applied.

To get around this, the installer now adds to the .spec.overrides field
of the ClusterVersion resource all of the resources for which the installer
is providing manifests. This tells the cluster-version-operator to not
apply any manifests for these resources. After the cluster-bootstrap
completes, the bootkube service will remove those resources from the
.spec.overrides field so that the cluster-version-operator can take over
management of those resources during upgrades.

The cvoignore asset has been added during the ignition configs
stage. This asset is responsible for creating two files for the
bootstrap node: cvo-overrides.yaml and original_cvo_overrides.patch.

The cvo-overrides.yaml file is a replacement of the one created by the
Common Manifests asset. The replacement adds to the .spec.overrides field
all of the resources included in the Common Manifests and Openshift Manifests
assets.

The original_cvo_overrides.patch file is a json patch that the bootkube
service applies to the ClusterVersion resource after cluster-bootstrap
completes. The patch restores any value that the user supplied for the
.spec.overrides field.
2021-09-30 11:37:31 -04:00
OpenShift Merge Robot
063b2840b5 Merge pull request #5105 from atiratree/cpc-metrics
open cluster-policy-controller ports for metrics
2021-09-29 21:51:30 -04:00
OpenShift Merge Robot
9e844a7cb6 Merge pull request #5216 from patrickdillon/bump-openshift-api-alibaba
vendor: Bump OpenShift API to Add Alibaba Platform
2021-09-29 17:24:19 -04:00
OpenShift Merge Robot
7cb4d7926e Merge pull request #5249 from patrickdillon/ash-internal-lb
Bug 2008599: Azure Stack: Add Internal Load Balancer
2021-09-29 15:09:04 -04:00
patrickdillon
8202e0d1c7 Azure Stack: make internal load balancer naming consistent
Switches the name of the internal load balancer to be
${INFRA_ID}-internal which is consistent with IPI.

Also renames the backend address pool to be the same as the
LB which is consistent with the public LB.
2021-09-29 12:43:13 -04:00
atiratree
2636aef6cd open cluster-policy-controller ports for metrics 2021-09-29 17:32:51 +02:00
patrickdillon
99d9aa59d6 Azure Stack: Add Internal Load Balancer
In the current solution, ASH only has one public load balancer. Both
api DNS records point to the public IP address. This creates an
internal load balancer and updates the docs to point the api-int
record to the internal LB.
2021-09-28 12:00:20 -04:00
Christopher J Schaefer
2cb1679784 Inject subnet names into IBM Cloud provider config
Add the set of subnet names created for the VPC into the IBM Cloud
provider configuration.
2021-09-28 09:35:08 -05:00
OpenShift Merge Robot
12fd86f161 Merge pull request #5246 from julianwiedmann/typo-fix
docs: libvirt: fix typo
2021-09-27 10:46:00 -04:00
Julian Wiedmann
bc3dee714a docs: libvirt: fix typo
s/resovectl/resolvectl

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
2021-09-27 15:53:05 +02:00
patrickdillon
f7f93ba95a go mod edit -require=github.com/openshift/api@master \
-replace=k8s.io/client-go=k8s.io/client-go@v0.22.0 \
            -replace=k8s.io/kube-openapi=k8s.io/kube-openapi@v0.0.0-20210305001622-591a79e4bda7

Bumps the OpenShift & k8s APIs. There seems to be a breaking change
in kube-openshift which breaks our kubevirt.io dependencies. I'm pinning
this to the earlier kube-openapi until these dependencies can be
updated.
2021-09-24 14:01:04 -04:00
OpenShift Merge Robot
f175642259 Merge pull request #5184 from eslutsky/bump-ovirt-api-provider
Bug 2000430:  bump cluster-api-provider-ovirt
2021-09-24 02:18:36 -04:00
OpenShift Merge Robot
4dfd4410e8 Merge pull request #5218 from omertuc/bipnocreate
Block `create cluster` if bootstrapInPlace is set in install-config
2021-09-23 20:05:39 -04:00
OpenShift Merge Robot
161af66402 Merge pull request #5235 from rna-afk/installer_images_fix_jq
images: Fix jq not found error
2021-09-23 13:44:42 -04:00
rna-afk
27a37fec4f images: Fix jq not found error
CI is failing with jq not found error. Installing it from pip
modules instead.
2021-09-23 11:03:07 -04:00
OpenShift Merge Robot
aa88e5699d Merge pull request #5226 from eb4x/dead_openstack_variables
terraform/openstack: remove unused extra_tags
2021-09-21 03:22:38 -04:00
Erik Berg
1333920426 terraform/openstack: keep tf-fmt job happy 2021-09-20 18:09:26 +02:00
Erik Berg
f0f28ed1a7 terraform/openstack: remove unused extra_tags
Since commit 63f7a03d89 the
extra_tags seem to go unused
2021-09-17 17:32:40 +02:00
OpenShift Merge Robot
089c6c2588 Merge pull request #5204 from stevekuznetsov/skuznets/improve-quota-logging
pkg/destroy: log when writing quota for visibility
2021-09-16 23:28:57 -04:00
OpenShift Merge Robot
f5851c6371 Merge pull request #5219 from derekhiggins/less-ramdisk-log
Bug 2004600: Remove duplicate ramdisk log container
2021-09-16 13:39:10 -04:00
OpenShift Merge Robot
4c4c62761b Merge pull request #5194 from openshift-bot/art-consistency-openshift-4.10-ose-installer
Updating ose-installer images to be consistent with ART
2021-09-16 10:43:44 -04:00
AOS Automation Release Team
24bb6f10ac Updating ose-installer images to be consistent with ART
Reconciling with 3dea842648/images/ose-installer.yml
2021-09-16 00:58:43 +00:00
OpenShift Merge Robot
b4ee16ee5f Merge pull request #5211 from hasueki/ibm-fix-cos-delete
fix(ibmcloud): Delete COS in recursive mode
2021-09-15 17:42:10 -04:00
Derek Higgins
6103f1bf6d Remove duplicate ramdisk log container
The runlogwatch.sh script is now intended to watch
both directories, so we only need one instance of
this container.
2021-09-15 17:41:22 +01:00
OpenShift Merge Robot
fc7ae0a940 Merge pull request #5214 from wking/prune-owners
OWNERS: Prune crawford
2021-09-15 12:27:55 -04:00
Omer Tuchfeld
6e8dab2aa2 Block create cluster if bootstrapInPlace is set in install-config
bootstrapInPlace configuration is only meant for generating ignition and embedding
it manually in an RHCOS ISO. It is not meant for IPI installation.

It seems that trying to do single-node IPI installation with this configuration
set in the install-config file leads to odd installation failures with confusing
error messages. This commit makes it so that the error is much earlier and
more clear.
2021-09-15 18:18:23 +02:00
W. Trevor King
a04a71660f OWNERS: Prune crawford
Alex has left Red Hat :(.
2021-09-14 22:30:08 -07:00
OpenShift Merge Robot
61da4efc17 Merge pull request #5188 from hasueki/ibm-sg-nodeports
fix(ibmcloud): Allow NodePort access from all subnets
2021-09-14 20:10:09 -04:00
OpenShift Merge Robot
6836f260f5 Merge pull request #5213 from hardys/baremetal_owners
Update baremetal approvers/reviewers
2021-09-14 12:22:12 -04:00
Steven Hardy
a1c23278c1 Update baremetal approvers/reviewers in OWNERS_ALIASES 2021-09-14 17:06:21 +01:00
OpenShift Merge Robot
9f01e5e1b2 Merge pull request #5201 from shiftstack/openstack-sriov-doc-fixes
Bug 2002567: OpenStack: Fix links in SR-IOV workers doc
2021-09-14 08:31:55 -04:00
OpenShift Merge Robot
7c706a0e82 Merge pull request #5208 from derekhiggins/inspect-entrypoint
baremetal: Specify entrypoint when starting inspector
2021-09-13 23:08:53 -04:00
Hidematsu Sueki
071337c774 fix(ibmcloud): Delete COS in recursive mode 2021-09-13 15:52:13 -04:00
Derek Higgins
5309d88f97 baremetal: Specify entrypoint when starting inspector
Since openshift/ironic-image#190 the inspector components
and entrypoint moved to the ironic-image, so we need to
update the image and entrypoint to match, also aligning
with openshift/cluster-baremetal-operator#132
2021-09-13 15:01:54 +01:00
OpenShift Merge Robot
0829e428d8 Merge pull request #5206 from LinuxSuRen/patch-1
Typo fixing from Github to GitHub
2021-09-11 00:27:21 -04:00
Rick
4399956ede Typo fixing from Github to GitHub 2021-09-11 00:03:59 +08:00
Steve Kuznetsov
b2e8fc6fac pkg/destroy: log when writing quota for visibility
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2021-09-10 07:12:51 -07:00
Hidematsu Sueki
cc5c6a586c fix(ibmcloud): Allow NodePort access from all subnets 2021-09-09 12:29:28 -04:00
OpenShift Merge Robot
422e171924 Merge pull request #5158 from stevekuznetsov/skuznets/footprint-gcp
pkg/destroy/gcp: report cluster footprint in quota
2021-09-09 04:18:26 -04:00
Martin André
b9582a4636 OpenStack: Fix links in SR-IOV workers doc
The syntax for reference links in markdown was incorrect and generated
broken links.
2021-09-09 09:54:29 +02:00
OpenShift Merge Robot
a94ceeaaf1 Merge pull request #5152 from hasueki/ibm-cloud-config
Bug 1994142: fix(ibmcloud): Add more cloud config fields
2021-09-08 18:17:24 -04:00
OpenShift Merge Robot
379f05b0e7 Merge pull request #5197 from shiftstack/openstack_quota
Bug 2001317: openstack: Inaccurate MissingQuota error
2021-09-07 19:55:22 +02:00
Steve Kuznetsov
e67d93fad3 vendor: add cmp
This is a very useful utility for diffing in tests :)

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2021-09-07 10:15:38 -07:00