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

83 Commits

Author SHA1 Message Date
Nicholas Morey
d3a86a0121 docs(user): fix grammer in upi install step 2024-12-07 20:41:26 -05:00
Dmitry Tantsur
f5258bb834 METAL-855: baremetal: remove ironic-inspector
The inspection functionality is now provided by ironic proper.

Also fixes a few minor quirks in the baremetal config, such as:
- Passing htpasswd variables to BMO (it cannot use them)
- Creating auth-config files (only required for cross-service calls).
2024-03-13 10:38:02 +01:00
Brent Barbachem
a0e75fe7f4 CORS-2167: Remove UPI Metal TF references
** Removed the Example and terraform data in upi/metal
** Updated the docs in docs/user/metal to reflect the changes above. Pointing the user towards the official docs.
2022-07-27 13:20:20 -04:00
OpenShift Merge Robot
ca8aacd3c9 Merge pull request #5599 from rollandf/docvip
Doc: Update VIP number to 2
2022-03-24 11:35:24 +01:00
Dmitry Tantsur
4ef3d94c12 Update IPI docs with an actual list of services 2022-02-08 16:55:48 +01:00
Freddy Rolland
c9d9aa5f04 Update VIP number to 2 2022-02-02 18:22:59 +02:00
Andrea Fasano
8b3d14deea baremetal: networkConfig field now accepts yaml instead of string value
The current patch allows the user to specify the content of the install-config networkConfig field directly as a yaml object. Content validation (for a generic yaml) is now carried on by the install config asset
2022-01-20 13:19:07 -05:00
Andrea Fasano
e367de337a baremetal: add NetworkConfig field and validation
Allow to specify desidered host networking settings yaml
compatible with NMState as a new install-config field.
Validation rule ensures that the string is at least a
valid generic yaml.
2021-11-16 09:18:06 -05:00
OpenShift Merge Robot
5c5862147d Merge pull request #5014 from displague/equinix-metal-upi
update Packet UPI for Equinix Metal rename
2021-11-10 21:16:36 +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
Dmitry Tantsur
15db89cf8d Bug 2011893: baremetal: check that driver supports secure boot
Notably, the IPMI driver does not support managing secure boot.
2021-10-11 13:39:46 +02:00
Marques Johansson
86e2d5a056 update Packet UPI for Equinix Metal rename
Signed-off-by: Marques Johansson <mjohansson@equinix.com>
2021-09-08 10:37:15 -04:00
Steven Hardy
b13a1e097e baremetal: clarify docs for MACAddress options
These control the MAC for the bootstrap VM NICs, not the bridges on the
host where the VM is running.
2021-07-28 13:42:59 +01:00
Angus Salkeld
334b3c9c37 baremetal: make provisioningNetworkInterface optional 2021-07-21 08:00:53 +10:00
Steven Hardy
ca29013d93 baremetal: Update IPI docs for latest version
BM IPI is no longer experimental, and some of the content is no
longer accurate, this PR does a first-pass update of the content.
2021-07-05 12:00:36 +01:00
Ben Nemec
694293e059 [baremetal] Fix port in external loadbalancer example config
The HTTPS frontend should be listening on 443, not 80.
2021-04-22 09:23:33 -05: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
Yossi Boaron
80bf386a43 IPI-BAREMETAL: document how to use external LB for api/ingress traffic
Describe how to shift external api/ingress traffic from the default self-hosted
load balancer to load balancer provides by the customer.
2021-03-17 17:56:10 +02:00
Dmitry Tantsur
39c649999c baremetal: automatic UEFI secure boot configuration
Uses the new baremetal-operator BootMode value UEFISecureBoot to request
Ironic to automatically configure secure boot during the instance start.

Metal3 design: https://github.com/metal3-io/metal3-docs/pull/161
2021-02-23 13:28:29 +01:00
OpenShift Merge Robot
e8c9a2fb57 Merge pull request #4053 from stbenjam/fix-field-name
Bug 1868748: baremetal: rename JSON field for ClusterProvisioningIP
2020-12-04 20:00:28 -05:00
Steven Hardy
91e0a6473a baremetal: Add ironic logwatch containers
A new entrypoint has been added to the ironic containers
that watches for deploy ramdisk logs in the shared volume
and exposes them via the regular podman logs output.

https://github.com/openshift/ironic-inspector-image/pull/47/
https://github.com/openshift/ironic-image/pull/121/

This should make it easier for users debugging as they no longer
need to exec into the containers and have knowledge of the
internal logfile location.
2020-12-02 15:38:05 +00:00
Stephen Benjamin
038e8b9551 baremetal: rename JSON field for ClusterProvisioningIP
The ClusterProvisioningIP field in the baremetal platform had an
incorrect JSON annotation for serialization/deserialization, using
"provisioningHostIP" instead of "clusterProvisioningIP." This name is
incorrect and doesn't adequately reflect it's purpose. This field is
the IP used in the cluster for provisioning.

This commit deprecates the old JSON field, and uses the correct JSON
annotation for ClusterProvisioningIP.
2020-12-02 10:28:26 -05:00
Stephen Benjamin
5556d62012 baremetal: allow configuring bootstrap mac addresses
If users are unable to define the mac addresses for the bootstrap host,
they won't be able to set static DHCP reservations for the host. Many
corporate environments do not allow unrestricted DHCP.

Co-authored-by: Matthew Staebler <staebler@redhat.com>
2020-11-10 13:32:45 -05:00
Stephen Benjamin
25bc23e6a1 baremetal: make provisioning network optional
This implements the enhancement request that makes the provisioning
network optional. It introduces a new platform configuration called
"provisioningNetwork" that takes 3 possible values: managed, unmanaged,
and disabled. The "unmanaged" option replaces the external DHCP flag
that was previously used.

When the network is set to "disabled," it is expected that users use
virtualmedia configuration. We will deploy no DHCP/TFTP provisioning
services for a user to use.
2020-08-11 08:46:44 -04:00
Scott Dodson
e408a4d4ae docs suggestions 2020-08-04 19:54:33 -04:00
Scott Dodson
1f9aaac1f9 upi/metal: Docs updates for liveimage 2020-08-04 19:54:33 -04:00
OpenShift Merge Robot
174f0741a3 Merge pull request #3952 from dhellmann/baremetal-boot-mode
baremetal: set the boot mode for hosts based on the input
2020-07-31 06:18:54 -04:00
Doug Hellmann
0b1bc66e73 baremetal: handle boot mode for hosts
Give the user a bootMode field for each host so they can control whether
the host should be booted using UEFI or BIOS mode. Pass the value to
Ironic for control plane nodes and include it in the BareMetalHost
resources created for all hosts.

Change the Ironic parameter to use instance_info/deploy_boot_mode instead
of the capabilities, based on feedback from the Ironic team.

Signed-off-by: Doug Hellmann <dhellmann@redhat.com>
2020-07-30 09:11:34 -04:00
Kiran Thyagaraja
490fa13a6c Add default storage pool of /var/lib/libvirt/openshift-images for bm bootstrap
Add logic to clean up storage pool in the baremetal platform

Add user documentation about managing the storage pool
2020-07-23 14:46:36 -05:00
OpenShift Merge Robot
196bd4a3e6 Merge pull request #3843 from derekhiggins/hint-example
baremetal: Add example of rootDeviceHints usage
2020-07-13 18:08:40 +02:00
OpenShift Merge Robot
18dc46848f Merge pull request #3768 from derekhiggins/bigger-dhcp-range
Bug 1841135: baremetal: increase default provisioning dhcp range
2020-07-10 21:16:49 +02:00
Ben Nemec
56aba675f4 Remove metal todos for completed features
install gather was implemented in #3617, and the provisioning net
is fully configurable now.
2020-07-09 11:41:31 -05:00
Derek Higgins
2652265c0b baremetal: Add example of rootDeviceHints usage
And remove example of hardwareProfile as it is deprecated.
2020-07-06 14:21:49 +01:00
Derek Higgins
a91d90d396 baremetal: Allow rootDeviceHints to override Host profiles
Hardware profiles don't allow for all of the use cases
required in some baremetal environments, allow the
root hints associated with them to be overridden.

e.g. to specifiy a device by serial number
      - name: openshift-master-0
        rootDeviceHints:
	  serialNumber: 1111
2020-06-26 11:12:10 +01:00
Derek Higgins
6f767c98b5 baremetal: increase default provisioing dhcp range
The default only allowed for 90 hosts, increasing it removes the
likelihood large deploys will hit deploy errors.
2020-06-19 13:57:47 +01:00
Ben Nemec
32382506d1 baremetal: Remove DNS VIP
Use of this setting is being removed in [0]. Once that goes in we
can remove it from the installer as well.

0: https://github.com/openshift/machine-config-operator/pull/1569
2020-05-13 09:56:33 -05:00
OpenShift Merge Robot
047877ca51 Merge pull request #3560 from zeenix/patch-5
baremetal: Fix broken link to example tfvars in docs
2020-05-06 20:39:14 +02:00
Zeeshan Ali
05f533a860 baremetal: Fix a small typo in cp cmdline in docs 2020-05-06 19:03:33 +02:00
Zeeshan Ali
eb28a1092f baremetal: Fix broken link to example tfvars in docs 2020-05-06 17:23:38 +02:00
OpenShift Merge Robot
0d27250104 Merge pull request #3539 from zeenix/patch-2
baremetal: Clarify install config needs to be hand-written in the docs
2020-05-05 16:16:43 +02:00
Zeeshan Ali
bf7a6ba86b baremetal: Clarify install config needs to be hand-written in the docs 2020-05-04 14:35:03 +02:00
Zeeshan Ali
6034e23d88 metal: Fix matchbox link in docs 2020-05-04 12:15:50 +02:00
Andrea Fasano
4ee01555fb baremetal: enhance documentation to include the description of the validations added for the baremetal platform configuration 2020-04-17 14:48:08 +02:00
Antoni Segura Puimedon
259f415950 baremetal IPI: Document Virtual Router IDs
This commit adds a way to know beforehand which virtual router IDs a
baremetal IPI deployment will use in order to know, pre-deployment, if
those happen to conflict with already used virtual router IDs
pre-existent in the network.
2020-04-15 22:01:23 +02:00
Yolanda Robla
9315302e0b Add documentation for virtualmedia
This was updated in baremetal-operator but not
on the installer documentation.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
2020-03-19 17:25:33 +01:00
Stephen Benjamin
22ac8f3af8 baremetal: update docs to indicate stable IP's are required
The doc currently "strongly reccomends" static DHCP reservations in
machineCIDR. This updates the doc to be explicit that IP's must be
stable.
2020-03-04 14:33:24 -05:00
Doug Hellmann
a4a0c3b85b add a more complete example of using libvirturi in metal docs
The other sections show an example that places the configuration
parameter in the right part of the structure in the YAML document. Add
a similar example for the libvirtURI.

Signed-off-by: Doug Hellmann <dhellmann@redhat.com>
2020-02-25 14:23:19 -05:00
OpenShift Merge Robot
2af1225676 Merge pull request #3137 from cybertron/metal-addr-reqs
Baremetal: Be explicit that addresses must be in same subnet
2020-02-20 12:07:06 +01:00
Doug Hellmann
821f2cfbbb document bare metal ipi configuration parameters
Provide a table describing the basic configuration parameters for IPI
deployments on bare metal. Include examples of BMC address values.

Update the customization docs to include a more verbose description of
all of the parameters, including libvirtURI and the context in which
specifying it is useful.

Signed-off-by: Doug Hellmann <dhellmann@redhat.com>
2020-02-19 15:34:58 -05:00
Ben Nemec
33cdbcb851 Baremetal: Be explicit that addresses must be in same subnet
When starting the static pods on a host, we determine the correct
address to use by comparing its subnet with the VIP subnet. If the
external address assigned by DHCP is in a different subnet from the
VIPs then we can't determine which address to use and deployment
will fail. This change makes the requirement for addresses to be in
the same subnet explicit.
2020-02-19 09:25:44 -06:00