[Bug 1301015] Re: Networking does not restart

Robert Taylor 1301015 at bugs.launchpad.net
Wed Mar 25 20:37:42 UTC 2015


I would like to "officially" request escalation of this issue up to next
level of Ubuntu support - it is currently listed as "confirmed", "high"
and "unassigned".  Ubuntu 10.04 LTS is very soon EOL, and this
functional requirement is currently removed from the current LTS version
with no migration path in place.

It has been flagged as a "hot" item for over a year and seems to be
being ignored by Ubuntu development staff for what seems to be
ideological reasons.

/etc/init.d/networking has been an essential method for anyone doing
large scale headless server deployments  to generically handle scripted
network management of  physical and virtual servers.   In these
environments, individual hosts  could have completely different network
interfaces on every individual machine.   "Anyone", in this case  also
includes the authors of officially deployed deb application packages
delivered with Ubuntu 14.04 that currently don't work...

This bug breaks cloud deployments of Ubuntu in Opennebula as delivered
natively in deb's with Ubuntu 14.04.  The network contextualization
scripts delivered in opennebula-context_4.2.0-2_all.deb use "service
networking"  to dynamically assign virtual machines IP addresses on the
fly at boot time.    Without a fix, no Ubuntu 14.04 VM's running in an
Opennebula Cloud can get  an IP addresses - this has been the case since
the OS version was released.

How many other network related applications are impacted by this change
that were never tested for removal of this functionality?

As an organization that is focused on supporting virtualization and
"cloud" server infrastructure (as opposed to only GUI desktops and
phones), I would have expected development staff to have a better
understanding of the impact of  this type of issue and would  have given
it more attention  than it has - or at least develop alternate
functionality that meets the same functional requirements.

#last lines of /etc/one-context.d/00-network as delivered in Ubuntu 14.04 opennebula-context_4.2.0-2_all.deb
# ifup/down eth0 won't work - the virtual machine can have any number of dynamically assigned 
# interfaces at boot time
...
"configure_network()
{
    gen_network_configuration > /etc/network/interfaces

    service networking stop
    sleep 1
    service networking start

    sleep 2
}"

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

Title:
  Networking does not restart

Status in ifupdown package in Ubuntu:
  Confirmed

Bug description:
  In Ubuntu Server 14.04 it appears it is not possible to restart
  networking. This is fresh install from ISO.

  wirehive at ubuntu:~$ sudo /etc/init.d/networking restart
  wirehive at ubuntu:~$ echo $?
  1
  wirehive at ubuntu:~$ sudo service networking restart
  stop: Job failed while stopping
  start: Job is already running: networking
  wirehive at ubuntu:~$ sudo bash -x /etc/init.d/networking restart
  + PATH=/sbin:/bin
  + RUN_DIR=/run/network
  + IFSTATE=/run/network/ifstate
  + STATEDIR=/run/network/state
  + '[' -x /sbin/ifup ']'
  + '[' -x /sbin/ifdown ']'
  + . /lib/lsb/init-functions
  +++ run-parts --lsbsysinit --list /lib/lsb/init-functions.d
  ++ for hook in '$(run-parts --lsbsysinit --list /lib/lsb/init-functions.d 2>/dev/null)'
  ++ '[' -r /lib/lsb/init-functions.d/20-left-info-blocks ']'
  ++ . /lib/lsb/init-functions.d/20-left-info-blocks
  ++ for hook in '$(run-parts --lsbsysinit --list /lib/lsb/init-functions.d 2>/dev/null)'
  ++ '[' -r /lib/lsb/init-functions.d/50-ubuntu-logging ']'
  ++ . /lib/lsb/init-functions.d/50-ubuntu-logging
  +++ LOG_DAEMON_MSG=
  ++ FANCYTTY=
  ++ '[' -e /etc/lsb-base-logging.sh ']'
  ++ true
  + CONFIGURE_INTERFACES=yes
  + EXCLUDE_INTERFACES=
  + VERBOSE=no
  + '[' -f /etc/default/networking ']'
  + verbose=
  + '[' no = yes ']'
  + case "$1" in
  + init_is_upstart
  + '[' -x /sbin/initctl ']'
  + /bin/grep -q upstart
  + /sbin/initctl version
  + return 0
  + exit 1
  wirehive at ubuntu:~$ sudo bash -x service networking restart
  ++ basename service
  + VERSION='service ver. 0.91-ubuntu1'
  ++ basename service
  + USAGE='Usage: service < option > | --status-all | [ service_name [ command | --full-restart ] ]'
  + SERVICE=
  + ACTION=
  + SERVICEDIR=/etc/init.d
  + OPTIONS=
  + '[' 2 -eq 0 ']'
  + cd /
  + '[' 2 -gt 0 ']'
  + case "${1}" in
  + '[' -z '' -a 2 -eq 1 -a networking = --status-all ']'
  + '[' 2 -eq 2 -a restart = --full-restart ']'
  + '[' -z '' ']'
  + SERVICE=networking
  + shift
  + '[' 1 -gt 0 ']'
  + case "${1}" in
  + '[' -z networking -a 1 -eq 1 -a restart = --status-all ']'
  + '[' 1 -eq 2 -a '' = --full-restart ']'
  + '[' -z networking ']'
  + '[' -z '' ']'
  + ACTION=restart
  + shift
  + '[' 0 -gt 0 ']'
  + '[' -r /etc/init/networking.conf ']'
  + which initctl
  + grep -q upstart
  + initctl version
  + case "${ACTION}" in
  + stop networking
  stop: Job failed while stopping
  + :
  + exec start networking
  start: Job is already running: networking
  wirehive at ubuntu:~$

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1301015/+subscriptions



More information about the foundations-bugs mailing list