Sandro Bonazzola has uploaded a new change for review.

Change subject: packaging: setup: centos: fixed otopi stages order
......................................................................

packaging: setup: centos: fixed otopi stages order

Fixed otopi loop:
error: method
otopi.plugins.ovirt_engine_setup.olive.core.Plugin._createstorage
is in a later stage than method
otopi.plugins.ovirt_engine_setup.olive.core.Plugin._copyiso
although it depends on it

Fix ordering issue:
Failed to execute stage 'Closing up': 'Plugin' object has no attribute
'_engine_api'

Change-Id: I1be5eb6be1c9c9f78d0273f192c0e6edd3cc46f5
Signed-off-by: Sandro Bonazzola <sbona...@redhat.com>
---
M 
centos/oVirtLiveFiles/root/usr/share/ovirt-engine/setup/plugins/ovirt-engine-setup/olive/core.py
1 file changed, 1 insertion(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-live refs/changes/40/32140/1

diff --git 
a/centos/oVirtLiveFiles/root/usr/share/ovirt-engine/setup/plugins/ovirt-engine-setup/olive/core.py
 
b/centos/oVirtLiveFiles/root/usr/share/ovirt-engine/setup/plugins/ovirt-engine-setup/olive/core.py
index c707059..f815bcb 100644
--- 
a/centos/oVirtLiveFiles/root/usr/share/ovirt-engine/setup/plugins/ovirt-engine-setup/olive/core.py
+++ 
b/centos/oVirtLiveFiles/root/usr/share/ovirt-engine/setup/plugins/ovirt-engine-setup/olive/core.py
@@ -108,9 +108,6 @@
         stage=plugin.Stages.STAGE_CLOSEUP,
         condition=lambda self: self._enabled,
         name=oliveconst.Stages.CONFIG_STORAGE,
-        before=(
-            oliveconst.Stages.COPY_ISO,
-        ),
         after=(
             oliveconst.Stages.INIT,
         ),
@@ -176,7 +173,7 @@
         condition=lambda self: self._enabled,
         name=oliveconst.Stages.CREATE_VM,
         after=(
-            oliveconst.Stages.COPY_ISO,
+            oliveconst.Stages.INIT,
         ),
     )
     def _createvm(self):


-- 
To view, visit http://gerrit.ovirt.org/32140
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1be5eb6be1c9c9f78d0273f192c0e6edd3cc46f5
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-live
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <sbona...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to