More detailed error report is as follows
root@ubuntu:/etc/apt# scalarizr --import -y -o server-
id=02c14ba8-7010-4888-bcb8-ef50a37310bc -o role-name=Balancer -o
crypto-key=6NRL+afa+RxWUSVL0P8bLbvFi2E9C909RYwIyxM+AvdaZP/L4KwHLg== -o
platform=eucalyptus -o behaviour=www -o queryenv-url=http://
107.108.52.13/query-env -o messaging-p2p.producer-url=http://
107.108.52.13/messaging
2012-01-09 11:55:21,714 - INFO - scalarizr - [pid: 2477] Starting
scalarizr 0.7.149
Starting import process...
Don't terminate Scalarizr until Scalr will create the new role
2012-01-09 11:55:21,719 - INFO - scalarizr.config - State: importing
2012-01-09 11:55:22,047 - ERROR - scalarizr - hostname (code: 2)
<out>: <err>: /bin/sh: Syntax error: redirection unexpected <args>:
hostname html><body><center><br><script>
document.location.href='http://107.10.86.250:5500';
</script>
</center></body></html>
Traceback (most recent call last):
File "/var/lib/python-support/python2.6/scalarizr/__init__.py", line
714, in main
bus.fire('init')
File "/var/lib/python-support/python2.6/scalarizr/libs/pubsub.py",
line 26, in fire
ln(*args, **kwargs)
File "/var/lib/python-support/python2.6/scalarizr/handlers/ec2/
lifecycle.py", line 46, in on_init
system2("hostname " + self._platform.get_public_hostname(),
shell=True)
File "/var/lib/python-support/python2.6/scalarizr/util/__init__.py",
line 259, in system2
raise ExcClass(error_text, out and out.strip() or '', err and
err.strip() or '', p.returncode, popenargs[0])
PopenError: hostname (code: 2) <out>: <err>: /bin/sh: Syntax error:
redirection unexpected <args>: hostname
html><body><center><br><script>
document.location.href='http://107.10.86.250:5500';
</script>
</center></body></html>
On Jan 9, 4:01 pm, pgbalaji <[email protected]> wrote:
> I have setup a webserver for scalr inside my local intranet and trying to
> import the images from an running eucalyptus instance.
> My scalr is not able to communicate with the instance and fails (though i
> have kept the ports 80,13, 8014, 22 as open in my security group). The
> error i get is that the hostname is not resolved and undesired redirection
> to anotherhttp://107.10.86.250:5500/
>
> Need help to solve this soon
--
You received this message because you are subscribed to the Google Groups
"scalr-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/scalr-discuss?hl=en.