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

32 Commits

Author SHA1 Message Date
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
W. Trevor King
c9095b3451 data/manifests/bootkube/cvo-overrides: Drop the explicit update
The cluster-version operator has been falling back to a default URI
when the ClusterVersion upstream is empty since way back [1,2], and
this behavior is enshrined in the API [3].  Drop the installer-side
opinion, so:

* There is a single location where we version-control the default
  upstream (the CVO).
* Folks consuming in-cluster ClusterVersion objects have one less
  property to distract them (unless they want to override the default,
  in which case it's not distracting).

[1]: 2c4931dc28/pkg/cvo/availableupdates.go (L27-L31)
[2]: ab4d84a021 (diff-78f2af341fa49292dd6930f378018867R24)
[3]: 0422dc1708/config/v1/types_cluster_version.go (L56-L57)
2020-08-28 09:30:09 -07:00
Abhinav Dahiya
56f0d24fda docs/user: add troubleshootingbootstrap to define the bootstrap log bundle 2020-05-05 09:36:21 -07:00
Miciah Masters
81a09044c7 Use "default-ingress-cert", not "router-ca"
As of OpenShift 4.4.0, the "router-ca" configmap is deprecated, and the
"default-ingress-cert" configmap should be used instead.

* cmd/openshift-install/create.go (addRouterCAToClusterCA): Replace use of
"router-ca" with use of "default-ingress-cert".  Return not-found errors to
caller.
* docs/user/troubleshooting.md: Update references to "router-ca".
2020-04-01 19:40:10 -04:00
Russell Teague
d0880416ba Replace --config with --kubeconfig for oc command
--config has been deprecated

Resolves warning message in log files:
Flag --config has been deprecated, use --kubeconfig instead
2020-02-05 13:25:28 -05:00
Clayton Coleman
bb12fdfd6d docs: Change references to channel and version in example
Make the example slightly simpler on version number to better
reflect what a human might see. Noticed this while updating the
channel to stable-4.3 - apparently we'd also found and replaced
this value before.
2020-01-16 17:43:33 -05:00
W. Trevor King
2624166f6e data/manifests/bootkube/cvo-overrides: Move to stable-4.3
4.2 has branched off, so we can bump master to track stable-4.3.  This
bump is like the previous 8eeb26840c
(data/data/manifests/bootkube/cvo-overrides: Move to stable-4.2,
2019-05-29, #1801).

Generated with:

  $ sed -i 's/stable-4.2/stable-4.3/' $(git grep -l stable-4.2)
2019-10-10 09:08:18 -07:00
Martin André
30f1b5ee9c Refresh troubleshooting doc to use machine api
`machine-api-controllers` should now be used instead of
`clusterapi-manager-controllers`
2019-06-06 12:54:16 +02:00
W. Trevor King
8eeb26840c data/data/manifests/bootkube/cvo-overrides: Move to stable-4.2
4.1 has branched off, so we can bump master to track stable-4.2 [1].
This bump is like the previous 4cc6e707c2
(data/data/manifests/bootkube/cvo-overrides: Move to stable-4.1,
2019-04-11, #1599).

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1715108
2019-05-29 10:47:43 -07:00
W. Trevor King
4cc6e707c2 data/data/manifests/bootkube/cvo-overrides: Move to stable-4.1
This is the channel that the beta4 drop and later will be in.
2019-04-11 10:57:28 -07:00
Steve Milner
3005fef1c6 troubleshooting.md: Remove out of date etcd paragraph
Signed-off-by: Steve Milner <smilner@redhat.com>
2019-03-04 17:12:07 -05:00
Abhinav Dahiya
709c241447 docs/troubleshooting: add sections to cover all post-create phases 2019-02-28 15:24:24 -08:00
OpenShift Merge Robot
5e9e87b6b2 Merge pull request #1045 from eparis/master-private
Remove public IPs from masters
2019-02-14 21:18:58 +01:00
Mark McLoughlin
5d5ecab58c docs/troubleshooting: update machines namespace
commit 56b34f926 changed the namespace from openshift-cluster-api to
openshift-machine-api. Update the troubleshooting doc also.
2019-02-13 15:10:28 +00:00
Casey Callendrello
dafc79f024 Generate Network.cluster config instead of NetworkConfig.networkoperator
* Add the Network.config.openshift.io CRD
* Generate the network config from the install config
* Remove networkoperator types from install config (but use the same
    schema)
* Move network CRDs to templates to match #943

This doesn't change the json/yaml serialization of the install config, but it
changes it internally.
2019-01-31 14:55:22 +01:00
Alex Crawford
239f67c109 docs: update docs to reflect a lack of public IPs
Now that the public IPs have been removed from the masters, an
additional step may need to be followed when troubleshooting in order to
get SSH access.
2019-01-29 10:47:03 -08:00
Dan Winship
a9df71d489 Update network troubleshooting docs for naming changes 2019-01-29 10:19:52 -05:00
W. Trevor King
dc00801b5a docs/user/troubleshooting: Link Knowledgebase article
On 2019-01-05, Eric Rich wrote [1]:
> Red Hat Support has moved the content (that you have currently) in:
> https://github.com/openshift/installer/blob/v0.8.0/docs/user/troubleshooting.md
> to https://access.redhat.com/articles/3780981#debugging-an-install-1
> and will begin using the KB system to capture and record
> troubleshooting steps as we find them and work with customers on
> their issues.

[1]: https://github.com/openshift/installer/issues/1003#issue-396221737
2019-01-22 15:23:31 -08:00
liangxia
4861d3903f Fix several typo 2019-01-17 17:29:22 +08:00
W. Trevor King
5229a03d41 docs/user/troubleshooting: Link to MCD SSH-key docs
These landed recently in openshift/machine-config-operator@45beeccd
(documenting how to update sshkeys for user "core" via mcd,
2019-01-10, openshift/machine-config-operator#286).
2019-01-15 13:23:50 -08:00
OpenShift Merge Robot
63bdb7fce1 Merge pull request #1050 from ironcladlou/trouble-doc
Simplify worker node troubleshooting steps
2019-01-14 10:08:38 -08:00
Alex Crawford
2abcb3968d *: add support for journal-gatewayd
This allows the user to stream logs from the bootstrap node without the
need for SSH. This read-only view into the bootstrap process is
convenient for those who wish not to use SSH in their cluster. Right
now, this requires the user to manually invoke curl to fetch the logs,
but this could be done automatically by the installer in the future.
2019-01-11 10:48:45 -08:00
Dan Mace
21fd1e9b96 docs/troubleshooting: Simplify worker node debugging commands
Use simpler/more copy-pastable commands for worker node troubleshooting.
2019-01-11 12:18:48 -05:00
OpenShift Merge Robot
15937bee9a Merge pull request #986 from ldomb/enahncetrshooting
Squashed all commits into one for the SSH troubleshooting guide
2019-01-03 14:07:35 -08:00
Laurent Domb
15c4320819 update for docs/user/troubleshooting: Document 'core' user and SSH key injection
Previously, these platform-agnostic docs left users guessing about which username to use when SSHing in.

And folks with AWS experience might be surprised that we don't use AWS key pairs, so add some wording to avoid them thinking the lack of an AWS key pair is the source of their SSH issues.
2019-01-03 16:20:26 -05:00
W. Trevor King
5311b93e6f docs/user/troubleshooting: Fix master-node(s) reference
This has been broken since the file landed in 7bd9291c (docs: add
troubleshooting guide, 2018-11-07, #638).
2019-01-02 11:41:55 -08:00
W. Trevor King
96cc01057c *: Fix ".openshift-install.log" -> ".openshift_install.log"
These were inconsistencies from 06c5fd36 (openshift-install: log debug
output to file, 2018-11-15, #689).
2018-12-13 22:30:40 -08:00
Alex Crawford
06c5fd36de openshift-install: log debug output to file
This changes the logging strategy so that it logs all output to a local
file in addition to logging at the desired level to the console.
Unfortunately, logrus doesn't have a facility for capturing all log
entries (the hooks are only fired for entries which are at or below the
specified level) so this disables the console output and sets up two
hooks: one for the console and one for the local file.
2018-11-19 15:15:32 -08:00
Casey Callendrello
f8441fc14f docs: add some networking troubleshooting docs 2018-11-19 12:04:33 +01:00
W. Trevor King
a40cdc1445 docs/user/troubleshooting: Add generic advice for getting pod details
Because this is the next step beyond "my cluster didn't install,
here's the --log-level=debug output", for folks working up bug reports
that don't match one of the common failures.
2018-11-13 16:30:07 -08:00
W. Trevor King
e31f9b9105 docs/user/troubleshooting: Drop 'sh' highlighting from error message
This isn't shell content, so we shouldn't be highlighting it.  Before
this commit, GitHub was styling 'in' (which is a shell keyword):

  $ curl -s fffc477537/docs/user/troubleshooting.md (etcd-is-not-running) | grep 'Error signing'
  <div class="highlight highlight-source-shell"><pre>Error signing CSR provided <span class="pl-k">in</span> request from agent: error parsing profile: invalid organization</pre></div>
2018-11-09 13:26:07 -08:00
Alex Crawford
7bd9291c3e docs: add troubleshooting guide
This is an initial pass at building a troubleshooting guide. There is
plenty that still needs to be added, but we've got to start somewhere.
2018-11-09 09:35:52 -08:00