Merge ~smoser/cloud-init:bug/1732917-fix-fallback-interface into cloud-init:master
Proposed by
Scott Moser
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 281a82181716183d526e76f4e0415e0a6f680cbe | ||||
Proposed branch: | ~smoser/cloud-init:bug/1732917-fix-fallback-interface | ||||
Merge into: | cloud-init:master | ||||
Diff against target: |
85 lines (+22/-10) 2 files modified
cloudinit/net/dhcp.py (+1/-2) cloudinit/sources/DataSourceEc2.py (+21/-8) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
cloud-init Commiters | Pending | ||
Review via email: mp+333923@code.launchpad.net |
Commit message
EC2: Fix bug using fallback nic restoring from old pickled object.
If user upgraded to new cloud-init and rebooted, the restored
object never was pickled with a value in fallback_nic. That caused
an attempt to configure networking with a None device.
We support reading the old .fallback_nic attribute if it ever
got set, but new versions will call net.find_
there has not been one found.
LP: #1732917
To post a comment you must log in.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
PASSED: Continuous integration, rev:a5656855056 38011947186bc7f 2a437548d2afa8 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 512/
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: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 512/rebuild
https:/