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

Bug #1568637 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Fix Released
High
Unassigned
maas-images
Confirmed
Medium
Unassigned
cloud-init (Ubuntu)
Fix Released
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)
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)
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
Revision history for this message
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
James Falcon (falcojr)
Changed in cloud-init:
status: Confirmed → Fix Released
Revision history for this message
James Falcon (falcojr) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.