Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-22584

PERF 1.0 stack deployment failure in ambari-2.6.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.6.1
    • 2.6.1
    • ambari-server
    • None

    Description

      While initiating PERF 1.0 stack deployment with ambari 2.6.1.0-84 got the following errors while installation of services:

      stderr:   /home/perf-0051/var/lib/ambari-agent/data/errors-1973.txt
      
      Traceback (most recent call last):
        File "/home/perf-0051/var/lib/ambari-agent/cache/stacks/PERF/1.0/hooks/before-INSTALL/scripts/hook.py", line 67, in <module>
          BeforeInstallHook().execute()
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 374, in execute
          self.save_component_version_to_structured_out(self.command_name)
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 244, in save_component_version_to_structured_out
          stack_select_package_name = stack_select.get_package_name()
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/stack_select.py", line 110, in get_package_name
          package = get_packages(PACKAGE_SCOPE_STACK_SELECT, service_name, component_name)
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/stack_select.py", line 186, in get_packages
          raise Fail("The stack packages are not defined on the command. Unable to load packages for the stack-select tool")
      resource_management.core.exceptions.Fail: The stack packages are not defined on the command. Unable to load packages for the stack-select tool
      stdout:   /home/perf-0051/var/lib/ambari-agent/data/output-1973.txt
      
      Before Any Hook
      Before Install Hook
      2017-12-03 06:41:28,563 - Execute['cp -n /home/perf-0051/var/lib/ambari-agent/cache/stacks/PERF/1.0/hooks/before-INSTALL/scripts/conf-select.py /usr/bin/conf-select'] {'user': 'root'}
      2017-12-03 06:41:28,652 - Execute['chmod a+x /usr/bin/conf-select'] {'user': 'root'}
      2017-12-03 06:41:28,719 - Execute['cp -n /home/perf-0051/var/lib/ambari-agent/cache/stacks/PERF/1.0/hooks/before-INSTALL/scripts/distro-select.py /usr/bin/distro-select'] {'user': 'root'}
      2017-12-03 06:41:28,788 - Execute['chmod a+x /usr/bin/distro-select'] {'user': 'root'}
      
      Command failed after 1 tries
      

      Attachments

        Issue Links

          Activity

            People

              mpapirkovskyy Papirkovskyy Myroslav
              mpapirkovskyy Papirkovskyy Myroslav
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: