Yedidyah Bar David has uploaded a new change for review.

Change subject: packaging: rename: drop handling of RedirectServletReportsPage
......................................................................

packaging: rename: drop handling of RedirectServletReportsPage

This option does not exist in 3.5.

Change-Id: If22134524c7699d53fb944b9b26dc158ac71ea49
Signed-off-by: Yedidyah Bar David <d...@redhat.com>
---
M packaging/setup/plugins/ovirt-engine-rename/ovirt-engine/database.py
1 file changed, 0 insertions(+), 29 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/38/35838/1

diff --git 
a/packaging/setup/plugins/ovirt-engine-rename/ovirt-engine/database.py 
b/packaging/setup/plugins/ovirt-engine-rename/ovirt-engine/database.py
index e01566e..93b6cdc 100644
--- a/packaging/setup/plugins/ovirt-engine-rename/ovirt-engine/database.py
+++ b/packaging/setup/plugins/ovirt-engine-rename/ovirt-engine/database.py
@@ -154,34 +154,5 @@
             )
             raise RuntimeError(_('Cannot rename host hosting Storage Domains'))
 
-    @plugin.event(
-        stage=plugin.Stages.STAGE_MISC,
-        after=(
-            oengcommcons.Stages.DB_CONNECTION_AVAILABLE,
-        ),
-    )
-    def _misc(self):
-        option = 'RedirectServletReportsPage'
-        vdc = vdcoption.VdcOption(
-            statement=self.environment[
-                oenginecons.EngineDBEnv.STATEMENT
-            ]
-        )
-        value = vdc.getVdcOption(name=option)
-
-        if value:
-            newfqdn = self.environment[osetupcons.RenameEnv.FQDN]
-            u = urlparse.urlparse(value)
-            ulist = list(u)
-            ulist[1] = newfqdn + ":" + str(u.port)
-            vdc.updateVdcOptions(
-                options=(
-                    {
-                        'name': option,
-                        'value': urlparse.urlunparse(ulist),
-                    },
-                )
-            )
-
 
 # vim: expandtab tabstop=4 shiftwidth=4


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If22134524c7699d53fb944b9b26dc158ac71ea49
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yedidyah Bar David <d...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to