← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1339888] Re: Fix whitespace for interfaces file with two interfaces and IPv6

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => juno-2

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1339888

Title:
  Fix whitespace for interfaces file with two interfaces and IPv6

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  If you have more than one interface and IPv6 is enabled, then the
  interfaces file will be broken: the 'auto` line will be on the same
  line as the previous stanza's gateway:

  auto eth0
  iface eth0 inet static
      address 192.168.0.2
      netmask 255.255.255.0
      gateway 192.168.0.1 auto eth1
  iface eth1 inet static
      ...
      
  vs
   
  auto eth0
  iface eth0 inet static
      address 192.168.0.2
      netmask 255.255.255.0
      gateway 192.168.0.1
  auto eth1
  iface eth1 inet static
      ...

  
  The solution is fix the Jinja whitespace control in the template.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1339888/+subscriptions


References