Closed (works as designed)
Project:
Provision
Version:
6.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
15 Jun 2011 at 18:33 UTC
Updated:
19 Feb 2014 at 23:40 UTC
Jump to comment: Most recent
As a workaround for #1184172: failing on "serial number overflow", we tried to disable the DNS service from the frontend. We turned it off in the server node and ran a verify on it. Unfortunately, the task still tried to configure the DNS server:
...
Global configuration file exists
DNS data store path /var/aegir/config/dns.d exists.
DNS data store ownership of /var/aegir/config/dns.d has been changed to aegir.
DNS data store permissions of /var/aegir/config/dns.d have been changed to 700.
DNS data store path /var/aegir/config/dns.d is writable.
DNS zone configuration path /var/aegir/config/server_master/bind/zone.d exists.
DNS zone configuration ownership of /var/aegir/config/server_master/bind/zone.d has been changed to aegir.
DNS zone configuration permissions of /var/aegir/config/server_master/bind/zone.d have been changed to 755.
DNS zone configuration path /var/aegir/config/server_master/bind/zone.d is writable.
DNS host configuration path /var/aegir/config/server_master/bind/host.d exists.
DNS host configuration ownership of /var/aegir/config/server_master/bind/host.d has been changed to aegir.
DNS host configuration permissions of /var/aegir/config/server_master/bind/host.d have been changed to 755.
DNS host configuration path /var/aegir/config/server_master/bind/host.d is writable.
Template loaded: /usr/share/drush/commands/provision/dns/bind/server.tpl.php
Generated config Server-wide DNS configuration
Changed permissions of /var/aegir/config/server_master/bind.conf to 777
Template loaded: /usr/share/drush/commands/provision/data_store.tpl.php
Generated config /var/aegir/config/dns.d/zones.master.inc
Changed permissions of /var/aegir/config/dns.d/zones.master.inc to 700
Created symlink for bind.conf on ceres
...
Indeed the @server_master alias still has the DNS goodies:
$aliases['server_master'] = array (
'context_type' => 'server',
'server' => '@server_master',
...
'dns_service_type' => 'bind',
'dns_restart_cmd' => 'sudo rndc reload',
'dns_data_path' => '/var/aegir/config/dns.d',
'dns_zoned_path' => '/var/aegir/config/server_master/bind/zone.d',
'dns_hostd_path' => '/var/aegir/config/server_master/bind/host.d',
'slave_servers' =>
array (
),
'dns_default_mx' => NULL,
'dns_ttl' => 86400,
'dns_refresh' => 21600,
'dns_retry' => 3600,
'dns_expire' => 604800,
'dns_negativettl' => 86400,
...
I wonder if this affects other services as well...
Comments
Comment #1
anarcat commentedA workaround is to remove the following lines from the alias:
I suspect that removing just the first line would be sufficient too:
Comment #2
steven jones commentedServices, contexts, seems like this is one for me.
Comment #3
steven jones commentedCan confirm that once you have selected a service for a server you cannot deselect it, let's get this fixed in 6.x-2.x and backport from there.
Comment #4
socialnicheguru commentedI tried to enable bind
the task stopped
I did drush @hostmaster hosting-tasks --debug
and got the following:
Class 'Provision_Config_Bind_Server' not found in /usr/share/drush/commands/provision/Provision/Service.php on line 116
Drush command terminated abnormally due to an unrecoverable error
I tried drush rr but it did not help
Comment #5
anarcat commentedsee also #2098389: subdirs kicks in even when subdirs module is disabled..
Comment #6
ergonlogicFixed in #2098389: subdirs kicks in even when subdirs module is disabled.. Disabling the DNS hosting feature in the front-end should now block the hooks in dns.drush.inc from firing.
Comment #8
socialnicheguru commentedthis issue has not been fixed.
I just ran into it on a new install of aegir 2 (not 2.x).
I had to use the workaround and delete the dns entries in the .drush directory for my server
Comment #9
helmo commentedWhat do you mean with
? 2.0?
The code for this has been present since 2013-10-07 (6.x-2.0-rc5)
Comment #10
socialnicheguru commentedsorry i'm closing. I deleted and re-installed again and hasn't come up