Status: New
Owner: [email protected]
Labels: Type-Defect Component-scripts

New issue 603 by [email protected]: When creating a cluster with a missing user (gnt-luxid), the operation fails and results in an inconsistent state.
http://code.google.com/p/ganeti/issues/detail?id=603

What steps will reproduce the problem?
- Create a new cluster with user gnt-luxid missing:
# gnt-cluster init -s ... --master-netdev=eth0 --nic-parameters=link=... ... Corrupt configuration file: User 'gnt-luxid' not found ('getpwnam(): name not found: gnt-luxid')
   Aborting

What is the expected output? What do you see instead?

When the operation fails, I expect to be able to either repeat the operation or to destroy the broken cluster.

Instead, neither is possible:

  # gnt-cluster init .....
  Failure: prerequisites not met for this operation:
  error type: wrong_state, error details:
  Cluster is already initialised

and

   # gnt-cluster destroy --yes-do-it
   Failure: prerequisites not met for this operation:
   error type: wrong_input, error details:
   Cluster not initialized or this machine is not part of a cluster

Please use labels and text to provide additional information.

Any workaround until this is fixed would be appreciated.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to