Bug 1578802 - [OSP13] Deployment failure when enabling neutron-ovs-hw-offload.yaml
Summary: [OSP13] Deployment failure when enabling neutron-ovs-hw-offload.yaml
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Saravanan KR
QA Contact: Maxim Babushkin
URL:
Whiteboard:
Depends On: 1571297
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-16 12:13 UTC by Jan Gutter (Netronome)
Modified: 2018-05-18 08:43 UTC (History)
6 users (show)

Fixed In Version: openstack-tripleo-heat-templates-8.0.2-14.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-18 08:43:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Output of export DEBUG=true && python /var/lib/docker-puppet/docker-puppet.py (48.27 KB, text/plain)
2018-05-16 12:13 UTC, Jan Gutter (Netronome)
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1766759 0 None None None 2018-05-16 12:13:15 UTC
OpenStack gerrit 564384 0 None stable/queens: MERGED tripleo-heat-templates: Add volumes list of docker-puppet container when merging config volumes (I70972ad2fc339c9316befd... 2018-05-17 14:07:43 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.