mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
Merge pull request #93883 from openshift-cherrypick-robot/cherry-pick-93758-to-enterprise-4.19
[enterprise-4.19] [OCPBUGS-56705]IBM Z troubleshooting changes for HCP419
This commit is contained in:
@@ -65,4 +65,5 @@ include::modules/hcp-ts-bm-nodes-not-added.adoc[leveloffset=+2]
|
||||
|
||||
include::modules/hosted-restart-hcp-components.adoc[leveloffset=+1]
|
||||
include::modules/hosted-control-planes-pause-reconciliation.adoc[leveloffset=+1]
|
||||
include::modules/scale-down-data-plane.adoc[leveloffset=+1]
|
||||
include::modules/scale-down-data-plane.adoc[leveloffset=+1]
|
||||
include::modules/agent-service-failure.adoc[leveloffset=+1]
|
||||
76
modules/agent-service-failure.adoc
Normal file
76
modules/agent-service-failure.adoc
Normal file
@@ -0,0 +1,76 @@
|
||||
// Module included in the following assemblies:
|
||||
//
|
||||
// * hosted_control_planes/hcp-troubleshooting.adoc
|
||||
|
||||
:_mod-docs-content-type: PROCEDURE
|
||||
[id="agent-service-failure_{context}"]
|
||||
= Agent service failures and agents not joining the cluster
|
||||
|
||||
In some cases, agents might fail to join the cluster after booting the machines with the boot artifacts. You can confirm this issue by checking the `agent.service` logs for the following error:
|
||||
|
||||
----
|
||||
Error: copying system image from manifest list: Source image rejected: A signature was required, but no signature exists
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
====
|
||||
This issue occurs because image signature verification fails when no signature is present.
|
||||
As a workaround, you can disable signature verification by modifying the container policy.
|
||||
====
|
||||
|
||||
.Procedure
|
||||
|
||||
. Add the `ignitionConfigOverride` field in the `InfraEnv` manifest to override the `/etc/containers/policy.json` file. This disables signature verification for container images.
|
||||
|
||||
. Replace the base64-encoded content in the `ignitionConfigOverride` with the required `/etc/containers/policy.json` configuration according to your image registries.
|
||||
|
||||
+
|
||||
.Example
|
||||
[source,json]
|
||||
----
|
||||
{
|
||||
"default": [
|
||||
{
|
||||
"type": "insecureAcceptAnything"
|
||||
}
|
||||
],
|
||||
"transports": {
|
||||
"docker": {
|
||||
"<REGISTRY1>": [
|
||||
{
|
||||
"type": "insecureAcceptAnything"
|
||||
}
|
||||
],
|
||||
"REGISTRY2": [
|
||||
{
|
||||
"type": "insecureAcceptAnything"
|
||||
}
|
||||
]
|
||||
},
|
||||
"docker-daemon": {
|
||||
"": [
|
||||
{
|
||||
"type": "insecureAcceptAnything"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
----
|
||||
|
||||
+
|
||||
.Example InfraEnv manifest with `ignitionConfigOverride`
|
||||
[source,yaml]
|
||||
----
|
||||
apiVersion: agent-install.openshift.io/v1beta1
|
||||
kind: InfraEnv
|
||||
metadata:
|
||||
name: <hosted_cluster_name>
|
||||
namespace: <hosted_control_plane_namespace>
|
||||
spec:
|
||||
cpuArchitecture: s390x
|
||||
pullSecretRef:
|
||||
name: pull-secret
|
||||
sshAuthorizedKey: <ssh_public_key>
|
||||
ignitionConfigOverride: '{"ignition":{"version":"3.2.0"},"storage":{"files":[{"path":"/etc/containers/policy.json","mode":420,"overwrite":true,"contents":{"source":"data:text/plain;charset=utf-8;base64,ewogICAgImRlZmF1bHQiOiBbCiAgICAgICAgewogICAgICAgICAgICAidHlwZSI6ICJpbnNlY3VyZUFjY2VwdEFueXRoaW5nIgogICAgICAgIH0KICAgIF0sCiAgICAidHJhbnNwb3J0cyI6CiAgICAgICAgewogICAgICAgICAgICAiZG9ja2VyLWRhZW1vbiI6CiAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgIiI6IFt7InR5cGUiOiJpbnNlY3VyZUFjY2VwdEFueXRoaW5nIn1dCiAgICAgICAgICAgICAgICB9CiAgICAgICAgfQp9"}}]}}'
|
||||
----
|
||||
@@ -14,6 +14,7 @@ Complete the following steps to start your {ibm-z-title} environment with the do
|
||||
|
||||
. Update the parameter file to add the `rootfs_url`, `network_adaptor` and `disk_type` values.
|
||||
+
|
||||
--
|
||||
.Example parameter file
|
||||
[source,yaml]
|
||||
----
|
||||
@@ -31,7 +32,21 @@ ai.ip_cfg_override=1 \// <4>
|
||||
<1> For the `coreos.live.rootfs_url` artifact, specify the matching `rootfs` artifact for the `kernel` and `initramfs` that you are starting. Only HTTP and HTTPS protocols are supported.
|
||||
<2> For the `ip` parameter, manually assign the IP address, as described in _Installing a cluster with z/VM on {ibm-z-title} and {ibm-linuxone-title}_.
|
||||
<3> For installations on DASD-type disks, use `rd.dasd` to specify the DASD where Red Hat Enterprise Linux CoreOS (RHCOS) is to be installed. For installations on FCP-type disks, use `rd.zfcp=<adapter>,<wwpn>,<lun>` to specify the FCP disk where RHCOS is to be installed.
|
||||
+
|
||||
[NOTE]
|
||||
====
|
||||
For FCP multipath configurations, provide two disks instead of one.
|
||||
====
|
||||
+
|
||||
.Example
|
||||
[source,yaml]
|
||||
----
|
||||
rd.zfcp=<adapter1>,<wwpn1>,<lun1> \
|
||||
rd.zfcp=<adapter2>,<wwpn2>,<lun2>
|
||||
----
|
||||
+
|
||||
<4> Specify this parameter when you use an Open Systems Adapter (OSA) or HiperSockets.
|
||||
--
|
||||
|
||||
. Move `initrd`, kernel images, and the parameter file to the guest VM by running the following commands:
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user