Bug #1694

System datastore can in fact be added to cluster

Added by Tino Vázquez over 8 years ago. Updated over 8 years ago.

Status:ClosedStart date:12/14/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Core & System
Target version:Release 4.0
Resolution:fixed Pull request:
Affected Versions:OpenNebula 3.8

Description

(255) one $ onecluster adddatastore 171 0

[ClusterAddDatastore] Cannot add object to cluster. Datastore 'system' cannot be added to any cluster.

(255) one $ onedatastore list

ID NAME CLUSTER IMAGES TYPE TM
0 system 798YIUHLKIJ 0 - ssh

one $ onecluster deldatastore 171 0

[ClusterDelDatastore] Cannot remove object from cluster. Datastore ID is not part of the cluster set.

(255) one $ onedatastore list

ID NAME CLUSTER IMAGES TYPE TM
0 system - 0 - ssh

Associated revisions

Revision 1c826bce
Added by Carlos Martín over 8 years ago

Bug #1694: Rollback cluster id when system DS is added to any cluster

Revision cdab2668
Added by Carlos Martín over 8 years ago

Bug #1694: Add new attribute system_ds to Cluster. Template attribute is now ignored

Revision 3c6871b2
Added by Carlos Martín over 8 years ago

Bug #1694: Remove potential deadlock

Revision ca4504f9
Added by Carlos Martín over 8 years ago

Bug #1694: If a DS updates its type to system_ds, update the cluster system_ds

Revision 1cb2d27f
Added by Carlos Martín over 8 years ago

Bug #1694: onedb migrator

Revision a10e19fe
Added by Carlos Martín over 8 years ago

Bug #1694: FSCK checks the system_ds is part of the cluster, and that there are not more than one system ds per cluster

Revision c523b889
Added by Ruben S. Montero over 8 years ago

Revert "Bug #1694: If a DS updates its type to system_ds, update the cluster system_ds"

This reverts commit ca4504f984d65ed9500dbd08ac530d6b2ae7ed99.

Revision 69d40b30
Added by Ruben S. Montero over 8 years ago

bug #1694: recover change from reverted commit

Revision f2201a4c
Added by Ruben S. Montero over 8 years ago

bug #1694: Use datastore ID in error message

Revision fae3649a
Added by Ruben S. Montero over 8 years ago

bug #1694: Fix memory leak when updating templates with syntax errors

Revision 00c6b33b
Added by Ruben S. Montero over 8 years ago

bug #1694: Move check logic for datastores to update function

History

#1 Updated by Ruben S. Montero over 8 years ago

  • Category set to Core & System
  • Status changed from New to Closed
  • Target version set to Release 4.0
  • Resolution set to fixed

Also available in: Atom PDF