Merge lp:~blake-rouse/maas/import-with-gpg-home into lp:~maas-committers/maas/trunk
Proposed by
Blake Rouse
Status: | Merged |
---|---|
Approved by: | Blake Rouse |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2829 |
Proposed branch: | lp:~blake-rouse/maas/import-with-gpg-home |
Merge into: | lp:~maas-committers/maas/trunk |
Prerequisite: | lp:~blake-rouse/maas/fix-keydata-base64 |
Diff against target: |
156 lines (+60/-14) 4 files modified
src/maasserver/bootresources.py (+20/-14) src/maasserver/start_up.py (+6/-0) src/maasserver/tests/test_bootresources.py (+24/-0) src/maasserver/tests/test_start_up.py (+10/-0) |
To merge this branch: | bzr merge lp:~blake-rouse/maas/import-with-gpg-home |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jeroen T. Vermeulen (community) | Approve | ||
Review via email: mp+232279@code.launchpad.net |
Commit message
On the region import boot resource with gpg home directory set to the maas users. This was done on the cluster side, but was not on the region side, causing verification of simplestreams data to fail.
To post a comment you must log in.
test__import_ resources_ has_env_ GNUPGHOME_ set has this assertion:
I think that assertTrue should have been assertEqual here.
One big question I'm left with is: who owns that home directory when you create it? It's still the maas user, right? It's important to get that right, but not the sort of thing you can really test.