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

319 Commits

Author SHA1 Message Date
Stephen Finucane
527d44fbcf docs: Fix typos
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-04-09 13:42:58 +01:00
openshift-merge-bot[bot]
5fe186c911 Merge pull request #7698 from shiftstack/storage-doc-clarification
OSASINFRA-3280: OpenStack: clarify root volume size requirements
2024-01-08 14:12:42 +00:00
Roman Dobosz
6c7b5a953a OCPBUGS-24241: Pin openstack.cloud version.
When following this guide using RHEL or older Fedora there is an issue
with the openstack.cloud with latest version (2.0.0) as it will need
openstacksdk in version 1.0 or higher, which is unavailable in mentioned
Linux distribution.
2023-12-11 10:24:33 +01:00
openshift-merge-bot[bot]
55c9de4e6f Merge pull request #7727 from shiftstack/add-support-byon-dualstack-upi
OSASINFRA-3261: OpenStack: support dualstack in UPI
2023-12-06 07:12:43 +00:00
Roman Dobosz
c670cd90ba OpenStack: Updated UPI documentation 2023-11-27 14:12:01 -03:00
Maysa Macedo
f1bbaa3dba OpenStack: fix script to update bootstrap ignition shim
This commit removes undefined variable from the script that
adds the certificate to the bootstrap ignition shim and removes
unecessary comma.
2023-11-19 16:16:38 -03:00
Michał Dulko
c781171412 Remove support for Kuryr
In 4.15 Kuryr is no longer a supported NetworkType, following its
deprecation in 4.12. This commit removes mentions of Kuryr from the
documentation and code, but also adds validation to prevent
installations from being executed when `networkType` is set to `Kuryr`.
2023-11-14 15:06:19 +01:00
openshift-merge-bot[bot]
53d12151bd Merge pull request #7664 from shiftstack/rootvol-etcd-doc
OSASINFRA-3280: openstack: document etcd on local disk
2023-11-12 18:21:54 +00:00
Emilien Macchi
7e50033eef OSASINFRA-3280: openstack: document etcd on local disk 2023-11-09 09:21:45 -05:00
Martin André
a5ea53545e OpenStack: clarify root volume size requirements
The recommended minimal value for production cluster is 100 GB.
2023-11-09 08:53:20 +01:00
Maysa Macedo
0d91813e2a OSASINFRA-3237: move controlPlanePort API to GA
This API has not moved and there is no plan to make any changes that
would be backward incompatible in the future.
2023-11-07 17:05:42 -03:00
openshift-ci[bot]
c59a8249f3 Merge pull request #7576 from shiftstack/upi-compact-clusters
OCPBUGS-20403: OpenStack: add SG rules for compact clusters on UPI
2023-11-01 17:28:31 +00:00
Maysa Macedo
560e318f22 OpenStack: add SG rules for compact clusters on UPI
Compact clusters have been supported for a while in IPI.
To also allow compact clusters on UPI, the security group rules
for UPI should be adapted enabling the same ingress traffic
that is enabled for workers.
2023-10-29 23:01:09 -03:00
openshift-ci[bot]
8c69f9ea9d Merge pull request #6606 from gryf/openstack-gpu
docs: Described process of adding vGPU capable nodes.
2023-10-11 15:42:33 +00:00
gryf
612afc04da Docs: Described process of adding vGPU capable nodes. 2023-10-09 10:15:29 +02:00
Roman Dobosz
045e1bb009 Docs: Fix openstack command for image update in upi installation 2023-10-05 09:24:59 +02:00
Maysa Macedo
0bcb5deaaa OpenStack: fix IPv6 docs
Given we are using a provider network in the example, we
should recommend adding the network in the router as external gateway
instead.
2023-09-11 12:48:27 -03:00
Maysa Macedo
42d46bcf32 OpenStack: Fix user docs for additional network with IPv6
This commit fixes a typo on the kernal args and the URL of the
openshift docs containing steps to configure a MachineConfig.
2023-08-04 15:16:23 -03:00
Emilien Macchi
8bb0980297 openstack/upi: doc updates 2023-07-29 08:51:05 -04:00
OpenShift Merge Robot
8cd8f79a20 Merge pull request #7269 from shiftstack/remove-machines-subnet-docs
OpenStack: Add steps to enable dual-stack clusters
2023-07-25 19:30:33 +02:00
OpenShift Merge Robot
a8fe4d0708 Merge pull request #7356 from shiftstack/clarify-type
Fix the deployment on OpenStack for worker pools with no replicas.
2023-07-23 21:15:43 +02:00
OpenShift Merge Robot
4d777eb7d5 Merge pull request #7335 from dulek/remove-use-octavia
Remove mentions of use-octavia
2023-07-22 01:09:32 +02:00
Martin André
0a574dcac2 OpenStack: Document rootVolume.type as deprecated 2023-07-21 11:21:26 +09:00
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
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
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
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
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
Pierre Prinetti
8d0e58a657 openstack: Fix missing docs link 2023-02-14 18:36:45 +01:00
Pierre Prinetti
0e2b614de4 openstack: Document Image Registry migration to Swift 2022-12-22 15:44:48 +01: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
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
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
Michał Dulko
2af3ae5524 OpenStack: Update Kuryr storage requirements 2022-08-31 12:06:52 +02:00