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

118 Commits

Author SHA1 Message Date
Radoslaw Smigielski
61b9fd05f5 Add command to create OpenStack flavor before installation 2024-08-02 14:46:03 +02: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
gryf
612afc04da Docs: Described process of adding vGPU capable nodes. 2023-10-09 10:15:29 +02: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
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
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
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
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
Michał Dulko
4e4b17a8a8 OpenStack: Set minimum disk of a flavor to 100 GB
Other platforms require at least 100 GB of disk size and we've updated
openshift-docs to reflect that in OpenStack too. Seems like we forgot to
update flavor validation code and docs in the installer. This commit
fixes this.
2022-08-30 10:33:17 +02:00
Jamo Luhrsen
74486c10c6 Change defaultNetworkType to ovn-kubernetes
In 4.12, the default CNI will be OVNKubernetes.
This change will deploy ovnk by default as well
as adjust tests, docs and comments to reflect
the same.

Signed-off-by: Jamo Luhrsen <jluhrsen@gmail.com>
2022-07-28 22:26:08 -07:00
Dan Winship
68f22f89ed Print the "export KUBECONFIG=..." command on its own line for easier cut-and-paste 2022-06-16 10:54:28 -04:00
Emilien Macchi
91eabdd494 openstack: add doc for OVS HW offload
* doc for OVS HW offload
* add a link in README for OVS DPDK
2022-05-12 11:46:16 -04:00
Pierre Prinetti
e8c1284240 openstack: Migration script should --force drain
Before this patch, the migration would sometimes fail with the following
error:

```
cannot delete Pods not managed by ReplicationController, ReplicaSet,
Job, DaemonSet or StatefulSet (use --force to override)
```
2022-02-07 11:03:34 +01:00
Pierre Prinetti
39da0917e9 openstack: Document Control plane node migration
Provide an example script.

The script is a combination of:
* [OpenStack node migration][1]
* [OpenShift graceful node reboot][2]

Implements OSASINFRA-2508

[1]: https://docs.openstack.org/nova/latest/admin/migration.html
[2]: https://docs.openshift.com/container-platform/4.9/nodes/nodes/nodes-nodes-rebooting.html#nodes-nodes-rebooting-gracefully_nodes-nodes-rebooting
2021-12-13 14:57:34 +01:00
Pierre Prinetti
5c51a779e2 openstack: Document credential rotation
Implements OSASINFRA-2380
2021-12-10 17:47:39 +01:00
Vladimir Belousov
51a40345a7 docs: correct spelling in docs
Correct spelling to improve the readability of the documentation
2021-11-01 09:54:42 +03:00
Pierre Prinetti
8edaf43bd8 openstack: Update affinity docs
Documentation on how to manually set the Server group in the MachineSet
manifests at install-time is no longer necessary, since the introduction
of the `serverGroupPolicy` property in the OpenStack platform section of
install-config's machine-pools.

Co-authored-by: Max Bridges <50179998+maxwelldb@users.noreply.github.com>
2021-10-06 23:07:40 +02: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
OpenShift Merge Robot
0072c66be5 Merge pull request #4833 from shiftstack/edge/swift
doc/openstack: add a note about image registry in AZ
2021-06-14 10:49:17 -04:00
Emilio Garcia
63b7dad62b Upgrading the upstream docs to match the feedback and changes that Aaron, Itzig, and Max are adding to the downstream 4.7 release version:
explains a full end to end workflow
    example of how to create SRIOV workers in UPI
    example of how to create SRIOV workers in IPI

Fixes: OSASINFRA-2281
2021-05-03 14:44:21 -04:00
Emilien Macchi
19ac9651f5 doc/openstack: add a note about image registry in AZ
Add a note that if we deploy a cluster in an OpenStack AZ, it's
suggested to use Cinder backend if the service is available in this AZ,
since Cinder is topology aware.
Swift isn't deployed in AZs usually, so traffic would have to go
through the link between sites, which isn't optimal in real world.

Signed-off-by: Emilien Macchi <emilien@redhat.com>
2021-04-13 20:43:39 -04:00
Pierre Prinetti
d37b8f9eb3 openstack: Document setting affinity for workers 2021-03-04 09:20:35 +01:00
Emilien Macchi
c6977d5001 doc: openstack/IPI - Provider Networks
This is a first iteration of documenting how to deploy OCP clusters on
provider networks and all the gotchas.

Signed-off-by: Emilien Macchi <emilien@redhat.com>
2021-03-01 11:25:54 -05:00
Pierre Prinetti
d597c8440a openstack: cacert does not require system trust
With 9314e6dc5823690a08109acd26583c517912f55d, the Installer reads the
`clouds.yaml` `cacert` file to connect to the OpenStack API. It is
therefore no longer necessary to add the certificate to the system
trust.
2021-02-11 22:59:27 +01: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
Emilien Macchi
97d4a549e1 openstack: check quotas before creating cluster
Note: openshift-installer already check quotas for AWS and GCP.

1) Calculate the quota constraints based on the InstallConfig.
   For both ControlPlane and workers, get the flavors and
   create a list of quota resources that will be needed to
   successfully deploy the cluster.
   Note: for now, only instances, CPUs and RAM are supported.
   In the future, we'll add networking and storage resources.

2) Fetch project quotas by using OpenStack API (via gophercloud)
   and create the constraints (for instances, CPUs and RAM only
   for now).
   The Quota constraints will be stored in the CloudInfo struct,
   for caching so we avoid multiple calls to the OpenStack APIs
   to get quotas.

3) The logging is improved when there is no region name for
   a cloud provider.

bz#1690924
jira https://issues.redhat.com/browse/OSASINFRA-1141

Co-Authored-By: Matthew Booth <mbooth@redhat.com>
Signed-off-by: Emilien Macchi <emilien@redhat.com>
2020-12-04 17:05:40 -05:00
Emilio Garcia
30e597f4c6 OSASINFRA-902: Update OpenStack Custom External LB and DNS Docs
The underlying network architecture has changed a lot since these docs
were initially written. We want to make sure that these docs are accurate
and up to date so that users with complex networking use cases like workers
on a custom subnet and baremetal workers are able to manage their ingress/egress
traffic as needed. More up to date examples and reference information has been added.

We have chosen to omit sections outlining how to replace the internal lb and dns
services since they were inaccurate. We are targeting an upcoming release to handle
these features better given the complexity of our current networking architecture.
2020-11-30 15:30:29 -05: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
Emilien Macchi
bf3fbbb56f openstack: fixup markdown
Some titles were missing, this patch was generated by my IDE (vscode)
with Markdown plugin installed.
2020-10-30 11:23:05 -04:00
Pierre Prinetti
71b1c39db2 openstack: Document Cinder's ignore-volume-az 2020-10-15 14:58:49 +02:00
OpenShift Merge Robot
e30be37bf0 Merge pull request #4214 from iamemilio/permissions_docs_openstack
openstack privileges documented
2020-10-08 10:56:08 -04:00
Emilio Garcia
ce23427f95 openstack privileges documented 2020-10-08 10:38:06 -04:00
Mike Fedosin
712799df0d Rename lbFloatingIP to apiFloatingIP 2020-10-07 18:15:48 +02:00
OpenShift Merge Robot
2876582719 Merge pull request #4059 from mandre/ingress-fip-doc
Bug 1877676: OpenStack: Refresh documentation about ingress FIP
2020-09-11 08:56:32 -04:00
Martin André
d9bd956462 OpenStack: Refresh documentation about ingress FIP
Since https://github.com/openshift/installer/pull/3855, the installer is
able to attach the `ingressFloatingIP` specified in the
`install-config.yaml` to the ingress-port. Update the documentation to
reflect the change.
2020-09-11 14:48:04 +02:00
Luis Tomas Bolivar
250d7a7a1c Add information about AZs limitations with Kuryr 2020-08-28 14:37:58 +02:00
Pierre Prinetti
4597a12ca3 openstack: Document MachineSet availabilityZone 2020-08-20 12:09:22 +02:00
Pierre Prinetti
23578bb14e openstack: Known issue: no BMs on Kuryr 2020-08-18 11:34:54 +02:00