I am trying to do a setup to test scale of ambari server with Vagrant VMs
on my machine with PERF stack.

I've been able to successfully create 5 VMs (with 10 simulated each) -
with minor manual modification, but stuck at deploying a cluster, as
service installation fails

Attached are the files (Blueprint, ClusterCreation Template and Error).

*ASK:  Can someone help with the solution?  *
*It'll be great if there is a Step-By-Step instructions document that I can
follow to setup and test with scale.*

Hit and Trial way of setting up things is consuming lot of time.  your help
in this regard will be truly appreciable.

-- 
*Warm Regards,*
*Sandeep.*
*Happiness is not the destination, It's the journey.*
Traceback (most recent call last):
  File 
"/home/ambari-0041/var/lib/ambari-agent/cache/stacks/PERF/1.0/services/GRUMPY/package/scripts/dwarf.py",
 line 42, in <module>
    Grumpy().execute()
  File 
"/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", 
line 329, in execute
    method(env)
  File 
"/usr/lib/ambari-agent/lib/resource_management/libraries/script/dummy.py", line 
85, in install
    Execute(command)
  File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 166, 
in __init__
    self.env.run()
  File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", 
line 160, in run
    self.run_action(resource, action)
  File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", 
line 124, in run_action
    provider_action()
  File 
"/usr/lib/ambari-agent/lib/resource_management/core/providers/system.py", line 
262, in action_run
    tries=self.resource.tries, try_sleep=self.resource.try_sleep)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 72, 
in inner
    result = function(command, **kwargs)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 102, 
in checked_call
    tries=tries, try_sleep=try_sleep, 
timeout_kill_strategy=timeout_kill_strategy)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 150, 
in _call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 303, 
in _call
    raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of 
'ambari-python-wrap /usr/bin/distro-select install 1.0.1.0-1' returned 2. 
ambari-python-wrap: can't open file '/usr/bin/distro-select': [Errno 2] No such 
file or directory

Attachment: blueprint.json
Description: application/json

Attachment: cluster.json
Description: application/json

Reply via email to