Ask Your Question
1

Sahara Can't Configure Cluster - UnicodeDecodeError

asked 2014-07-29 18:12:08 -0600

Nastooh gravatar image

updated 2014-08-07 15:17:58 -0600

During master cluster setup, I get the following error:

...
2014-07-29 23:01:52.436 12471 DEBUG sahara.utils.ssh_remote [-] [cluster01-nodeslavegroup-001] _execute_command took 0.1 seconds to complete _log_command /home/navesta/OpenStack/sahara/sahara/utils/ssh_remote.py:448
2014-07-29 23:01:52.770 12471 INFO sahara.service.ops [-] Cluster status has been changed: id=f59844d4-8feb-4318-8231-972b07f9bb71, New status=Configuring
2014-07-29 23:01:52.771 12471 DEBUG sahara.plugins.vanilla.hadoop2.config [-] Configuring cluster "Cluster01" configure_cluster /home/navesta/OpenStack/sahara/sahara/plugins/vanilla/hadoop2/config.py:36
2014-07-29 23:01:52.773 12471 INFO sahara.swift.swift_helper [-] Swift would be integrated with the following params: [{'name': u'fs.swift.service.sahara.auth.url', 'value': 'http://10.0.0.62:5000/v2.0/tokens/', 'description': ''}, {'name': u'fs.swift.service.sahara.tenant', 'value': u'Sahara', 'description': ''}, {'name': u'fs.swift.service.sahara.http.port', 'value': '8080', 'description': ''}, {'name': u'fs.swift.service.sahara.https.port', 'value': '443', 'description': ''}, {'name': u'fs.swift.service.sahara.public', 'value': 'true', 'description': ''}, {'name': u'fs.swift.service.sahara.auth.endpoint.prefix', 'value': '/endpoints/AUTH_', 'description': ''}, {'name': u'fs.swift.impl', 'value': 'org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem', 'description': ''}]
2014-07-29 23:01:52.775 12471 DEBUG sahara.plugins.vanilla.hadoop2.config [-] Push configs to instance "cluster01-nodemastergroup-001" _push_configs_to_instance /home/navesta/OpenStack/sahara/sahara/plugins/vanilla/hadoop2/config.py:223
2014-07-29 23:01:53.976 12471 DEBUG sahara.utils.ssh_remote [-] [cluster01-nodemastergroup-001] Writing file "/opt/hadoop/etc/hadoop/core-site.xml" _log_command /home/navesta/OpenStack/sahara/sahara/utils/ssh_remote.py:448
2014-07-29 23:01:54.279 12471 DEBUG sahara.utils.ssh_remote [-] [cluster01-nodemastergroup-001] _write_file_to took 0.3 seconds to complete _log_command /home/navesta/OpenStack/sahara/sahara/utils/ssh_remote.py:448
2014-07-29 23:01:54.444 12471 ERROR sahara.service.ops [-] Can't configure cluster 'Cluster01' (reason: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 25: ordinal not in range(128))
2014-07-29 23:01:54.444 12471 TRACE sahara.service.ops Traceback (most recent call last):
2014-07-29 23:01:54.444 12471 TRACE sahara.service.ops   File "/home/navesta/OpenStack/sahara/sahara/service/ops.py", line 140, in _provision_cluster
2014-07-29 23:01:54.444 12471 TRACE sahara.service.ops     plugin.configure_cluster(cluster)
2014-07-29 23:01:54.444 12471 TRACE sahara.service.ops   File "/home/navesta/OpenStack/sahara/sahara/plugins/vanilla/plugin.py", line 56, in configure_cluster
2014-07-29 23:01:54.444 12471 TRACE sahara.service.ops     cluster.hadoop_version).configure_cluster(cluster)
2014-07-29 23:01:54.444 12471 TRACE sahara.service.ops   File "/home/navesta/OpenStack/sahara/sahara/plugins/vanilla/v2_4_1/versionhandler.py", line 61, in configure_cluster
2014-07-29 23:01:54.444 12471 TRACE sahara.service.ops     c.configure_cluster(self.pctx, cluster)
2014-07-29 23:01:54.444 12471 TRACE sahara.service.ops   File "/home/navesta/OpenStack/sahara/sahara/plugins/vanilla/hadoop2/config.py", line 42, in configure_cluster
2014-07-29 23:01:54.444 12471 TRACE sahara.service.ops     configure_instances(pctx, instances)
2014-07-29 23:01:54.444 12471 TRACE sahara.service.ops   File "/home/navesta/OpenStack/sahara/sahara/plugins/vanilla/hadoop2/config.py", line 48, in ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-08-08 12:54:44 -0600

alazarev gravatar image

It looks you are using hadoop2 plugin with non-compatible image. Please make sure you are using image for hadoop2.

edit flag offensive delete link more

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: 2014-07-29 18:12:08 -0600

Seen: 198 times

Last updated: Aug 07 '14