Sandro Bonazzola has posted comments on this change.

Change subject: try attaching iso domain more than once
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.ovirt.org/#/c/27854/1/centos/oVirtLiveFiles/root/usr/share/ovirt-engine/setup/plugins/ovirt-engine-setup/olive/core.py
File 
centos/oVirtLiveFiles/root/usr/share/ovirt-engine/setup/plugins/ovirt-engine-setup/olive/core.py:

Line 119:     def _createstorage(self):
Line 120:         self.logger.debug('Attaching iso domain')
Line 121:         attached = False
Line 122:         tries = 10
Line 123:         while not attached and tries > 0:
Note that for attaching an ISO domain, the datacenter must be active.
Since it takes a while adding the data domain and having datacenter up you may 
probably check datacenter / data domain status and then try to attach ISO only 
when it's ready to accept it.
Line 124:             tries -= 1
Line 125:             try:
Line 126:                 self._engine_api.datacenters.get(
Line 127:                     self.environment[


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Id4edf8f4c3dcad76cc9b4122cfa5d8e23b5409e8
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-live
Gerrit-Branch: master
Gerrit-Owner: Yedidyah Bar David <d...@redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbona...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to