Merge ~chad.smith/cloud-init:fix-device-path-from-cmdline-regression into cloud-init:master
| Status: | Merged |
|---|---|
| Approved by: | Scott Moser on 2017-10-23 |
| Approved revision: | 00fdcd665a11980b69b5c66c7e369e1df2630d1d |
| Merged at revision: | 17a15f9e0ae78e4fc4e24fab0caebdf78f06ef66 |
| Proposed branch: | ~chad.smith/cloud-init:fix-device-path-from-cmdline-regression |
| Merge into: | cloud-init:master |
| Diff against target: |
302 lines (+70/-64) 2 files modified
cloudinit/config/cc_resizefs.py (+13/-30) tests/unittests/test_handler/test_handler_resizefs.py (+57/-34) |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Server Team CI bot | continuous-integration | Needs Fixing on 2017-10-25 | |
| Scott Moser | Approve on 2017-10-23 | ||
|
Review via email:
|
|||
Commit Message
resizefs: Fix regression when system booted with root=PARTUUID=
A recent cleanup of the resizefs module broke resizing when
a system was booted with root=PARTUUID=
does not exist. This path is exposed with the Ubuntu 16.04 but
not with Ubuntu 17.10. A recreate exists under bug 1684869.
LP: #1725067
| Scott Moser (smoser) wrote : | # |
PASSED: Continuous integration, rev:129beef23ad
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
SUCCESS: MAAS Compatability Testing
IN_PROGRESS: Declarative: Post Actions
Click here to trigger a rebuild:
https:/
| Scott Moser (smoser) wrote : | # |
I tried the suggestion of using FileSystemMocki
http://
Where the idea became problematic was there is no simple way to make /dev/disk/
so at this point, it does seem like we should still patch os.stat , but doing so is
not related to your MP without further work.
- 6d58f22... by Chad Smith on 2017-10-23
- 00fdcd6... by Chad Smith on 2017-10-23
| Chad Smith (chad.smith) wrote : | # |
@smoser review comments addressed
FAILED: Continuous integration, rev:445ee93379a
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
FAILED: MAAS Compatability Testing
Click here to trigger a rebuild:
https:/
FAILED: Continuous integration, rev:445ee93379a
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
FAILED: MAAS Compatability Testing
Click here to trigger a rebuild:
https:/
PASSED: Continuous integration, rev:00fdcd665a1
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
SUCCESS: MAAS Compatability Testing
IN_PROGRESS: Declarative: Post Actions
Click here to trigger a rebuild:
https:/
FAILED: Continuous integration, rev:445ee93379a
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
FAILED: Ubuntu LTS: Integration
Click here to trigger a rebuild:
https:/


Please go ahead and delete the 'rootdev_ from_cmdline' function in cc_rezisefs.py
it is not used anywhere and is just confusing. the one in util is preferred.