Skip to content

Instantly share code, notes, and snippets.

@nmagnezi
Created June 22, 2021 11:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nmagnezi/2395564774afa4f5a812ac5cf4e3c0db to your computer and use it in GitHub Desktop.
Save nmagnezi/2395564774afa4f5a812ac5cf4e3c0db to your computer and use it in GitHub Desktop.
Name: xxxostest-extraworker-2
Namespace: demo-worker2
Labels: infraenvs.agent-install.openshift.io=myinfraenv
Annotations: inspect.metal3.io: disabled
API Version: metal3.io/v1alpha1
Kind: BareMetalHost
Metadata:
Creation Timestamp: 2021-06-22T09:17:47Z
Finalizers:
baremetalhost.metal3.io
Generation: 3
Managed Fields:
API Version: metal3.io/v1alpha1
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.:
f:inspect.metal3.io:
f:kubectl.kubernetes.io/last-applied-configuration:
f:labels:
.:
f:infraenvs.agent-install.openshift.io:
f:spec:
.:
f:automatedCleaningMode:
f:bmc:
.:
f:address:
f:credentialsName:
f:bootMACAddress:
f:online:
Manager: kubectl-client-side-apply
Operation: Update
Time: 2021-06-22T09:17:47Z
API Version: metal3.io/v1alpha1
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:finalizers:
.:
v:"baremetalhost.metal3.io":
f:status:
.:
f:errorCount:
f:errorMessage:
f:errorType:
f:goodCredentials:
.:
f:credentials:
.:
f:name:
f:namespace:
f:credentialsVersion:
f:hardware:
.:
f:cpu:
.:
f:arch:
f:clockMegahertz:
f:count:
f:flags:
f:model:
f:firmware:
.:
f:bios:
f:hostname:
f:nics:
f:ramMebibytes:
f:storage:
f:systemVendor:
.:
f:manufacturer:
f:productName:
f:hardwareProfile:
f:lastUpdated:
f:operationHistory:
.:
f:deprovision:
.:
f:end:
f:start:
f:inspect:
.:
f:end:
f:start:
f:provision:
.:
f:end:
f:start:
f:register:
.:
f:end:
f:start:
f:operationalStatus:
f:poweredOn:
f:provisioning:
.:
f:ID:
f:bootMode:
f:image:
.:
f:format:
f:url:
f:rootDeviceHints:
.:
f:deviceName:
f:state:
f:triedCredentials:
.:
f:credentials:
.:
f:name:
f:namespace:
f:credentialsVersion:
Manager: baremetal-operator
Operation: Update
Time: 2021-06-22T10:49:35Z
Resource Version: 5195483
UID: c4c81d01-7f8b-4e90-906f-4477774a5f24
Spec:
Automated Cleaning Mode: disabled
Bmc:
Address: redfish-virtualmedia+http://192.168.111.1:8000/redfish/v1/Systems/6a97bd84-17f6-4b23-8c86-1944f1956cde
Credentials Name: ostest-extraworker-2-bmc-secret
Boot MAC Address: 00:ff:7e:29:1f:93
Online: true
Status:
Error Count: 7
Error Message: Host adoption failed: Error while attempting to adopt node b82809bd-270b-425f-9f7e-4f31a98b0409: Validation of image href https://assisted-service-assisted-installer.apps.ostest.test.metalkube.org/api/assisted-install/v1/clusters/648ecfeb-1d4a-4d77-9d18-31a5f22388ce/downloads/image?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbHVzdGVyX2lkIjoiNjQ4ZWNmZWItMWQ0YS00ZDc3LTlkMTgtMzFhNWYyMjM4OGNlIn0.XWIkYHJuYSMdYAqn1ebKa1Ugm4mfGrAleGrOJ8VB2AxliWGd1tvize0dX6EA6HRyqbhrXgIoKjxkRB6vzhMPDw failed, reason: Got HTTP code 401 instead of 200 in response to HEAD request..
Error Type: provisioned registration error
Good Credentials:
Credentials:
Name: ostest-extraworker-2-bmc-secret
Namespace: demo-worker2
Credentials Version: 5147966
Hardware:
Cpu:
Arch: x86_64
Clock Megahertz: 2095
Count: 32
Flags:
fpu
vme
de
pse
tsc
msr
pae
mce
cx8
apic
sep
mtrr
pge
mca
cmov
pat
pse36
clflush
mmx
fxsr
sse
sse2
ss
syscall
nx
pdpe1gb
rdtscp
lm
constant_tsc
arch_perfmon
rep_good
nopl
xtopology
cpuid
tsc_known_freq
pni
pclmulqdq
vmx
ssse3
fma
cx16
pdcm
pcid
sse4_1
sse4_2
x2apic
movbe
popcnt
tsc_deadline_timer
aes
xsave
avx
f16c
rdrand
hypervisor
lahf_lm
abm
3dnowprefetch
cpuid_fault
invpcid_single
ssbd
ibrs
ibpb
stibp
ibrs_enhanced
tpr_shadow
vnmi
flexpriority
ept
vpid
ept_ad
fsgsbase
tsc_adjust
bmi1
avx2
smep
bmi2
erms
invpcid
mpx
avx512f
avx512dq
rdseed
adx
smap
clflushopt
clwb
avx512cd
avx512bw
avx512vl
xsaveopt
xsavec
xgetbv1
xsaves
arat
umip
pku
ospke
avx512_vnni
md_clear
arch_capabilities
Model: Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz
Firmware:
Bios:
Hostname: extraworker-2
Nics:
Ip: 192.168.111.27/24
Mac: 00:ff:7e:29:1f:95
Model: 0x1af4
Name: enp2s0
Ram Mebibytes: 32
Storage:
Hctl: 0:0:0:0
Model: QEMU_HARDDISK
Name: /dev/sda
Rotational: true
Serial Number: drive-scsi0-0-0-0
Size Bytes: 128849018880
Vendor: QEMU
Hctl: 0:0:0:1
Model: QEMU_CD-ROM
Name: /dev/sr0
Serial Number: drive-scsi0-0-0-1
Size Bytes: 109111296
Vendor: QEMU
Name: /dev/vda
Rotational: true
Size Bytes: 8589934592
Vendor: 0x1af4
System Vendor:
Manufacturer: Red Hat
Product Name: KVM
Hardware Profile: unknown
Last Updated: 2021-06-22T10:49:35Z
Operation History:
Deprovision:
End: <nil>
Start: 2021-06-22T09:30:27Z
Inspect:
End: 2021-06-22T09:17:58Z
Start: 2021-06-22T09:17:58Z
Provision:
End: 2021-06-22T09:18:09Z
Start: 2021-06-22T09:17:58Z
Register:
End: 2021-06-22T09:17:58Z
Start: 2021-06-22T09:17:47Z
Operational Status: error
Powered On: true
Provisioning:
ID: b82809bd-270b-425f-9f7e-4f31a98b0409
Boot Mode: UEFI
Image:
Format: live-iso
URL: https://assisted-service-assisted-installer.apps.ostest.test.metalkube.org/api/assisted-install/v1/clusters/648ecfeb-1d4a-4d77-9d18-31a5f22388ce/downloads/image?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbHVzdGVyX2lkIjoiNjQ4ZWNmZWItMWQ0YS00ZDc3LTlkMTgtMzFhNWYyMjM4OGNlIn0.XWIkYHJuYSMdYAqn1ebKa1Ugm4mfGrAleGrOJ8VB2AxliWGd1tvize0dX6EA6HRyqbhrXgIoKjxkRB6vzhMPDw
Root Device Hints:
Device Name: /dev/sda
State: deprovisioning
Tried Credentials:
Credentials:
Name: ostest-extraworker-2-bmc-secret
Namespace: demo-worker2
Credentials Version: 5147966
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Registered 133m metal3-baremetal-controller Registered new host
Normal BMCAccessValidated 132m metal3-baremetal-controller Verified access to BMC
Normal InspectionSkipped 132m metal3-baremetal-controller disabled by annotation
Normal ProfileSet 132m metal3-baremetal-controller Hardware profile set: unknown
Normal ProvisioningStarted 132m metal3-baremetal-controller Image provisioning started for https://assisted-service-assisted-installer.apps.ostest.test.metalkube.org/api/assisted-install/v1/clusters/648ecfeb-1d4a-4d77-9d18-31a5f22388ce/downloads/image?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbHVzdGVyX2lkIjoiNjQ4ZWNmZWItMWQ0YS00ZDc3LTlkMTgtMzFhNWYyMjM4OGNlIn0.XWIkYHJuYSMdYAqn1ebKa1Ugm4mfGrAleGrOJ8VB2AxliWGd1tvize0dX6EA6HRyqbhrXgIoKjxkRB6vzhMPDw
Normal ProvisioningComplete 132m metal3-baremetal-controller Image provisioning completed for https://assisted-service-assisted-installer.apps.ostest.test.metalkube.org/api/assisted-install/v1/clusters/648ecfeb-1d4a-4d77-9d18-31a5f22388ce/downloads/image?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbHVzdGVyX2lkIjoiNjQ4ZWNmZWItMWQ0YS00ZDc3LTlkMTgtMzFhNWYyMjM4OGNlIn0.XWIkYHJuYSMdYAqn1ebKa1Ugm4mfGrAleGrOJ8VB2AxliWGd1tvize0dX6EA6HRyqbhrXgIoKjxkRB6vzhMPDw
Normal UpdateHardwareDetails 129m metal3-baremetal-controller Set HardwareDetails from annotation
Normal Registered 122m metal3-baremetal-controller Registered new host
Normal ProvisionedRegistrationError 122m metal3-baremetal-controller Host adoption failed: Error while attempting to adopt node b82809bd-270b-425f-9f7e-4f31a98b0409: Validation of image href https://assisted-service-assisted-installer.apps.ostest.test.metalkube.org/api/assisted-install/v1/clusters/648ecfeb-1d4a-4d77-9d18-31a5f22388ce/downloads/image?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbHVzdGVyX2lkIjoiNjQ4ZWNmZWItMWQ0YS00ZDc3LTlkMTgtMzFhNWYyMjM4OGNlIn0.XWIkYHJuYSMdYAqn1ebKa1Ugm4mfGrAleGrOJ8VB2AxliWGd1tvize0dX6EA6HRyqbhrXgIoKjxkRB6vzhMPDw failed, reason: Got HTTP code 404 instead of 200 in response to HEAD request..
Normal ProvisionedRegistrationError 120m metal3-baremetal-controller Host adoption failed: Error while attempting to adopt node b82809bd-270b-425f-9f7e-4f31a98b0409: Validation of image href https://assisted-service-assisted-installer.apps.ostest.test.metalkube.org/api/assisted-install/v1/clusters/648ecfeb-1d4a-4d77-9d18-31a5f22388ce/downloads/image?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbHVzdGVyX2lkIjoiNjQ4ZWNmZWItMWQ0YS00ZDc3LTlkMTgtMzFhNWYyMjM4OGNlIn0.XWIkYHJuYSMdYAqn1ebKa1Ugm4mfGrAleGrOJ8VB2AxliWGd1tvize0dX6EA6HRyqbhrXgIoKjxkRB6vzhMPDw failed, reason: Got HTTP code 404 instead of 200 in response to HEAD request..
Normal ProvisionedRegistrationError 118m metal3-baremetal-controller Host adoption failed: Error while attempting to adopt node b82809bd-270b-425f-9f7e-4f31a98b0409: Validation of image href https://assisted-service-assisted-installer.apps.ostest.test.metalkube.org/api/assisted-install/v1/clusters/648ecfeb-1d4a-4d77-9d18-31a5f22388ce/downloads/image?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbHVzdGVyX2lkIjoiNjQ4ZWNmZWItMWQ0YS00ZDc3LTlkMTgtMzFhNWYyMjM4OGNlIn0.XWIkYHJuYSMdYAqn1ebKa1Ugm4mfGrAleGrOJ8VB2AxliWGd1tvize0dX6EA6HRyqbhrXgIoKjxkRB6vzhMPDw failed, reason: Got HTTP code 404 instead of 200 in response to HEAD request..
Normal ProvisionedRegistrationError 112m metal3-baremetal-controller Host adoption failed: Error while attempting to adopt node b82809bd-270b-425f-9f7e-4f31a98b0409: Validation of image href https://assisted-service-assisted-installer.apps.ostest.test.metalkube.org/api/assisted-install/v1/clusters/648ecfeb-1d4a-4d77-9d18-31a5f22388ce/downloads/image?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbHVzdGVyX2lkIjoiNjQ4ZWNmZWItMWQ0YS00ZDc3LTlkMTgtMzFhNWYyMjM4OGNlIn0.XWIkYHJuYSMdYAqn1ebKa1Ugm4mfGrAleGrOJ8VB2AxliWGd1tvize0dX6EA6HRyqbhrXgIoKjxkRB6vzhMPDw failed, reason: Got HTTP code 401 instead of 200 in response to HEAD request..
Normal ProvisionedRegistrationError 104m metal3-baremetal-controller Host adoption failed: Error while attempting to adopt node b82809bd-270b-425f-9f7e-4f31a98b0409: Validation of image href https://assisted-service-assisted-installer.apps.ostest.test.metalkube.org/api/assisted-install/v1/clusters/648ecfeb-1d4a-4d77-9d18-31a5f22388ce/downloads/image?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbHVzdGVyX2lkIjoiNjQ4ZWNmZWItMWQ0YS00ZDc3LTlkMTgtMzFhNWYyMjM4OGNlIn0.XWIkYHJuYSMdYAqn1ebKa1Ugm4mfGrAleGrOJ8VB2AxliWGd1tvize0dX6EA6HRyqbhrXgIoKjxkRB6vzhMPDw failed, reason: Got HTTP code 401 instead of 200 in response to HEAD request..
Normal ProvisionedRegistrationError 79m metal3-baremetal-controller Host adoption failed: Error while attempting to adopt node b82809bd-270b-425f-9f7e-4f31a98b0409: Validation of image href https://assisted-service-assisted-installer.apps.ostest.test.metalkube.org/api/assisted-install/v1/clusters/648ecfeb-1d4a-4d77-9d18-31a5f22388ce/downloads/image?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbHVzdGVyX2lkIjoiNjQ4ZWNmZWItMWQ0YS00ZDc3LTlkMTgtMzFhNWYyMjM4OGNlIn0.XWIkYHJuYSMdYAqn1ebKa1Ugm4mfGrAleGrOJ8VB2AxliWGd1tvize0dX6EA6HRyqbhrXgIoKjxkRB6vzhMPDw failed, reason: Got HTTP code 401 instead of 200 in response to HEAD request..
Normal ProvisionedRegistrationError 41m metal3-baremetal-controller Host adoption failed: Error while attempting to adopt node b82809bd-270b-425f-9f7e-4f31a98b0409: Validation of image href https://assisted-service-assisted-installer.apps.ostest.test.metalkube.org/api/assisted-install/v1/clusters/648ecfeb-1d4a-4d77-9d18-31a5f22388ce/downloads/image?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbHVzdGVyX2lkIjoiNjQ4ZWNmZWItMWQ0YS00ZDc3LTlkMTgtMzFhNWYyMjM4OGNlIn0.XWIkYHJuYSMdYAqn1ebKa1Ugm4mfGrAleGrOJ8VB2AxliWGd1tvize0dX6EA6HRyqbhrXgIoKjxkRB6vzhMPDw failed, reason: Got HTTP code 401 instead of 200 in response to HEAD request..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment