Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-5689

need correct group definitions in el7 test clients

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • None
    • None
    • el7 test nodes
    • 3
    • 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 LU-5641.

      I think it's a TEI responsibility to setup users and groups on installed test nodes that conform to our embedded assumptions.

      Attachments

        Issue Links

          Activity

            [LU-5689] need correct group definitions in el7 test clients

            addressed by fix for LU-5641

            bogl Bob Glossman (Inactive) added a comment - addressed by fix for LU-5641

            Moving to an LU ticket per jlevi

            joshua Joshua Kugler (Inactive) added a comment - Moving to an LU ticket per jlevi

            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.

            joshua Joshua Kugler (Inactive) added a comment - 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.

            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.

            bogl Bob Glossman (Inactive) added a comment - 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.

            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.

            joshua Joshua Kugler (Inactive) added a comment - 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.
            mdiep Minh Diep added a comment -

            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

            mdiep Minh Diep added a comment - 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

            People

              wc-triage WC Triage
              bogl Bob Glossman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: