network config of initramfs devices writes 'auto', breaking iscsi root boot

Bug #1568637 reported by Scott Moser on 2016-04-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
High
Unassigned
maas-images
Medium
Unassigned
cloud-init (Ubuntu)
High
Unassigned

Bug Description

when i removed the symlink in the maas ephemeral image from /etc/network/interfaces the iscsi root boot fails, and maas deployment would also fail.
The real reason for the difference was that cloud-init was rendering 'auto' for the device that was brought up in the initramfs.

Instead it needs to leave it to be manually controled (no 'auto' or 'allow-hotplug').

Related bugs:
 * bug 1570142: [open-isci] net-interface-handler needs updating for newer ifupdown

Related branches

Scott Moser (smoser) on 2016-04-12
Changed in cloud-init (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Changed in cloud-init:
status: New → Confirmed
importance: Undecided → High
Changed in maas-images:
status: New → Confirmed
importance: Undecided → Medium
Scott Moser (smoser) on 2016-04-15
description: updated
summary: - iscsi root boot fails without /etc/network/interfaces aid of cloud-
- initramfs-dyn-netconf
+ network config of initramfs devices writes 'auto', breaking iscsi root
+ boot
description: updated
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-init - 0.7.7~bzr1212-0ubuntu1

---------------
cloud-init (0.7.7~bzr1212-0ubuntu1) xenial; urgency=medium

  * New upstream snapshot.
    - fix iscsi root by not writing interface as 'auto' when networking
      information comes from kernel command line (LP: #1568637)
    - apply networking less often, when possible only on first
      instance boot (LP: #1571004).
    - no longer delete /etc/network/interfaces.d/eth0.cfg on
      ubuntu (LP: #1563487)

 -- Scott Moser <email address hidden> Fri, 15 Apr 2016 16:25:43 -0400

Changed in cloud-init (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers