Bug 1571869

Summary: [IPv6] add host does not maintain ipv6 default route
Product: [oVirt] vdsm Reporter: Piotr Kliczewski <pkliczew>
Component: CoreAssignee: Dan Kenigsberg <danken>
Status: CLOSED DUPLICATE QA Contact: Meni Yakove <myakove>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.20.23CC: bugs, ylavi
Target Milestone: ovirt-4.3.0Flags: rule-engine: ovirt-4.3+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-03 10:34:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1080725    
Attachments:
Description Flags
logs none

Description Piotr Kliczewski 2018-04-25 14:53:10 UTC
Description of problem:

When a machine uses ipv6 for name resolution and after vdsm installation it is not possible to resolve names.

Here is my nic configuration before installation:

TYPE="Ethernet"
BOOTPROTO="dhcp"
DEFROUTE="yes"
PEERDNS="yes"
PEERROUTES="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_PEERDNS="yes"
IPV6_PEERROUTES="yes"
IPV6_FAILURE_FATAL="no"
NAME="eth0"
UUID="0079668a-8708-46ad-8dbf-da418ae6f77e"
DEVICE="eth0"
ONBOOT="yes"

here is after:

# Generated by VDSM version 4.20.23-1.el7.centos
DEVICE=eth0
BRIDGE=ovirtmgmt
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no

and the bridge:
# Generated by VDSM version 4.20.23-1.el7.centos
DEVICE=ovirtmgmt
TYPE=Bridge
DELAY=0
STP=off
ONBOOT=yes
BOOTPROTO=dhcp
MTU=1500
DEFROUTE=yes
NM_CONTROLLED=no
IPV6INIT=yes
DHCPV6C=yes
IPV6_AUTOCONF=no

my resolv.conf

; generated by /usr/sbin/dhclient-script
nameserver 2001:730:3ed2::53
nameserver 2001:730:3ed2:1000::53
search localdomain

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


How reproducible:

Steps to Reproduce:
1. Install new host on a vm configured like above

Actual results:
Occurs 100% with above network configuration

Expected results:
Name resolution still works

Additional info:

Comment 1 Piotr Kliczewski 2018-04-25 14:54:43 UTC
Created attachment 1426729 [details]
logs

There was attempt to install host few times (engine.log). Please ignore the failures (missing rpms or nested not enabled) and check the last successful installation.

Comment 2 Dan Kenigsberg 2018-04-27 07:58:02 UTC
The ipv6 address is not maintained because of bug 1373116: Engine does not request Vdsm to keep autoconf on. Let this bug track only the failure to maintain ipv6 default route.

Comment 3 Yaniv Lavi 2018-09-03 10:34:52 UTC

*** This bug has been marked as a duplicate of bug 1467332 ***