cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei Zhou (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-6975) Service monitoring starts dnsmasq on backup router when using redundant VRs
Date Thu, 21 Apr 2016 08:36:25 GMT


Wei Zhou commented on CLOUDSTACK-6975:

this can be fixed by 
diff --git a/systemvm/patches/debian/config/opt/cloud/bin/cs/ b/systemvm/patches/debian/config/opt/cloud/bin/cs/
index 48533ec..4e0df41 100755
--- a/systemvm/patches/debian/config/opt/cloud/bin/cs/
+++ b/systemvm/patches/debian/config/opt/cloud/bin/cs/
@@ -54,7 +54,8 @@ class CsDhcp(CsDataBag):

         # We restart DNSMASQ every time the is called in order to avoid lease
-        CsHelper.execute2("service dnsmasq restart")
+        if not or
+            CsHelper.execute2("service dnsmasq restart")

     def configure_server(self):
         # self.conf.addeq("dhcp-hostsfile=%s" % DHCP_HOSTS)

> Service monitoring starts dnsmasq on backup router when using redundant VRs
> ---------------------------------------------------------------------------
>                 Key: CLOUDSTACK-6975
>                 URL:
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Virtual Router
>    Affects Versions: 4.3.0
>         Environment: KVM
>            Reporter: Magnus Bengtsson
> When using a network offering with redundant routers the default setting of EnableServiceMonitoring
enables monit on the routers.
> "network.router.EnableServiceMonitoring	service monitoring in router enable/disable option,
default true	false"
> This causes monit to run dnsmasq on both the Master and Backup router. When the backup
router assigns dhcp to clients, password and userdata retrieval from that node fails since
the services are not running on the backup router.

This message was sent by Atlassian JIRA

View raw message