~andreserl/maas:2.2_lp1717287

Last commit made on 2017-09-20
Get this branch:
git clone -b 2.2_lp1717287 https://git.launchpad.net/~andreserl/maas
Only Andres Rodriguez can upload to this branch. If you are Andres Rodriguez please log in for upload directions.

Branch merges

Branch information

Name:
2.2_lp1717287
Repository:
lp:~andreserl/maas

Recent commits

bfb5a54... by Andres Rodriguez

Update CHANGELOG

1ae8945... by Witold Krecicki

LP: #1717287 - maas-enlist not supporting IPv6 addresses in server_url

4589cde... by Andres Rodriguez

Update CHANGELOG

85ec086... by Greg Lutostanski

Backport dd962958f73efb95216044f93de9aea3aace01e8 from master.

LP: #1507712 - cli: maas logout causes KeyError for other profiles

There is a race where when profiles are being deleted, if this happens
between the __iter__ and __getitem__ (of a different invocation of the
cli) which are two different SQL queries, there is an inconsistent view.

So instead use a cache with a consistent view of the data. This
guarantees correct -- if stale behavior in the cli.

Note that this is acceptable because when running two commands at the
same time ordering is unknown and the cache only lives for the lifetime
of a single command.

254b99d... by Blake Rouse

Backport 0a9d968925552226479a80333240943f3cb504af from master.

LP: #1715634 - Prefetch all node data in the tags API so SQL queries are consistent.

With the nodes, machines, devices, rack_controllers, and region_controllers on the tags endpoint returning the correct objects Piston will convert them into the correct result object which results in large number of queries per node. This prefetches all the required data making the number of queries consistent.

58dee18... by Данило Шеган

Backport 529d83cf15f9d0b227761a4dfc3dd892e5e3ca7d from master.

Fixes LP #1676992: force Postgresql restart on maas-region-controller installation.

This ensures it restarts even when running in chroot (eg. during server installation from an ISO/CD).

8e27f6b... by Andres Rodriguez

utilities/release-build: Replace with the one from master

314b2b2... by Andres Rodriguez

debian/changelog: Fix to match current releases

5231013... by Blake Rouse

Backport 404d1299a735e57670609f27005f00cad7bc6c28 from master.

Fixes LP: #1711700 - Improve DNS reloading so its happens only when required.

This refactors all the the database triggers that alert all the active regions that DNS needs to be reloaded. The refactor ensures that DNS actually needs to be reloaded by checking to ensure that data was adjusted that requires a reload.

Trigger also now provide a proper message on what caused it to request the reload to be perform. The reload code now looks at the reasons and prints a log message each time it actually performs a reload for the reason it was performed.

ffe5fd8... by Blake Rouse

Backport eebad83a13bf1d1ec99d2bba4fdcd831cbede3f1 from master.

Fixes LP: #1710308, #1710278 - After BIND reload verify that the serial for all authoritative domains the new value before continuing.