1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 06:46:36 +01:00

1027 Commits

Author SHA1 Message Date
Emilien Macchi
0ab084847a openstack/upi: update doc for CCPMSO
We don't want CCPMSO with UPI, the machines are managed by the user, not
OpenShift.
2023-07-20 09:43:48 -04:00
Marco Braga
c71dfd8a42 aws doc: add user documentation for Local Zone deployments
Inserting the instructions to install a cluster expanding
nodes in Local Zones (new VPC), into existing documentation
of installing in existing VPC.

The Day-2 section is also added for reference of existing Local
Zone automation. The Day 2 is not part of the official documentation
delivered on 4.14, but it is mapped as an open question in the
enhancement proposal [1232](https://github.com/openshift/enhancements/pull/1232).
The steps described on the KCS was validated with QE and SDN teams.
2023-07-20 10:21:59 -03:00
Maysa Macedo
cf6527239d OpenStack: Add steps to enable dual-stack clusters
The `MachinesSubnet` field has been reshaped as `controlPlanePort`,
this commit updates the docs to ensure `controlPlanePort` is used.
Also, this commit adds dual-stack documentation.
2023-07-18 12:46:32 -03:00
Emilien Macchi
a1ea1c870e openstack: Variable Root volume types
Co-Authored-By: Emilien Macchi <emilien@redhat.com>
Co-Authored-By: Pierre Prinetti <pierreprinetti@redhat.com>
2023-07-18 10:40:25 -04:00
Michał Dulko
4274c3f835 Remove mentions of use-octavia
The option no longer exists in cloud-provider-openstack.
2023-07-17 15:18:09 +02:00
Emilien Macchi
f31a29b738 openstack: add root volume AZ validation
When a machine is created with a compute availability zone (defined via `mpool.zones`) and a storage root volume (defined as `mpool.rootVolume`) and that `rootVolume` has no specified `zones`, CAPO will use the compute AZ for the volume AZ.
This can be problematic if the AZ doesn't exist in Cinder.

Source:
9d183bd479/pkg/cloud/services/compute/instance.go (L439-L442)

```golang
func (s *Service) getOrCreateRootVolume(eventObject runtime.Object, instanceSpec *InstanceSpec, imageID string) (*volumes.Volume, error) {

(...)

        availabilityZone := instanceSpec.FailureDomain
        if rootVolume.AvailabilityZone != "" {
                availabilityZone = rootVolume.AvailabilityZone
        }

(...)
```

If a compute AZ is provided alongside with a root volume, we now require
the root volume to have an AZ, so we force the user to make a choice on
which AZ the root volume is deployed on.

We are also enforcing it via CEL validation in OpenShift API.

* Do nothing - at the risk of hitting this situation: a failure domain with a Compute AZ and a root volume with no AZ, CAPO using the compute AZ to create the volume but that AZ doesn't exist in Cinder, leading into Machine creation errors.
* Only do a validation in the CPMS - which will require CPMS manual
  edits from the user.
* Change logic in CAPO wrt how root volume AZ is picked - unlikely to happen
2023-07-14 15:25:36 -04:00
OpenShift Merge Robot
4cb9b2d04e Merge pull request #7280 from shiftstack/openstack_cpms
OSASINFRA-3155 - OpenStack: Create ControlPlaneMachineSet CRDs
2023-07-08 02:22:21 -04:00
Pierre Prinetti
482a2fef7d OSASINFRA-3155 - OpenStack: Create ControlPlaneMachineSet CRDs
Co-Authored-By: Pierre Prinetti <pierreprinetti@redhat.com>
Co-Authored-By: Emilien Macchi <emilien@redhat.com>
2023-07-06 16:41:51 +02:00
Stephen Finucane
82fdcf569c docs: Use GHFM for OpenStack doc notes
https://github.com/orgs/community/discussions/16925

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-06-29 13:26:53 +01:00
Stephen Finucane
d40eb17ba9 docs: Add missing refs to OpenStack README ToC
This makes these things a little more discoverable.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-06-29 13:13:45 +01:00
Stephen Finucane
7b50db6ad7 docs: Improve Manila document
When attaching a manila network by editing a machinset, you probably
want to disable allowed address pairs. Document this.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-06-29 13:12:59 +01:00
OpenShift Merge Robot
74d48f8061 Merge pull request #6920 from shiftstack/externallb-doc
openstack: document external LB
2023-06-19 12:47:12 -04:00
OpenShift Merge Robot
45462a859f Merge pull request #7015 from gryf/openstack-req
OSASINFRA-2168: Docs: update OpenStack requirements
2023-06-19 08:32:26 -04:00
Emilien Macchi
a115c7caca openstack: document external LB
Co-authored-by: Martin André <martin.andre@gmail.com>
2023-06-12 10:24:16 -04:00
Emilien Macchi
7bb6c3c666 OCPBUGS-13300: masters on a single compute server group
2.5 years ago we allowed to configure `serverGroupPolicy` in
install-config so a user could choose which Nova scheduling policy
to adopt for the machines.

However, if the masters were configured with AZ, Terraform would
create one ServerGroup in OpenStack (the one from master-0) but
configure the Machine providerSpec with different ServerGroups, one
per AZ. This was unwanted and now we want to use a single ServerGroup
for masters.

With compute AZ support, the users already have the possibility to
ensure that masters aren't on the same failure domain as others.
Also, even if there is less than 3 AZs (e.g. 2), the default
`soft-anti-affinity` server group policy would make Nova to
scheduling in best effort the machines on different hosts within a same
AZ.

Therefore, there is no need to configure the master machines with a
`serverGroup` per availability zone in their Machines.

Also, note that in OCP 4.14, CPMS will be enabled by default.
If a user has set multiple AZ for the controlPlane and upgrade from
4.13 to 4.14, CPMS will adopt the control plane and create a CPMS in
Inactive mode, with a single `serverGroup`. The `serverGroup` will
likely be the one from master-0, and this will be shared across all
control plane machines.
It'll be up to the user to set the CPMS to Active
and then the masters will be redeployed in the unique group for all
masters. They will never have a ServerGroup with "clusterID + role" name
because in previous releases we added the AZ name in it.
2023-05-10 09:54:59 -04:00
gryf
57dcd64b6e OSASINFRA-2168: Docs: update OpenStack requirements 2023-05-10 14:34:23 +02:00
Rafael Fonseca
bb0df49c82 docs: gcp: upi: update obtaining RHCOS source image
* Updated the link to the rhcos.json to point to the new location in the
  Installer repo (data/data/coreos/rhcos.json)
* Updated the json path to include the architecture and the images
  content.
* Changed the instruction to use the existing boot image in the
  rhcos-cloud project instead of copying it as a new image.
2023-04-06 17:36:51 +02:00
Pierre Prinetti
b60071f07f openstack: Fix invalid certs script for non-HTTPS endpoints
Fix a syntax error in the validation script. Before this change, the
script would not detect, and thus error, on an endpoint with a schema
that is not HTTP and not HTTPS.
2023-03-31 17:32:40 +02:00
Pierre Prinetti
f56223f2d9 openstack: Only check HTTPS certs on public endpoints
Before this change the validation steps, and the script, assumed that
`internal` and `admin` OpenStack endpoints were always reachable. With
this change, the manual steps and the script are amended to only check
the validity of HTTPS certificates on the `public` endpoints of the
OpenStack catalog.
2023-03-31 17:27:47 +02:00
OpenShift Merge Robot
28229c20bb Merge pull request #7036 from rphillips/remove_container_runtime_flag
OCPBUGS-11039: remove container-runtime flag from kubelet config
2023-03-29 19:40:25 -04:00
jima
07ef2ffc92 [azure] update tested instance type on 4.13 2023-03-29 11:38:17 +08:00
Ryan Phillips
418d83c4e2 remove container-runtime flag from kubelet config 2023-03-28 18:01:44 -05:00
OpenShift Merge Robot
a7632d03c0 Merge pull request #7001 from shiftstack/openstack-readme-updates
openstack: Remove version info, update lb FIP -> API FIP
2023-03-21 20:54:36 -04:00
OpenShift Merge Robot
32775cea54 Merge pull request #6993 from mtulio/docs-localzone-p1
OSDOCS-5240: doc/fix-aws-localzones: replace jq to aws --query
2023-03-21 20:54:18 -04:00
Pierre Prinetti
2ca646e2c9 openstack: Provide manual instructions for invalid certificates
Provide manual instructions to check the HTTPS certificates of the
OpenStack endpoints for systems where the required tools for the
provided script aren't available.
2023-03-21 15:58:23 +01:00
Stephen Finucane
0d12665a0a openstack: Use literals for floating IP references
Rather than inventing an alias for these, use the proper name.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-03-21 12:11:42 +00:00
Stephen Finucane
6cf18518c5 openstack: Remove version info, update lb FIP -> API FIP
Our indicated supported version was incorrect. Rather than having to
remember to update it for each new OSP version, simply remove this
snippet.

The LB FIP is now called the API FIP.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-03-21 11:18:09 +00:00
Marco Braga
7360f110d8 doc/fix: replace jq to aws --query 2023-03-20 10:35:36 -03:00
Marco Braga
38b22e7f2b RFE-2782/phase-1: Documentation - edge pool for AWS Local Zones
Add Documentation for Phase-1[1] of installing OCP cluster in existing VPC
with Local Zone Subnets. The documentation includes CloudFormation Templates
to create Local Zone public subnet and route table association.

[1] Enhancement Proposal: https://github.com/openshift/enhancements/pull/1232
2023-03-01 00:12:19 -03:00
Pierre Prinetti
8d0e58a657 openstack: Fix missing docs link 2023-02-14 18:36:45 +01:00
OpenShift Merge Robot
3d92c1e6dd Merge pull request #6727 from rna-afk/upi_document_cpms_removal
CORS-2469: upi: Document removal of CPMS for UPI installation
2023-01-20 09:56:42 -05:00
OpenShift Merge Robot
9aed759580 Merge pull request #6684 from r4f4/azure-upi-img-gallery
OCPBUGS-4654: azure: upi: use Image Gallery in ARM templates
2023-01-18 16:47:08 -05:00
Jinyun Ma
7c4a47cd76 update tested instance types on 4.12 2022-12-23 13:56:45 +08:00
Pierre Prinetti
0e2b614de4 openstack: Document Image Registry migration to Swift 2022-12-22 15:44:48 +01:00
Rafael Fonseca
c52afbe051 docs: azure/upi: add new required parameters and aarch64 support 2022-12-21 18:08:58 +01:00
rna-afk
c418c4863a upi: Document removal of CPMS for UPI installation
Documenting the extra step of removing the control plane
machine set files created for Azure and GCP which need to be
removed for UPI installation.
2022-12-21 10:19:39 -05:00
OpenShift Merge Robot
46ebfdf721 Merge pull request #6382 from shiftstack/bump_capo
Update OpenStack spec dependencies
2022-12-05 02:02:11 -05:00
OpenShift Merge Robot
bca1b65a12 Merge pull request #6531 from kelbrown20/new-file-for-aarch64-instance-types
Adding aarch64 instance types for azure
2022-11-30 02:07:25 -05:00
Kelly Brown
acb59c2504 Adding aarch64 instance types for azure 2022-11-15 14:15:19 -05:00
Eran Cohen
179d69f05a docs: fix broken link to default kubelet.service taint
Signed-off-by: Eran Cohen <eranco@redhat.com>
2022-11-15 11:14:38 +02:00
Pierre Prinetti
f8bf57d171 Update OpenStack spec dependencies
The the OpenStack providerSpec for Machine has been moved to
openshift/api.
2022-11-11 11:33:50 +01:00
OpenShift Merge Robot
137f30cba7 Merge pull request #6558 from mhanss/update-apiversion
Update apiVersion for lso operator group
2022-11-08 11:13:53 -05:00
Manoj Hans
dcc428560d Update apiVersion for lso operator group. 2022-11-04 13:17:05 +05:30
patrickdillon
25160524a1 docs: feature sets
Add install config docs for feature sets.
2022-10-20 12:32:58 -04:00
Pierre Prinetti
168ceac1ac openstack OCPBUGS-2259: Fix soft-anti-affinity known issue
Before this documentation patch, the known issue about
soft-anti-affinity had several issues:
* it was in the UPI section, when it is not a UPI-specific issue
* it mentioned Control plane scale-out, when OCP only supports exactly 3 masters
* it is now possible to set strict anti-affinity from the
  install-config.yaml, and that should be the recommended solution when
  VM distribution across hosts is required.
2022-10-13 09:18:39 +02:00
David Eads
25523b2c68 update to release.openshift.io/feature-set to match OCP 4.12 2022-10-11 08:57:58 -04:00
openshift-ci[bot]
46e95b3c50 Merge pull request #6435 from shiftstack/connect-nodes-to-ipv6
Add docs about IPv6 on the additional Networks
2022-10-10 18:52:49 +00:00
Maysa Macedo
5e6f1a18cb Add docs about IPv6 on the additional Networks
This doc includes limitation and steps to get additional IPv6
Networks to worker nodes and pods.
2022-10-10 12:38:54 +02:00
Alessandro Di Stefano
dba21fcbc7 Fixes tested_instance_types_aarch64.md 2022-10-04 09:13:18 +02:00
Lisa Rashidi-Ranjbar
b85620bfa9 AGENT-330: Add disconnected instructions to MCE integration doc 2022-09-29 16:48:42 -07:00