[Bug 1050487] Re: resolvconf not updated on iscsi root

Launchpad Bug Tracker 1050487 at bugs.launchpad.net
Thu Feb 28 19:44:34 UTC 2013


** Branch linked: lp:ubuntu/precise-proposed/open-iscsi

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to open-iscsi in Ubuntu.
https://bugs.launchpad.net/bugs/1050487

Title:
  resolvconf not updated on iscsi root

Status in “open-iscsi” package in Ubuntu:
  Fix Released
Status in “open-iscsi” source package in Precise:
  Fix Committed

Bug description:
  === Begin SRU Information ===
  [Impact] 
  When using iscsi-root, /etc/init/iscsi-network-interface stops
  the network device providing the iscsi target network link from
  being brought down.  This works fine.

  The problem is when resolvconf is in use, the dhcp search and
  nameserver settings that were obtained from the initramfs's
  dhcp client are never populated into resolvconf.

  The result is that users have to find som other way to populate
  /etc/resolv.conf if they're using iscsi root and want entries from dhcp
  to be surfaced.

  We would like this fixed in precise so that the maas "ephemeral boot images"
  no longer have to have a specially patched open-iscsi inside them.
  Previously, these images include PPA debs for open-iscsi and some other
  packages.

  The fix here is the same fix that is applied in quantal and forward in
  ubuntu packaging.  It simply makes /etc/init/iscsi-network-interface
  replays data from the initramfs's dhcp request to resolvconf.

  [Test Case]
  Boot an iscsi root system with resolvconf installed
  /etc/resolv.conf will be empty (or at least not populated by the responses
  from the initramfs's dhcp client)

  [Regression Potential] 
  There is a potential for regression here if the user is otherwise
  modifying /etc/resolv.conf and has resolvconf installed.

  any regression would almost certainly be limited to settings in
  /etc/resolv.conf

  [Other Info]
  The maas "ephemeral images" have been using this patch for several
  months, and the changes are the same as applied in quantal.
  === End SRU Information ===


  on iscsi root /etc/init/iscsi-network-interface.conf stops the
  interface upon which the root device is made available from bouncing
  during normal boot.

  As a result, though, then resolvconf doesn't get updated for this interface.
  We need to have /etc/init/iscsi-network-interface.conf invoke resolvconf from the information in /run/net-<device>.conf

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: open-iscsi 2.0.873-3ubuntu1
  ProcVersionSignature: User Name 3.5.0-13.14-generic 3.5.3
  Uname: Linux 3.5.0-13-generic x86_64
  ApportVersion: 2.5.1-0ubuntu7
  Architecture: amd64
  Date: Thu Sep 13 15:32:42 2012
  Ec2AMI: ami-00000148
  Ec2AMIManifest: FIXME
  Ec2AvailabilityZone: nova
  Ec2InstanceType: m1.small
  Ec2Kernel: unavailable
  Ec2Ramdisk: unavailable
  ProcEnviron:
   TERM=screen
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: open-iscsi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1050487/+subscriptions




More information about the foundations-bugs mailing list