Bug 1394843

Summary: No dhcp capsule feature available after upgrade to 7.3
Product: Red Hat Satellite Reporter: Mihir Lele <mlele>
Component: DHCP & DNSAssignee: Lukas Zapletal <lzap>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 6.2.3CC: bbuckingham, jcallaha, lzap, mlele, ohadlevy, stbenjam
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-13 15:25:02 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:

Description Mihir Lele 2016-11-14 14:57:19 UTC
Description of problem:

No dhcp capsule feature available after upgrade to 7.3

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


How reproducible:

Always reproducible

Steps to Reproduce:
1. Upgrade the Satellite 6.2 from rhel 7.2 to 7.3
 
Actual results:

dhcp is not listed as a capsule feature.

Expected results:

dhcp feature should be enabled 

Additional info:

This issue is caused, because the permissions of /etc/dhcp folder gets changed from 755 to 750 after upgrading to rhel 7.3

Comment 3 Ohad Levy 2016-11-15 21:36:19 UTC
does re-running the installer solves this issue?

Comment 4 Mihir Lele 2016-11-16 08:42:02 UTC
Hello Ohad,

After changing permissions to 755 for /etc/dhcp, I ran the satellite-installer again with dhcp as true, and the dhcp feature re-eappeared after doing a refresh feature. 

Br. Mihir

Comment 5 Lukas Zapletal 2016-11-23 10:28:43 UTC
Sorry for the delay, I can confirm, we set some file permissions that are replaced by RPM package during upgrade.

I wonder if extender attributes or hardlink could help here.

Comment 7 Lukas Zapletal 2016-11-28 13:53:30 UTC
I think the best way to handle this (until we figure out how to properly do this in Puppet) is to error out during proxy initialization completely (rather than disabling a module). If you agree, let's change this bug accordingly.

I also think that putting this into Sat docs won't help much - this happens during regular system update rather than when doing Satellite upgrade or maintenance. Users won't be simply reading this when this happens usually.

Comment 8 Stephen Benjamin 2016-12-13 15:25:02 UTC
Pretty sure this is a duplicate of BZ1156371

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