Corporate Home Open Source Home
Syndicate content
Eucalyptus

Join us at engage.eucalyptus.com

4 replies [Last post]
nix_user
Offline
Joined: 05/26/2009

Hello Eucalyptus community,

My task was following rename cluster controller.
I have deregistred Cluster controller, Storage controller, Walrus, NSs euca_conf --deregister-... . After I have registred new name old cluster name still appear on databases eucalyptus_storage.script, eucalyptus_images.script. Is it correct ?

Also one produce following error
wher I run command euca-describe-volumes in cloud-output.log appear error
17:08:49 WARN 259 VolumeManager | Error getting volume information from the Storage Controller: com.eucalyptus.config.NoSuchComponentException: StorageControllerConfiguration named privcloud
17:08:49 DEBUG 260 VolumeManager | com.eucalyptus.config.NoSuchComponentException: StorageControllerConfiguration named privcloud

cloud-debug.log
17:08:49 WARN [VolumeManager:Volume.13] Error getting volume information from the Storage Controller: com.eucalyptus.config.NoSuchComponentException: StorageControllerConfiguration named privcloud
17:08:49 DEBUG [VolumeManager:Volume.13] com.eucalyptus.config.NoSuchComponentException: StorageControllerConfiguration named privcloud
at com.eucalyptus.blockstorage.VolumeManager.DescribeVolumes(VolumeManager.java:256)

privcloud is my old cluster name.
Please, give my advice how to remove old name from database? or where it can stored? or how to find couse of issue?

command euca-create-volume -s 1 -z one
VOLUME vol-5F2E0658 1 creating 2011-12-15T14:21:36.635Z
create new volumes on disk, but I can't see it in euca-describe-volumes

My eviroment is
Ubuntu 11.10
eucalyptus-cloud 2.0.1+bzr1256-0ubuntu8
eucalyptus-cc 2.0.1+bzr1256-0ubuntu8
eucalyptus-cloud 2.0.1+bzr1256-0ubuntu8
eucalyptus-common 2.0.1+bzr1256-0ubuntu8
eucalyptus-gl 2.0.1+bzr1256-0ubuntu8
eucalyptus-java-common 2.0.1+bzr1256-0ubuntu8
eucalyptus-sc 2.0.1+bzr1256-0ubuntu8
eucalyptus-walrus 2.0.1+bzr1256-0ubuntu8

jonata
Offline
Joined: 04/05/2010
I'm having this problem too,

I'm having this problem too, see this bug that i filed https://bugs.launchpad.net/eucalyptus/+bug/920408

But im using eucalyptus 1.6.2 and ubuntu 10.04. It seems this bug affects both 1.6.2 and 2.0.3. Could anyone help?

nix_user, you found the solution?

nix_user
Offline
Joined: 05/26/2009
My solution was trivial I

My solution was trivial I installed Eucalyptus from scratch.

jonata
Offline
Joined: 04/05/2010
Thanks for reply nix_user.

Thanks for reply nix_user. Unfortunately for my, i have a almost production environment. I'm sure a reinstallation will solve, but i just can't do that.

jonata
Offline
Joined: 04/05/2010
Ok, i found the solution. The

Ok, i found the solution.

The problem was my cluster (that is CC and SC) was named as 192.168.1.1 (name and IP), i saw that name mistake and deregistered it and registered it again with the name of cc-t300. The problems with euca-describe-volumes started at this point. Then i figured out why: i had some volumes created when the name of the cluster was still 192.168.1.1, and in the StorageUtil.java we have this:

public static edu.ucsb.eucalyptus.msgs.Volume getVolumeReply( Map attachedVolumes, Volume v ) throws EucalyptusCloudException {
StorageControllerConfiguration scConfig = Configuration.getStorageControllerConfiguration( v.getCluster( ) );

It means that the method gets the name of the Cluster looking to the volume, all they. But the volume has an old name of Cluster (192.168.1.1), and method getStorageControllerConfiguration can't communicate with it, throwing an exception and stopping the euca-describe-volumes.

I found the older records of volumes in eucalyptus_image.script and eucalyptus_storage.script in the directory /var/lib/eucalyptus/db of Cloud Controller, then i deleted that records and restarted the machine. The things are working now.