Bug #1306

TM drivers try to scp the context iso when using the EC2 driver

Added by Daniel Molina about 8 years ago. Updated about 8 years ago.

Status:ClosedStart date:06/08/2012
Priority:NormalDue date:
Assignee:Carlos Martín% Done:

0%

Category:Drivers - Auth
Target version:Release 3.6
Resolution:fixed Pull request:
Affected Versions:OpenNebula 3.4

Description

From a Patrice Lachance email:

I made some tests today with one-3.4.2 managing only Amazon EC2 and got problems using the context section.
I had to patch the $ONE_LOCATION/var/remotes/tm/shared/context file because it tried to scp to the EC2 hosts to create the file which is not needed nor possible...

--- context     2012-05-28 17:14:24.314047984 +0000
+++ context.patch       2012-05-28 17:14:15.941581870 +0000
@@ -37,6 +37,11 @@

 . $TMCOMMON

+if [ -n "`echo $DST | grep ^ec2`" ]; then
+    log "Skipping transfer as destination is EC2" 
+    exit 0
+fi
+
 #-------------------------------------------------------------------------------
 # Set dst path and dirs
 #-------------------------------------------------------------------------------

Associated revisions

Revision d5b40785
Added by Carlos Martín about 8 years ago

Bug #1306: Add tm_mad to History elements

Revision ffc99eea
Added by Carlos Martín about 8 years ago

Bug #1306: Use the tm_mad stored in the history, instead of the system_ds tm_mad

Revision a6b2c86b
Added by Carlos Martín about 8 years ago

Bug #1306: Add Template contents to Clusters

Revision 792dcf01
Added by Carlos Martín about 8 years ago

Bug #1306: Clusters can use the datastore set in SYSTEM_DS, Datastores can have SYSTEM = YES in the template

Revision fd28ff9d
Added by Carlos Martín about 8 years ago

Bug #1306: If the cluster has a SYSTEM_DS set, check that it is actually a system type ds. Do not allow image registration in any system type DS.

Revision 1327f28f
Added by Carlos Martín about 8 years ago

Bug #1306: Use the System DS id to generate the VM system dir

Revision df0e1ce1
Added by Carlos Martín about 8 years ago

Bug #1306: Add onedb migrator to 3.6.0

Revision 54dccb3a
Added by Carlos Martín about 8 years ago

Bug #1306: Fix bug, deployment didn't work for Hosts in cluster -1 (none)

Revision 1ee82ca6
Added by Carlos Martín about 8 years ago

Bug #1306: Update xsd files

Revision 2867263e
Added by Carlos Martín about 8 years ago

Bug #1306: VMs cannot be migrated to hosts using a different system DS

Revision cd00217b
Added by Carlos Martín about 8 years ago

Bug #1306: VMs cannot be migrated to hosts using a different system DS
(cherry picked from commit 2867263e5734007747322cbcf9f94fb5ee6b0ac8)

Revision 38f6167f
Added by Hector Sanjuan about 8 years ago

Bug #1306: Sunstone: Add template update possibility to Clusters.
(cherry picked from commit 43b8b659a03db56f5e004cc51a88c727765570c4)

Revision aa88d665
Added by Hector Sanjuan about 8 years ago

Bug #1306: Sunstone: Let user create System datastores
(cherry picked from commit 6cfc4c9f435cf2b50007e0bd3ef732986d32f924)

Revision ff12f055
Added by Hector Sanjuan about 8 years ago

Bug #1306: Sunstone: Add template update possibility to Clusters.
(cherry picked from commit 43b8b659a03db56f5e004cc51a88c727765570c4)

Revision 253ee454
Added by Hector Sanjuan about 8 years ago

Bug #1306: Sunstone: Let user create System datastores
(cherry picked from commit 6cfc4c9f435cf2b50007e0bd3ef732986d32f924)

History

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

  • Target version changed from Release 3.8 to Release 3.6

#2 Updated by Ruben S. Montero about 8 years ago

  • Assignee set to Carlos Martín

#3 Updated by Ruben S. Montero about 8 years ago

  • Status changed from New to Assigned

#4 Updated by Ruben S. Montero about 8 years ago

  • Status changed from Assigned to Closed
  • Resolution set to fixed

Also available in: Atom PDF