Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

podmv: kata-agent#CCv0 is incompatible with current revision of attestation-agent #1750

Open
mkulke opened this issue Mar 16, 2024 · 0 comments

Comments

@mkulke
Copy link
Contributor

mkulke commented Mar 16, 2024

kata agent on kata-containers#CCv0 will attempt to start attestation agent w/ params that do not exist anymore:

    launch_process(
        logger,
        AA_PATH,
        &vec![
            "--keyprovider_sock",
            AA_KEYPROVIDER_URI,
            "--getresource_sock",
            AA_GETRESOURCE_URI,
            "--attestation_sock",
            AA_ATTESTATION_URI,
        ],
        AA_ATTESTATION_SOCKET,
        DEFAULT_LAUNCH_PROCESS_TIMEOUT,
    )
    .map_err(|e| anyhow!("launch_process {} failed: {:?}", AA_PATH, e))?;

attestation-agent will only accept the --attestation_sock param:

https://github.com/confidential-containers/guest-components/blob/4006fae00ada41e5cc422950ca55accb8b5b8f4f/attestation-agent/attestation-agent/src/bin/ttrpc-aa/main.rs#L27-L36

this results in kata-agent terminating

@mkulke mkulke changed the title podmv: kata-agent#CCv0 is incompatible with current revisions of attestation-agent podmv: kata-agent#CCv0 is incompatible with current revision of attestation-agent Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant