[LU-5689] need correct group definitions in el7 test clients Created: 18/Sep/14 Updated: 30/Sep/14 Resolved: 30/Sep/14 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Bob Glossman (Inactive) | Assignee: | WC Triage |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Environment: |
el7 test nodes |
||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 15800 | ||||||||
| Description |
|
certain tests in our test framework assume that user 'daemon' is a defined member of more than one group. In particular test_103a of sanity.sh assumes that user 'daemon' is a member of group 'bin'. This has been true on all our supported versions up until now. It isn't true on a default install of el7. Failure of this assumption causes test failure. see I think it's a TEI responsibility to setup users and groups on installed test nodes that conform to our embedded assumptions. |
| Comments |
| Comment by Minh Diep [ 18/Sep/14 ] |
|
I think it's the other way around, Lustre tests can not assume such strange setup. TEI setup never do anything to change user (except create test users). the fix should be in lustre test |
| Comment by Joshua Kugler (Inactive) [ 18/Sep/14 ] |
|
Minh is correct. We do not mess with user-level users. The only user we fiddle with are things like sanity user and the like. We do not create or edit system users. I would assume this is a change made in RHEL 7, so the code needs to be changed to reflect that. |
| Comment by Bob Glossman (Inactive) [ 18/Sep/14 ] |
|
still thinking it should be fixed in the environment, not in the test, but willing to consider other opinions. yes, it is something different on el7 from anything earlier. The problem is I don't know how to fix it in lustre tests in such a way that it will do the right thing in new distros yet not mess up old distros. maybe it just needs somebody a bit more clever. |
| Comment by Joshua Kugler (Inactive) [ 30/Sep/14 ] |
|
A lustre test can query the distro on which it is running, no? Also, we don't want to have a special EL7 setup for just our tests, because if the tests pass on our setup, they may then fail when somebody runs the tests (or worse, the software) on stock EL7 that hasn't had the custom modifications. |
| Comment by Joshua Kugler (Inactive) [ 30/Sep/14 ] |
|
Moving to an LU ticket per jlevi |
| Comment by Bob Glossman (Inactive) [ 30/Sep/14 ] |
|
addressed by fix for |