OpenVSwitch with DPDK requires at least 800M RAM to run, but minimum memory size is not limited

Bug #1653081 reported by Mikhail Chernik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Anastasia Balobashina
Mitaka
Fix Released
Medium
Anastasia Balobashina
Newton
Fix Committed
Medium
Anastasia Balobashina
Ocata
Fix Committed
Medium
Anastasia Balobashina

Bug Description

Descripton:

OVS+DPDK fails to init dpdk interface if memory size assigned to OVS is:

 a) less then ~800MB if there is single NUMA node on the host
 b) ~500MB per NUMA node if there are several nodes on the host.

Please, limit the minimal acceptable RAM amount for OVS+DPDK to 1024MB.

(meta['hugepages']['dpdk']['min'] = 1024)

Changed in fuel:
assignee: nobody → Anastasia Balobashina (atolochkova)
Dmitry Klenov (dklenov)
tags: added: area-python
Changed in fuel:
milestone: 9.2 → 11.0
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/415864

Changed in fuel:
status: Confirmed → In Progress
Changed in fuel:
assignee: Anastasia Balobashina (atolochkova) → Georgy Kibardin (gkibardin)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ui (master)

Fix proposed to branch: master
Review: https://review.openstack.org/417379

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ui (master)

Reviewed: https://review.openstack.org/417379
Committed: https://git.openstack.org/cgit/openstack/fuel-ui/commit/?id=dd0f448f223ed95d37fcfb414adffdc232c13ddd
Submitter: Jenkins
Branch: master

commit dd0f448f223ed95d37fcfb414adffdc232c13ddd
Author: Georgy Kibardin <email address hidden>
Date: Fri Jan 6 16:44:33 2017 +0300

    Change the value of hugepages for dpdk

    Since the minumum value has been changed to 1024.

    Change-Id: Ia8a9e558bf247be606c5a7d43973c16cd4f177a6
    Partial-Bug: #1653081

Changed in fuel:
assignee: Georgy Kibardin (gkibardin) → Anastasia Balobashina (atolochkova)
Changed in fuel:
assignee: Anastasia Balobashina (atolochkova) → Alexey Shtokolov (ashtokolov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/418593

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/418600

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ui (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/418696

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ui (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/418718

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ui (stable/newton)

Reviewed: https://review.openstack.org/418696
Committed: https://git.openstack.org/cgit/openstack/fuel-ui/commit/?id=763b954d160b06ed8e3f4407e6aede787b68a27f
Submitter: Jenkins
Branch: stable/newton

commit 763b954d160b06ed8e3f4407e6aede787b68a27f
Author: Georgy Kibardin <email address hidden>
Date: Fri Jan 6 16:44:33 2017 +0300

    Change the value of hugepages for dpdk

    Since the minumum value has been changed to 1024.

    Change-Id: Ia8a9e558bf247be606c5a7d43973c16cd4f177a6
    Partial-Bug: #1653081
    (cherry picked from commit dd0f448f223ed95d37fcfb414adffdc232c13ddd)

tags: added: in-stable-newton
tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ui (stable/mitaka)

Reviewed: https://review.openstack.org/418718
Committed: https://git.openstack.org/cgit/openstack/fuel-ui/commit/?id=26a190cb513894b058f398ab4679e47f928e677c
Submitter: Jenkins
Branch: stable/mitaka

commit 26a190cb513894b058f398ab4679e47f928e677c
Author: Georgy Kibardin <email address hidden>
Date: Fri Jan 6 16:44:33 2017 +0300

    Change the value of hugepages for dpdk

    Since the minumum value has been changed to 1024.

    Change-Id: Ia8a9e558bf247be606c5a7d43973c16cd4f177a6
    Partial-Bug: #1653081
    (cherry picked from commit dd0f448f223ed95d37fcfb414adffdc232c13ddd)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/415864
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=6e4ef67269b849edb20e7ea9e73685a5cee0e6fc
Submitter: Jenkins
Branch: master

commit 6e4ef67269b849edb20e7ea9e73685a5cee0e6fc
Author: Anastasiya <email address hidden>
Date: Fri Dec 30 11:31:21 2016 +0400

    Limit the minimal RAM amount for OVS+DPDK to 1024MB

    * min value was set in openstack.yaml
    * appropriate validator was added
    * tests for validator were changed
    * migration node and release attributes was added
    * tests for migration were added

    Change-Id: Iec723c7f02e874bf8567665a30af30c61aff7f34
    Closes-Bug: #1653081

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-web (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/418986

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/newton)

Reviewed: https://review.openstack.org/418600
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=1d10c6b240debb89e70240937e3e890426482030
Submitter: Jenkins
Branch: stable/newton

commit 1d10c6b240debb89e70240937e3e890426482030
Author: Anastasiya <email address hidden>
Date: Fri Dec 30 11:31:21 2016 +0400

    Limit the minimal RAM amount for OVS+DPDK to 1024MB

    * min value was set in openstack.yaml
    * appropriate validator was added
    * tests for validator were changed
    * migration node and release attributes was added
    * tests for migration were added

    Change-Id: Iec723c7f02e874bf8567665a30af30c61aff7f34
    Closes-Bug: #1653081
    (cherry picked from commit 6e4ef67269b849edb20e7ea9e73685a5cee0e6fc)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/mitaka)

Reviewed: https://review.openstack.org/418593
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=d70d0ada26ee9a43f87766bd8e11be393186ef0f
Submitter: Jenkins
Branch: stable/mitaka

commit d70d0ada26ee9a43f87766bd8e11be393186ef0f
Author: Anastasiya <email address hidden>
Date: Fri Dec 30 11:31:21 2016 +0400

    Limit the minimal RAM amount for OVS+DPDK to 1024MB

    * min value was set in openstack.yaml
    * appropriate validator was added
    * tests for validator were changed
    * migration node and release attributes was added
    * tests for migration were added

    Change-Id: Iec723c7f02e874bf8567665a30af30c61aff7f34
    Closes-Bug: #1653081
    (cherry picked from commit 6e4ef67269b849edb20e7ea9e73685a5cee0e6fc)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/418986
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=763d5c25bc7906c42a5a4fa6cbef89ed438f3ff8
Submitter: Jenkins
Branch: master

commit 763d5c25bc7906c42a5a4fa6cbef89ed438f3ff8
Author: Anastasiya <email address hidden>
Date: Wed Jan 11 18:51:20 2017 +0400

    Fixes for commit 6e4ef67269b849edb20e7ea9e73685a5cee0e6fc

    * restriction by the release version for upgrade
      dpdk hugepages value and min value was added
    * appropriate tests for migration were added
    * comment for MIN_DPDK_HUGEPAGES_MEMORY was added
    * fix for Node.dpdk_hugepages_attrs method was added

    Change-Id: Ifb71a266d05abf34dbfa1753dbe279ee6cdd4bb0
    Related-Bug: #1653081

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-web (stable/mitaka)

Related fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/419438

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-web (stable/newton)

Related fix proposed to branch: stable/newton
Review: https://review.openstack.org/419444

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-web (stable/mitaka)

Reviewed: https://review.openstack.org/419438
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=d307453cec85ae1055cccc01d6337ffcf46ba26f
Submitter: Jenkins
Branch: stable/mitaka

commit d307453cec85ae1055cccc01d6337ffcf46ba26f
Author: Anastasiya <email address hidden>
Date: Wed Jan 11 18:51:20 2017 +0400

    Fixes for commit 6e4ef67269b849edb20e7ea9e73685a5cee0e6fc

    * restriction by the release version for upgrade
      dpdk hugepages value and min value was added
    * appropriate tests for migration were added
    * comment for MIN_DPDK_HUGEPAGES_MEMORY was added
    * fix for Node.dpdk_hugepages_attrs method was added

    Change-Id: Ifb71a266d05abf34dbfa1753dbe279ee6cdd4bb0
    Related-Bug: #1653081
    (cherry picked from commit 763d5c25bc7906c42a5a4fa6cbef89ed438f3ff8)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-web (stable/newton)

Reviewed: https://review.openstack.org/419444
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=7f53502d3f09646a29d622cf0f826ae653db7f40
Submitter: Jenkins
Branch: stable/newton

commit 7f53502d3f09646a29d622cf0f826ae653db7f40
Author: Anastasiya <email address hidden>
Date: Wed Jan 11 18:51:20 2017 +0400

    Fixes for commit 6e4ef67269b849edb20e7ea9e73685a5cee0e6fc

    * restriction by the release version for upgrade
      dpdk hugepages value and min value was added
    * appropriate tests for migration were added
    * comment for MIN_DPDK_HUGEPAGES_MEMORY was added
    * fix for Node.dpdk_hugepages_attrs method was added

    Change-Id: Ifb71a266d05abf34dbfa1753dbe279ee6cdd4bb0
    Related-Bug: #1653081
    (cherry picked from commit 763d5c25bc7906c42a5a4fa6cbef89ed438f3ff8)

Revision history for this message
Mikhail Chernik (mchernik) wrote :

Verified for MOS 9.2 on snapshot 770, fixed

Revision history for this message
Alexey Shtokolov (ashtokolov) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/421670

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ui (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/421830

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ui (stable/mitaka)

Reviewed: https://review.openstack.org/421830
Committed: https://git.openstack.org/cgit/openstack/fuel-ui/commit/?id=14e889a9a8745167aec3a412bb01b7676c1db44f
Submitter: Jenkins
Branch: stable/mitaka

commit 14e889a9a8745167aec3a412bb01b7676c1db44f
Author: Anastasiya <email address hidden>
Date: Wed Jan 18 14:55:36 2017 +0400

    Change the value of hugepages for dpdk

    Since the value in non dpdk case should be equal to 0.

    Change-Id: Ib97ba6dfdf771ca7630310060f35751ab25de929
    Partial-Bug: #1653081

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/mitaka)

Reviewed: https://review.openstack.org/421670
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=1c13c6ad10a82d44184205d24e3cbcd563d7fd06
Submitter: Jenkins
Branch: stable/mitaka

commit 1c13c6ad10a82d44184205d24e3cbcd563d7fd06
Author: Anastasiya <email address hidden>
Date: Wed Jan 18 09:16:34 2017 +0400

    Limit the minimal RAM amount for OVS+DPDK to 1024MB

    * min value was set in consts
    * appropriate validator was added
    * tests for validator were changed
    * test for serializer were changed

    Change-Id: Ib8ccb0658bd401ce492257f855013d1d7e0f2dac
    Closes-Bug: #1653081

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ui (master)

Fix proposed to branch: master
Review: https://review.openstack.org/422434

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ui (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/422440

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/422481

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/422482

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ui (master)

Reviewed: https://review.openstack.org/422434
Committed: https://git.openstack.org/cgit/openstack/fuel-ui/commit/?id=7b53db8e8a2175782164f9bce1f76721e440134e
Submitter: Jenkins
Branch: master

commit 7b53db8e8a2175782164f9bce1f76721e440134e
Author: Anastasiya <email address hidden>
Date: Wed Jan 18 14:55:36 2017 +0400

    Change the value of hugepages for dpdk

    Since the value in non dpdk case should be equal to 0.

    Change-Id: Ib97ba6dfdf771ca7630310060f35751ab25de929
    Partial-Bug: #1653081

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ui (stable/newton)

Reviewed: https://review.openstack.org/422440
Committed: https://git.openstack.org/cgit/openstack/fuel-ui/commit/?id=ddbd964a9803a34d0ccd630f3a9e4a7edf7c9082
Submitter: Jenkins
Branch: stable/newton

commit ddbd964a9803a34d0ccd630f3a9e4a7edf7c9082
Author: Anastasiya <email address hidden>
Date: Wed Jan 18 14:55:36 2017 +0400

    Change the value of hugepages for dpdk

    Since the value in non dpdk case should be equal to 0.

    Change-Id: Ib97ba6dfdf771ca7630310060f35751ab25de929
    Partial-Bug: #1653081

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/newton)

Reviewed: https://review.openstack.org/422482
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=8f480b995d61275481032a45bd69959395f45e83
Submitter: Jenkins
Branch: stable/newton

commit 8f480b995d61275481032a45bd69959395f45e83
Author: Anastasiya <email address hidden>
Date: Wed Jan 18 09:16:34 2017 +0400

    Limit the minimal RAM amount for OVS+DPDK to 1024MB

    * min value was set in consts
    * appropriate validator was added
    * tests for validator were changed
    * test for serializer were changed

    Change-Id: Ib8ccb0658bd401ce492257f855013d1d7e0f2dac
    Closes-Bug: #1653081

tags: added: on-verification
Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Verified on 9.2 snapshot #801.

tags: removed: on-verification
Changed in fuel:
assignee: Anastasia Balobashina (atolochkova) → Georgy Kibardin (gkibardin)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/422481
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=d2a5333e9968edc88bdd9e854d6d5404435c5d60
Submitter: Jenkins
Branch: master

commit d2a5333e9968edc88bdd9e854d6d5404435c5d60
Author: Anastasiya <email address hidden>
Date: Wed Jan 18 09:16:34 2017 +0400

    Limit the minimal RAM amount for OVS+DPDK to 1024MB

    * min value was set in consts
    * appropriate validator was added
    * tests for validator were changed
    * test for serializer were changed

    Change-Id: Ib8ccb0658bd401ce492257f855013d1d7e0f2dac
    Closes-Bug: #1653081

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-web 11.0.0.0rc1

This issue was fixed in the openstack/fuel-web 11.0.0.0rc1 release candidate.

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.