Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-4903

{websphere_application_server} : {unable to install instance as non-root}

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: supported
    • Labels:
      None
    • Template:
      MODULES Bug Template
    • Team:
      Modules
    • Method Found:
      Customer Feedback
    • CS Priority:
      Normal
    • CS Frequency:
      2 - 5-25% of Customers
    • CS Severity:
      3 - Serious
    • CS Business Value:
      5 - $$$$$$
    • CS Impact:
      The websphere module is one of our premier large scale middleware modules and should work for users the way they expect.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Unable to install WebSphere instance as non-root user.
      Module Version: 1.0.0
      Puppet Version: 2016.4.3
      OS Name/Version: RHEL 6.9

      When calling websphere_application_server::instance as a non-root user, it uses the ibm_pkg resource type without relaying the user to use. Therefor ibm_pkg defaults to root. Ibm_pkg calls the 'imcl' command, but it refuses to install the websphere instance because the user which imcl was installed with don't match.

      Desired Behavior:
      Able to install Websphere instance as non-root user

      Actual Behavior:
      Unable install Websphere instance as non-root user

      This can be fixed with the following patch to instance.pp

          ibm_pkg { $title:
            ensure           => 'present',
            package          => $package,
            version          => $version,
            target           => $_target,
            response         => $response_file,
            options          => $install_options,
            repository       => $repository,
            imcl_path        => $imcl_path,
            manage_ownership => true,
            package_owner    => $user,
            package_group    => $group,
      +     user             => $user,
          }
      

      If websphere_application_server::instance is now called with user => 'non-root' the instance installation will succeed.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              eric.putnam Eric Putnam
              Reporter:
              gwelter Gerben Welter
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support