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

Created by Felipe Reyes on 2016-09-13 and last modified on 2016-09-13
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 on 2016-09-13

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 on 2016-03-08

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

15. By James Page on 2016-03-08

Fixup novaclient usage

14. By Liam Young on 2015-12-01

[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 on 2014-03-01

Updates from kapil for fanout behaviour.

12. By James Page on 2014-02-27

Switch back to using requeue.

11. By James Page on 2014-02-25

Use reject rather than requeue for messages for other tenants.

10. By James Page on 2014-02-25

REcheck

9. By James Page on 2014-02-25

Check tenant_id on port data for host creation.

8. By James Page on 2014-02-25

* 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