Add support for Nova's vPMEM in TripleO

Bug #1870455 reported by Piotr Kopec
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Undecided
Piotr Kopec

Bug Description

Nova support attaching virtual persistent memory to guests [0] since train release. There still is not a way to manage this using TripleO.

There is a way to mange related Nova parameter using `puppet-nova`: https://review.opendev.org/#/c/713377/

[0]: https://docs.openstack.org/nova/latest/admin/virtual-persistent-memory.html

Piotr Kopec (pkopec)
Changed in tripleo:
assignee: nobody → Piotr Kopec (pkopec)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (master)

Fix proposed to branch: master
Review: https://review.opendev.org/717158

Changed in tripleo:
status: New → In Progress
Piotr Kopec (pkopec)
summary: - Add support for NVDIMM in TripleO
+ Add support for Nova's vPMEM in TripleO
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.opendev.org/717651

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-puppet-elements (master)

Fix proposed to branch: master
Review: https://review.opendev.org/719957

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-puppet-elements (master)

Reviewed: https://review.opendev.org/719957
Committed: https://git.openstack.org/cgit/openstack/tripleo-puppet-elements/commit/?id=ae4079177f2985917a0d711b560a43e09d06f347
Submitter: Zuul
Branch: master

commit ae4079177f2985917a0d711b560a43e09d06f347
Author: Piotr Kopec <email address hidden>
Date: Tue Apr 14 15:21:51 2020 +0200

    overcloud-compute: add ndctl package to manage NVDIMMs

    Adding `ndctl` package to manage NVDIMMs.
    Package is used on compute nodes to create Persistent Memory (PMEM)
    namespace which will be exposed to guests by Nova as vPMEM [0].

    [0]: https://docs.openstack.org/nova/latest/admin/virtual-persistent-memory.html

    Change-Id: Ic4dd90350a78c78f0b35523af49e3d08baf6861a
    Closes-Bug: #1870455

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (master)

Reviewed: https://review.opendev.org/717158
Committed: https://git.openstack.org/cgit/openstack/tripleo-ansible/commit/?id=854ffe58aadad5f29901ec0f792cdc39856339b7
Submitter: Zuul
Branch: master

commit 854ffe58aadad5f29901ec0f792cdc39856339b7
Author: Piotr Kopec <email address hidden>
Date: Fri Apr 3 02:39:29 2020 +0200

    Add new role to manage persistent memory devices

    This changes adds new role needed to manage persistent
    memory devices to support Nova's vPMEM feature [0].
    The role creates namespaces that will be attached
    by Nova to guests.

    [0]: https://docs.openstack.org/nova/latest/admin/virtual-persistent-memory.html

    Change-Id: I2b1e0c9a0c8897e5ac5a6f77588353ac5aa6c2af
    Closes-Bug: #1870455

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/717651
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=9001136dd9e0a9ac6c3b9830d302dd4cef89f306
Submitter: Zuul
Branch: master

commit 9001136dd9e0a9ac6c3b9830d302dd4cef89f306
Author: Piotr Kopec <email address hidden>
Date: Mon Apr 6 04:36:09 2020 +0200

    Add parameters for vPMEM features

    This change adds two new parameters to manage vPMEM configuration
    option and PMEM namespaces on the host server.
    * `NovaPMEMMappings` sets Nova's `pmem_namespaces` conf option.
    * `NovaPMEMNamespaces` creates PMEM namespaces on the host
       using `ndctl` tool and ansible tripleo_nvdimm role.

    Depends-On: https://review.opendev.org/717158
    Change-Id: I270cb624a33a739aa06bba5e4faee4b01fb3cfb3
    Closes-Bug: #1870455

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/730782

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/730783

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-puppet-elements (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/730785

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-puppet-elements (stable/train)

Reviewed: https://review.opendev.org/730785
Committed: https://git.openstack.org/cgit/openstack/tripleo-puppet-elements/commit/?id=226ce95729ab3112f5fa23bc448353d95c66eec2
Submitter: Zuul
Branch: stable/train

commit 226ce95729ab3112f5fa23bc448353d95c66eec2
Author: Piotr Kopec <email address hidden>
Date: Tue Apr 14 15:21:51 2020 +0200

    overcloud-compute: add ndctl package to manage NVDIMMs

    Adding `ndctl` package to manage NVDIMMs.
    Package is used on compute nodes to create Persistent Memory (PMEM)
    namespace which will be exposed to guests by Nova as vPMEM [0].

    [0]: https://docs.openstack.org/nova/latest/admin/virtual-persistent-memory.html

    Change-Id: Ic4dd90350a78c78f0b35523af49e3d08baf6861a
    Closes-Bug: #1870455
    (cherry picked from commit ae4079177f2985917a0d711b560a43e09d06f347)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (stable/train)

Reviewed: https://review.opendev.org/730782
Committed: https://git.openstack.org/cgit/openstack/tripleo-ansible/commit/?id=c868b72ddd333d8ac08016ff8d8e06a381470329
Submitter: Zuul
Branch: stable/train

commit c868b72ddd333d8ac08016ff8d8e06a381470329
Author: Piotr Kopec <email address hidden>
Date: Fri Apr 3 02:39:29 2020 +0200

    Add new role to manage persistent memory devices

    This changes adds new role needed to manage persistent
    memory devices to support Nova's vPMEM feature [0].
    The role creates namespaces that will be attached
    by Nova to guests.

    [0]: https://docs.openstack.org/nova/latest/admin/virtual-persistent-memory.html

    Closes-Bug: #1870455

    Conflicts:
      zuul.d/molecule.yaml

    Change-Id: I2b1e0c9a0c8897e5ac5a6f77588353ac5aa6c2af
    (cherry picked from commit 854ffe58aadad5f29901ec0f792cdc39856339b7)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/train)

Reviewed: https://review.opendev.org/730783
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=ae28b12468ef61127cd251922fc270e80b38396a
Submitter: Zuul
Branch: stable/train

commit ae28b12468ef61127cd251922fc270e80b38396a
Author: Piotr Kopec <email address hidden>
Date: Mon Apr 6 04:36:09 2020 +0200

    Add parameters for vPMEM features

    This change adds two new parameters to manage vPMEM configuration
    option and PMEM namespaces on the host server.
    * `NovaPMEMMappings` sets Nova's `pmem_namespaces` conf option.
    * `NovaPMEMNamespaces` creates PMEM namespaces on the host
       using `ndctl` tool and ansible tripleo_nvdimm role.

    Depends-On: https://review.opendev.org/730782
    Closes-Bug: #1870455

    Conflicts:
      deployment/nova/nova-compute-container-puppet.yaml

    Change-Id: I270cb624a33a739aa06bba5e4faee4b01fb3cfb3
    (cherry picked from commit 9001136dd9e0a9ac6c3b9830d302dd4cef89f306)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ansible 0.6.0

This issue was fixed in the openstack/tripleo-ansible 0.6.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 11.4.0

This issue was fixed in the openstack/tripleo-heat-templates 11.4.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-puppet-elements 11.2.2

This issue was fixed in the openstack/tripleo-puppet-elements 11.2.2 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.