Ubuntu Pastebin

Paste from Thierry-ibm at Tue, 3 Mar 2015 15:17:29 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Hello

while trying to deploy my charm under "local" env, when it tries to downlload pip package for charmhelpers purpose I get messages like: 

unit-kimchi-0[871]: 2015-03-03 15:09:55 INFO unit.kimchi/0.install logger.go:40 E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/universe/p/python-pip/python-pip_1.5.4-1_all.deb  Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::18). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001::18 80]

like if it is willing to use IPv6 when network is configured as : 

ubuntu@u0016001-local-machine-3:~$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:16:3e:d3:41:fb  
           inet addr:10.0.3.119  Bcast:10.0.3.255  Mask:255.255.255.0
          inet6 addr: fe80::216:3eff:fed3:41fb/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:2996 errors:0 dropped:0 overruns:0 frame:0
           TX packets:1773 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000 
           RX bytes:12274149 (12.2 MB)  TX bytes:219103 (219.1 KB)

My lxc config file is: k$ cat /etc/lxc/default.conf 
 lxc.network.type = veth
 lxc.network.ipv4 = auto
 lxc.network.link = lxcbr0
 lxc.network.flags = up
 lxc.network.hwaddr = 00:16:3e:xx:xx:xx
Download as text