I'm working on fixing the Console's dev tests, and I get,
intermittently, an error like the following when trying to delete a cluster:
Successfully removed instance
instanceNamea2765faa833cb8ebd23c02893e7fd4534b from the DAS
configuration, but failed to remove the instance files from node
localhost (localhost).
Command failed on node localhost (localhost): Command
_delete-instance-filesystem failed.
The instance directory does not exist:
/Users/jasonlee/src/servers/glassfish3/glassfish/nodes/localhost/instanceNamea2765faa833cb8ebd23c02893e7fd4534b
To complete this operation run the following command locally on host
localhost from the GlassFish install location
/Users/jasonlee/src/servers/glassfish3:
asadmin delete-local-instance --node localhost
instanceNamea2765faa833cb8ebd23c02893e7fd4534b
I've even gotten this error on instances that I was able to start, so it
seems the instance is "normal."
I create the clusters and instances through the REST interface, which
ultimately calls create-cluster, and then create-instance --cluster foo
for each cluster instance. Deleting the cluster is done ultimately via
delete-cluster.
Anyone have any ideas what's going on? If you need the exact CLI
params, I can turn on logging and dig those out for you.
If I select the cluster and click delete again, it deletes just fine,
but I'd really rather not loop until it's gone in the test. :P
I'd really like to get to the bottom of this, as this is a very common
cause for Console test failures.
--
Jason Lee
Senior Member of Technical Staff
GlassFish Administration Console
Oracle Corporation
Phone +1 405-216-3193
Blog http://blogs.steeplesoft.com