eucalyptus NC doesn't recognize cache site

Bug #561511 reported by Thomy23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eucalyptus (Ubuntu)
Expired
Medium
Unassigned

Bug Description

On the eucalyptus NC, the VM-Dir cache size is not recognized. In my eucalyptus.conf (on the NC) i have:

...
# This directory should be local to the Node Controller (as
# opposed to a NFS share) for performance reasons.
INSTANCE_PATH="/var/lib/eucalyptus/instances"

# The maximum amount of disk space, in Megabytes, that Eucalyptus is
# allowed to use in the cache directory (INSTANCES_PATH/eucalyptus/cache).
# A generous size is recommended. Setting this to zero disables caching.
NC_CACHE_SIZE="50000"
....

Once i restart the eucalyptus service via

service eucalyptus-nc restart

I get in the /var/log/eucalyptus/nc.log

[Mon Apr 12 15:49:06 2010][018988][EUCAINFO ] NC is looking for configuration in //etc/eucalyptus/eucalyptus.conf
[Mon Apr 12 15:49:06 2010][018988][EUCAINFO ] sem_alloc(): cleaning up old semaphore eucalyptus-nc-semaphore
[Mon Apr 12 15:49:06 2010][018988][EUCAINFO ] sem_alloc(): cleaning up old semaphore eucalyptus-nc-inst-semaphore
[Mon Apr 12 15:49:06 2010][018988][EUCAINFO ] sem_alloc(): cleaning up old semaphore eucalyptus-storage-semaphore
[Mon Apr 12 15:49:06 2010][018988][EUCAINFO ] SC is looking for configuration in //etc/eucalyptus/eucalyptus.conf
[Mon Apr 12 15:49:06 2010][018988][EUCAINFO ] euca_init_cert(): using file //var/lib/eucalyptus/keys/node-cert.pem
[Mon Apr 12 15:49:06 2010][018988][EUCAINFO ] euca_init_cert(): using file //var/lib/eucalyptus/keys/node-pk.pem
[Mon Apr 12 15:49:06 2010][018988][EUCADEBUG ] doInitialized() invoked
[Mon Apr 12 15:49:06 2010][018988][EUCADEBUG ] system_output(): [//usr/lib/eucalyptus/euca_rootwrap //usr/share/eucalyptus/get_sys_info]
[Mon Apr 12 15:49:06 2010][018988][EUCAINFO ] Using 4 cores
[Mon Apr 12 15:49:06 2010][018988][EUCAINFO ] Using 24476 memory
[Mon Apr 12 15:49:06 2010][018988][EUCAINFO ] looking for existing domains
[Mon Apr 12 15:49:06 2010][018988][EUCAINFO ] no currently running domains to adopt
[Mon Apr 12 15:49:06 2010][018988][EUCAINFO ] checking the integrity of instances directory (/var/lib/eucalyptus/instances)
[Mon Apr 12 15:49:06 2010][018988][EUCAINFO ] checking the integrity of the cache directory ((null))
[Mon Apr 12 15:49:06 2010][018988][EUCAINFO ] no cache directory yet
[Mon Apr 12 15:49:06 2010][018988][EUCAINFO ] Maximum disk available = 439105 (under /var/lib/eucalyptus/instances)
[Mon Apr 12 15:49:06 2010][018988][EUCADEBUG ] doDescribeInstances() invoked
[Mon Apr 12 15:49:06 2010][018988][EUCADEBUG ] Starting monitoring thread
!

I have used these packages (from karmic-proposed):

ii eucalyptus-common 1.6~bzr931-0ubuntu7.6 Elastic Utility Computing Architecture - Com
ii eucalyptus-gl 1.6~bzr931-0ubuntu7.6 Elastic Utility Computing Architecture - Log
ii eucalyptus-nc 1.6~bzr931-0ubuntu7.6 Elastic Utility Computing Architecture - Nod

Greets Thomas

Revision history for this message
Mathias Gug (mathiaz) wrote :

Have you checked if the maximum size is actually enforced or you're basing your report on the log message:

[Mon Apr 12 15:49:06 2010][018988][EUCAINFO ] Maximum disk available = 439105 (under /var/lib/eucalyptus/instances)

Changed in eucalyptus (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Thomy23 (thomas-stather) wrote :

thats strange, after i started the first instance on this NC (it doesn't start due to errors) and restarted Eucalyptus-NC, this error went away and now i have in my nc.log

...
[Wed Apr 14 08:29:14 2010][020746][EUCAINFO ] NC is looking for configuration in //etc/eucalyptus/eucalyptus.conf
[Wed Apr 14 08:29:14 2010][020746][EUCAINFO ] sem_alloc(): cleaning up old semaphore eucalyptus-nc-semaphore
[Wed Apr 14 08:29:14 2010][020746][EUCAINFO ] sem_alloc(): cleaning up old semaphore eucalyptus-nc-inst-semaphore
[Wed Apr 14 08:29:14 2010][020746][EUCAINFO ] sem_alloc(): cleaning up old semaphore eucalyptus-storage-semaphore
[Wed Apr 14 08:29:14 2010][020746][EUCAINFO ] SC is looking for configuration in //etc/eucalyptus/eucalyptus.conf
[Wed Apr 14 08:29:14 2010][020746][EUCAINFO ] euca_init_cert(): using file //var/lib/eucalyptus/keys/node-cert.pem
[Wed Apr 14 08:29:14 2010][020746][EUCAINFO ] euca_init_cert(): using file //var/lib/eucalyptus/keys/node-pk.pem
[Wed Apr 14 08:29:14 2010][020746][EUCADEBUG ] doInitialized() invoked
[Wed Apr 14 08:29:14 2010][020746][EUCADEBUG ] system_output(): [//usr/lib/eucalyptus/euca_rootwrap //usr/share/eucalyptus/get_sys_info]
[Wed Apr 14 08:29:14 2010][020746][EUCAINFO ] Using 4 cores
[Wed Apr 14 08:29:14 2010][020746][EUCAINFO ] Using 24476 memory
[Wed Apr 14 08:29:14 2010][020746][EUCAINFO ] looking for existing domains
[Wed Apr 14 08:29:14 2010][020746][EUCAINFO ] no currently running domains to adopt
[Wed Apr 14 08:29:14 2010][020746][EUCAINFO ] checking the integrity of instances directory (/var/lib/eucalyptus/instances)
[Wed Apr 14 08:29:14 2010][020746][EUCAINFO ] checking the integrity of the cache directory (/var/lib/eucalyptus/instances/eucalyptus/cache)
[Wed Apr 14 08:29:14 2010][020746][EUCAINFO ] - cached image eri-0923114F directory, size=3870627
[Wed Apr 14 08:29:14 2010][020746][EUCAINFO ] - cached image eki-F4AC10DE directory, size=3942356
[Wed Apr 14 08:29:14 2010][020746][EUCAINFO ] Maximum disk available = 439068 (under /var/lib/eucalyptus/instances)

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for eucalyptus (Ubuntu) because there has been no activity for 60 days.]

Changed in eucalyptus (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.