Skip to content

Forwarding-porting and retesting of upstream intel patchset for SGX and OpenStack #246

Open

Description

@fkr

The patchset from Intel (https://github.com/intel/secured-cloud-management-stack/) for bringing SGX needs to forward-porting and retesting. This story is about making sure stories that cover:

  • forward-porting
  • re-testing and
  • upstreaming

of the patchset exist.
The stories should be small enough so that each can be finished in one sprint.

Definition of Done:

Activity

  1. added
    IaaS
    on Jan 17, 2023
  2. added this to the R4 (v5.0.0) milestone on Jan 17, 2023
  3. berendt commented on Jan 18, 2023

    @berendt

    1st step:

    • nova
    • python-novaclient
    • python-openstackclient

    2nd step:

    • ironic
    • kolla-ansible
    • skyline
  4. removed this from the R4 (v5.0.0) milestone on Apr 27, 2023
  5. added this to the R6 (v7.0.0) milestone on Oct 19, 2023
  6. moved this from Backlog to Doing in Sovereign Cloud Stackon Nov 1, 2023
  7. fkr commented on Dec 12, 2023

    @fkr
    MemberAuthor

    The unit tests are running successfully now, however launching sgx-enabled workloads is not possible, neither via horizon nor via api.

  8. fkr commented on Dec 12, 2023

    @fkr
    MemberAuthor

    I will get in touch with @mleberec in order to establish contacts between OSISM and the intel engineers.

  9. mleberec commented on Dec 12, 2023

    @mleberec

    @fkr - thanks. @berendt - give me a ping to follow up.

  10. berendt commented on Dec 14, 2023

    @berendt
  11. gndrmnn commented on Jan 23, 2024

    @gndrmnn
    • The forward porting of the nova patches to the latest commit required a lot of work. See initial commit of the above repo. All unit tests should pass, if the patches are applied to 167e3380c946ffb07622a8c8079fa1b22b8c5543
    • To get QEMU to canonically spawn SGX instances we need: Kernel 5.13+, QEMU 7+, libvirt 8.10+ therefore the host system was upgraded to Ubuntu 23.10.
    • There is an unsolved problem with the placement API, which automatically purges the CUSTOM_SGX_EPC_MB inventory class every few minutes. For development purposes we solved this by being fast with creating the class and spawning the instances. This needs a proper fix in the placement API long term.
    • We had problems spawning SGX instances from nova, because of cryptic permission errors. It turns out it was an AppArmor problem and the Intel documentation was not up to date. Solved by disabling the security_driver in libvirt for the time being.
    • With the changes to the patch set applied in Getting nova to spawn a SGX instance osism-archive/secured-cloud-management-stack#1 we got to spawn an SGX instance using nova successfully.
  12. fkr commented on Jan 26, 2024

    @fkr
    MemberAuthor

    We should probably see about getting in touch with nova people before vPTG so that we can discuss upstreaming the effort during the d-cycle.

  13. fkr commented on Feb 7, 2024

    @fkr
    MemberAuthor

    Legal requirements have been solved, the Intel Repository now carries a valid LICENSE file.

  14. gndrmnn commented on Feb 8, 2024

    @gndrmnn

    Nova patch set was rebased on an upstream commit from 2024

    New base commit is 6531ed6310c4c11ee807e10d1a0fa91658c3afea

  15. gndrmnn commented on Feb 21, 2024

    @gndrmnn
  16. fkr commented on Feb 21, 2024

    @fkr
    MemberAuthor

    thanks @gndrmnn for keeping this updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

IaaS

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions