← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1888568] [NEW] IPv6 address is not assigned to VM's second NIC on StorageNFS network

 

Public bug reported:

Description of problem:

Created a Nova instance with 2 NICs, with NIC 2 defined on StorageNFS
network IPv6  address.  VM was created successfully with the correct
interface config settings, however the Nova assigned IP address was not
added to NIC 2 interface.

Version-Release number of selected component (if applicable):


How reproducible:
100%


Steps to Reproduce:
1. Create StorageNFS network with IPv6 CIDR and address range defined
2. Create a Nova instance with 2 NICs, 2nd NIC connected to StorageNFS network
3. Login to VM and examin Eth1 IP address

Actual results:
The Nova assigned IPv6 address was not assigned to device Eth1


Expected results:
Expected the Nova assigned IP address to be assigned to Eth1 interface


Additional info:
Issue persisted with BOOTPROTO set to protocol, as well as when BOOTPROTO was removed from cloud.cfg

**screen captures

$ nova list --all | grep 10.0.0.241
| f36013d3-9f01-44e8-8e05-9df35c7a0948 | tempest-TestShareBasicOpsNFS-server-916845091 | 6e5f92c6386b483cb47b5069bd7b422d | ACTIVE | -          | Running     | StorageNFS=fd00:fd00:fd00:7000::199; tempest-manila-share-899271993=10.100.0.29, 10.0.0.241 |


[manila@tempest-testsharebasicopsnfs-server-916845091 ~]$ ip ad
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1442 qdisc fq_codel state UP group default qlen 1000
    link/ether fa:16:3e:9d:8b:39 brd ff:ff:ff:ff:ff:ff
    inet 10.100.0.29/28 brd 10.100.0.31 scope global dynamic noprefixroute eth0
       valid_lft 43103sec preferred_lft 43103sec
    inet6 fe80::f816:3eff:fe9d:8b39/64 scope link 
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether fa:16:3e:e4:02:62 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::3dc9:6a8:55d5:1d2c/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
[manila@tempest-testsharebasicopsnfs-server-916845091 ~]$ cat /etc/sysconfig/network-scripts/ifcfg-eth1
# Created by cloud-init on instance boot automatically, do not edit.
#

DEFROUTE=yes
DEVICE=eth1
DHCPV6C=yes
HWADDR=fa:16:3e:e4:02:62
IPV6INIT=yes
IPV6_DEFAULTGW=fd00:fd00:fd00:7000::1
MTU=1500
ONBOOT=yes
TYPE=Ethernet
USERCTL=no

** Affects: cloud-init
     Importance: Undecided
         Status: New

** Attachment added: "cloud-init.tar.gz"
   https://bugs.launchpad.net/bugs/1888568/+attachment/5395011/+files/cloud-init.tar.gz

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1888568

Title:
   IPv6 address is not assigned to VM's second NIC on StorageNFS network

Status in cloud-init:
  New

Bug description:
  Description of problem:

  Created a Nova instance with 2 NICs, with NIC 2 defined on StorageNFS
  network IPv6  address.  VM was created successfully with the correct
  interface config settings, however the Nova assigned IP address was
  not added to NIC 2 interface.

  Version-Release number of selected component (if applicable):

  
  How reproducible:
  100%

  
  Steps to Reproduce:
  1. Create StorageNFS network with IPv6 CIDR and address range defined
  2. Create a Nova instance with 2 NICs, 2nd NIC connected to StorageNFS network
  3. Login to VM and examin Eth1 IP address

  Actual results:
  The Nova assigned IPv6 address was not assigned to device Eth1

  
  Expected results:
  Expected the Nova assigned IP address to be assigned to Eth1 interface

  
  Additional info:
  Issue persisted with BOOTPROTO set to protocol, as well as when BOOTPROTO was removed from cloud.cfg

  **screen captures

  $ nova list --all | grep 10.0.0.241
  | f36013d3-9f01-44e8-8e05-9df35c7a0948 | tempest-TestShareBasicOpsNFS-server-916845091 | 6e5f92c6386b483cb47b5069bd7b422d | ACTIVE | -          | Running     | StorageNFS=fd00:fd00:fd00:7000::199; tempest-manila-share-899271993=10.100.0.29, 10.0.0.241 |

  
  [manila@tempest-testsharebasicopsnfs-server-916845091 ~]$ ip ad
  1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
      link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
      inet 127.0.0.1/8 scope host lo
         valid_lft forever preferred_lft forever
      inet6 ::1/128 scope host 
         valid_lft forever preferred_lft forever
  2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1442 qdisc fq_codel state UP group default qlen 1000
      link/ether fa:16:3e:9d:8b:39 brd ff:ff:ff:ff:ff:ff
      inet 10.100.0.29/28 brd 10.100.0.31 scope global dynamic noprefixroute eth0
         valid_lft 43103sec preferred_lft 43103sec
      inet6 fe80::f816:3eff:fe9d:8b39/64 scope link 
         valid_lft forever preferred_lft forever
  3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
      link/ether fa:16:3e:e4:02:62 brd ff:ff:ff:ff:ff:ff
      inet6 fe80::3dc9:6a8:55d5:1d2c/64 scope link noprefixroute 
         valid_lft forever preferred_lft forever
  [manila@tempest-testsharebasicopsnfs-server-916845091 ~]$ cat /etc/sysconfig/network-scripts/ifcfg-eth1
  # Created by cloud-init on instance boot automatically, do not edit.
  #

  DEFROUTE=yes
  DEVICE=eth1
  DHCPV6C=yes
  HWADDR=fa:16:3e:e4:02:62
  IPV6INIT=yes
  IPV6_DEFAULTGW=fd00:fd00:fd00:7000::1
  MTU=1500
  ONBOOT=yes
  TYPE=Ethernet
  USERCTL=no

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1888568/+subscriptions


Follow ups