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

81 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
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
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
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
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
Roman Dobosz
045e1bb009 Docs: Fix openstack command for image update in upi installation 2023-10-05 09:24:59 +02:00
Emilien Macchi
8bb0980297 openstack/upi: doc updates 2023-07-29 08:51:05 -04: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
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
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
Pierre Prinetti
701abd8b10 openstack UPI: Remove Swift example, use Glance
The UPI workflow needs the bootstrap ignition file to be hosted
somewhere. Prior to this patch, the first proposed example used Swift.
However, the example was using commands that are not available in the
openstack client shipped with the recommended operating systems and
repositories.

This patch removes the Swift example and focuses the workflow on using
Glance instead, along the lines of what the IPI installer does. The UPI
docs still mention that any hosting system can be used, including Swift.
2022-07-07 10:16:31 +02:00
Pierre Prinetti
1c175f709c openstack UPI: clarify naming of RHCOS image
This patch adds:
* explanation on how the name of the RHCOS image on Glance must match
  the content of inventory.yaml;
* instructions for removing the image after use.
* a scripted unique name for the RHCOS image in Glance, so that the UPI
  tests can be run in parallael.
2022-07-05 16:35:38 +02:00
Pierre Prinetti
0a63c1d356 openstack: Prepare for a UPI CI job
With this patch, the documentation for installing on OpenStack with UPI
is made machine-readable.

Additionally, UPI resources are added to the CI container image.
2022-06-29 10:16:59 +02:00
Pierre Prinetti
a78d148c6e openstack UPI: Minor fixes
* Fix the remote RHCOS image name
* Replaced some grammar mishaps with fresher ones
2022-06-29 10:16:58 +02: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
Maru Newby
2f9024146f Stop generating etcd manifests and key material
Responsibility for generating assets for etcd has been transitioned to
the etcd operator, which will render the necessary resources as part
of bootstrap.

Supporting CEO PRs:

https://github.com/openshift/cluster-etcd-operator/pull/546
https://github.com/openshift/cluster-etcd-operator/pull/549
2021-03-04 11:50:34 -08:00
Emilio Garcia
5150790479 OpenStack Port Create Typo in SRIOV Docs
SRIOV docs had a typo in the port create example command. This command excluded the necessary statement "create".
2021-01-08 15:28:56 -05:00
Pierre Prinetti
67ce28e898 Revert "openstack UPI: Use ansible-galaxy"
This reverts commit 0388ceaa95.

Fixes Bug 1910049
2020-12-22 14:19:13 +01:00
OpenShift Merge Robot
6cbe488793 Merge pull request #4441 from shiftstack/enable_qemu_agent_for_upi
Openstack: describes how to enable qemu agent for UPI.
2020-12-10 03:53:10 -05:00
Adolfo Duarte
12a5f75be7 Openstack: describes how to enable qemu agent for UPI. 2020-12-10 09:35:37 +01:00
Emilio Garcia
d769946333 Create SR-IOV UPI Docs
Adds docs for manually creating worker nodes with SR-IOV NICs attached. These
docs walk users through what basic components are needed and why, as well as
providing examples using the openstack command line client.

Fixes: OSASINFRA-2159
2020-12-02 13:34:17 -05:00
Pierre Prinetti
0388ceaa95 openstack UPI: Use ansible-galaxy
Document the use of ansible-galaxy as a dependency manager for the
Ansible playbooks in UPI.

Implements OSASINFRA-2169
2020-11-13 21:17:54 +01:00
Emilien Macchi
9392807a3f doc/openstack/UPI: improvements
- Update package names for Fedora, now python3
- Replace the usage of swiftclient by openstackclient
  for container/object creates (which uses clouds.yaml)
- Fix logs alignment
2020-11-06 17:18:44 +00: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
03a38a99c2 openstack: Bump Ansible to 2.9 in UPI 2020-10-13 10:58:09 +02:00
OpenShift Merge Robot
e1fe5b53d3 Merge pull request #4219 from shiftstack/os_upi_fipless_router
Bug 1878758: openstack UPI: Allow for no FIP or router
2020-10-02 09:21:08 -04:00
Pierre Prinetti
5bf1a1e8e2 openstack UPI: Ignition token needs Glance access
Indicate what privileges are needed to generate the Glance token to be
included in the bootstrap Igntion shim.
2020-10-02 11:01:20 +02:00
Pierre Prinetti
7df6205d99 openstack UPI: Allow for no FIP or router
If the external network is not provided, the router will not be created
and external connectivity will be a respopnsibility of the operator.

Floating IPs will be set if available, on an individual basis. The
external network is a requirement for FIPs; if not provided, the
playbooks will error.

The bootstrap FIP is now required to be created manually like the other
FIPs.
2020-10-02 10:38:43 +02:00
Martin André
ba93a7d8f2 Bug 1880393: OpenStack UPI: Explain how to encode cert to base64
By passing the certificate through openssl, we ensure it is valid. This
has the added benefit of trimming EOLs from otherwise valid certs.
2020-09-21 11:28:34 +02:00
Martin André
e444f49c6a OpenStack: Add note about triming EOLs out of cert for bootstrap shim
The certificate must not include trailing new lines otherwise ignition
might reject it as invalid.
2020-09-21 10:48:01 +02:00
Martin André
eca603f3f9 Bug 1880393: OpenStack UPI: Trim EOLs from the cacert trustbundle
Similar to 0bf09af3bc that fixed the same
issue for IPI, we need to trim EOLs from the ca-cert bundle in the UPI
scripts otherwise ignition might not accept it as valid.
2020-09-18 20:26:54 +02:00
OpenShift Merge Robot
310d5397c6 Merge pull request #3755 from shiftstack/os_upi_fipless
Bug 1878758: openstack UPI: Optional floating IPs
2020-09-14 17:46:33 -04:00
Martin André
cb69871e8e OpenStack UPI: Remove extra semicolons in python scripts
Semicolons in python are only needed in case we have multiple statements
on the same line. This is not the case in our scripts.
2020-09-10 09:18:16 +02:00
Martin André
5f1e5042fc OpenStack UPI: Fix syntax error in example script
Because the script is passed on the command line to the python
interpreter, it's enclosed in simple quotes. As a consequence, we should
use double quotes for strings otherwise we get a SyntaxError.
2020-09-10 09:12:54 +02:00
Martin André
da14f98bdf OpenStack UPI: Use correct python keyword
The example script to remove apiVIP and ingressVIP attributes from the
`install-config.yaml` file used an invalid python keyword. This commit
fixes it.
2020-09-10 09:05:38 +02:00
OpenShift Merge Robot
a4decfbba6 Merge pull request #4133 from shiftstack/BZ_1873125
Bug 1873125: OpenStack:  UPI missing instructions to update apiVIP and ingressVIP
2020-09-09 06:02:22 -04:00
Adolfo Duarte
e7c35dfd98 Bug 1873125: Openstack: UPI missing instructions to update apiVIP and ingressVIP addresses
Added required documentation describing the roles
and requirements of apiVIP and ingressVIP fields in install-config.yaml
2020-09-05 00:14:18 -07:00
Pierre Prinetti
ef308b0bc9 openstack UPI: Fix JSON syntax
Trailing commas are not allowed in JSON.
2020-09-04 10:11:11 +02:00
Pierre Prinetti
3821b5fc2a openstack UPI: Fix Ingition key error
Do not assume that the `storage` is present in the Ignition file
generated by the Installer.
2020-09-03 13:51:07 +02:00
Martin André
f7028b2a8c Bug 1871124: OpenStack: Improve snippet for playbooks download
By turning the release into a variable, we make the snippet to download
the OpenStack UPI playbooks more user-friendly. It's now easier to
switch from version to version.
2020-08-21 17:33:42 +02:00
Pierre Prinetti
abf2dcded1 openstack UPI: Provide a way to get the playbooks 2020-08-21 13:40:27 +02:00
Pierre Prinetti
1a9bdd1808 openstack UPI: Fix Ignition v3 2020-08-17 16:41:47 +02:00
Pierre Prinetti
1c146a088d openstack UPI: Fix Ignition key error
Make the script modifying masters' Ignition more resilient by accounting
for a missing 'storage' property.
2020-08-12 19:09:22 +02:00
Pierre Prinetti
5b45386345 openstack UPI: Optional floating IPs
Add the option to disable the use of floating IPs.
2020-07-30 13:23:59 +02:00