1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

3955 Commits

Author SHA1 Message Date
Jaime Melis
41d3bbe200 feature #1112: Implement clone, delete, ln, mv, mvds for tm_iscsi 2012-03-07 21:13:33 +01:00
Jaime Melis
5ec865cb3c feature #1112: improve debugging for one_datastore.rb 2012-03-07 12:45:49 +01:00
Jaime Melis
d8cfa2eae6 feature #1112: DS iSCSI drivers 2012-03-07 12:42:21 +01:00
Jaime Melis
89a0a475c9 feature #1112: Small modifications in DS/TM scripts:
* The DS directory is created specifically by each action only when needed
* ssh_exec_and_log and ssh_make_path move to scripts_common.sh
* Round the size up
* drop unused remote2local_path function
2012-03-07 12:41:35 +01:00
Ruben S. Montero
ea089f0626 feature #1112: Fix errors in mvds scripts 2012-03-06 23:23:33 +01:00
Ruben S. Montero
e4017e6106 feature #1112: Move SED initialization to scripts_common.sh. Always fix path for SRC/DST 2012-03-06 22:25:39 +01:00
Ruben S. Montero
fb44e1955a feature #1112: Fix file name in install.sh 2012-03-06 22:25:22 +01:00
Carlos Martín
ea70484edc Feature #1112: Fix save_as image state update when VMs in failed state are deleted 2012-03-06 18:44:22 +01:00
Carlos Martín
c9cc70dc81 Feature #1112: Fix save_as in mkfs datastore_mad drivers 2012-03-06 18:08:20 +01:00
Carlos Martín
dabcafa2d9 Feature #1112: Fix exec_and_log functions 2012-03-06 18:07:14 +01:00
Carlos Martín
a48d204b3e Feature #1112: RMVMachine save as method: solve image left with its mutex locked, remove PUBLIC att. from new template 2012-03-06 16:31:12 +01:00
Carlos Martín
cefe51b38b Feature #1112: add src/tm_mad/*/vmds to install.sh 2012-03-06 16:30:05 +01:00
Carlos Martín
51cec846bf Feature #1112: Renamge DATASTORE/TYPE to DS_MAD 2012-03-06 15:13:55 +01:00
Carlos Martín
bb2b9371a0 Feature #1112: Do not create cluster "default" at bootstrap 2012-03-06 14:47:17 +01:00
Ruben S. Montero
d38292505b feature #1112: Update Image state when releasing it (persistent and save_as images) 2012-03-06 00:18:01 +01:00
Ruben S. Montero
13bee9d9da Merge branch 'feature-1112' of git.opennebula.org:one into feature-1112 2012-03-05 23:49:42 +01:00
Ruben S. Montero
92dd8d4c5e feature #1112: Save_as functionality 2012-03-05 23:49:18 +01:00
Carlos Martín
5ea3d682ee Feature #1112: Fix tests compilation 2012-03-05 17:53:17 +01:00
Carlos Martín
05fdb88739 Feature #1112: Allow datastore template update to change the internal TYPE and TM_MAD attributes 2012-03-05 16:47:59 +01:00
Carlos Martín
f534f66ca5 Feature #1112: Show TM_MAD in onedatastore show output 2012-03-05 16:46:27 +01:00
Carlos Martín
20ff34756c Feature #1112: Add automatic cluster placement requirements to new VMs 2012-03-05 16:20:04 +01:00
Tino Vazquez
c2069ea215 Merge branch 'feature-1112' of git.opennebula.org:one into feature-1112 2012-03-05 14:39:08 +01:00
Tino Vazquez
182d50fd15 First work extending oZones with clusters & DS 2012-03-05 13:10:16 +01:00
Jaime Melis
f4e20d81ce feature #1112: Improvements in datastora_mad drivers:
* Remove unnecessary chowns.
* Improve xpath access from datastore shell scripts.
* Read UNAME, RESTRICTED_DIRS and SAFE_DIRS from datastore template.
* New size function using qemu-img
2012-03-05 11:56:18 +01:00
Jaime Melis
3ae8efbd0c feature #1112: Remove unnecessary files from install.sh and the 'mv' datastore scripts 2012-03-05 11:53:59 +01:00
Ruben S. Montero
950ef37b69 feature #1112: Move to Datastore action for the shared and ssh transfer drivers 2012-03-04 22:23:01 +01:00
Ruben S. Montero
0e4fd8904c Merge branch 'feature-1112' of git.opennebula.org:one into feature-1112 2012-03-03 03:42:33 +01:00
Ruben S. Montero
4dc9a34b79 feature #1112: TM shared and ssh. It should allow any combination of system datastore and images
datastore types (shared-shared, ssh-shared, shared-ssh, ssh-ssh)
2012-03-03 03:39:21 +01:00
Ruben S. Montero
193c3d2c94 feature #1112: Do not set DATASTORE_LOCATION value, use the default 2012-03-03 03:38:18 +01:00
Ruben S. Montero
eb33fab49f feature #1112: Fix bug when one of the actions of a TM script fails 2012-03-03 03:37:38 +01:00
Ruben S. Montero
e71c78c187 feature #1112: Do not make system_datastore directory for a VM. 2012-03-03 03:37:06 +01:00
Carlos Martín
1bb6d43464 Feature #1112: Create system and default datastores in cluster 'none' 2012-03-02 19:10:41 +01:00
Carlos Martín
89bdf19d2a Merge branch 'feature-1112' of git.opennebula.org:one into feature-1112 2012-03-02 18:52:01 +01:00
Carlos Martín
d376c6fa4b Feature #1112: Work on CLI commands, cluster and DS related methods 2012-03-02 18:51:17 +01:00
Ruben S. Montero
c1b7434774 feature 1112: Context fot tm_shared 2012-03-02 18:24:03 +01:00
Carlos Martín
759c0a2366 Feature #1112: New onedatastore update method 2012-03-02 17:25:42 +01:00
Carlos Martín
6ff6e1f200 Feature #1112: Add permissions to DS. New chown & chmod methods 2012-03-02 16:11:50 +01:00
Ruben S. Montero
864daba3ed feature #1112: mkswap for shared TM 2012-03-02 01:35:18 +01:00
Ruben S. Montero
5810a3fdb4 feature #1112: none fs type renamed to raw 2012-03-02 01:17:42 +01:00
Ruben S. Montero
1da7f89f5e feature #1112: clone, ln, mkimage, delete are now functional for tm_shared. Added none fs type for images 2012-03-02 01:15:19 +01:00
Ruben S. Montero
c58dd74666 feature #1112: Adjust core modules to generate right paths for system datastore. Fix bugs in TM shared 2012-03-02 00:06:57 +01:00
Ruben S. Montero
8988ba734c Merge branch 'feature-1112' of git.opennebula.org:one into feature-1112 2012-03-01 19:13:39 +01:00
Ruben S. Montero
b04d29b426 feature #1112: Initial work to adapt tm shared to the new functionality 2012-03-01 19:13:09 +01:00
Ruben S. Montero
0422baa857 feature #1112: Change verbs in transfer scripts 2012-03-01 19:12:49 +01:00
Carlos Martín
f69a646ceb Feature #1112: Add owner and group to DS. To do: chown, chmod methods 2012-03-01 18:50:17 +01:00
Carlos Martín
a4426b6824 Feature #1112: Store oneadmin's ID and name in UserPool 2012-03-01 18:48:25 +01:00
Carlos Martín
6d360310f4 Feature #1112: Add templates to Datastores 2012-03-01 17:40:54 +01:00
Carlos Martín
9a7d78f7f2 Feature #1112: Hosts, DS & VNets can belong to the 'none' cluster.
The cluster id -1 is used to indicate objects that can be clustered,
but are not assigned to any cluster. The new methods to remove objects
from their current datastore actually set this 'none' or -1 cluster
ID.

VNets are always created in this 'none' cluster. Hosts and DS require
a cluster ID to be placed when allocated, and the ruby OCA by default
sets it to 'none'
2012-03-01 17:14:52 +01:00
Carlos Martín
55b4b9510a Feature #1112: DS base_path is set by the core in /var/lib/one/datastores/$ID 2012-03-01 14:59:19 +01:00
Carlos Martín
b49a249943 Feature #1112: Associate VNets to Clusters. New VNets are created in the "default" cluster 2012-02-29 18:09:47 +01:00