i do the following test,
1. chage the root password in root.img(download with
appscale1.3.torrent).
2. deploying the image.
3. start the instance with euca-run-instances command.
l can login into it with my password now !
i notice some strange things:
1. in the appscale instance, the key file .ssh/authorized_keys wans't
updated, so i can't ssh into the instance with my key. (e.g. euca-run-
instances -k mykey -t m1.large emi-28EA15C4 )
2. in the local machine, the appscale-run-instances change the ssh key
in .appscale/ every time.
Thanks in advance.
Marlboromoo
i start the appscale instance with a dirty hack .. but get some
exception, my Eucalyptus Cloud is in the firewall , can't connect to
the outside, but can set a proxy($HTTP_PROXY) for appscale to use. so
i have to know which site is appscale to connect .
here is the exception log:
$ appscale-run-instances --machine emi-8658170B --table voldemort \
--file sample_apps/guestbook.tar.gz --max 1
Run instances message sent successfully. Waiting for the image to
start up.
[Thu Dec 24 13:04:00 +0800 2009] 3599.999987 seconds left until
timeout...
[Thu Dec 24 13:06:03 +0800 2009] 3476.580905 seconds left until
timeout...
Please wait for your instance to complete the bootup process.
Head node successfully created at 172.19.200.109. It is now starting
up voldemort via the command line arguments given.
Killing and starting server at 172.19.200.109
Please wait for the controller to finish pre-processing tasks.
This AppScale instance is linked to an e-mail address giving it
administrator privileges.
Enter your desired administrator e-mail address:
marlb...@euc.lab
Please repeat your e-mail address to verify: marlb...@euc.lab
The new administrator password must be at least six characters long
and can include non-alphanumeric characters.
Enter your new password:
Enter again to verify:
Please wait for AppScale to prepare your machines for use.
Exception seen: Errno::ECONNRESET
Exception seen: Errno::ECONNRESET
Exception seen: Errno::ECONNRESET
Exception seen: Errno::ECONNRESET
--
You received this message because you are subscribed to the Google Groups "AppScale Community" group.
To post to this group, send email to appscale_...@googlegroups.com.
To unsubscribe from this group, send email to appscale_commun...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/appscale_community?hl=en.
here is the log :
/usr/lib/ruby/1.8/webrick/ssl.rb:86: warning: method redefined;
discarding old listen
/root/appscale/AppController/djinn.rb:29: warning: `*' interpreted as
argument prefix
cp: cannot stat `/root/appscale/AppDB/logs/pb_server.log': No such
file or directory
ruby: No such file or directory -- /root/appscale/AppController/
changeRootPwd.rb (LoadError)
[Wed Dec 23 23:56:47 -0800 2009] Waiting for data from the load
balancer or cmdline tools
[Wed Dec 23 23:56:48 -0800 2009] Public IP address is 172.19.200.112,
Private IP address is 10.254.1.34
[Wed Dec 23 23:56:48 -0800 2009] Djinn locations: Node at pub
172.19.200.112, priv 10.254.1.34 is currently load_balancer,
voldemort_master, appengine
[Wed Dec 23 23:56:48 -0800 2009] DB Credentials:
{"machine"=>"emi-8658170B", "keyname"=>"appscale",
"ips"=>"using_tools", "voldemortw"=>"1", "replication"=>"1",
"ec2_access_key"=>"WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw",
"instance_type"=>"m1.large", "infrastructure"=>"ec2",
"table"=>"voldemort",
"ec2_secret_key"=>"OXqfpZOaNOjUGwEumgxjPyhDETQWAbdu7LRg",
"min_images"=>"1", "appengine"=>"3", "ec2_url"=>"http://
172.19.12.4:8773/services/Eucalyptus", "voldemortr"=>"1",
"keypath"=>"appscale.key", "hostname"=>"172.19.200.112",
"max_images"=>"1"}
[Wed Dec 23 23:56:48 -0800 2009] Apps to load: guestbook
[Wed Dec 23 23:56:48 -0800 2009] My index = 0
[Wed Dec 23 23:56:52 -0800 2009] Got data from another node! DLoc =
[#<DjinnJobData:0x7f1f1deef398 @private_ip="10.254.1.34",
@public_ip="172.19.200.112", @jobs=["load_balancer",
"voldemort_master", "appengine"]>], {"machine"=>"emi-8658170B",
"keyname"=>"appscale", "ips"=>"using_tools", "voldemortw"=>"1",
"replication"=>"1",
"ec2_access_key"=>"WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw",
"instance_type"=>"m1.large", "infrastructure"=>"ec2",
"table"=>"voldemort",
"ec2_secret_key"=>"OXqfpZOaNOjUGwEumgxjPyhDETQWAbdu7LRg",
"min_images"=>"1", "appengine"=>"3", "ec2_url"=>"http://
172.19.12.4:8773/services/Eucalyptus", "voldemortr"=>"1",
"keypath"=>"appscale.key", "hostname"=>"172.19.200.112",
"max_images"=>"1"}, AppsToLoad = guestbook
[Wed Dec 23 23:56:52 -0800 2009] pre-loop: Node at pub 172.19.200.112,
priv 10.254.1.34 is currently load_balancer, voldemort_master,
appengine
[Wed Dec 23 23:56:52 -0800 2009] Djinn locations: Node at pub
172.19.200.112, priv 10.254.1.34 is currently load_balancer,
voldemort_master, appengine
[Wed Dec 23 23:56:52 -0800 2009] DB Credentials:
{"machine"=>"emi-8658170B", "keyname"=>"appscale",
"ips"=>"using_tools", "voldemortw"=>"1", "replication"=>"1",
"ec2_access_key"=>"WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw",
"instance_type"=>"m1.large", "infrastructure"=>"ec2",
"table"=>"voldemort",
"ec2_secret_key"=>"OXqfpZOaNOjUGwEumgxjPyhDETQWAbdu7LRg",
"min_images"=>"1", "appengine"=>"3", "ec2_url"=>"http://
172.19.12.4:8773/services/Eucalyptus", "voldemortr"=>"1",
"keypath"=>"appscale.key", "hostname"=>"172.19.200.112",
"max_images"=>"1"}
[Wed Dec 23 23:56:52 -0800 2009] Apps to load: guestbook
[Wed Dec 23 23:56:52 -0800 2009] Appengine info:
[Wed Dec 23 23:56:52 -0800 2009] scp -i /root/.ssh/id_dsa -o
StrictHostkeyChecking=no 2>&1 /root/appscale/.appscale/appscale.key
ro...@10.254.1.34:/root/appscale/.appscale/appscale.key; echo $? >> ~/
appscale/.appscale/retval
[Wed Dec 23 23:56:52 -0800 2009] Warning: Permanently added
'10.254.1.34' (RSA) to the list of known hosts.^M
[Wed Dec 23 23:56:52 -0800 2009] looping: Node at pub 172.19.200.112,
priv 10.254.1.34 is currently load_balancer, voldemort_master,
appengine
[Wed Dec 23 23:56:52 -0800 2009] Starting up Load Balancer
Starting nginx: nginx.
Sending 'start' command
The following watches were affected:
appscale-mongrel-8000
appscale-mongrel-8001
appscale-mongrel-8002
% Total % Received % Xferd Average Speed Time Time
Time Current
Dload Upload Total Spent
Left Speed
^M100 13760 100 13760 0 0 147k 0 --:--:-- --:--:--
--:--:-- 147k^M100 13760 100 13760 0 0 146k 0 --:--:--
--:--:-- --:--:-- 0
% Total % Received % Xferd Average Speed Time Time
Time Current
Dload Upload Total Spent
Left Speed
^M100 13760 100 13760 0 0 137k 0 --:--:-- --:--:--
--:--:-- 137k^M100 13760 100 13760 0 0 136k 0 --:--:--
--:--:-- --:--:-- 0
% Total % Received % Xferd Average Speed Time Time
Time Current
Dload Upload Total Spent
Left Speed
^M100 13760 100 13760 0 0 146k 0 --:--:-- --:--:--
--:--:-- 146k^M100 13760 100 13760 0 0 145k 0 --:--:--
--:--:-- --:--:-- 0
[Wed Dec 23 23:56:53 -0800 2009] Starting up memcached
Couldn't convert private IP 172.19.200.112 to a public address. Public
IPs are [172.19.200.112], private IPs are [172.19.200.112]
[Wed Dec 23 23:56:53 -0800 2009] Master is at 10.254.1.34, slaves are
at
[Wed Dec 23 23:56:56 -0800 2009] Reported Public IPs: [172.19.200.112]
[Wed Dec 23 23:56:56 -0800 2009] Reported Private IPs: [10.254.1.34]
thank you !
Marlboromoo
I'd try looking over the Eucalyptus forums for help as to why your VM
isn't getting set up correctly, as fixing that should get your AppScale
deployment up and going.
Thanks,
cloud@cloud-desktop:~/Desktop$ appscale-run-instances --machine
emi-42110D9B
Run instances message sent successfully.
Waiting for the image to start up.
[Sun Feb 14 19:16:40 +0530 2010] 3599.999986 seconds left until
timeout...
[Sun Feb 14 19:18:42 +0530 2010] 3477.953337 seconds left until
timeout...
[Sun Feb 14 19:20:44 +0530 2010] 3355.686997 seconds left until
timeout...
[Sun Feb 14 19:22:46 +0530 2010] 3233.304671 seconds left until
timeout...
[Sun Feb 14 19:24:49 +0530 2010] 3111.029966 seconds left until
timeout...
[Sun Feb 14 19:26:51 +0530 2010] 2988.33919 seconds left until
timeout...
[Sun Feb 14 19:28:53 +0530 2010] 2866.219506 seconds left until
timeout...
[Sun Feb 14 19:30:55 +0530 2010] 2744.111804 seconds left until
timeout...
[Sun Feb 14 19:32:57 +0530 2010] 2621.989847 seconds left until
timeout...
Please wait for your instance to complete the bootup process.
[scp -i ~/.appscale/appscale.key -i ~/.appscale/appscale.key -i
~/.appscale/appscale.private -o StrictHostkeyChecking=no 2>&1 /home/
cloud/.appscale/appscale.key ro...@192.168.4.222:/root/.ssh/id_dsa;
echo
$? >> ~/.appscale/retval] returned 1 instead of 0 as expected.
Is your environment set up properly?
Anyone who knows what is going wrong..
Thanks in advance...
Thanks,
On Feb 15, 3:25 pm, mithil jadhav <mithiljad...@gmail.com> wrote:
> Yes, i am able to start instances of other images in the Eucalyptus and
> login via SSH works fine.
Greetings Chris.
Its just the appscale image that asks for password when started.Is
there any way to get out of this problem?Or should i bundle my own
image for appscale on Eucalyptus?Any help is greatly appreciated :)
Let me know if you're able to do so and we can go from there.
Thanks,