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

42 Commits

Author SHA1 Message Date
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
Mike Fedosin
a64890dfe7 Document the cluster os image override 2020-02-26 13:10:21 +01:00
Pierre Prinetti
ba89f0a4bc openstack UPI: Reference the UPI documentation 2020-01-30 22:11:30 +01:00
Emilio Garcia
3de4da3fbc external dns 2019-11-04 15:58:12 -05:00
Martin André
2afe8977cf OpenStack: Document externalDNS setting 2019-10-28 12:52:12 +01:00
Emilio Garcia
6caa48d261 Update Docs to support root volume
Co-Authored-By: Martin André <m.andre@redhat.com>
2019-09-27 09:43:14 +02:00
OpenShift Merge Robot
66e47aaae3 Merge pull request #2339 from mandre/openstack-customization-fixup
OpenStack: clarify doc around computeFlavor property
2019-09-12 10:59:25 +02:00
Mike Fedosin
3f2c3a0eba OpenStack: remove region from install config
This parameter is not used by the installer and completely ignored
during the installation, so it just confuses users and should be removed.

The real region value is taken from clouds.yaml file.
2019-09-11 10:19:22 +02:00
Martin André
7ce8308048 OpenStack: clarify doc around computeFlavor property
Make it clear that the `computeFlavor` property sets the flavor for
both compute and control-plane nodes, unless overridden via the
machine-pool `type` property.
2019-09-10 09:54:31 +02:00
W. Trevor King
a947609d66 docs/user: Standardize install-config property documentation
This is a bit more accessible than pointing folks at Godocs, since it
allows us to focus on the YAML property names (while Godocs
understandably focus on Go property names) and YAML renderings.  Also
break up our old "one big example" install-config.yaml into a minimal
per-platform example and a series of small extentions excercising
groups of properties.

The vSphere docs are based heavily on [1].

Also drop proxy.md.  It was added in e7edbf71fd (Add proxy
configuration to bootstrap node, 2019-06-24, #1832), but:

* Proxy testing and Squid configuration information belongs in
  openshift/release, not in the installer repository.
* docs/user/customization.md now contains a more complete proxy-config
  fragment.

OpenStack computeFlavor precedence is based on [2].

[1]: https://github.com/openshift/openshift-docs/blob/enterprise-4.2/modules/installation-vsphere-config-yaml.adoc
     Last touched by commit openshift/openshift-docs@25afc7626d , 2019-08-19
[2]: https://github.com/openshift/installer/pull/2162#discussion_r322410878
2019-09-09 12:37:28 -07:00
Mike Fedosin
fbf793b488 openstack: Update User Documentation
Refresh the user documentation with the current state of deployment on
OpenStack.

Co-Authored-By: Emilio Garcia <egarcia@redhat.com>
Co-Authored-By: Ramon Acedo Rodriguez <racedoro@redhat.com>
Co-Authored-By: Martin André <m.andre@redhat.com>
2019-08-19 17:22:27 +02:00