rigadicomando.org

Whatever you can cat

Random Quote

The only thing not changing is that all changes.

• About Yin and Yang

Secondary links

  • About
  • Contacts
  • Disclaimer

Home Blogs admin's blog

eucalyptus logs

Submitted by admin on Tue, 2008-08-12 10:14.

> Hello Fabio,
>
> thanks for using Eucalyptus! First, to rule out some possible transients issues, can you confirm that you restarted Eucalyptus (/etc/init.d/eucalyptus restart) on both the frontend and the containers? Upon restart it may takes few minutes for ec2-describe-availability-zones to report correctly.

Hello Graziano, thanks for your fast reply, I tried many times to restart the whole cluster and too reboot too al the nodes and the frontend but nothing changed.

>
> Then can you check what's in /opt/eucalyptus/var/log/eucalyptus and perhaps send it to us? In particular the cc.log (on the frontend) and the nc.log (on the compute nodes) may have some information on why they are not talking to each other. Perhaps the keys aren't in sync: in this case you can try to re-push them to the node (using /opt/eucalyptus/usr/sbin/euca_sync_key).

I've re-pushed keys, also adding the flag -x to the euca_sync_key script to be sure it is working, here follows the output:

[root@cluster eucalyptus-1.1]# ./usr/sbin/euca_sync_key
+ EUCALYPTUS=
+ KEYS=
+ CONF=
+ FORCE=N
+ VERBOSE=Y
+ '[' -e /etc/default/eucalyptus ']'
+ CONF=/etc/default/eucalyptus
+ '[' 0 -gt 0 ']'
+ '[' -z /etc/default/eucalyptus -o '!' -e /etc/default/eucalyptus ']'
+ echo 'Using /etc/default/eucalyptus as configuration'
Using /etc/default/eucalyptus as configuration
+ . /etc/default/eucalyptus
++ EUCALYPTUS=/opt/eucalyptus-1.1
++ START_CLOUD=Y
++ START_CC=Y
++ START_NC=N
++ ENABLE_WS_SECURITY=Y
++ CLOUD_PORT=8773
++ CLOUD_SSL_PORT=8443
++ CC_PORT=8774
++ NODES='vm-container-0-0 vm-container-0-1'
++ NC_SERVICE=axis2/services/EucalyptusNC
++ NC_PORT=8774
++ TEMPLATE_PATH=/share/apps/eucalyptus/templates
++ REGISTERED_PATH=/share/apps/eucalyptus/registered
++ INSTANCE_PATH=/usr/local/eucalyptus/instances
++ VNET_PORT=1978
++ VNET_DHCPDEAMON=/usr/sbin/dhcpd
++ VNET_PUBINTERFACE=eth1
+ '[' -z /opt/eucalyptus-1.1 ']'
+ '[' N '!=' Y ']'
+ '[' '!' -x /opt/rocks/bin/rocks ']'
+ '[' -z 'vm-container-0-0 vm-container-0-1' ']'
++ echo vm-container-0-0 vm-container-0-1
+ for x in '`echo $NODES`'
+ '[' Y = Y ']'
+ rsync -avz -e ssh /opt/eucalyptus-1.1/var/eucalyptus/keys vm-container-0-0:/opt/eucalyptus-1.1/var/eucalyptus
+ for x in '`echo $NODES`'
+ '[' Y = Y ']'
+ rsync -avz -e ssh /opt/eucalyptus-1.1/var/eucalyptus/keys vm-container-0-1:/opt/eucalyptus-1.1/var/eucalyptus
[root@cluster eucalyptus-1.1]#

(I used eth1 as the vnet public interface, eth1 is the external nic of my cluster on the 192.168.1.0 net, and I'm using my notebook on the same 192.168.1.0 net to launch ec2* commands)

These are the cc.log on the frontend:

[Tue Aug 12 12:01:10 2008] DescribeInstances(): done
[Tue Aug 12 12:01:25 2008] DescribeResources(): called 1
[Tue Aug 12 12:01:25 2008] vnetStartNetwork(): start_vdeswitch(/opt/eucalyptus-1.1/var/run/eucalyptus/net,clceuca0) == 0
[Tue Aug 12 12:01:25 2008] vnetStartNetwork(): configure_vdeswitch(/opt/eucalyptus-1.1/var/run/eucalyptus/net,clceuca0,-1) == 0
[Tue Aug 12 12:01:25 2008] vnetStartNetwork(): start_port(/opt/eucalyptus-1.1/var/run/eucalyptus/net,clceuca0) == 0
[Tue Aug 12 12:01:25 2008]      Running cmd: vde_cryptcab -s /opt/eucalyptus-1.1/var/run/eucalyptus/net/clceuca0.ctl -c cluster.bee-side.com:1978 -P /opt/eucalyptus-1.1/var/eucalyptu
s/keys/vdekey -p 29313
[Tue Aug 12 12:01:25 2008] vnetStartNetwork():  check_wire(), wirepids: 9284, host: cluster.bee-side.com (inactive)
[Tue Aug 12 12:01:25 2008] vnetStartNetwork(): done
[Tue Aug 12 12:01:25 2008] ncStub call done: 9285 0
[Tue Aug 12 12:01:25 2008]      -417/0 4749/4749 1/1
[Tue Aug 12 12:01:26 2008] ncStub call done: 9286 0
[Tue Aug 12 12:01:26 2008]      -33/0 4749/4749 1/1
[Tue Aug 12 12:01:26 2008] refresh_resources(): done
[Tue Aug 12 12:01:26 2008] DescribeResources(): done
[Tue Aug 12 12:01:26 2008] RegisterImage(): called
[Tue Aug 12 12:01:26 2008]      input params: location ttylinux, userId eucalyptus, amiId emi-0D05022C
[Tue Aug 12 12:01:26 2008] scRegisterImage(): user, amiId, location: eucalyptus emi-0D05022C ttylinux
[Tue Aug 12 12:01:26 2008]      template_path: /share/apps/eucalyptus/templates/ttylinux
[Tue Aug 12 12:01:26 2008] RegisterImage(): done
[Tue Aug 12 12:01:26 2008]      reg_path2: /share/apps/eucalyptus/registered/eucalyptus/emi-0D05022C
[Tue Aug 12 12:01:26 2008]      rc from state: 0
[Tue Aug 12 12:01:26 2008] StartNetwork(): called
[Tue Aug 12 12:01:26 2008] vnetStartNetwork(): start_vdeswitch(/opt/eucalyptus-1.1/var/run/eucalyptus/net,clceuca0) == 0
[Tue Aug 12 12:01:26 2008] vnetStartNetwork(): configure_vdeswitch(/opt/eucalyptus-1.1/var/run/eucalyptus/net,clceuca0,-1) == 0
[Tue Aug 12 12:01:26 2008] vnetStartNetwork(): start_port(/opt/eucalyptus-1.1/var/run/eucalyptus/net,clceuca0) == 0
[Tue Aug 12 12:01:26 2008]      Running cmd: vde_cryptcab -s /opt/eucalyptus-1.1/var/run/eucalyptus/net/clceuca0.ctl -c cluster.bee-side.com:1978 -P /opt/eucalyptus-1.1/var/eucalyptu
s/keys/vdekey -p 29313
[Tue Aug 12 12:01:26 2008] vnetStartNetwork():  check_wire(), wirepids: 9296, host: cluster.bee-side.com (inactive)
[Tue Aug 12 12:01:26 2008] vnetStartNetwork(): done
[Tue Aug 12 12:01:26 2008] StartNetwork(): SUCCESS return from vnetStartNetwork 0
[Tue Aug 12 12:01:26 2008] StartNetwork(): done

and nc.log on one node:
[Tue Aug 12 12:01:25 2008] doDescribeResource() invoked
[Tue Aug 12 12:01:26 2008] StartNetwork(): called
[Tue Aug 12 12:01:26 2008] vnetStartNetwork(): start_vdeswitch(/opt/eucalyptus-1.1/var/run/eucalyptus/net,nceuca0) == 0
[Tue Aug 12 12:01:26 2008] vnetStartNetwork(): configure_vdeswitch(/opt/eucalyptus-1.1/var/run/eucalyptus/net,nceuca0,-1) == 0
[Tue Aug 12 12:01:26 2008] vnetStartNetwork(): start_port(/opt/eucalyptus-1.1/var/run/eucalyptus/net,nceuca0) == 0
[Tue Aug 12 12:01:26 2008] vnetStartNetwork(): done
[Tue Aug 12 12:01:26 2008] StartNetwork(): SUCCESS return from vnetStartNetwork 0
[Tue Aug 12 12:01:26 2008] StartNetwork(): done
[Tue Aug 12 12:01:42 2008] doDescribeInstances() invoked
[Tue Aug 12 12:01:57 2008] doDescribeResource() invoked
[Tue Aug 12 12:02:12 2008] doDescribeInstances() invoked
[Tue Aug 12 12:02:28 2008] doDescribeResource() invoked

Looking at the cc.log the cluster.bee-side.com is described as "inactive" but I don't know how to change that status maybe something around here?

>
> Finally, Eucalyptus uses the availability zones as a way to distinguish different cluster controller (and clusters associated with it). So in your case you should be able to see only one availability zone the one related to your fronted (cluster.bee-side.com). Once the nodes will register correctly with the frontend, you should be able to use them all without having to specify any zone at all. The error you see now happens because Eucalyptus doesn't see any available node (the 000/000 you see means 0 nodes of 0 are available) and it should be cleared out once the nodes reports correctly.

Ok thanks also for this clarification, so 1 physical node equals to 1 "resource" in general? What I'm asking is: does a physical machine host only one ami at time?

Thanks in advance
All my bests
Fabio
>
> graziano

  • admin's blog
  • Login to post comments

tags in Arguments

administrivia bash Debian GNU/Linux OS emacs howto perl scripts web
more tags

Navigation

  • Feedback
  • News aggregator

ICT users' rights

  • Support freedom by joining the FSF during our year-end fundraiser
  • Bilski ruling: a victory on the path to ending software patents
  • FSF Releases New Version of GNU Free Documentation License
  • FSF reboots its High Priority list with a grant and call for input
  • "Avoiding Ruinous Compromises" by Richard Stallman
more

High Scalability Architecture

  • Scalability Perspectives #2: Van Jacobson – Content-Centric Networking
  • What CDN would you recommend?
  • Is Eucalyptus ready to be your private cloud?
  • Private/Public Cloud
  • Useful Cloud Computing Blogs
more

Debian Security

  • DSA-1667 python2.4
  • DSA-1666 libxml2
  • DSA-1665 libcdaudio
  • DSA-1664 ekg
  • DSA-1663 net-snmp
more

Drupal Security

  • SA-2008-069 - CCK for 5.x and 6.x - XSS vulnerabilities
  • SA-2008-068 - Localization client and Localization server - Cross site request forgery
  • SA-2008-067 - Drupal core - Multiple vulnerabilities
  • SA-2008-066 - Shindig-Integrator - Multiple vulnerabilities
  • SA-2008-065 - Node Clone - Access bypass
more

EFF

  • FBI Withdraws Unconstitutional National Security Letter After ACLU and EFF Challenge
  • EFF and Sheppard Mullin Defend Wikipedia in Defamation Case
  • Congress Must Investigate Electronic Searches at U.S. Borders
  • Betrayed MSN Music Customers Deserve More from Microsoft
  • EFF Report: FBI Slowed Terror Investigation with Improper NSL Request
more

Invent Geek

  • the ion cooler 2.0
  • the ultimate dance pad v1.0
  • thermaltake sponsors inventgeek
  • The Thermaltake MiniFridge Case Mod
  • Inventgeek gets a facelift and a butt tuck
more

 Privacy | Disclaimer | Drupal | Creative Commons

All content on this site is ditributed under Creative Commons License, each individual author is responsible for its own posts.

RoopleTheme