empty gateway on xm creation

Bug #1328794 reported by Hans-Joachim Kliemeck
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xen-tools (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

# lsb_release -rd
Description: Ubuntu 14.04 LTS
Release: 14.04
# apt-cache policy xen-tools
xen-tools:
  Installed: 4.4-1
  Candidate: 4.4-1

the gateway is always empty, since a global variable is overridden on every vm creation. please backport the fix
https://gitorious.org/xen-tools/xen-tools/commit/079382302ba0fd6bb22d5ca8d502eaa4c0ac1730 since it makes the vm creation impossible and the tool useless.

gateway='';
if [ -n "${gateway}" ]; then
  gateway=" gateway ${gateway}"
fi

Related branches

Revision history for this message
Axel Beckert (xtaran) wrote :

Someone from Ubuntu need to care about backporting that bugfix. As you already noticed, this is fixed upstream. Marking as such.

Changed in xen-tools (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xen-tools - 4.5-1

---------------
xen-tools (4.5-1) unstable; urgency=low

  * New upstream release
    + Use "686-pae" kernels instead of "686" kernels on Debian Wheezy and
      later. Thanks to Daniel Lintott! (Closes: #742778)
    + Pass "-y" option ("assume yes") to yum (Closes: #735675)
      Thanks Lionel FÉLICITÉ!
    + Drop all xend related sanity checks, they cause more havoc nowadays
      than they help. Thanks Ian Campbell! (Closes: #732456)
    + Apply patch by Adrian C. (anrxc) to allow to override hooks in
      /usr/share/xen-tools/*.d/ with hooks in /etc/xen-tools/hooks.d/.
      Thanks! (Also add /etc/xen-tools/hooks.d/ to debian/dirs.)
    + Ignore cover_db directory in t/perl-syntax.t.
    + Update list of supported Ubuntu releases.
      - Add support for Ubuntu 14.10 Utopic Unicorn.
      - Add preliminary support for Ubuntu 15.04 Vivid Vervet.
      - Use old-releases.ubuntu.com for Ubuntu 13.10 Saucy Salamander.
    + Fix always empty gateway on Debian DomUs (Thanks Joan! LP: #1328794)
    + pygrub detection: Prefer /usr/lib/xen-default over /usr/lib/xen-x.y.
    + Fix lvcreate awaiting user input when creating swap lv (Closes: #754517)
      Thanks Eric Engstrom!
    + Fix missing quoting in shell function "assert" in hooks/common.sh.
    + Fix initial configuration summary in cases where pygrub is used.
    + Fix corner cases where not the latest kernel would have been checked.
    + --password overrides --genpass. (Closes: #764143) Based on patch by
      Santiago Vila.
    + Add password length sanity check with fallback to default length.
    + Raise default password length from 8 to 23.
    + Flush output after each line in runCommand().
    + Makefile: Clean up coverage data in multiple targets.
    + t/perl-syntax.t: Ignore changelog files, too.

    [ Santiago Vila ]
    + Fix unaligned maxmem output of xen-create-image. (Closes: #764126)
    + Fix copy & paste errors in comments in typos in roles/puppet
      (Closes: #764134)
    + Fix typos in POD of xen-create-image (Closes: #764153)
  * Bump Standards-Version to 3.9.6 (no changes needed)
  * Fix lintian warning depends-on-perl-modules.
  * Add lintian override for debian-news-entry-uses-asterisk; I disagree.

 -- Axel Beckert <email address hidden> Sat, 25 Oct 2014 23:27:18 +0200

Changed in xen-tools (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Hans-Joachim Kliemeck (bj7u6139zdyf-info-jjcftv6wldnz) wrote :

is it possible that a backport is done for the gateway fix and 14.04?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
Mathew Hodson (mhodson)
affects: xen-tools (Debian) → ubuntu
Changed in xen-tools (Ubuntu):
importance: Undecided → Medium
no longer affects: ubuntu
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.