lp://staging/~lutostag/maas/1.6+nonce-generation-fix

Created by Greg Lutostanski and last modified
Get this branch:
bzr branch lp://staging/~lutostag/maas/1.6+nonce-generation-fix
Only Greg Lutostanski can upload to this branch. If you are Greg Lutostanski please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Greg Lutostanski
Project:
MAAS
Status:
Development

Recent revisions

2533. By Greg Lutostanski

use uuids for nonces in oauth requests

2532. By Julian Edwards

[r=julian-edwards][bug=1314267][author=julian-edwards] Extend the API capabilities index to include 'static-ipaddresses', so users know that the static IP reservation API exists.

2531. By Newell Jensen

[r=julian-edwards][bug=1337683][author=newell-jensen] The code in maas_client.py assumes that all the parameters are strings and so fails with the stack trace below.

It would be more useful if it takes list params and encodes them appropriately. For example, if passed

client.get(url, op="thing", param=["foo", "bar", "baz"])

it should encode like this:

param=foo&param=bar&param=baz

In [9]: r=client.get(url, op="list", mac_address=["AA:BB:CC:DD:EE:FF", "AA:BB:CC:DD:EE:F0"])

This branch will make it possible so that it can take list params and encodes them appropriately.

2530. By Jeroen T. Vermeulen

[r=rvb][bug=][author=jtv] Make the development instance of Apache httpd listen for IPv6 requests as well as IPv4 ones. The packaged instance already seems to do that, so this is a development-only change.

I manually verified basic UI operation, including node creation; automatic updating of the pie chart on the front page when a new node appears; API GET requests; and an API POST request. There may still be breakage in some places, but basic operation of UI and API now clearly works with IPv6.

2529. By Jeroen T. Vermeulen

[r=gmb][bug=1339631][author=jtv] Fix find_nodegroups for IPv6. Trying to ‘AND’ a remote IPv6 address taken from an API request with an IPv4 cluster interface netmask crashed.

It's tempting just to add a simple check that the addresses being compared must be in the same address family. But SQL does not guarantee short-circuit evaluation: it may choose to evaluate the ‘AND’ before checking address families, or always evaluate both conditions. The BETWEEN operator does what we need: the request address must lie between (inclusive) the cluster interface address with all host bits cleared, and the cluster interface address with all host bits set.

2528. By Graham Binns

[r=julian-edwards][bug=1338402][author=gmb] Fix validate_new_static_ip_ranges() to allow for the new upper and lower bounds for a static range being already-allocated. Previously, this raised a validation error, despite being a perfectly valid scenario.

2527. By Blake Rouse

[r=allenap][bug=1338690][author=blake-rouse] Fix migrate_architectures_into_ubuntu_directory to use boot-resources/current/ instead of boot-resources/.

2526. By Graham Binns

[r=allenap][bug=][author=gmb] Update NodeGroupInterfaceForm to ensure that it checks that changes to static IP ranges don't exclude already-allocated addresses. Previously there were no such checks.

2525. By Raphaël Badin

[r=allenap][bug=1338452][author=rvb] Re-do the fix for bug 1338452 in a more consistent way: work around the Django bug (see reference in the code) by defining a custom IP field. Update all the IP fields in the codebase to use the new field.

2524. By Blake Rouse

[r=allenap][bug=1338690][author=blake-rouse] Add upgrade cluster hook to move architecture folders under the ubuntu directory.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/~maas-committers/maas/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers