Ask Your Question
0

Cluster Creation failed : remote command exception

asked 2019-05-04 22:15:11 -0600

rogue0197 gravatar image

I have working Devstack configuration with Sahara Installed. When I try to launch Hadoop Clusters with MapR Image and Ambari Images , It fails with the following error

For Ambari Cluster

Creating cluster failed for the following reason(s): RemoteCommandException: Error during command execution: "/tmp/96c89e7e-36c1-48d1-a0f7-fbff8ae59fbe.sh" Return code: 1 STDERR: curl: (6) Could not resolve host: http://tarballs.openstack.org STDOUT: Could not download Swift Hadoop FS implementation. Aborting Error ID: 7b4069fb-fedc-46f2-9eee-25103e84384b Error ID: f131ae8a-1278-4228-8eef-78d6c8e87fb1

For MapR Cluster

Creating cluster failed for the following reason(s): RemoteCommandException: Error during command execution: "/tmp/3eb0ba2c-671b-45f4-8557-4c8fee933844.sh" Return code: 1 STDOUT: START: installing Scala https://www.scala-lang.org is unreachable Error ID: f0f2029f-2621-4c96-adb1-f882613519a8 Error ID: ba2d4657-71ab-4b4a-858c-0b679b938ddf

What Could be the Problem and How to solve it ? Thanks

  • I believe the problem is with the internet access in the instances launched by sahara.
  • I am able to ssh into instances in the local network. I am able to ping host machine from my instance.
  • But I can't ping http://google.com or http://github.com from the instance.
  • How do I get the external internet access in the instance so that it uses the host internet connectivity ?
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-05-05 01:21:28 -0600

Sahara wants to download data from the internet, but your Devstack is not connected to the internet or doesn't resolve the two domain names openstack.org and scala-lang.org.

To connect Devstack to your network, see https://docs.openstack.org/devstack/l....

edit flag offensive delete link more

Comments

Instead of PUBLIC_INTERFACE i have used FLAT_INTERFACEfrom https://docs.openstack.org/devstack/latest/guides/multinode-lab.html (https://docs.openstack.org/devstack/l...) Still I cant connect to network from instances. I have tried changing br-ex ip on to eno1 ip But no Use. Any other suggestions , where I am going wrong ?

rogue0197 gravatar imagerogue0197 ( 2019-05-06 00:16:06 -0600 )edit

Not sure, but perhaps you need to set both on the controller? Also, to access instances from outside:

HOST_IP=your-IP    
FLOATING_RANGE=your-floating-ip-range
PUBLIC_NETWORK_GATEWAY=your-gateway
Q_FLOATING_ALLOCATION_POOL=start=first-floating-ip,end=last-floating-ip
Bernd Bausch gravatar imageBernd Bausch ( 2019-05-06 01:07:47 -0600 )edit

By default, Devstack sets up an "external" network that is contained inside the Devstack host(s). I don't know how it works in a multi-node setup, but my guess is that you need to define the above floating ip parameters to connect it to the real external network.

Bernd Bausch gravatar imageBernd Bausch ( 2019-05-06 01:09:35 -0600 )edit

Alternatively, an old blog entry that sets up a DVR (distributed router) configuration on a multi-node Devstack, which seems to be connected to the internet: https://assafmuller.com/2015/04/06/mu....

Bernd Bausch gravatar imageBernd Bausch ( 2019-05-06 01:11:47 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2019-05-04 21:40:50 -0600

Seen: 29 times

Last updated: May 05