Activity log for bug #1030860

Date Who What changed Old value New value Message
2012-07-30 13:19:08 Raphaël Badin bug added bug
2012-07-30 13:24:17 Andres Rodriguez maas (Ubuntu): assignee Andres Rodriguez (andreserl)
2012-08-01 07:42:04 Julian Edwards summary DNS is not enabled. Maas-hosted DNS is not enabled.
2012-08-02 14:15:31 Raphaël Badin description To enable DNS we need to: - make sure that bind9utils dnsutils bind9 python-netaddr are installed (new dependencies) - make sure that the directory /etc/bind/maas (etc/celeryconfig.py:DNS_CONFIG_DIR) is created - call `sudo maas set_up_dns` (this will create an empty [i.e. no DNS zone] configuration with the required rndc key in etc/celeryconfig.py:DNS_CONFIG_DIR : /etc/bind/maas) - add the result of `sudo get_named_conf` to named.conf.local - restart bind9 How to test this: $ sudo maas shell from django.core.management import call_command from maasserver.models import DHCPLease, NodeGroup, Node, MACAddress # Create the master nodegroup, jtv is fixing the code to get that done as part of a migration call_command('config_master_dhcp', subnet_mask='255.255.0.0', broadcast_ip='10.111.255.255', ip_range_low= '10.111.123.9', ip_range_high= '10.111.244.18', router_ip='10.111.123.9') # At this stage, the zone is defined and all the auto-generated hostname are in place: # dig @127.0.0.1 10-111-123-9.master +short # Create a node in that nodegroup. Its hostname is 'myhostname' master = NodeGroup.objects.get(id=1) node = Node(hostname='myhostname', nodegroup=master) node.save() mac = MACAddress(node=node, mac_address='11:22:33:44:55:66') mac.save() # Create a lease for that node: DHCPLease.objects.update_leases(master, {'10.111.123.10': '11:22:33:44:55:66'}) # Now the hostname of the node can be queried: # dig @127.0.0.1 myhostname.master +short To enable DNS we need to: - make sure that bind9utils dnsutils bind9 python-netaddr are installed (new dependencies) - make sure that the directory /etc/bind/maas (etc/celeryconfig.py:DNS_CONFIG_DIR) is created - call `sudo maas set_up_dns` (this will create an empty [i.e. no DNS zone] configuration with the required rndc key in etc/celeryconfig.py:DNS_CONFIG_DIR : /etc/bind/maas) - add the result of `sudo maas get_named_conf` to named.conf.local - restart bind9 How to test this: $ sudo maas shell from django.core.management import call_command from maasserver.models import DHCPLease, NodeGroup, Node, MACAddress # Create the master nodegroup, jtv is fixing the code to get that done as part of a migration call_command('config_master_dhcp', subnet_mask='255.255.0.0', broadcast_ip='10.111.255.255', ip_range_low= '10.111.123.9', ip_range_high= '10.111.244.18', router_ip='10.111.123.9') # At this stage, the zone is defined and all the auto-generated hostname are in place: # dig @127.0.0.1 10-111-123-9.master +short # Create a node in that nodegroup. Its hostname is 'myhostname' master = NodeGroup.objects.get(id=1) node = Node(hostname='myhostname', nodegroup=master) node.save() mac = MACAddress(node=node, mac_address='11:22:33:44:55:66') mac.save() # Create a lease for that node: DHCPLease.objects.update_leases(master, {'10.111.123.10': '11:22:33:44:55:66'}) # Now the hostname of the node can be queried: # dig @127.0.0.1 myhostname.master +short
2012-08-02 14:19:07 Andres Rodriguez description To enable DNS we need to: - make sure that bind9utils dnsutils bind9 python-netaddr are installed (new dependencies) - make sure that the directory /etc/bind/maas (etc/celeryconfig.py:DNS_CONFIG_DIR) is created - call `sudo maas set_up_dns` (this will create an empty [i.e. no DNS zone] configuration with the required rndc key in etc/celeryconfig.py:DNS_CONFIG_DIR : /etc/bind/maas) - add the result of `sudo maas get_named_conf` to named.conf.local - restart bind9 How to test this: $ sudo maas shell from django.core.management import call_command from maasserver.models import DHCPLease, NodeGroup, Node, MACAddress # Create the master nodegroup, jtv is fixing the code to get that done as part of a migration call_command('config_master_dhcp', subnet_mask='255.255.0.0', broadcast_ip='10.111.255.255', ip_range_low= '10.111.123.9', ip_range_high= '10.111.244.18', router_ip='10.111.123.9') # At this stage, the zone is defined and all the auto-generated hostname are in place: # dig @127.0.0.1 10-111-123-9.master +short # Create a node in that nodegroup. Its hostname is 'myhostname' master = NodeGroup.objects.get(id=1) node = Node(hostname='myhostname', nodegroup=master) node.save() mac = MACAddress(node=node, mac_address='11:22:33:44:55:66') mac.save() # Create a lease for that node: DHCPLease.objects.update_leases(master, {'10.111.123.10': '11:22:33:44:55:66'}) # Now the hostname of the node can be queried: # dig @127.0.0.1 myhostname.master +short To enable DNS we need to: - make sure that bind9 (Installs bind9utils) python-netaddr are installed (new dependencies) - make sure that the directory /etc/bind/maas (etc/celeryconfig.py:DNS_CONFIG_DIR) is created - call `sudo maas set_up_dns` (this will create an empty [i.e. no DNS zone] configuration with the required rndc key in etc/celeryconfig.py:DNS_CONFIG_DIR : /etc/bind/maas) - add the result of `sudo get_named_conf` to named.conf.local - restart bind9 How to test this: $ sudo maas shell from django.core.management import call_command from maasserver.models import DHCPLease, NodeGroup, Node, MACAddress # Create the master nodegroup, jtv is fixing the code to get that done as part of a migration call_command('config_master_dhcp', subnet_mask='255.255.0.0', broadcast_ip='10.111.255.255', ip_range_low= '10.111.123.9', ip_range_high= '10.111.244.18', router_ip='10.111.123.9') # At this stage, the zone is defined and all the auto-generated hostname are in place: # dig @127.0.0.1 10-111-123-9.master +short # Create a node in that nodegroup. Its hostname is 'myhostname' master = NodeGroup.objects.get(id=1) node = Node(hostname='myhostname', nodegroup=master) node.save() mac = MACAddress(node=node, mac_address='11:22:33:44:55:66') mac.save() # Create a lease for that node: DHCPLease.objects.update_leases(master, {'10.111.123.10': '11:22:33:44:55:66'}) # Now the hostname of the node can be queried: # dig @127.0.0.1 myhostname.master +short
2012-08-02 15:08:31 Andres Rodriguez maas (Ubuntu): status New In Progress
2012-08-10 23:53:06 Launchpad Janitor branch linked lp:~andreserl/maas/maas_bzr_865
2012-08-22 18:31:14 Andres Rodriguez maas (Ubuntu): status In Progress Fix Committed
2012-08-29 06:40:46 Nobuto Murata bug added subscriber Nobuto MURATA
2012-09-04 19:39:02 Launchpad Janitor maas (Ubuntu): status Fix Committed Fix Released
2012-09-04 20:12:38 Launchpad Janitor branch linked lp:ubuntu/maas