Created by Mike Pontillo on 2017-06-03 and last modified on 2017-06-03
Get this branch:
bzr branch lp:~mpontillo/maas/ntp-issues--bug-1695083
Only Mike Pontillo can upload to this branch. If you are Mike Pontillo please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Mike Pontillo

Recent revisions

6074. By Mike Pontillo on 2017-06-03

Link bug.

6073. By Mike Pontillo on 2017-06-03

When selecting an NTP server address to provide via DHCP, prefer subnets on VLANs where DHCP is enabled.

6072. By Mike Pontillo on 2017-06-03

[r=ltrager][bug=][author=mpontillo] Support for Fernet encryption using the MAAS secret as the key.

Fernet makes uses of AES-CBC and SHA256 to generate encrypted, authenticated, timestamped tokens. The tokens are in base64 format, and thus suitable out-of-the-box for usage inside a YAML, JSON, or BSON string for transport or storage. The full specification is available here:


The base64 token could be decoded if a more compact byte string is desired.

This initial implementation ensures the confidentiality of the MAAS key by using a high iteration count (100,000 iterations). It does not salt the key, since Fernet is intended to be used here to communicate on the network, and each peer may not necessarily have a secure way to share a salt.

6071. By Данило Шеган on 2017-06-02

[r=blake-rouse][bug=][author=danilo] Replace use of url pattern() which has been deprecated in 1.8 and dropped in 1.10.

6070. By Richard McCartney on 2017-06-01

[r=ltrager][bug=1481261][author=ricgard] Creates mac address directive to pre populate the MAC address input

6069. By Lee Trager on 2017-06-01

[r=danilo][bug=1693644][author=ltrager] Validate the min_hwe_kernel on enlistment.

6068. By Björn Tillenius on 2017-05-31

[r=blake-rouse][bug=][author=bjornt] Update HACKING.txt and add some helper script to allow machines to be
PXE booted of a development server (e.g. make run).

6067. By Данило Шеган on 2017-05-31

[r=blake-rouse][bug=][author=danilo] Port remaining maas-region commands to use argparse instead of optparse in order to support both Django 1.8 and 1.11 (optparse support dropped in 1.10).

6066. By Данило Шеган on 2017-05-31

[r=blake-rouse][bug=][author=danilo] Move MAAS config commands (local_config_get, local_config_set, local_config_reset) to use argparse instead of optparse: argparse style is supported in both Django 1.8 and 1.11.

6065. By Mike Pontillo on 2017-05-31

[r=blake-rouse][bug=][author=mpontillo] Make .idea directory creation consistent with .run directory.

Previously, there was a .idea directory checked into source control. However, the .idea directory is in the .bzrignore (and .gitignore) files. So it doesn't work quite right, because if you are actually using a code editor that supports IDEA project files (such as PyCharm), every time you open the project, those files will be updated, and the fact that .idea is ignored doesn't matter; those changes will still be present in your `bzr status`, and they're very easy to accidentally commit.

The solution is to make the .idea directory consistent with other skeleton runtime directories in MAAS (namely the ".run" directory).

This means developers wishing to use the IDEA project files will need to `make pycharm` (or `make .idea`) before launching an IDEA-based code editor.

Branch metadata

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