Merge ~smoser/cloud-init:bug/1752391-fix-iscsi-root-without-ip into cloud-init:master
Status: | Merged |
---|---|
Approved by: | Chad Smith |
Approved revision: | 7428655537de85f2c0732862402391736c765dbe |
Merge reported by: | Chad Smith |
Merged at revision: | de34dc7c467b318b2d04d065f8d752c7a530e155 |
Proposed branch: | ~smoser/cloud-init:bug/1752391-fix-iscsi-root-without-ip |
Merge into: | cloud-init:master |
Diff against target: |
194 lines (+72/-22) 3 files modified
cloudinit/net/cmdline.py (+22/-2) cloudinit/tests/helpers.py (+7/-2) tests/unittests/test_net.py (+43/-18) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
Chad Smith | Approve | ||
Review via email: mp+340140@code.launchpad.net |
Commit message
net: recognize iscsi root cases without ip= on kernel command line.
When 'ip=' or 'ip6=' is found on the kernel command line,
cloud-init will consider read network config from /run/net-*.conf files.
There are some iscsi-root scenarios where initramfs configures networking
but the ip= parameter is not present. 2 such cases are:
a.) static config in /etc/iscsi/
initramfs)
b.) iBft
This changes cloud-init to consider initramfs provided networking
information if:
* there are /run/net-* files and
* (ip= or ip6 is on the command line) or open-iscsi.
exists.
LP: #1752391
Description of the change
see commit message
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
FAILED: Continuous integration, rev:11f8aa59eea 1fd06098c9e2e11 e95b5578774b53 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 797/
https:/
Executed test runs:
SUCCESS: Checkout
FAILED: Unit & Style Tests
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 797/rebuild
https:/