can not start cluster
when I start a cluster, sometimes it can be turn to active state, but sometimes it throws an error as follows:
2013-08-09 10:35:53.936 23506 WARNING savanna.
2013-08-09 10:35:53.939 23506 WARNING savanna.
2013-08-09 10:35:53.941 23506 WARNING savanna.
2013-08-09 10:35:53.941 23506 WARNING savanna.
2013-08-09 10:35:53.942 23506 WARNING savanna.
Traceback (most recent call last):
File "/usr/local/
writers.
File "/usr/local/
result = function(*args, **kwargs)
File "/usr/local/
func(*args, **kwargs)
File "/usr/local/
plugin.
File "/usr/local/
self.
File "/usr/local/
'sudo chown -R $USER:$USER /etc/hadoop'
File "/usr/local/
return execute_
File "/usr/local/
self._ssh = self.helper.
File "/usr/local/
self.
File "/usr/local/
ssh.
File "/usr/local/
retry_
File "/usr/local/
return function()
File "/usr/local/
retry_
File "/usr/local/
socket_
File "/usr/local/
raise socket.error(err, errno.errorcode
error: [Errno 111] ECONNREFUSED
Removing descriptor: 5
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Sahara Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Hello jianfeng2013,
Did you install Savanna in a separate python virtual environment?
In order to do that run: "cd ~; virtualenv savanna-venv"
This will install new virtual environment into savanna-venv directory in your home directory.
Then you can install Savanna inside this virtual environment:
"savanna-
(for more information please visit http://
After that try to create cluster again
Revision history for this message
|
#2 |
I want to known, Does savanna must be installed in the virtual enviroment?
When I create the virtal enviroment, should i assign the argument --no-site-packages ?
Revision history for this message
|
#3 |
You don't need to add this argument.
virtual environment prevents conflicts with existing python packages installed on your system.
you also can install savanna on a in your system path using the following command:
$ pip install savanna
Revision history for this message
|
#4 |
i encounter the same problem,sometimes start cluster successfully displaying active,sometimes display
"File "/opt/stack/
raise socket.error(err, errno.errorcode
error: [Errno 111] ECONNREFUSED"
can someone know whether this is a bug?
Revision history for this message
|
#5 |
about the above problem, i add a detail log.
2013-10-10 19:19:53.320 9109 DEBUG paramiko.transport [-] Ciphers agreed: local=aes128-ctr, remote=aes128-ctr _log /opt/stack/
es/paramiko/
2013-10-10 19:19:53.320 9109 DEBUG paramiko.transport [-] using kex diffie-
local hmac-sha1, remote hmac-sha1; compression: local none, remote none _log /opt/stack/
2013-10-10 19:19:53.348 9109 DEBUG paramiko.transport [-] Switch to new keys ... _log /opt/stack/
2013-10-10 19:19:53.349 9109 DEBUG paramiko.transport [-] Adding ssh-rsa host key for 192.168.64.61: 62220395651f2be
ib/python2.
2013-10-10 19:19:53.349 9109 DEBUG paramiko.transport [-] Trying SSH key b06756077a580e0
aramiko/
2013-10-10 19:19:53.388 9109 DEBUG paramiko.transport [-] userauth is OK _log /opt/stack/
2013-10-10 19:19:53.476 9109 INFO paramiko.transport [-] Authentication (publickey) successful!
2013-10-10 19:19:53.479 9109 DEBUG paramiko.transport [-] [chan 1] Max packet in: 34816 bytes _log /opt/stack/
nel.py:1115
2013-10-10 19:19:53.784 9109 DEBUG paramiko.transport [-] [chan 1] Max packet out: 32768 bytes _log /opt/stack/
nnel.py:1115
2013-10-10 19:19:53.784 9109 INFO paramiko.transport [-] Secsh channel 1 opened.
2013-10-10 19:19:53.788 9109 DEBUG paramiko.transport [-] [chan 1] Sesch channel 1 request ok _log /opt/stack/
nel.py:1115
2013-10-10 19:19:53.792 9109 INFO paramiko.
2013-10-10 19:19:53.793 9109 DEBUG paramiko.
ko/sftp.py:132
2013-10-10 19:19:53.794 9109 DEBUG paramiko.
kages/paramiko/
2013-10-10 19:19:53.795 9109 DEBUG paramiko.
2
2013-10-10 19:19:53.797 9109 DEBUG paramiko.
y:132
2013-10-10 19:19:53.798 9109 DEBUG paramiko.
amiko/sftp.py:132
2013-10-10 19:19:53.799 9109 DEBUG paramiko.
2
2013-10-10 19:19:53.801 9109 DEBUG paramiko.transport [-] [chan 2] Max packet in: 34816 bytes _log /opt/stack/
nel.py:1115
2013-10-10 19:19:53.802 9109 DEBUG paramiko.transport [-] [chan 2] Max packet out: 32768 bytes _log /opt/stack/
nnel.py:1115
2013-10-10 19:19:53.802 9109 INFO paramiko.transport [-] Secsh channel 2 opened.
2013-10-10 19:19:53.804 9109 DEBUG paramiko.transport [-] [chan 2] Sesch channel 2 request ok _log /opt/stack/
2013-10-10 19:19:53.838 9109 DEBUG paramiko.transport [-] [chan 2] EOF received (2) _log /opt/stack/
2013-10-10 19:19:53.838 9109 DEBUG paramiko.transport [-] [chan 2] EOF sent (2) _log /opt/stack/
2013-10-10 19:19:53.839 9109 INFO paramiko.
2013-10-10 19:19:53.839 9109 DEBUG paramiko.transport [-] [chan 1] EOF sent (1) _log /opt/stack/
2013-10-10 19:19:53.904 9109 ERROR savanna.context [-] Thread 'cluster-
2013-10-10 19:19:53.904 9109 TRACE savanna.context Traceback (most recent call last):
2013-10-10 19:19:53.904 9109 TRACE savanna.context File "/opt/stack/
2013-10-10 19:19:53.904 9109 TRACE savanna.context func(*args, **kwargs)
2013-10-10 19:19:53.904 9109 TRACE savanna.context File "/opt/stack/
2013-10-10 19:19:53.904 9109 TRACE savanna.context plugin.
2013-10-10 19:19:53.904 9109 TRACE savanna.context File "/opt/stack/
2013-10-10 19:19:53.904 9109 TRACE savanna.context utils.get_
2013-10-10 19:19:53.904 9109 TRACE savanna.context File "/opt/stack/
2013-10-10 19:19:53.904 9109 TRACE savanna.context remote.
2013-10-10 19:19:53.904 9109 TRACE savanna.context File "/opt/stack/
2013-10-10 19:19:53.904 9109 TRACE savanna.context return write_files_
2013-10-10 19:19:53.904 9109 TRACE savanna.context File "/opt/stack/
2013-10-10 19:19:53.904 9109 TRACE savanna.context self._sftp = self.ssh_
2013-10-10 19:19:53.904 9109 TRACE savanna.context File "/opt/stack/
2013-10-10 19:19:53.904 9109 TRACE savanna.context self._ssh = self.helper.
2013-10-10 19:19:53.904 9109 TRACE savanna.context File "/opt/stack/
2013-10-10 19:19:53.904 9109 TRACE savanna.context self.instance.
2013-10-10 19:19:53.904 9109 TRACE savanna.context File "/opt/stack/
2013-10-10 19:19:53.904 9109 TRACE savanna.context ssh.connect(host, username=username, pkey=private_key)
2013-10-10 19:19:53.904 9109 TRACE savanna.context File "/opt/stack/
2013-10-10 19:19:53.904 9109 TRACE savanna.context retry_on_
2013-10-10 19:19:53.904 9109 TRACE savanna.context File "/opt/stack/
2013-10-10 19:19:53.904 9109 TRACE savanna.context return function()
2013-10-10 19:19:53.904 9109 TRACE savanna.context File "/opt/stack/
2013-10-10 19:19:53.904 9109 TRACE savanna.context retry_on_
2013-10-10 19:19:53.904 9109 TRACE savanna.context File "/opt/stack/
2013-10-10 19:19:53.904 9109 TRACE savanna.context socket_checkerr(fd)
2013-10-10 19:19:53.904 9109 TRACE savanna.context File "/opt/stack/
2013-10-10 19:19:53.904 9109 TRACE savanna.context raise socket.error(err, errno.errorcode
2013-10-10 19:19:53.904 9109 TRACE savanna.context error: [Errno 111] ECONNREFUSED
2013-10-10 19:19:53.904 9109 TRACE savanna.context
Revision history for this message
|
#6 |
for this question, there is also situation that every thing will be normal when i start in debug mode in the course of unormal ssh connection .
Revision history for this message
|
#7 |
Hi gws,
I am having a similar situation, I am using Mirantis Fuel 4.0, I used image[centos-
Savanna logs have something like ' failed execution chown $USER:$USER /etc/hadoop ,RuntimeError : node newcluster_
Do you have any idea about this? I am stuck with this for quite some time :(.Since I am using Fuel installer, it is supposed to take care of all configuration after ti launch cluster using a registered image.Any help is appreciated.
Thanks.
Revision history for this message
|
#8 |
Hi Gowri,
Could you please provide savanna stacktrace on this error?
Revision history for this message
|
#9 |
Hi Andrew Lazarev,
1.The trace is as follows:
2014-02-05 14:15:24.518 19770 WARNING savanna.
2014-02-05 14:15:24.586 19770 INFO savanna.
2014-02-05 14:15:24.586 19770 INFO savanna.
2014-02-05 14:15:24.618 19770 INFO urllib3.
2014-02-05 14:15:24.913 19770 INFO urllib3.
2014-02-05 14:15:25.214 19770 ERROR savanna.context [-] Thread 'cluster-
2014-02-05 14:15:25.214 19770 TRACE savanna.context Traceback (most recent call last):
2014-02-05 14:15:25.214 19770 TRACE savanna.context File "/usr/lib/
2014-02-05 14:15:25.214 19770 TRACE savanna.context func(*args, **kwargs)
2014-02-05 14:15:25.214 19770 TRACE savanna.context File "/usr/lib/
2014-02-05 14:15:25.214 19770 TRACE savanna.context i.create_
2014-02-05 14:15:25.214 19770 TRACE savanna.context File "/usr/lib/
2014-02-05 14:15:25.214 19770 TRACE savanna.context _rollback_
2014-02-05 14:15:25.214 19770 TRACE savanna.context File "/usr/lib/
2014-02-05 14:15:25.214 19770 TRACE savanna.context six.reraise(
2014-02-05 14:15:25.214 19770 TRACE savanna.context File "/usr/lib/
2014-02-05 14:15:25.214 19770 TRACE savanna.context _await_
2014-02-05 14:15:25.214 19770 TRACE savanna.context File "/usr/lib/
2014-02-05 14:15:25.214 19770 TRACE savanna.context if _check_
2014-02-05 14:15:25.214 19770 TRACE savanna.context File "/usr/lib/
2014-02-05 14:15:25.214 19770 TRACE savanna.context raise RuntimeError("node %s has error status" % server.name)
2014-02-05 14:15:25.214 19770 TRACE savanna.context RuntimeError: node ostf-test-
2014-02-05 14:15:25.214 19770 TRACE savanna.context
2014-02-05 14:15:38.165 19770 INFO savanna.service.api [-] Cluster status has been changed: id=3d244250-
2014-02-05 14:18:17.791 19770 INFO urllib3.
2014-02-07 04:26:21.673 19770 INFO urllib3.
2014-02-07 04:26:22.106 19770 INFO savanna.service.api [-] Cluster status has been changed: id=2da3e9b5-
2014-02-07 04:26:22.215 19770 INFO savanna.service.api [-] Cluster status has been changed: id=2da3e9b5-
2014-02-07 04:26:22.298 19770 INFO savanna.
2014-02-07 04:26:22.367 19770 INFO urllib3.
2014-02-07 04:26:23.014 19770 INFO urllib3.
2014-02-07 04:26:23.681 19770 INFO savanna.
2014-02-07 04:26:23.706 19770 INFO urllib3.
2014-02-07 04:26:39.860 19770 INFO urllib3.
2014-02-07 04:26:39.920 19770 INFO urllib3.
2014-02-07 04:26:49.243 19770 INFO urllib3.
2014-02-07 04:26:50.303 19770 INFO savanna.
2014-02-07 04:26:50.371 19770 INFO urllib3.
2014-02-07 04:26:50.464 19770 INFO urllib3.
2014-02-07 04:26:51.563 19770 INFO savanna.
2014-02-07 04:26:51.612 19770 INFO urllib3.
2014-02-07 04:26:59.013 19770 INFO urllib3.
2014-02-07 04:27:01.131 19770 INFO urllib3.
2014-02-07 04:27:02.751 19770 INFO savanna.
2014-02-07 04:27:02.853 19770 INFO savanna.
2014-02-07 04:27:02.856 19770 INFO urllib3.
2014-02-07 04:27:02.857 19770 INFO urllib3.
2014-02-07 04:27:04.011 19770 INFO savanna.service.api [-] Cluster status has been changed: id=2da3e9b5-
2014-02-07 04:27:04.018 19770 INFO savanna.
2014-02-07 04:27:04.019 19770 WARNING savanna.
2014-02-07 04:27:04.022 19770 INFO savanna.
2014-02-07 04:27:04.023 19770 INFO savanna.
2014-02-07 04:27:04.023 19770 INFO savanna.
2014-02-07 04:27:04.036 19770 WARNING savanna.
2014-02-07 04:27:04.036 19770 WARNING savanna.
2014-02-07 04:27:04.037 19770 INFO savanna.
2014-02-07 04:27:04.038 19770 WARNING savanna.
2014-02-07 04:27:04.039 19770 INFO savanna.
2014-02-07 04:27:04.039 19770 INFO savanna.
2014-02-07 04:27:04.039 19770 INFO savanna.
2014-02-07 04:27:04.043 19770 WARNING savanna.
2014-02-07 04:27:04.043 19770 WARNING savanna.
2014-02-07 04:27:04.046 19770 INFO urllib3.
2014-02-07 04:27:04.048 19770 INFO urllib3.
2014-02-07 04:27:04.662 19770 ERROR savanna.context [-] Thread 'vanilla-
Return code: 1
STDERR:
chown: cannot access `/etc/hadoop': No such file or directory
'
2014-02-07 04:27:04.662 19770 TRACE savanna.context Traceback (most recent call last):
2014-02-07 04:27:04.662 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:27:04.662 19770 TRACE savanna.context func(*args, **kwargs)
2014-02-07 04:27:04.662 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:27:04.662 19770 TRACE savanna.context 'sudo chown -R $USER:$USER /etc/hadoop'
2014-02-07 04:27:04.662 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:27:04.662 19770 TRACE savanna.context raise_when_error)
2014-02-07 04:27:04.662 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:27:04.662 19770 TRACE savanna.context return self._run_
2014-02-07 04:27:04.662 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:27:04.662 19770 TRACE savanna.context return self._run(func, *args, **kwargs)
2014-02-07 04:27:04.662 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:27:04.662 19770 TRACE savanna.context return procutils.
2014-02-07 04:27:04.662 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:27:04.662 19770 TRACE savanna.context raise SubprocessExcep
2014-02-07 04:27:04.662 19770 TRACE savanna.context SubprocessExcep
2014-02-07 04:27:04.662 19770 TRACE savanna.context Return code: 1
2014-02-07 04:27:04.662 19770 TRACE savanna.context STDERR:
2014-02-07 04:27:04.662 19770 TRACE savanna.context chown: cannot access `/etc/hadoop': No such file or directory
2014-02-07 04:27:04.662 19770 TRACE savanna.context
2014-02-07 04:27:04.662 19770 TRACE savanna.context
2014-02-07 04:27:04.676 19770 ERROR savanna.context [-] Thread 'vanilla-
Return code: 1
STDERR:
chown: cannot access `/etc/hadoop': No such file or directory
'
2014-02-07 04:27:04.676 19770 TRACE savanna.context Traceback (most recent call last):
2014-02-07 04:27:04.676 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:27:04.676 19770 TRACE savanna.context func(*args, **kwargs)
2014-02-07 04:27:04.676 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:27:04.676 19770 TRACE savanna.context 'sudo chown -R $USER:$USER /etc/hadoop'
2014-02-07 04:27:04.676 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:27:04.676 19770 TRACE savanna.context raise_when_error)
2014-02-07 04:27:04.676 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:27:04.676 19770 TRACE savanna.context return self._run_
2014-02-07 04:27:04.676 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:27:04.676 19770 TRACE savanna.context return self._run(func, *args, **kwargs)
2014-02-07 04:27:04.676 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:27:04.676 19770 TRACE savanna.context return procutils.
2014-02-07 04:27:04.676 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:27:04.676 19770 TRACE savanna.context raise SubprocessExcep
2014-02-07 04:27:04.676 19770 TRACE savanna.context SubprocessExcep
2014-02-07 04:27:04.676 19770 TRACE savanna.context Return code: 1
2014-02-07 04:27:04.676 19770 TRACE savanna.context STDERR:
2014-02-07 04:27:04.676 19770 TRACE savanna.context chown: cannot access `/etc/hadoop': No such file or directory
2014-02-07 04:27:04.676 19770 TRACE savanna.context
2014-02-07 04:27:04.676 19770 TRACE savanna.context
2014-02-07 04:27:04.677 19770 ERROR savanna.service.api [-] Can't configure cluster 'newcluster' (reason: An error occurred in thread 'vanilla-
Return code: 1
STDERR:
chown: cannot access `/etc/hadoop': No such file or directory
)
2014-02-07 04:27:04.677 19770 TRACE savanna.service.api Traceback (most recent call last):
2014-02-07 04:27:04.677 19770 TRACE savanna.service.api File "/usr/lib/
2014-02-07 04:27:04.677 19770 TRACE savanna.service.api plugin.
2014-02-07 04:27:04.677 19770 TRACE savanna.service.api File "/usr/lib/
2014-02-07 04:27:04.677 19770 TRACE savanna.service.api self._setup_
2014-02-07 04:27:04.677 19770 TRACE savanna.service.api File "/usr/lib/
2014-02-07 04:27:04.677 19770 TRACE savanna.service.api self._push_
2014-02-07 04:27:04.677 19770 TRACE savanna.service.api File "/usr/lib/
2014-02-07 04:27:04.677 19770 TRACE savanna.service.api extra, instance)
2014-02-07 04:27:04.677 19770 TRACE savanna.service.api File "/usr/lib/
2014-02-07 04:27:04.677 19770 TRACE savanna.service.api self._wait()
2014-02-07 04:27:04.677 19770 TRACE savanna.service.api File "/usr/lib/
2014-02-07 04:27:04.677 19770 TRACE savanna.service.api raise exceptions.
2014-02-07 04:27:04.677 19770 TRACE savanna.service.api ThreadException: An error occurred in thread 'vanilla-
2014-02-07 04:27:04.677 19770 TRACE savanna.service.api Return code: 1
2014-02-07 04:27:04.677 19770 TRACE savanna.service.api STDERR:
2014-02-07 04:27:04.677 19770 TRACE savanna.service.api chown: cannot access `/etc/hadoop': No such file or directory
2014-02-07 04:27:04.677 19770 TRACE savanna.service.api
2014-02-07 04:27:04.677 19770 TRACE savanna.service.api
2014-02-07 04:27:04.745 19770 INFO savanna.service.api [-] Cluster status has been changed: id=2da3e9b5-
2014-02-07 04:33:26.402 19770 INFO urllib3.
2014-02-07 04:33:31.879 19770 INFO savanna.service.api [-] Cluster status has been changed: id=2da3e9b5-
2014-02-07 04:33:31.904 19770 INFO urllib3.
2014-02-07 04:34:13.330 19770 INFO savanna.service.api [-] Cluster status has been changed: id=64368659-
2014-02-07 04:34:13.464 19770 INFO savanna.service.api [-] Cluster status has been changed: id=64368659-
2014-02-07 04:34:13.564 19770 INFO savanna.
2014-02-07 04:34:13.649 19770 INFO urllib3.
2014-02-07 04:34:13.720 19770 INFO urllib3.
2014-02-07 04:34:15.462 19770 INFO savanna.
2014-02-07 04:34:35.234 19770 INFO urllib3.
2014-02-07 04:34:36.844 19770 INFO savanna.
2014-02-07 04:34:36.921 19770 INFO savanna.
2014-02-07 04:34:36.923 19770 INFO urllib3.
2014-02-07 04:34:36.925 19770 INFO urllib3.
2014-02-07 04:34:37.921 19770 INFO savanna.service.api [-] Cluster status has been changed: id=64368659-
2014-02-07 04:34:37.922 19770 INFO savanna.
2014-02-07 04:34:37.923 19770 WARNING savanna.
2014-02-07 04:34:37.926 19770 INFO savanna.
2014-02-07 04:34:37.927 19770 INFO savanna.
2014-02-07 04:34:37.927 19770 INFO savanna.
2014-02-07 04:34:37.931 19770 WARNING savanna.
2014-02-07 04:34:37.931 19770 WARNING savanna.
2014-02-07 04:34:37.932 19770 INFO savanna.
2014-02-07 04:34:37.933 19770 WARNING savanna.
2014-02-07 04:34:37.934 19770 INFO savanna.
2014-02-07 04:34:37.934 19770 INFO savanna.
2014-02-07 04:34:37.934 19770 INFO savanna.
2014-02-07 04:34:37.938 19770 WARNING savanna.
2014-02-07 04:34:37.938 19770 WARNING savanna.
2014-02-07 04:34:37.941 19770 INFO urllib3.
2014-02-07 04:34:37.942 19770 INFO urllib3.
2014-02-07 04:34:38.567 19770 ERROR savanna.context [-] Thread 'vanilla-
Return code: 1
STDERR:
chown: cannot access `/etc/hadoop': No such file or directory
'
2014-02-07 04:34:38.567 19770 TRACE savanna.context Traceback (most recent call last):
2014-02-07 04:34:38.567 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:34:38.567 19770 TRACE savanna.context func(*args, **kwargs)
2014-02-07 04:34:38.567 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:34:38.567 19770 TRACE savanna.context 'sudo chown -R $USER:$USER /etc/hadoop'
2014-02-07 04:34:38.567 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:34:38.567 19770 TRACE savanna.context raise_when_error)
2014-02-07 04:34:38.567 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:34:38.567 19770 TRACE savanna.context return self._run_
2014-02-07 04:34:38.567 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:34:38.567 19770 TRACE savanna.context return self._run(func, *args, **kwargs)
2014-02-07 04:34:38.567 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:34:38.567 19770 TRACE savanna.context return procutils.
2014-02-07 04:34:38.567 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:34:38.567 19770 TRACE savanna.context raise SubprocessExcep
2014-02-07 04:34:38.567 19770 TRACE savanna.context SubprocessExcep
2014-02-07 04:34:38.567 19770 TRACE savanna.context Return code: 1
2014-02-07 04:34:38.567 19770 TRACE savanna.context STDERR:
2014-02-07 04:34:38.567 19770 TRACE savanna.context chown: cannot access `/etc/hadoop': No such file or directory
2014-02-07 04:34:38.567 19770 TRACE savanna.context
2014-02-07 04:34:38.567 19770 TRACE savanna.context
2014-02-07 04:34:38.586 19770 ERROR savanna.context [-] Thread 'vanilla-
Return code: 1
STDERR:
chown: cannot access `/etc/hadoop': No such file or directory
'
2014-02-07 04:34:38.586 19770 TRACE savanna.context Traceback (most recent call last):
2014-02-07 04:34:38.586 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:34:38.586 19770 TRACE savanna.context func(*args, **kwargs)
2014-02-07 04:34:38.586 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:34:38.586 19770 TRACE savanna.context 'sudo chown -R $USER:$USER /etc/hadoop'
2014-02-07 04:34:38.586 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:34:38.586 19770 TRACE savanna.context raise_when_error)
2014-02-07 04:34:38.586 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:34:38.586 19770 TRACE savanna.context return self._run_
2014-02-07 04:34:38.586 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:34:38.586 19770 TRACE savanna.context return self._run(func, *args, **kwargs)
2014-02-07 04:34:38.586 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:34:38.586 19770 TRACE savanna.context return procutils.
2014-02-07 04:34:38.586 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:34:38.586 19770 TRACE savanna.context raise SubprocessExcep
2014-02-07 04:34:38.586 19770 TRACE savanna.context SubprocessExcep
2014-02-07 04:34:38.586 19770 TRACE savanna.context Return code: 1
2014-02-07 04:34:38.586 19770 TRACE savanna.context STDERR:
2014-02-07 04:34:38.586 19770 TRACE savanna.context chown: cannot access `/etc/hadoop': No such file or directory
2014-02-07 04:34:38.586 19770 TRACE savanna.context
2014-02-07 04:34:38.586 19770 TRACE savanna.context
2014-02-07 04:34:38.586 19770 ERROR savanna.service.api [-] Can't configure cluster 'CloudCluster' (reason: An error occurred in thread 'vanilla-
Return code: 1
STDERR:
chown: cannot access `/etc/hadoop': No such file or directory
)
2014-02-07 04:34:38.586 19770 TRACE savanna.service.api Traceback (most recent call last):
2014-02-07 04:34:38.586 19770 TRACE savanna.service.api File "/usr/lib/
2014-02-07 04:34:38.586 19770 TRACE savanna.service.api plugin.
2014-02-07 04:34:38.586 19770 TRACE savanna.service.api File "/usr/lib/
2014-02-07 04:34:38.586 19770 TRACE savanna.service.api self._setup_
2014-02-07 04:34:38.586 19770 TRACE savanna.service.api File "/usr/lib/
2014-02-07 04:34:38.586 19770 TRACE savanna.service.api self._push_
2014-02-07 04:34:38.586 19770 TRACE savanna.service.api File "/usr/lib/
2014-02-07 04:34:38.586 19770 TRACE savanna.service.api extra, instance)
2014-02-07 04:34:38.586 19770 TRACE savanna.service.api File "/usr/lib/
2014-02-07 04:34:38.586 19770 TRACE savanna.service.api self._wait()
2014-02-07 04:34:38.586 19770 TRACE savanna.service.api File "/usr/lib/
2014-02-07 04:34:38.586 19770 TRACE savanna.service.api raise exceptions.
2014-02-07 04:34:38.586 19770 TRACE savanna.service.api ThreadException: An error occurred in thread 'vanilla-
2014-02-07 04:34:38.586 19770 TRACE savanna.service.api Return code: 1
2014-02-07 04:34:38.586 19770 TRACE savanna.service.api STDERR:
2014-02-07 04:34:38.586 19770 TRACE savanna.service.api chown: cannot access `/etc/hadoop': No such file or directory
2014-02-07 04:34:38.586 19770 TRACE savanna.service.api
2014-02-07 04:34:38.586 19770 TRACE savanna.service.api
2014-02-07 04:34:38.654 19770 INFO savanna.service.api [-] Cluster status has been changed: id=64368659-
2014-02-07 04:35:40.440 19770 INFO urllib3.
2014-02-07 04:36:34.004 19770 INFO savanna.service.api [-] Cluster status has been changed: id=3c17b4de-
2014-02-07 04:36:34.105 19770 INFO savanna.service.api [-] Cluster status has been changed: id=3c17b4de-
2014-02-07 04:36:34.252 19770 INFO savanna.
2014-02-07 04:36:34.320 19770 INFO urllib3.
2014-02-07 04:36:34.397 19770 INFO urllib3.
2014-02-07 04:36:34.933 19770 INFO urllib3.
2014-02-07 04:36:35.016 19770 INFO urllib3.
2014-02-07 04:36:35.559 19770 INFO savanna.
2014-02-07 04:36:35.584 19770 INFO urllib3.
2014-02-07 04:36:43.684 19770 INFO urllib3.
2014-02-07 04:36:44.744 19770 INFO savanna.
2014-02-07 04:36:44.771 19770 INFO urllib3.
2014-02-07 04:36:44.867 19770 INFO urllib3.
2014-02-07 04:36:46.057 19770 INFO savanna.
2014-02-07 04:36:46.152 19770 INFO urllib3.
2014-02-07 04:36:57.053 19770 INFO urllib3.
2014-02-07 04:36:58.815 19770 INFO savanna.
2014-02-07 04:36:58.908 19770 INFO savanna.
2014-02-07 04:36:58.910 19770 INFO urllib3.
2014-02-07 04:36:58.912 19770 INFO urllib3.
2014-02-07 04:37:00.326 19770 INFO savanna.service.api [-] Cluster status has been changed: id=3c17b4de-
2014-02-07 04:37:00.328 19770 INFO savanna.
2014-02-07 04:37:00.328 19770 WARNING savanna.
2014-02-07 04:37:00.329 19770 INFO savanna.
2014-02-07 04:37:00.330 19770 INFO savanna.
2014-02-07 04:37:00.330 19770 INFO savanna.
2014-02-07 04:37:00.332 19770 WARNING savanna.
2014-02-07 04:37:00.334 19770 INFO savanna.
2014-02-07 04:37:00.335 19770 WARNING savanna.
2014-02-07 04:37:00.336 19770 INFO savanna.
2014-02-07 04:37:00.336 19770 INFO savanna.
2014-02-07 04:37:00.337 19770 INFO savanna.
2014-02-07 04:37:00.339 19770 WARNING savanna.
2014-02-07 04:37:00.341 19770 INFO urllib3.
2014-02-07 04:37:00.344 19770 INFO urllib3.
2014-02-07 04:37:00.964 19770 ERROR savanna.context [-] Thread 'vanilla-
Return code: 1
STDERR:
chown: cannot access `/etc/hadoop': No such file or directory
'
2014-02-07 04:37:00.964 19770 TRACE savanna.context Traceback (most recent call last):
2014-02-07 04:37:00.964 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:37:00.964 19770 TRACE savanna.context func(*args, **kwargs)
2014-02-07 04:37:00.964 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:37:00.964 19770 TRACE savanna.context 'sudo chown -R $USER:$USER /etc/hadoop'
2014-02-07 04:37:00.964 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:37:00.964 19770 TRACE savanna.context raise_when_error)
2014-02-07 04:37:00.964 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:37:00.964 19770 TRACE savanna.context return self._run_
2014-02-07 04:37:00.964 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:37:00.964 19770 TRACE savanna.context return self._run(func, *args, **kwargs)
2014-02-07 04:37:00.964 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:37:00.964 19770 TRACE savanna.context return procutils.
2014-02-07 04:37:00.964 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:37:00.964 19770 TRACE savanna.context raise SubprocessExcep
2014-02-07 04:37:00.964 19770 TRACE savanna.context SubprocessExcep
2014-02-07 04:37:00.964 19770 TRACE savanna.context Return code: 1
2014-02-07 04:37:00.964 19770 TRACE savanna.context STDERR:
2014-02-07 04:37:00.964 19770 TRACE savanna.context chown: cannot access `/etc/hadoop': No such file or directory
2014-02-07 04:37:00.964 19770 TRACE savanna.context
2014-02-07 04:37:00.964 19770 TRACE savanna.context
2014-02-07 04:37:00.974 19770 ERROR savanna.context [-] Thread 'vanilla-
Return code: 1
STDERR:
chown: cannot access `/etc/hadoop': No such file or directory
'
2014-02-07 04:37:00.974 19770 TRACE savanna.context Traceback (most recent call last):
2014-02-07 04:37:00.974 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:37:00.974 19770 TRACE savanna.context func(*args, **kwargs)
2014-02-07 04:37:00.974 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:37:00.974 19770 TRACE savanna.context 'sudo chown -R $USER:$USER /etc/hadoop'
2014-02-07 04:37:00.974 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:37:00.974 19770 TRACE savanna.context raise_when_error)
2014-02-07 04:37:00.974 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:37:00.974 19770 TRACE savanna.context return self._run_
2014-02-07 04:37:00.974 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:37:00.974 19770 TRACE savanna.context return self._run(func, *args, **kwargs)
2014-02-07 04:37:00.974 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:37:00.974 19770 TRACE savanna.context return procutils.
2014-02-07 04:37:00.974 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:37:00.974 19770 TRACE savanna.context raise SubprocessExcep
2014-02-07 04:37:00.974 19770 TRACE savanna.context SubprocessExcep
2014-02-07 04:37:00.974 19770 TRACE savanna.context Return code: 1
2014-02-07 04:37:00.974 19770 TRACE savanna.context STDERR:
2014-02-07 04:37:00.974 19770 TRACE savanna.context chown: cannot access `/etc/hadoop': No such file or directory
2014-02-07 04:37:00.974 19770 TRACE savanna.context
2014-02-07 04:37:00.974 19770 TRACE savanna.context
2014-02-07 04:37:00.975 19770 ERROR savanna.service.api [-] Can't configure cluster 'ostf-test-
Return code: 1
STDERR:
chown: cannot access `/etc/hadoop': No such file or directory
)
2014-02-07 04:37:00.975 19770 TRACE savanna.service.api Traceback (most recent call last):
2014-02-07 04:37:00.975 19770 TRACE savanna.service.api File "/usr/lib/
2014-02-07 04:37:00.975 19770 TRACE savanna.service.api plugin.
2014-02-07 04:37:00.975 19770 TRACE savanna.service.api File "/usr/lib/
2014-02-07 04:37:00.975 19770 TRACE savanna.service.api self._setup_
2014-02-07 04:37:00.975 19770 TRACE savanna.service.api File "/usr/lib/
2014-02-07 04:37:00.975 19770 TRACE savanna.service.api self._push_
2014-02-07 04:37:00.975 19770 TRACE savanna.service.api File "/usr/lib/
2014-02-07 04:37:00.975 19770 TRACE savanna.service.api extra, instance)
2014-02-07 04:37:00.975 19770 TRACE savanna.service.api File "/usr/lib/
2014-02-07 04:37:00.975 19770 TRACE savanna.service.api self._wait()
2014-02-07 04:37:00.975 19770 TRACE savanna.service.api File "/usr/lib/
2014-02-07 04:37:00.975 19770 TRACE savanna.service.api raise exceptions.
2014-02-07 04:37:00.975 19770 TRACE savanna.service.api ThreadException: An error occurred in thread 'vanilla-
2014-02-07 04:37:00.975 19770 TRACE savanna.service.api Return code: 1
2014-02-07 04:37:00.975 19770 TRACE savanna.service.api STDERR:
2014-02-07 04:37:00.975 19770 TRACE savanna.service.api chown: cannot access `/etc/hadoop': No such file or directory
2014-02-07 04:37:00.975 19770 TRACE savanna.service.api
2014-02-07 04:37:00.975 19770 TRACE savanna.service.api
2014-02-07 04:37:01.050 19770 INFO savanna.service.api [-] Cluster status has been changed: id=3c17b4de-
2014-02-07 04:37:14.734 19770 INFO savanna.service.api [-] Cluster status has been changed: id=3c17b4de-
2014-02-07 04:37:14.759 19770 INFO urllib3.
2014-02-07 04:42:28.330 19770 INFO savanna.service.api [-] Cluster status has been changed: id=64368659-
2014-02-07 04:42:28.354 19770 INFO urllib3.
2014-02-07 04:43:00.357 19770 INFO savanna.service.api [-] Cluster status has been changed: id=61a99802-
2014-02-07 04:43:00.500 19770 INFO savanna.service.api [-] Cluster status has been changed: id=61a99802-
2014-02-07 04:43:00.592 19770 INFO savanna.
2014-02-07 04:43:00.669 19770 INFO urllib3.
2014-02-07 04:43:01.394 19770 INFO urllib3.
2014-02-07 04:43:02.289 19770 INFO savanna.
2014-02-07 04:43:02.315 19770 INFO urllib3.
2014-02-07 04:43:08.130 19770 INFO urllib3.
2014-02-07 04:43:10.425 19770 INFO urllib3.
2014-02-07 04:43:11.488 19770 INFO savanna.
2014-02-07 04:43:11.512 19770 INFO urllib3.
2014-02-07 04:43:11.624 19770 INFO urllib3.
2014-02-07 04:43:12.723 19770 INFO savanna.
2014-02-07 04:43:12.771 19770 INFO urllib3.
2014-02-07 04:43:21.941 19770 INFO urllib3.
2014-02-07 04:43:23.565 19770 INFO savanna.
2014-02-07 04:43:23.658 19770 INFO savanna.
2014-02-07 04:43:23.661 19770 INFO urllib3.
2014-02-07 04:43:24.633 19770 INFO savanna.service.api [-] Cluster status has been changed: id=61a99802-
2014-02-07 04:43:24.635 19770 INFO savanna.
2014-02-07 04:43:24.635 19770 WARNING savanna.
2014-02-07 04:43:24.636 19770 INFO savanna.
2014-02-07 04:43:24.636 19770 INFO savanna.
2014-02-07 04:43:24.637 19770 INFO savanna.
2014-02-07 04:43:24.641 19770 WARNING savanna.
2014-02-07 04:43:24.641 19770 WARNING savanna.
2014-02-07 04:43:24.642 19770 INFO savanna.
2014-02-07 04:43:24.642 19770 WARNING savanna.
2014-02-07 04:43:24.644 19770 INFO savanna.
2014-02-07 04:43:24.644 19770 INFO savanna.
2014-02-07 04:43:24.644 19770 INFO savanna.
2014-02-07 04:43:24.648 19770 WARNING savanna.
2014-02-07 04:43:24.648 19770 WARNING savanna.
2014-02-07 04:43:24.650 19770 INFO urllib3.
2014-02-07 04:43:24.652 19770 INFO urllib3.
2014-02-07 04:43:25.297 19770 ERROR savanna.context [-] Thread 'vanilla-
Return code: 1
STDERR:
chown: cannot access `/etc/hadoop': No such file or directory
'
2014-02-07 04:43:25.297 19770 TRACE savanna.context Traceback (most recent call last):
2014-02-07 04:43:25.297 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:43:25.297 19770 TRACE savanna.context func(*args, **kwargs)
2014-02-07 04:43:25.297 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:43:25.297 19770 TRACE savanna.context 'sudo chown -R $USER:$USER /etc/hadoop'
2014-02-07 04:43:25.297 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:43:25.297 19770 TRACE savanna.context raise_when_error)
2014-02-07 04:43:25.297 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:43:25.297 19770 TRACE savanna.context return self._run_
2014-02-07 04:43:25.297 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:43:25.297 19770 TRACE savanna.context return self._run(func, *args, **kwargs)
2014-02-07 04:43:25.297 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:43:25.297 19770 TRACE savanna.context return procutils.
2014-02-07 04:43:25.297 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:43:25.297 19770 TRACE savanna.context raise SubprocessExcep
2014-02-07 04:43:25.297 19770 TRACE savanna.context SubprocessExcep
2014-02-07 04:43:25.297 19770 TRACE savanna.context Return code: 1
2014-02-07 04:43:25.297 19770 TRACE savanna.context STDERR:
2014-02-07 04:43:25.297 19770 TRACE savanna.context chown: cannot access `/etc/hadoop': No such file or directory
2014-02-07 04:43:25.297 19770 TRACE savanna.context
2014-02-07 04:43:25.297 19770 TRACE savanna.context
2014-02-07 04:43:25.315 19770 ERROR savanna.context [-] Thread 'vanilla-
Return code: 1
STDERR:
chown: cannot access `/etc/hadoop': No such file or directory
'
2014-02-07 04:43:25.315 19770 TRACE savanna.context Traceback (most recent call last):
2014-02-07 04:43:25.315 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:43:25.315 19770 TRACE savanna.context func(*args, **kwargs)
2014-02-07 04:43:25.315 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:43:25.315 19770 TRACE savanna.context 'sudo chown -R $USER:$USER /etc/hadoop'
2014-02-07 04:43:25.315 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:43:25.315 19770 TRACE savanna.context raise_when_error)
2014-02-07 04:43:25.315 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:43:25.315 19770 TRACE savanna.context return self._run_
2014-02-07 04:43:25.315 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:43:25.315 19770 TRACE savanna.context return self._run(func, *args, **kwargs)
2014-02-07 04:43:25.315 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:43:25.315 19770 TRACE savanna.context return procutils.
2014-02-07 04:43:25.315 19770 TRACE savanna.context File "/usr/lib/
2014-02-07 04:43:25.315 19770 TRACE savanna.context raise SubprocessExcep
2014-02-07 04:43:25.315 19770 TRACE savanna.context SubprocessExcep
2014-02-07 04:43:25.315 19770 TRACE savanna.context Return code: 1
2014-02-07 04:43:25.315 19770 TRACE savanna.context STDERR:
2014-02-07 04:43:25.315 19770 TRACE savanna.context chown: cannot access `/etc/hadoop': No such file or directory
2014-02-07 04:43:25.315 19770 TRACE savanna.context
2014-02-07 04:43:25.315 19770 ERROR savanna.service.api [-] Can't configure cluster 'root' (reason: An error occurred in thread 'vanilla-
Return code: 1
STDERR:
chown: cannot access `/etc/hadoop': No such file or directory
)
2014-02-07 04:43:25.315 19770 TRACE savanna.service.api Traceback (most recent call last):
2014-02-07 04:43:25.315 19770 TRACE savanna.service.api File "/usr/lib/
2014-02-07 04:43:25.315 19770 TRACE savanna.service.api plugin.
2014-02-07 04:43:25.315 19770 TRACE savanna.service.api File "/usr/lib/
2014-02-07 04:43:25.315 19770 TRACE savanna.service.api self._setup_
2014-02-07 04:43:25.315 19770 TRACE savanna.service.api File "/usr/lib/
2014-02-07 04:43:25.315 19770 TRACE savanna.service.api self._push_
2014-02-07 04:43:25.315 19770 TRACE savanna.service.api File "/usr/lib/
2014-02-07 04:43:25.315 19770 TRACE savanna.service.api extra, instance)
2014-02-07 04:43:25.315 19770 TRACE savanna.service.api File "/usr/lib/
2014-02-07 04:43:25.315 19770 TRACE savanna.service.api self._wait()
2014-02-07 04:43:25.315 19770 TRACE savanna.service.api File "/usr/lib/
2014-02-07 04:43:25.315 19770 TRACE savanna.service.api raise exceptions.
2014-02-07 04:43:25.315 19770 TRACE savanna.service.api ThreadException: An error occurred in thread 'vanilla-
2014-02-07 04:43:25.315 19770 TRACE savanna.service.api Return code: 1
2014-02-07 04:43:25.315 19770 TRACE savanna.service.api STDERR:
2014-02-07 04:43:25.315 19770 TRACE savanna.service.api chown: cannot access `/etc/hadoop': No such file or directory
2014-02-07 04:43:25.315 19770 TRACE savanna.service.api
2014-02-07 04:43:25.315 19770 TRACE savanna.service.api
2014-02-07 04:43:25.383 19770 INFO savanna.service.api [-] Cluster status has been changed: id=61a99802-
> This is the trace for HDP image - centos-
I am able to ping and SSH into the instances now but Cluster is in error state.
2.I am trying with the other image - centos-
Thanks a lot for the response.
Revision history for this message
|
#10 |
1.
"Can't start cluster 'ostf-test-
This means that instance didn't appear in 'active' state. You should check openstack logs on the reason.
2.
"'RemoteCommand
I see you are using vanilla plugin while both images you listed are for HDP plugin. Please use only images supported by plugin you use.
Revision history for this message
|
#11 |
Hi Andrew Lazarev,
As per your suggestion, I used VM image centos-
The VM instances are in ACTIVE state, I can ping and SSH into them .But the cluster is in 'configuring' state from one day.
I used centos-
The savanna logs is as follows:
savanna.
2014-02-10 04:24:21.703 19754 INFO savanna.
2014-02-10 04:24:26.707 19754 INFO urllib3.
2014-02-10 04:24:26.708 19754 INFO urllib3.
2014-02-10 04:24:26.709 19754 INFO savanna.
2014-02-10 04:24:26.709 19754 INFO savanna.
I found this information from https:/
What could be the problem ? please help.
Revision history for this message
|
#12 |
hi,Gowri, no matter which question you encoutered, from the log it should be your savanna server can't ssh to that vm(name node or data node). now ,have you fix these problem?
Can you help with this problem?
Provide an answer of your own, or ask jianfeng2013 for more information if necessary.