Bug 1048247
| Summary: | [RHSC] redhat-access-plugin-rhsc failed to install while installing rhsc | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Shruti Sampat <ssampat> | ||||
| Component: | redhat-access-plugin-rhsc | Assignee: | Keith Robertson <kroberts> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Shruti Sampat <ssampat> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 2.1 | CC: | barumuga, dpati, dtsang, jmoran, knarra, mmahoney, pprakash, rhs-bugs, sdharane, sshumake | ||||
| Target Milestone: | --- | Keywords: | ZStream | ||||
| Target Release: | RHGS 2.1.2 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | redhat-access-plugin-rhsc-2.1.2-3.el6rhs | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-02-25 08:14:03 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
Shruti Sampat
2014-01-03 13:40:36 UTC
Following error is seen during installation:
----
Installing : rhsc-dbscripts-2.1.2-0.32.el6rhs.noarch 321/328
Error in PREIN scriptlet in rpm package redhat-access-plugin-rhsc-2.1.2-2.el6rhs.noarch
useradd: invalid home directory '%{engine_state}'
error: %pre(redhat-access-plugin-rhsc-2.1.2-2.el6rhs.noarch) scriptlet failed, exit status 3
error: install: %pre scriptlet failed (2), skipping redhat-access-plugin-rhsc-2.1.2-2.el6rhs
Installing : rhsc-webadmin-portal-2.1.2-0.32.el6rhs.noarch
----
The code that is failing is from bug 1007751[1]. Bala you provided this code and I know it worked in 2.1.1. Do you have any idea why this is now failing? Is it possible the "%{engine_state} variable is no longer being created by rhsc? [1] - https://bugzilla.redhat.com/show_bug.cgi?id=1007751 Created attachment 845929 [details]
The fix is attached
Spenser, the issue is about missing %{engine_state}. This failure occurs when there is no user %{engine_user} and/or group %{engine_group} present in the system.
I have attached a patch which fixes this.
Verified as fixed with redhat-access-plugin-rhsc-2.1.2-3.el6rhs and rhsc-2.1.2-0.33.el6rhs.noarch. The access plugin installs along with RHSC. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2014-0208.html |