Can't build ovsdpdk image on CentOS

Bug #1777300 reported by fanguiju
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Medium
Unassigned

Bug Description

Failed to build ovsdpdk image when I execute the `./build.py ovsdpdk` on CentOS7, the log output was as follows:

INFO:kolla.common.utils:=========================
INFO:kolla.common.utils:Successfully built images
INFO:kolla.common.utils:=========================
INFO:kolla.common.utils:base
INFO:kolla.common.utils:===========================
INFO:kolla.common.utils:Images that failed to build
INFO:kolla.common.utils:===========================
ERROR:kolla.common.utils:ovsdpdk-db Failed with status: matched
ERROR:kolla.common.utils:ovsdpdk-vswitchd Failed with status: matched

Then we found out that using the `centos+source` does not build the ovsdpdk image and it will be skipped.
https://github.com/openstack/kolla/blob/9ef9cbeb8f3504a4d80716e5e6ae7e9e6bb372d6/kolla/image/build.py#L101

So, I thought it should print the unambiguous and more friendly logs, and them users can find problems easy.

Revision history for this message
fanguiju (fanguiju) wrote :
Changed in kolla:
status: New → Confirmed
assignee: nobody → fanguiju (fanguiju)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

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

Changed in kolla:
status: Confirmed → In Progress
fanguiju (fanguiju)
Changed in kolla:
assignee: fanguiju (fanguiju) → nobody
assignee: nobody → fanguiju (fanguiju)
Revision history for this message
Surya Prakash Singh (confisurya) wrote :

fanguiju still working on this ?

Changed in kolla:
importance: Undecided → Medium
Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

Master (train too) says precisely that ovsdpdk images are not buildable for centos:

INFO:kolla.common.utils.base:Successfully built dd3b98d18b76
INFO:kolla.common.utils.base:Successfully tagged kolla/centos-binary-base:9.1.0
INFO:kolla.common.utils.base:Built at 2020-01-30 11:36:28.699416 (took 0:01:24.694673)
INFO:kolla.common.utils:Added next task BuildTask(ovsdpdk) to queue
INFO:kolla.common.utils:Attempt number: 1 to run task: BuildTask(ovsdpdk)
INFO:kolla.common.utils.ovsdpdk:Skipping ovsdpdk
INFO:kolla.common.utils:Attempt number: 2 to run task: BuildTask(ovsdpdk)
INFO:kolla.common.utils.ovsdpdk:Skipping ovsdpdk
INFO:kolla.common.utils:Attempt number: 3 to run task: BuildTask(ovsdpdk)
INFO:kolla.common.utils.ovsdpdk:Skipping ovsdpdk
INFO:kolla.common.utils:Attempt number: 4 to run task: BuildTask(ovsdpdk)
INFO:kolla.common.utils.ovsdpdk:Skipping ovsdpdk
INFO:kolla.common.utils:=========================
INFO:kolla.common.utils:Successfully built images
INFO:kolla.common.utils:=========================
INFO:kolla.common.utils:base
INFO:kolla.common.utils:=========================================
INFO:kolla.common.utils:Images not buildable due to build options
INFO:kolla.common.utils:=========================================
INFO:kolla.common.utils:ovsdpdk
INFO:kolla.common.utils:ovsdpdk-db
INFO:kolla.common.utils:ovsdpdk-vswitchd

Can we close?

Mark Goddard (mgoddard)
Changed in kolla:
assignee: fanguiju (fanguiju) → nobody
status: In Progress → Triaged
status: Triaged → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla (master)

Change abandoned by "Marcin Juszkiewicz <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/kolla/+/577644
Reason: We have 'unbuildable images' dict now which does similar thing.

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.