Bug 2220851
| Summary: | FDO onboarding doesn't do anything in edge device | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Xiaofeng Wang <xiaofwan> |
| Component: | fido-device-onboard | Assignee: | idiez |
| Status: | POST --- | QA Contact: | Xiaofeng Wang <xiaofwan> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | CentOS Stream | CC: | bstinson, elpereir, idiez, jwboyer, miabbott, perobins |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Xiaofeng Wang
2023-07-06 10:06:18 UTC
This is the error that we are getting in the manufacturing-client in the initrms: 2023-07-11T11:45:37.372Z INFO fdo_manufacturing_client > No usable device credential located, performing Device Onboarding 2023-07-11T11:45:37.402Z INFO fdo_manufacturing_client > Performing DIUN ERROR:tcti:src/tss2-tcti/tctildr.c:430:Tss2_TctiLdr_Initialize_Ex() Failed to instantiate TCTI 2023-07-11T11:45:37.418Z ERROR tss_esapi::tcti_ldr > Error when creating a TCTI context: response code not recognized 2023-07-11T11:45:37.372Z INFO fdo_manufacturing_client > No usable device credential located, performing Device Onboarding
INFO fdo_manufacturing_client > Attempting manufacturing, url: http://192.168.122.199:8080, plain DI: false, DIUN public key verification: Insecure
2023-07-11T11:45:37.402Z INFO fdo_manufacturing_client > Performing DIUN
ERROR:tcti:src/tss2-tcti/tctildr.c:430:Tss2_TctiLdr_Initialize_Ex() Failed to instantiate TCTI
2023-07-11T11:45:37.418Z ERROR tss_esapi::tcti_ldr > Error when creating a TCTI context: response code not recognized
|-> that happens when we configure the manufacturing server with
allowed_key_storage_types:
- Tpm
- FileSystem
If we configure it with just 'FileSystem', the above error does not happen but we end up with a:
INFO fdo_manufacturing_client > No usable device credential located, performing Device Onboarding
INFO fdo_manufacturing_client > Attempting manufacturing, url: http://192.168.122.199:8080, plain DI: false, DIUN public key verification: Insecure
INFO fdo_manufacturing_client > Performing DIUN
systemd[1]: manufacturing-client.service: Main process exited, code=killed, status=15/TERM
systemd[1]: manufacturing-client.service: Failed with result 'signal'
systemd[1]: Stopped Manufacturing client DIUN
PR with fix added: https://github.com/fedora-iot/fido-device-onboard-rs/pull/536 |