Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1578802

Summary: [OSP13] Deployment failure when enabling neutron-ovs-hw-offload.yaml
Product: Red Hat OpenStack Reporter: Jan Gutter (Netronome) <jan.gutter>
Component: openstack-tripleo-heat-templatesAssignee: Saravanan KR <skramaja>
Status: CLOSED CURRENTRELEASE QA Contact: Maxim Babushkin <mbabushk>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 13.0 (Queens)CC: abeausol, frikkie.scholtz, jschluet, mark.guinther, mburns, simon.horman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-8.0.2-14.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-18 08:43:33 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:
Bug Depends On: 1571297    
Bug Blocks:    
Attachments:
Description Flags
Output of export DEBUG=true && python /var/lib/docker-puppet/docker-puppet.py none

Description Jan Gutter (Netronome) 2018-05-16 12:13:16 UTC
Created attachment 1437318 [details]
Output of export DEBUG=true && python /var/lib/docker-puppet/docker-puppet.py

Description of problem:

During deployment, puppet cannot apply settings to Open vSwitch on the docker-puppet-neutron volume, because the container is missing a mount. This is because ovs-vsctl cannot access the socket needed to communicate with ovsdb on the host, resulting in a deployment failure.

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

RHOSP13 Beta (openstack-tripleo-heat-templates-8.0.2-11.el7ost.noarch)

How reproducible:

100%

Steps to Reproduce:
1. Note: no special networking hardware is required for testing.
Create a ComputeSriov role as described in:

https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/12/html-single/network_functions_virtualization_planning_and_configuration_guide/

2. 
During overcloud deploy, include the following two environment files:
/usr/share/openstack-tripleo-heat-templates/environments/neutron-ovs-hw-offload.yaml
/usr/share/openstack-tripleo-heat-templates/environments/host-config-and-reboot.yaml

3.
When the ComputeSriov node attempts to apply the catalog to the neutron volume, the deployment fails.

Actual results:

Error: Failed to apply catalog: Execution of '/usr/bin/ovs-vsctl list Open_vSwitch .' returned 1: ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)

Expected results:

A successful deployment.

Additional info:

This issue appears to be the same as the one reported in https://bugs.launchpad.net/tripleo/+bug/1766759

After manually patching /usr/share/openstack-tripleo-heat-templates/docker/docker-puppet.py on the undercloud with the fix in https://review.openstack.org/#/c/564384/ deployment completed successfully.

Comment 1 Saravanan KR 2018-05-17 12:36:07 UTC
The fix is available in openstack-tripleo-heat-templates-8.0.2-14.el7ost version, BZ #1571297. According to the internal repo details, this THT RPM version is part of the beta puddle.

But still the CDN is showing the older version of the RPM. Mike any idea is it not sync?

openstack-tripleo-heat-templates.noarch                                                 8.0.2-11.el7ost                                                      rhel-7-server-openstack-beta-rpms

Comment 2 Jan Gutter (Netronome) 2018-05-17 12:45:14 UTC
Apologies, I didn't find BZ #1571297 in my search... the CDN not pushing the correct version explains why this slipped through. (meaning that the bug description is now woefully out of date...)

Comment 3 Mike Burns 2018-05-17 13:01:39 UTC
Jon, can you help track this down?

Comment 4 Jon Schlueter 2018-05-17 14:11:56 UTC
patch was merged for bug https://bugzilla.redhat.com/show_bug.cgi?id=1571297

Comment 10 Jan Gutter (Netronome) 2018-05-18 08:43:33 UTC
openstack-tripleo-heat-templates-8.0.2-14.el7ost got installed after doing:

  yum clean all
  rm -rf /var/cache/yum
  yum -y upgrade

This means the CDN issues was fixed (at least for me)! Thanks very much. Closing this BZ.