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

Bug 1480226

Summary: rhosp-director: overcloud deployment fails with: Error: modprobe ip_conntrack_proto_sctp returned 1 instead of one of [0]
Product: Red Hat OpenStack Reporter: Patrik Cevela <patrik.cevela>
Component: puppet-tripleoAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact: nlevinki <nlevinki>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 11.0 (Ocata)CC: afazekas, ahrechan, amuller, aschultz, beagles, dbecker, itbrown, jjoyce, jlibosva, jschluet, jstransk, m.andre, mburns, mcornea, morazi, nlevinki, nyechiel, ohochman, oidgar, patrik.cevela, rhel-osp-director-maint, samccann, sasha, slinaber, tvignaud, yprokule
Target Milestone: ---Keywords: ZStream
Target Release: 11.0 (Ocata)Flags: patrik.cevela: needinfo-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-6.1.0-2.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1467616 Environment:
Last Closed: 2017-09-06 18:22:10 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:
Attachments:
Description Flags
deployment show none

Description Patrik Cevela 2017-08-10 12:35:53 UTC
Created attachment 1311737 [details]
deployment show

Overcloud deployment ends with error:

Error: modprobe ip_conntrack_proto_sctp returned 1 instead of one of [0]
Error: /Stage[main]/Tripleo::Profile::Base::Kernel/Kmod::Load[ip_conntrack_proto_sctp]/Exec[modprobe ip_conntrack_proto_sctp]/returns: change from notrun to 0 failed: modprobe ip_conntrack_proto_sctp returned 1 instead of one of [0]

Full deployment status log in attachement


packages version:
openstack-tripleo-common.noarch  6.1.0-2.el7ost
openstack-tripleo-ui.noarch      3.2.0-1.el7ost
puppet-tripleo.noarch            6.5.0-5.el7ost
python-tripleoclient.noarch      6.2.0-1.el7ost
openstack-tripleo.noarch         0.0.8-0.2.4de13b3git.el7ost

Comment 1 Alex Schultz 2017-08-30 20:16:10 UTC
This should have been fixed given the puppet-tripleo version which is the one to address this error as part of Bug 1467616.  What version of the images were being used? Perhaps it was an older version of the images?

Comment 2 Patrik Cevela 2017-08-31 06:54:45 UTC
That was my original assumption - out of date images. So I've double checked if image rpm is up to date and re-import images. Same issue occurred.

It's probably worthy of mention I was on RHEL 7.3, then did upgrade to 7.4 with update of all packages. I didn't tried this on clean system.

Comment 3 Jakub Libosvar 2017-09-04 15:27:17 UTC
The issue is reproducible only on RHEL 7.4 as it doesn't ship the kernel module and the functionality is compiled directly to 7.4 kernel. On 7.3 the functionality is provided as a kernel module and hence the modprobe.

So you are saying you see this issue on RHEL 7.3? Or that you used to have rhel 7.3 and then upgraded, so you see this on RHEL 7.4?

Comment 4 Alex Schultz 2017-09-06 18:22:10 UTC
I made a comment on Bug 1467616 but someone else reported this error today despite having the puppet-tripleo fix. If your THT files don't have https://review.openstack.org/#/c/484418/1/puppet/services/kernel.yaml you may still see this error. Check that the correct kernel_modules name is defined 'nf_contract_proto_sctp' to go with the puppet-tripleo package update. I checked and openstack-tripleo-heat-templates-6.1.0-2.el7ost does contain the correct template.  It should be noted that openstack-tripleo-heat-templates-6.0.0-12.el7ost did not have this patch.

Comment 5 Jakub Libosvar 2017-09-07 08:31:37 UTC
(In reply to Alex Schultz from comment #4)
> I made a comment on Bug 1467616 but someone else reported this error today
> despite having the puppet-tripleo fix. If your THT files don't have
> https://review.openstack.org/#/c/484418/1/puppet/services/kernel.yaml you
> may still see this error. Check that the correct kernel_modules name is
> defined 'nf_contract_proto_sctp' to go with the puppet-tripleo package
> update. I checked and openstack-tripleo-heat-templates-6.1.0-2.el7ost does
> contain the correct template.  It should be noted that
> openstack-tripleo-heat-templates-6.0.0-12.el7ost did not have this patch.

The fix was to expect either 0 or 1 exit code from modprobe. As per puppet output it expected just [0], which means the fix was not in place.

Comment 6 Alex Schultz 2017-09-07 18:46:04 UTC
No the problem that the fix was in place for the newer module name.  The puppet fix was for nf_conntrack_proto_sctp not ip_conntrack_proto_sctp. We had a previous THT fix to rename ip_conntrack_proto_sctp to nf_conntrack_proto_sctp in the kernel.yaml in openstack-tripleo-heat-templates.  Since that was not updated, the puppet fix did not work as expected. This is a case of mismatched openstack-tripleo-heat-templates to puppet-tripleo packages.

Comment 7 Jakub Libosvar 2017-09-08 07:57:37 UTC
Ok, understood. Thanks for explanation.