lp:~freyes/ubuntu/precise/serverstack-dns/index-out-of-range

Created by Felipe Reyes and last modified
Get this branch:
bzr branch lp:~freyes/ubuntu/precise/serverstack-dns/index-out-of-range
Only Felipe Reyes can upload to this branch. If you are Felipe Reyes please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Felipe Reyes
Status:
Development

Recent revisions

17. By Felipe Reyes

Skip empty lines when iterating hosts file

If the hosts file contains empty lines a list index out of range exception
is raised

Traceback (most recent call last):
  File "/usr/bin/serverstack-tenant-dns", line 256, in <module>
    add_current_instances()
  File "/usr/bin/serverstack-tenant-dns", line 144, in add_current_instances
    add_host_entry(hostname, ip_addr, "")
  File "/usr/bin/serverstack-tenant-dns", line 81, in add_host_entry
    hn = _hostname[1]
IndexError: list index out of range

16. By James Page

Fix support for newer versions of novaclient, making use of v2 API.

15. By James Page

Fixup novaclient usage

14. By Liam Young

[niedbalski, r=gnuoy]
- This patch adds the ability to populate the dnsmasq
file with the instances for the current tenant.
- It modifies the configuration to add a new entry called
'add_current_instances' which defaults to False.
- It modifies the logic for adding entries based on the
current tenant available instances and adds them to the
dnsmasq host file.

13. By James Page

Updates from kapil for fanout behaviour.

12. By James Page

Switch back to using requeue.

11. By James Page

Use reject rather than requeue for messages for other tenants.

10. By James Page

REcheck

9. By James Page

Check tenant_id on port data for host creation.

8. By James Page

* d/upstart: Sort out pre-start /var/run/dnsmasq creation.
* Re-jig tenant filtering.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers