Bug 1941602

Summary: Image build hitting dependencies issues, nothing provides python3-flake8 >= 3.6.0 needed by diskimage-builder-3.7.1-0.20210309093226.a0fd571.el8ost.noarch
Product: Red Hat OpenStack Reporter: Sandeep Yadav <sandyada>
Component: python-flake8Assignee: Jon Schlueter <jschluet>
Status: CLOSED NEXTRELEASE QA Contact: nlevinki <nlevinki>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 17.0 (Wallaby)CC: apevec, jjoyce, jschluet, lhh, mburns, shrjoshi, whayutin
Target Milestone: AlphaKeywords: Triaged
Target Release: 17.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: python-flake8-3.7.7-6.el8ost pyflakes-2.1.1-5.el8ost python-pycodestyle-2.5.0-6.el8ost python-entrypoints-0.3-4.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-12 17:48:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sandeep Yadav 2021-03-22 13:25:38 UTC
Description of problem:

rhos-17: Image builds are failing with deps issue "nothing provides python3-flake8 >= 3.6.0 needed by diskimage-builder-3.7.1":-

~~~
RuntimeError: Install required packages failed: b"Last metadata expiration check: 0:01:53 ago on Sun 21 Mar 2021 04:22:08 PM EDT.\nPackage openstack-tripleo-common-14.0.1-0.20210221001955.64b6411.el8ost.noarch is already installed.\nPackage xfsprogs-5.0.0-4.el8.x86_64 is already installed.\nError: \n Problem 1: package openstack-tripleo-image-elements-12.2.1-0.20210111202309.d072a79.el8ost.noarch requires diskimage-builder, but none of the providers can be installed\n  - cannot install the best candidate for the job\n  - nothing provides python3-flake8 >= 3.6.0 needed by diskimage-builder-3.7.1-0.20210309093226.a0fd571.el8ost.noarch\n  - nothing provides python3-flake8 >= 3.6.0 needed by diskimage-builder-3.7.1-0.20210317082012.4aae99e.el8ost.noarch\n Problem 2: package openstack-ironic-python-agent-builder-2.4.1-0.20210304042925.863735c.el8ost.noarch requires diskimage-builder >= 3.4.0, but none of the providers can be installed\n  - cannot install the best candidate for the job\n  - nothing provides python3-flake8 >= 3.6.0 needed by diskimage-builder-3.7.1-0.20210309093226.a0fd571.el8ost.noarch\n  - nothing provides python3-flake8 >= 3.6.0 needed by diskimage-builder-3.7.1-0.20210317082012.4aae99e.el8ost.noarch\n(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)\n"
clean_up BuildOvercloudImage: Install required packages failed: b"Last metadata expiration check: 0:01:53 ago on Sun 21 Mar 2021 04:22:08 PM EDT.\nPackage openstack-tripleo-common-14.0.1-0.20210221001955.64b6411.el8ost.noarch is already installed.\nPackage xfsprogs-5.0.0-4.el8.x86_64 is already installed.\nError: \n Problem 1: package openstack-tripleo-image-elements-12.2.1-0.20210111202309.d072a79.el8ost.noarch requires diskimage-builder, but none of the providers can be installed\n  - cannot install the best candidate for the job\n  - nothing provides python3-flake8 >= 3.6.0 needed by diskimage-builder-3.7.1-0.20210309093226.a0fd571.el8ost.noarch\n  - nothing provides python3-flake8 >= 3.6.0 needed by diskimage-builder-3.7.1-0.20210317082012.4aae99e.el8ost.noarch\n Problem 2: package openstack-ironic-python-agent-builder-2.4.1-0.20210304042925.863735c.el8ost.noarch requires diskimage-builder >= 3.4.0, but none of the providers can be installed\n  - cannot install the best candidate for the job\n  - nothing provides python3-flake8 >= 3.6.0 needed by diskimage-builder-3.7.1-0.20210309093226.a0fd571.el8ost.noarch\n  - nothing provides python3-flake8 >= 3.6.0 needed by diskimage-builder-3.7.1-0.20210317082012.4aae99e.el8ost.noarch\n(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)\n"
END return value: 1
~~~~

Version-Release number of selected component (if applicable):

RHOS-17, Integration line

How reproducible:

* Everytime


Steps to Reproduce:
1. Try image build for RHOS17


Actual results:

Image build failing with deps issue nothing provides python3-flake8 >= 3.6.0 needed by diskimage-builder-3.7.1-0.20210317082012.4aae99e.el8ost.noarch

Expected results:
Image build should not fail with deps issue

Comment 2 Jon Schlueter 2021-03-22 17:44:53 UTC
working on updating python-flake8
which pulls in the following as well

No matching package to install: 'python3-entrypoints >= 0.3'                                                                                                         
No matching package to install: 'python3-pycodestyle >= 2.5.0'                                                                                                       
No matching package to install: 'python3-pyflakes >= 2.1.0' 

pyflakes-2.1.1-5.el8ost
python-pycodestyle-2.5.0-6.el8ost

Comment 3 Jon Schlueter 2021-03-22 18:49:25 UTC
python-entrypoints-0.3-4.el8ost requires python-flit-1.3-4.el8ost