Bug 1443270

Summary: Broken rpm dependencies during installation
Product: OpenShift Container Platform Reporter: Roberto Polli <rpolli>
Component: InstallerAssignee: Scott Dodson <sdodson>
Status: CLOSED DUPLICATE QA Contact: Johnny Liu <jialiu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: aos-bugs, bvincell, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-19 00:42:57 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 Roberto Polli 2017-04-19 00:35:03 UTC
Description of problem:

Installing via openshift-on-openstack (rhosp 9, ocp 3.5 ) I get a broken rpm dependency while installing atomic-openshift-sdn-ovs-3.5.5.5-1.git.0.f2e87ab.el7.x86_64.

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


How reproducible: Always with 3.5. OCP 3.4 works fine.


Steps to Reproduce:
1.  run openshift-on-openstack templates
2.  login to bastion host 
3.  run the playbook with

ansible-playbook -i /var/lib/ansible/inventory \
  /var/lib/ansible/playbooks/main.yml


Actual results:

fatal: [shift-16-master-2.example.com]: FAILED! => {
    "changed": true,                                                                                                                                                                                                                         
    "failed": true,                                                                                                                                                                                                                          
    "rc": 1,                                                                                                                                                                                                                                 
    "results": [                                                                                                                                                                                                                             
        "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package atomic-openshift-sdn-ovs.x86_64 0:3.5.5.5-1.git.0.f2e87ab.el7 will be installed\n--> Processing Dependency: openvswitch >= 2.3.1 for package: atomic-openshift-sdn-ovs-3.5.5.5-1.git.0.f2e87ab.el7.x86_64\n--> Processing Dependency: bridge-utils for package: atomic-openshift-sdn-ovs-3.5.5.5-1.git.0.f2e87ab.el7.x86_64\n--> Running transaction check\n---> Package atomic-openshift-sdn-ovs.x86_64 0:3.5.5.5-1.git.0.f2e87ab.el7 will be installed\n--> Processing Dependency: openvswitch >= 2.3.1 for package: atomic-openshift-sdn-ovs-3.5.5.5-1.git.0.f2e87ab.el7.x86_64\n---> Package bridge-utils.x86_64 0:1.5-9.el7 will be installed\n--> Finished Dependency Resolution\nError: Package: atomic-openshift-sdn-ovs-3.5.5.5-1.git.0.f2e87ab.el7.x86_64 (rhel-7-server-ose-3.5-rpms)\n           Requires: openvswitch >= 2.3.1\n**********************************************************************\nyum can be configured to try to resolve such errors by temporarily enabling\ndisabled repos and searching for missing dependencies.\nTo enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf\n**********************************************************************\n\n You could try using --skip-broken to work around the problem\n You could try running: rpm -Va --nofiles --nodigest\n"                                                                                                                                                                                                                                
    ]                                                                                                                                                                                                                                        
}                                                                                                                                                                                                                                            

MSG:                                                                                                                                                                                                                                         

Error: Package: atomic-openshift-sdn-ovs-3.5.5.5-1.git.0.f2e87ab.el7.x86_64 (rhel-7-server-ose-3.5-rpms)                                                                                                                                     
           Requires: openvswitch >= 2.3.1                                                                                                                                                                                                    


Expected results:

All success

Additional info:

1.  /etc/origin/cloudprovider/openstack.conf uses a v3 keystone endpoint
2. yum repolist is here https://paste.fedoraproject.org/paste/ukDQScVGB-eekwjLqg-7tl5M1UNdIGYhyRLivL9gydE=

Comment 1 Scott Dodson 2017-04-19 00:42:57 UTC
You need to enable rhel-7-fast-datpath-rpms per the documentation

https://docs.openshift.com/container-platform/3.5/install_config/install/host_preparation.html

*** This bug has been marked as a duplicate of bug 1442910 ***

Comment 2 Roberto Polli 2017-04-19 08:57:31 UTC
Thx++,

I'll try to patch the openshift-on-openstack playbook!