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

60 Commits

Author SHA1 Message Date
Pierre Prinetti
bf106b4d53 openstack docs: Fix type of clusterOSImageProperties 2025-05-30 15:16:28 +02:00
Maysa Macedo
4cab5765eb OpenStack: Add installation steps for single stack IPv6 clusters 2024-09-23 16:20:17 -03:00
Pierre Prinetti
97a2b61748 openstack: Remove docs note about addresses 10 and 11 being reserved
Neutron is not reserving those addresses by default, and neither does
Installer as far as I can tell.
2024-07-15 14:42:26 +02:00
Pierre Prinetti
2d45b94b58 openstack: Fix apiVIPs and ingressVIPs docs
These fields were not mentioned in the docs.
2024-07-12 11:56:18 +02:00
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
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
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
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
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
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
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
Michał Dulko
df0cd0b66b Add documentation on setting cloud provider opts
In 4.9 we introduce support for LoadBalancer services. This means that
user might need to tweak the cloud provider options to match their
OpenStack cluster configuration. This commit adds documentation on how
to do it before and after the installation.
2021-07-20 17:02:58 +02:00
Pierre Prinetti
4a5b29ced0 openstack: Expose master server group policy
Prior to this change, the Control plane nodes are created in a server
group with the hardcoded policy "soft-anti-affinity".

This change adds a new configuration knob in the OpenStack-specific
MachinePool configuration of `install-config.yaml`.

The new property `controlPlane.platform.openstack.serverGroupPolicy`
defines the policy that will be applied to the Control Plane server
group.

Acceptable values are:

* `affinity`
* `anti-affinity`
* `soft-affinity`
* `soft-anti-affinity`

Defaults to `soft-anti-affinity`, to match the previous hardcoded
behaviour.

Validation will fail if the property is set on the Compute MachinePool.
2021-06-28 15:02:30 +02:00
Adolfo Duarte
13447cfa7c Bug 1954873: CoreOS only supports three dns namservers
Documentation of this limitation under the externalDNS entry.
2021-05-17 13:48:25 -07:00
Mike Fedosin
b6f737da91 OpenStack: Update docs for root volume availability zones 2021-04-08 13:58:49 +02:00
Colin Walters
b64d699a13 Add stream metadata for RHCOS
This implements part of the plan from:
https://github.com/openshift/os/issues/477

When we originally added the pinned RHCOS metadata `rhcos.json`
to the installer, we also changed the coreos-assembler `meta.json`
format into an arbitrary new format in the name of some cleanups.
In retrospect, this was a big mistake because we now have two
formats.

Then Fedora CoreOS appeared and added streams JSON as a public API.

We decided to unify on streams metadata; there's now a published
Go library for it: https://github.com/coreos/stream-metadata-go

Among other benefits, it is a single file that supports multiple
architectures.

UPI installs should now use stream metadata, particularly
to find public cloud images.  This is exposed via a new
`openshift-install coreos print-stream-json` command.

This is an important preparatory step for exposing this via
`oc` as well as having something in the cluster update to
it.

HOWEVER as a (really hopefully temporary) hack, we *duplicate*
the metadata so that IPI installs use the new stream format,
and UPI CI jobs can still use the old format (with different RHCOS versions).

We will port the UPI docs and CI jobs after this merges.

Co-authored-by: Matthew Staebler <staebler@redhat.com>
2021-03-24 18:21:26 +00:00
Emilio Garcia
7461b7bae4 Document Additional Subnets and Security Groups for bootstrap node
Docs change to explain to users that additional subnets and security
groups added to control plane nodes will also be added to bootstrap nodes.
2021-01-15 14:29:28 -05:00
Emilio Garcia
b63ca8915e Create OpenStack Documentation for MachineSets with Multiple Networks
Due to the addition of the PrimarySubnets variable in the providerSpec
we wanted to ensure that users knew it existed and of its pitfalls.

Fixes: OSASINFRA-2088
2020-12-15 15:32:02 -05:00
OpenShift Merge Robot
8f859376c5 Merge pull request #4321 from Fedosin/deprecate_computeflavor
Deprecate computeFlavor in OpenStack platform
2020-12-06 16:59:27 -05:00
Mike Fedosin
4cdf1dc644 Document defaultMachinePlatform option for OpenStack platform
The option exists for a long time, but it is not documented for
OpenStack. This commit fixes it.

Also it changes ip -> IP in some places to make it consistent
across the document.
2020-12-05 05:11:40 +01:00
Mike Fedosin
7014333a1a Deprecate computeFlavor in OpenStack platform 2020-12-05 05:11:34 +01:00
Adolfo Duarte
efc5c80c88 Adds clusterOSImageProperties to install-config.yaml
ClusterOSImageProperties is a list properties to be added
to the installer-uploaded ClusterOSImage in Glance.

The default is to not set any properties.

Co-Authored-By: Martin André <m.andre@redhat.com>
2020-12-04 20:45:55 +01:00
Emilien Macchi
1b400b48f8 openstack: consider volumes for storage requirements checks
It is possible to boot a server without using ephemeral storage, with
boot from volume:
https://docs.openstack.org/cinder/latest/admin/blockstorage-boot-from-volume.html

This patch will disable flavor storage check if rootVolume is used in
the Machine Pool and checks that the volume is at least 25Gb sized.

https://bugzilla.redhat.com/show_bug.cgi?id=1891543

Signed-off-by: Emilien Macchi <emilien@redhat.com>
2020-11-03 09:18:51 -05:00
Mike Fedosin
712799df0d Rename lbFloatingIP to apiFloatingIP 2020-10-07 18:15:48 +02:00
Luis Tomas Bolivar
250d7a7a1c Add information about AZs limitations with Kuryr 2020-08-28 14:37:58 +02:00
Emilio Garcia
ee9535732a OpenStack Availibility Zones
Following suit with AWS, OpenStack is adding support for custom AZs
for installer machine pools. Users can pass a list of zones to use
and the nodes in that machine pool will be spread across them.
2020-07-31 16:31:29 -04:00
Emilio Garcia
8a67022fa7 Validations and Doc Updates for Floating IPs
The user interface for floating IPs has been changed such that
the ingress and api floating ips can no longer be passed when
the external network is unset. These validations check that this
usage is respected, while also checking the the floating IPs passed
by the user are valid and available.
2020-07-30 16:52:42 -04:00
Adolfo Duarte
127f467a0d Make externalnetwork and lbfloating ip optional
- Removes floating ip binding from bootstrap server
if external network is not used
- Added documentation for optional externalNetwork
- Modifies gather to handle when floating ips are not used
2020-07-21 09:24:50 +02:00
Mike Fedosin
91af3a0ca6 Deprecate TrunkSupport and OctaviaSupport in the config
These values are calculated automatically, and the user can't define
them.
2020-07-09 16:27:55 +02:00
Emilio Garcia
fb3001839f Better docs for using custom subnets 2020-06-04 14:46:01 -04:00
Emilio Garcia
9859962929 Don't create router to external network when BYO subnet is set
It may not be possible to set a router to the external network, or may
not be necessary, depending on how the customer chooses to route their traffic.
Since it is very hard to contextually deduce what external routing
scheme the customer wants to set up, it is preferrable to just not
attempt to automate anything for them, and let them customize it themselves.
2020-05-20 17:49:17 -04:00
OpenShift Merge Robot
ab4204624d Merge pull request #3434 from mandre/bootstrap-bfv
Bug 1820434: OpenStack: Allow Booting bootstrap node from volume
2020-04-18 06:09:36 -04:00
Emilio Garcia
588d5dadcc Add feature to enable users to pass custom subnets to use as the node subnets
Users want to re-use and customize their networking infrastructure during IPI
installs, so to enable them, we are allowing them to pass custom subnets to the
installer.
2020-04-17 10:07:43 -04:00
Martin André
1f589d44a0 OpenStack: Add note about bootstrap use of master machine pool 2020-04-14 09:58:35 +02:00
OpenShift Merge Robot
03e7c9c980 Merge pull request #3439 from Fedosin/param_typo_2
OpenStack: Docs: Fix a typo in the property name
2020-04-10 07:56:14 +02:00
Mike Fedosin
2cb9aef3c0 OpenStack: Docs: Fix a typo in the property name 2020-04-10 06:13:21 +02:00
OpenShift Merge Robot
e11c2b8f54 Merge pull request #3291 from Fedosin/secondary_vnics
OpenStack: allow to specify additional networks and security groups for masters and workers
2020-04-09 01:35:28 +02:00
Emilio Garcia
ecf8a2cfbf custom API and Ingress vip addresses
co-authored-by: Fedosin mfedosin@redhat.com
2020-04-08 09:33:55 -04:00
Mike Fedosin
039962542c Document additionalNetworks and additional_security_group parameters 2020-04-03 20:32:58 +02:00
Mike Fedosin
eef6927790 OpenStack: Docs: Fix a typo in the property name 2020-03-31 10:59:53 +02:00
Mike Fedosin
26a522adfa OpenStack: Update documentation for custom os image urls 2020-03-26 22:26:26 +01:00
Mike Fedosin
364b627576 OpenStack: remove 'region' from the examples
We deprecated 'region' option in 4.3, but our examples still have it.
2020-03-20 13:46:07 +01:00