[Bug 1311055] [NEW] hyper-v: DNS Server settings are not getting injected inside Ubuntu 13.10 during Failover and Test-Failover
    Dharmendra Modi 
    dmodi at microsoft.com
       
    Tue Apr 22 10:59:39 UTC 2014
    
    
  
Public bug reported:
[HyperV Replica :: http://technet.microsoft.com/en-us/library/jj134172.aspx]
[Guest IP Injection :: http://blogs.technet.com/b/virtualization/archive/2012/05/29/inject-ip-address-into-the-vm-during-failover.aspx]
DNS server settigns are not getting injected inside Ubuntu 13-10 for a
network adapter that is attached to an external network before Failover
and is configured using static Guest IP injection during Failover. The
settings are updated correctly inside /etc/network/interfaces.
The DNS server entries updated to specified values after next reboot.
1 Create anUbuntu-13.10 VM with external network attached to it.
2 Check DNS entries
cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver X.Y.Z.W
nameserver X.Y.Z.K
search dummy.fake.com
3 Enable Replication.
4 Set Failover IPv4 (static IP) settings.
Set-VMNetworkAdapterFailoverConfiguration -ComputerName bharatl-test1 -VMName lol -IPv4Address 192.168.100.10 -IPv4SubnetMask 255.255.255.0 -IPv4PreferredDNSServer 192.168.100.101 -IPv4DefaultGateway 192.168.100.1 -VMNetworkAdapterName 'Network Adapter'
5 Do Failover.
6 Check DNS settings.
cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver X.Y.Z.W
nameserver X.Y.Z.K
search dummy.fake.com
7 Reboot the Guest.
8 Check DNS settings
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.100.101
** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New
** Tags: saucy
-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1311055
Title:
  hyper-v: DNS Server settings are not getting injected inside Ubuntu
  13.10 during Failover and Test-Failover
Status in “systemd” package in Ubuntu:
  New
Bug description:
  [HyperV Replica :: http://technet.microsoft.com/en-us/library/jj134172.aspx]
  [Guest IP Injection :: http://blogs.technet.com/b/virtualization/archive/2012/05/29/inject-ip-address-into-the-vm-during-failover.aspx]
  DNS server settigns are not getting injected inside Ubuntu 13-10 for a
  network adapter that is attached to an external network before
  Failover and is configured using static Guest IP injection during
  Failover. The settings are updated correctly inside
  /etc/network/interfaces.
  The DNS server entries updated to specified values after next reboot.
  1 Create anUbuntu-13.10 VM with external network attached to it.
  2 Check DNS entries
  cat /etc/resolv.conf
  # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
  #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
  nameserver X.Y.Z.W
  nameserver X.Y.Z.K
  search dummy.fake.com
  3 Enable Replication.
  4 Set Failover IPv4 (static IP) settings.
  Set-VMNetworkAdapterFailoverConfiguration -ComputerName bharatl-test1 -VMName lol -IPv4Address 192.168.100.10 -IPv4SubnetMask 255.255.255.0 -IPv4PreferredDNSServer 192.168.100.101 -IPv4DefaultGateway 192.168.100.1 -VMNetworkAdapterName 'Network Adapter'
  5 Do Failover.
  6 Check DNS settings.
  cat /etc/resolv.conf
  # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
  #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
  nameserver X.Y.Z.W
  nameserver X.Y.Z.K
  search dummy.fake.com
  7 Reboot the Guest.
  8 Check DNS settings
  # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
  #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
  nameserver 192.168.100.101
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1311055/+subscriptions
    
    
More information about the foundations-bugs
mailing list