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

333 Commits

Author SHA1 Message Date
eshulman2
cedadd31ea NO-JIRA: Fix UPI Gate
The change was made to this in #10149 broke the upi job as it was treating it as a file that should be written and not as a script to run. fix that.
2025-12-09 16:35:25 +02:00
eshulman2
35007fcf94 Minor fixes to openstack UPI guide
- Fixed DNS adding command
- Added better command for glance bootstrap image
2025-12-08 09:18:29 +02:00
Mark Hamzy
0324f33df0 PowerVC: Add new platform for PowerVC
PowerVC is an OpenStack based cloud provider with some significant
differences.  Since we can use the OpenStack provider for most of the
work, we will create a thin provider which will only handle the
differences.
2025-11-19 08:57:03 -06:00
Pierre Prinetti
bf106b4d53 openstack docs: Fix type of clusterOSImageProperties 2025-05-30 15:16:28 +02:00
Jon Uriarte
a8b821de89 Add cluster:master_nodes metric retrieval in docs
The cluster:master_nodes metric needs to be added to the
scrapeconfig match query so it can be scraped from the
shift-on-stack cluster.
It's required for running the correlated query defined at [1].

[1] https://github.com/openshift/installer/blob/main/docs/user/openstack/observability.md#example
2025-02-07 17:34:39 +01:00
Maysa Macedo
5fd62ea137 Add note about additional networks using IPv6
When using a network as an additional network in the OCP cluster
that has an IPv6 Subnet, that subnet must be included in the router
to provide router advertisements, otherwise the interface wouldn't get
an address configured. This happens because the network manager is
configured with method=auto.
2024-12-17 10:37:25 -03:00
Pierre Prinetti
ecba6d234c Document OpenShift-on-OpenStack correlated observability
Add instructions how to query OpenShift and OpenStack metrics together.

Co-authored-by: Pierre Prinetti <pierreprinetti@redhat.com>
Co-authored-by: Martin André <m.andre@redhat.com>
2024-11-05 10:23:20 +01:00
Maysa Macedo
4cab5765eb OpenStack: Add installation steps for single stack IPv6 clusters 2024-09-23 16:20:17 -03:00
Martin André
7a2d1ed82f OpenStack UPI: Only document install from RHEL-9 boxes
This makes managing versions easier, and also matches what we're testing
in CI. Drop outdated comment about ansible collections too.
2024-09-03 15:07:18 +02:00
Martin André
4db0763e43 OpenStack UPI: Pull list of playbooks programmatically
This allows to keep the list of playbooks correct for all versions of
the docs.

Co-Authored-By: Roman Dobosz <rdobosz@redhat.com >
2024-09-03 11:39:28 +02:00
Radoslaw Smigielski
61b9fd05f5 Add command to create OpenStack flavor before installation 2024-08-02 14:46:03 +02: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
Roman Dobosz
aae81ab501 OCPBUGS-33973: Openstack UPI - Reintroduce unique resource names.
We experienced issues caused by network resources created with the same
name, which makes ansible playbooks to behave differently.

Due to fact, that there is not yet OpenShift infraID accessible on the
stage of creating network resources, there is a need to create
deployment unique identifier in some other way. This patch implements
generating such identifier independent from OpenShift deployment id.

Co-authored-by: Maysa De Macedo Souza <maysa.macedo95@gmail.com>
2024-07-09 09:32:52 +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
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