Vcenter-as-compute: Compute VM not receiving IP and hostname

Bug #1694551 reported by Sarath
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Committed
Critical
amudhar
Trunk
Fix Committed
Critical
amudhar

Bug Description

This is seen on Vcenter-as-compute sanity with Ubuntu 16-04 (newton)

This works good when using ubuntu 14-04 (mitaka) and debugging shows different interface name when updated
into /etc/network/interfaces gets IP

root@ContrailVM-24-26:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto ens160
iface ens160 inet dhcp

root@ContrailVM-24-26:~#
root@ContrailVM-24-26:~# ifconfig
ens160 Link encap:Ethernet HWaddr 00:77:56:aa:bb:02
          inet addr:10.87.36.20 Bcast:10.87.36.63 Mask:255.255.255.192
          inet6 addr: fe80::277:56ff:feaa:bb02/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:13170 errors:0 dropped:0 overruns:0 frame:0
          TX packets:180 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:795666 (795.6 KB) TX bytes:20549 (20.5 KB)

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:65536 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@ContrailVM-24-26:~#

>> /etc/hosts showing below entries
127.0.0.1 localhost
127.0.0.1 ContrailVM

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
127.0.0.1 ContrailVM-24-26
127.0.0.1 ContrailVM-24-26
~
~
~

Revision history for this message
Sarath (nsarath) wrote :

nsarath@ubuntu-build04:/auto/cores/1694551$ ls -l
total 39716
-rwxrwxrwx 1 nsarath test 14868480 May 30 15:20 Ctrl-A-log.tar
-rwxrwxrwx 1 nsarath test 2488320 May 30 15:20 Ctrl-A-Utils.tar
-rwxrwxrwx 1 nsarath test 23132160 May 30 15:20 Esxi-2-log.tar

Sarath (nsarath)
description: updated
Jeba Paulaiyan (jebap)
tags: added: blocker
Revision history for this message
amudhar (amudha) wrote :

Updated /etc/network/interfaces and vmdk saved at /cs-shared/contrail-vcenter/vmdk/16.04/LATEST.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.