[rdotrunk][rhel8] dependency errors for overcloud image build No match for argument: plotnetcfg

Bug #1834043 reported by Marios Andreou
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Marios Andreou

Bug Description

as tracked in [1] and using the rhel8/rdotrunk delorean repos at [2] there are dependency issues for openstack overcloud image build - command and trace like:

    openstack overcloud image build --config-file /usr/share/tripleo-common/image-yaml/overcloud-images-python3.yaml --config-file /usr/share/tripleo-common/image-yaml/overcloud-images-rhel8.yaml

...
        2019-06-24 08:39:08.594 | Running install-packages install.
        2019-06-24 08:39:08.594 | + yum -v -y install python3-psutil python3-debtcollector plotnetcfg sos device-mapper-multipath openstack-heat-agents os-net-config jq python3-dbus
        2019-06-24 08:39:09.122 | Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, uploadprofile
        2019-06-24 08:39:09.122 | DNF version: 4.0.9
...
        2019-06-24 08:39:09.723 | No match for argument: plotnetcfg
        2019-06-24 08:39:09.723 | Package device-mapper-multipath-0.7.8-7.el8.x86_64 is already installed.
        2019-06-24 08:39:09.725 | Package python3-dbus-1.2.4-14.el8.x86_64 is already installed.
        2019-06-24 08:39:09.738 | Error: Unable to find a match
...
        raise subprocess.CalledProcessError(process.returncode, cmd)
        subprocess.CalledProcessError: Command '['disk-image-create', '-a', 'amd64', '-o', './overcloud-full', '-t', 'qcow2', '-p', 'python3-psutil,python3-debtcollector,plotnetcfg,sos,device-mapper-multipath,openstack-heat-agents,os-net-config,jq,python3-dbus', '--min-tmpfs=7', '--mkfs-options', '-s size=4096', 'rhel', 'baremetal', 'dhcp-all-interfaces', 'openvswitch', 'overcloud-agent', 'overcloud-base', 'overcloud-controller', 'overcloud-compute', 'overcloud-ceph-storage', 'puppet-modules', 'stable-interface-names', 'grub2', 'element-manifest', 'dynamic-login', 'iptables', 'enable-packages-install', 'override-pip-and-virtualenv', 'dracut-regenerate', 'remove-machine-id', 'remove-resolvconf', 'openssh', 'disable-nouveau', 'selinux-permissive']' returned non-zero exit status 1.
        Command '['disk-image-create', '-a', 'amd64', '-o', './overcloud-full', '-t', 'qcow2', '-p', 'python3-psutil,python3-debtcollector,plotnetcfg,sos,device-mapper-multipath,openstack-heat-agents,os-net-config,jq,python3-dbus', '--min-tmpfs=7', '--mkfs-options', '-s size=4096', 'rhel', 'baremetal', 'dhcp-all-interfaces', 'openvswitch', 'overcloud-agent', 'overcloud-base', 'overcloud-controller', 'overcloud-compute', 'overcloud-ceph-storage', 'puppet-modules', 'stable-interface-names', 'grub2', 'element-manifest', 'dynamic-login', 'iptables', 'enable-packages-install', 'override-pip-and-virtualenv', 'dracut-regenerate', 'remove-machine-id', 'remove-resolvconf', 'openssh', 'disable-nouveau', 'selinux-permissive']' returned non-zero exit status 1.
        /usr/lib/python3.6/site-packages/cliff/app.py:415: ResourceWarning: unclosed file <_io.BufferedReader name=4>
          raise

[1] https://tree.taiga.io/project/tripleo-ci-board/task/1114
[2] https://trunk.rdoproject.org/rhel8-master/

Revision history for this message
Marios Andreou (marios-b) wrote :

17:08 < weshay> marios needs promotion blocker

tags: added: promotion-blocker
Revision history for this message
YaZug (jon-schlueter) wrote :

plotnetcfg does not seem to be used/direct dependency in qcow2 image for overcloud

Revision history for this message
wes hayutin (weshayutin) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (master)

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

Changed in tripleo:
assignee: Marios Andreou (marios-b) → wes hayutin (weshayutin)
status: Triaged → In Progress
Changed in tripleo:
assignee: wes hayutin (weshayutin) → Marios Andreou (marios-b)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.opendev.org/667169
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=73f27fe37538b9df60ef15c1d31d392ab6c85ef4
Submitter: Zuul
Branch: master

commit 73f27fe37538b9df60ef15c1d31d392ab6c85ef4
Author: Wes Hayutin <email address hidden>
Date: Mon Jun 24 11:50:59 2019 -0600

    remove plotnetcfg from overcloud image yaml

    plotnetcfg is no longer required and is
    failing silently in el7 builds. Remove it.

    Closes-Bug: #1834043
    Change-Id: Ida6c18a983f6330f54a8eb95b40b56b19dd005cf

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/667668

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

Reviewed: https://review.opendev.org/667668
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=783a692477a4ff953df79661d9d284d84690fc0e
Submitter: Zuul
Branch: stable/stein

commit 783a692477a4ff953df79661d9d284d84690fc0e
Author: Wes Hayutin <email address hidden>
Date: Mon Jun 24 11:50:59 2019 -0600

    remove plotnetcfg from overcloud image yaml

    plotnetcfg is no longer required and is
    failing silently in el7 builds. Remove it.

    Closes-Bug: #1834043
    Change-Id: Ida6c18a983f6330f54a8eb95b40b56b19dd005cf
    (cherry picked from commit 73f27fe37538b9df60ef15c1d31d392ab6c85ef4)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 10.8.0

This issue was fixed in the openstack/tripleo-common 10.8.0 release.

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

This issue was fixed in the openstack/tripleo-common 11.1.0 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.