Skip to content

QuoteGeneration: Quote generation starts failing after ~4 days of usage #450

@gw0

Description

@gw0

We noticed that qgsd stops working after ~4 days of usage. Reproduced on two different machines with Xeon 5 and Xeon 6 with Ubuntu 24.10 where SGX/TDX was set up according to https://github.com/canonical/tdx/. A restart of qgsd resolves the issues.

Logs:

Added a new connection, now [1]
handle_read: status [system:0]
handle_read:[system:0Received 1024 bytes.]
process raw request [1024] bytes!.
unpack message successfully in thread [70e178843740]
[QPL] Failed to get quote config. Error code is 0xb011
[get_platform_quote_cert_data ../td_ql_logic.cpp:302] Error returned from the p_sgx_get_quote_config API. 0xe044
tee_att_get_quote_size return 0x11001
resp_size is 0
About to shutdown and close socket
erased a connection, now [0]
Added a new connection, now [1]
handle_read: status [system:0]
handle_read:[system:0Received 1024 bytes.]
process raw request [1024] bytes!.
unpack message successfully in thread [70e178843740]
[QPL] Failed to get quote config. Error code is 0xb011
[get_platform_quote_cert_data ../td_ql_logic.cpp:302] Error returned from the p_sgx_get_quote_config API. 0xe044
tee_att_get_quote_size return 0x11001
resp_size is 0
About to shutdown and close socket
erased a connection, now [0]

Workaround: Cronjob to restart qgsd daily. Alternatively, monitor qgsd logs and restart if the error log entry appears.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions