get_dpdk_queues_count method returns -1

Bug #1654950 reported by Anastasia Balobashina
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

Bug Description

get_dpdk_queues_count method returns -1 but count can't be less than 0

Expected result:
get_dpdk_queues_count method returns 0 in case dpdk_cpu_pinning = 0

Actual result:
get_dpdk_queues_count method returns -1 in case dpdk_cpu_pinning = 0

Tags: area-python
Changed in fuel:
milestone: none → 11.0
no longer affects: fuel/mitaka
Changed in fuel:
status: New → In Progress
Dmitry Klenov (dklenov)
Changed in fuel:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

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

commit df106ebc51ab9379e2a3143bbaa459bc63ed0556
Author: Anastasiya <email address hidden>
Date: Mon Jan 9 16:41:15 2017 +0400

    Fix get_dpdk_queues_count method

    It should return queues count limited by max supported
    queues value on DPDK NIC and number core for PMD.

    Change-Id: Ib28e2e699b62265ae9333912c1844ae3838b2de9
    Closes-Bug: #1654950

Changed in fuel:
status: In Progress → Fix Committed
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/418891

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/418907

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/419431

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

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

commit af9fcf3ca29c7c07e4d23e08d2100a3ab79d528b
Author: Anastasiya <email address hidden>
Date: Mon Jan 9 16:41:15 2017 +0400

    Fix get_dpdk_queues_count method

    It should return queues count limited by max supported
    queues value on DPDK NIC and number core for PMD.

    Change-Id: Ib28e2e699b62265ae9333912c1844ae3838b2de9
    Closes-Bug: #1654950
    (cherry picked from commit df106ebc51ab9379e2a3143bbaa459bc63ed0556)

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

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

commit 68778a404b40c4965441ffd7d5407d84461ea67e
Author: Anastasiya <email address hidden>
Date: Thu Jan 12 15:35:07 2017 +0400

    Fix for commit df106ebc51ab9379e2a3143bbaa459bc63ed0556

    * changes in get_dpdk_queues_count method were reverted
    * restriction for negative number was added

    Change-Id: Ia51801dfb39705521411102a5fe3989bcf51be86
    Related-Bug: #1654950

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

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

commit 0257e80dfbbcabb32a5778209508d7bf063feedf
Author: Anastasiya <email address hidden>
Date: Mon Jan 9 16:41:15 2017 +0400

    Fix get_dpdk_queues_count method

    It should return queues count limited by max supported
    queues value on DPDK NIC and number core for PMD.

    Change-Id: Ib28e2e699b62265ae9333912c1844ae3838b2de9
    Closes-Bug: #1654950
    (cherry picked from commit df106ebc51ab9379e2a3143bbaa459bc63ed0556)

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

Verified on 9.2 snapshot #801.

tags: removed: on-verification
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.