On 03/14/2013 06:33 PM, Edison Su wrote:
The uuid is a shortcut to find out local storage, when restart cloud-agent. I 
agree, we should only take a look at local.storage.path, instead of uuid.

Seems like a good thing to do. Since that would make the configuration on the agent even easier.

Wido


-----Original Message-----
From: Marcus Sorensen [mailto:shadow...@gmail.com]
Sent: Tuesday, March 12, 2013 11:05 PM
To: cloudstack-dev@incubator.apache.org
Subject: local.storage.uuid in agent.properties

Why do we have the local.storage.uuid property in
/etc/cloudstack/agent/agent.properties? If this property gets out of sync
with the cloudstack database, perhaps due to re-addition of host, the agent
fails to start. One of the first things the agent does is to pull this property 
out
of agent.properties, create the local storage pool, and then cloudstack tries
to redefine the pool according to what it thinks it should be when it needs
the pool. It seems redundant to create the local pool on startup.

Reply via email to