Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-8784

ui: add support for specifying groups

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Image Builder

      Add support for groups:

      • This should include playwright tests.
      • Add some guidance text to suggest users add groups when adding a group to a user.
      • Add help text that says groups for users are automatically created and users are added
      • Consult with UXD for any help
      • Include it with the users area

       

      Issue: Image build is failing with group not found while trying to add user under certain group.

      Steps to reproduce:

      Create a user "test" under group "Org"

      Save the blueprint and click on Build Images

      image build failed with " Group Org doesn't exist "

       

       

      Root cause:

      While the blueprint defines a user (test) and assigns them to the group "Org", the group itself (Org) must be explicitly defined if it doesn't already exist by default in the image. However there is no option to define the group explicitly while creating blueprint.

       

      Expectations:

      There should be an option of defining a group explicitly or group should automatically be created while a user is added to certain group.

       

      Workaround (I tested) seems to be defining the user and group in the bash script in ** First Boot Script :

       
      #!/bin/bash 
      groupadd Org
      useradd -m -s /bin/bash -G Org test
      clouduserecho "test:YourPlainTextPassword" | chpasswd

              mgold@redhat.com Michal Gold
              rhn-support-amiagarw Amit Agarwal
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: