Cannot connect to a running instance, even after the euca-authorize stuff
Hi !
I experience some difficulties do connect to the instances I've created with nova.
I can neither ping nor ssh the instance, even if I perform the euca-authorize stuff.
I use FlatDHCPManager.
Any help would be greatly appreciated !
Here are some details about my config and the problem :
==== /etc/nova/nova.conf ====
--dhcpbridge_
--dhcpbridge=
--logdir=
--state_
--lock_
--verbose
--libvirt_type=kvm
--network_
--flat_
--public_
--flat_
==== /etc/network/
# The loopback network interface
auto lo
iface lo inet loopback
# Networking for OpenStack Compute
auto br100
iface br100 inet dhcp
bridge_ports eth0
bridge_stp off
bridge_maxwait 0
bridge_fd 0
==== /sbin/ifconfig ====
br100 Link encap:Ethernet HWaddr 00:22:19:9a:6c:20
inet addr:138.96.126.4 Bcast:138.
inet6 addr: fe80::222:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:73420 errors:0 dropped:0 overruns:0 frame:0
TX packets:23403 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:57123865 (57.1 MB) TX bytes:3052602 (3.0 MB)
eth0 Link encap:Ethernet HWaddr 00:22:19:9a:6c:20
inet6 addr: fe80::222:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:115824 errors:0 dropped:0 overruns:0 frame:0
TX packets:24616 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:62186577 (62.1 MB) TX bytes:3385628 (3.3 MB)
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:16436 Metric:1
RX packets:11291121 errors:0 dropped:0 overruns:0 frame:0
TX packets:11291121 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:783143897 (783.1 MB) TX bytes:783143897 (783.1 MB)
virbr0 Link encap:Ethernet HWaddr 26:dd:54:d5:85:df
inet addr:192.168.122.1 Bcast:192.
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
vnet0 Link encap:Ethernet HWaddr fe:16:3e:1b:62:26
inet6 addr: fe80::fc16:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:822 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:2948 (2.9 KB) TX bytes:110929 (110.9 KB)
==== # brctl show
bridge name bridge id STP enabled interfaces
br100 8000.0022199a6c20 no eth0
vnet0
virbr0 8000.000000000000 yes
==== /var/log/
2011-04-22 12:25:16.405: starting up
LC_ALL=C PATH=/usr/
char device redirected to /dev/pts/1
==== euca-get-
<cut>
2011-04-22 10:26:20,267 - DataSourceEc2.
2011-04-22 10:26:20,269 - DataSourceEc2.
</cut>
==== curl http://
1.0
2007-01-19
2007-03-01
2007-08-29
2007-10-10
2007-12-15
2008-02-01
2008-09-01
2009-04-04
==== $ nova list ====
+----+-
| ID | Name | Status | Public IP | Private IP |
+----+-
| 25 | Server 25 | ACTIVE | | 138.96.126.201 |
+----+-
==== $ nova diagnostics 25 ====
n/a (HTTP 404)
==== # iptables -n -L ====
Chain INPUT (policy ACCEPT)
target prot opt source destination
nova-compute-INPUT all -- 0.0.0.0/0 0.0.0.0/0
nova-network-INPUT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:53
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:53
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:67
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:67
Chain FORWARD (policy ACCEPT)
target prot opt source destination
nova-filter-top all -- 0.0.0.0/0 0.0.0.0/0
nova-compute-
nova-network-
ACCEPT all -- 0.0.0.0/0 192.168.122.0/24 state RELATED,ESTABLISHED
ACCEPT all -- 192.168.122.0/24 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
nova-filter-top all -- 0.0.0.0/0 0.0.0.0/0
nova-compute-OUTPUT all -- 0.0.0.0/0 0.0.0.0/0
nova-network-OUTPUT all -- 0.0.0.0/0 0.0.0.0/0
Chain nova-compute-
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
Chain nova-compute-INPUT (1 references)
target prot opt source destination
Chain nova-compute-OUTPUT (1 references)
target prot opt source destination
Chain nova-compute-
target prot opt source destination
DROP all -- 0.0.0.0/0 0.0.0.0/0 state INVALID
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT udp -- 138.96.126.1 0.0.0.0/0 udp spt:67 dpt:68
ACCEPT all -- 138.96.126.0/24 0.0.0.0/0
ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:22
nova-compute-
Chain nova-compute-local (1 references)
target prot opt source destination
nova-compute-
Chain nova-compute-
target prot opt source destination
DROP all -- 0.0.0.0/0 0.0.0.0/0
Chain nova-filter-top (2 references)
target prot opt source destination
nova-compute-local all -- 0.0.0.0/0 0.0.0.0/0
nova-network-local all -- 0.0.0.0/0 0.0.0.0/0
Chain nova-network-
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
Chain nova-network-INPUT (1 references)
target prot opt source destination
Chain nova-network-OUTPUT (1 references)
target prot opt source destination
Chain nova-network-local (1 references)
target prot opt source destination
==== # iptables-save ====
# Generated by iptables-save v1.4.10 on Fri Apr 22 12:53:16 2011
*mangle
:PREROUTING ACCEPT [11541338:
:INPUT ACCEPT [11537840:
:FORWARD ACCEPT [1640:305695]
:OUTPUT ACCEPT [11513629:
:POSTROUTING ACCEPT [11515269:
-A POSTROUTING -o virbr0 -p udp -m udp --dport 68 -j CHECKSUM --checksum-fill
COMMIT
# Completed on Fri Apr 22 12:53:16 2011
# Generated by iptables-save v1.4.10 on Fri Apr 22 12:53:16 2011
*nat
:PREROUTING ACCEPT [301:54406]
:INPUT ACCEPT [2:96]
:OUTPUT ACCEPT [42:2919]
:POSTROUTING ACCEPT [135:15997]
:nova-compute-
:nova-compute-
:nova-compute-
:nova-compute-
:nova-compute-snat - [0:0]
:nova-network-
:nova-network-
:nova-network-
:nova-network-
:nova-network-snat - [0:0]
:nova-postrouti
-A PREROUTING -j nova-compute-
-A PREROUTING -j nova-network-
-A OUTPUT -j nova-compute-OUTPUT
-A OUTPUT -j nova-network-OUTPUT
-A POSTROUTING -j nova-compute-
-A POSTROUTING -j nova-network-
-A POSTROUTING -s 192.168.122.0/24 ! -d 192.168.122.0/24 -p tcp -j MASQUERADE --to-ports 1024-65535
-A POSTROUTING -s 192.168.122.0/24 ! -d 192.168.122.0/24 -p udp -j MASQUERADE --to-ports 1024-65535
-A POSTROUTING -s 192.168.122.0/24 ! -d 192.168.122.0/24 -j MASQUERADE
-A POSTROUTING -j nova-postroutin
-A nova-compute-snat -j nova-compute-
-A nova-network-
-A nova-network-
-A nova-network-
-A nova-network-snat -j nova-network-
-A nova-network-snat -s 10.0.0.0/8 -j SNAT --to-source 138.96.126.4
-A nova-postroutin
-A nova-postroutin
COMMIT
# Completed on Fri Apr 22 12:53:16 2011
# Generated by iptables-save v1.4.10 on Fri Apr 22 12:53:16 2011
*filter
:INPUT ACCEPT [449576:31640365]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [449045:31666556]
:nova-compute-
:nova-compute-INPUT - [0:0]
:nova-compute-
:nova-compute-
:nova-compute-local - [0:0]
:nova-compute-
:nova-filter-top - [0:0]
:nova-network-
:nova-network-INPUT - [0:0]
:nova-network-
:nova-network-local - [0:0]
-A INPUT -j nova-compute-INPUT
-A INPUT -j nova-network-INPUT
-A INPUT -i virbr0 -p udp -m udp --dport 53 -j ACCEPT
-A INPUT -i virbr0 -p tcp -m tcp --dport 53 -j ACCEPT
-A INPUT -i virbr0 -p udp -m udp --dport 67 -j ACCEPT
-A INPUT -i virbr0 -p tcp -m tcp --dport 67 -j ACCEPT
-A FORWARD -j nova-filter-top
-A FORWARD -j nova-compute-
-A FORWARD -j nova-network-
-A FORWARD -d 192.168.122.0/24 -o virbr0 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -s 192.168.122.0/24 -i virbr0 -j ACCEPT
-A FORWARD -i virbr0 -o virbr0 -j ACCEPT
-A FORWARD -o virbr0 -j REJECT --reject-with icmp-port-
-A FORWARD -i virbr0 -j REJECT --reject-with icmp-port-
-A OUTPUT -j nova-filter-top
-A OUTPUT -j nova-compute-OUTPUT
-A OUTPUT -j nova-network-OUTPUT
-A nova-compute-
-A nova-compute-
-A nova-compute-
-A nova-compute-
-A nova-compute-
-A nova-compute-
-A nova-compute-
-A nova-compute-
-A nova-compute-
-A nova-compute-local -d 138.96.126.201/32 -j nova-compute-
-A nova-compute-
-A nova-filter-top -j nova-compute-local
-A nova-filter-top -j nova-network-local
-A nova-network-
-A nova-network-
COMMIT
# Completed on Fri Apr 22 12:53:16 2011
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Vish Ishaya
- Solved:
- 2011-04-23
- Last query:
- 2011-04-23
- Last reply:
- 2011-04-22
Brian Amedro (brian-amedro) said : | #1 |
I already saw https:/
I also tried to connect to the VM through a serial console, but it fails:
==== $ virsh console instance-00000019 ====
Connected to domain instance-00000019
Escape character is ^]
error: internal error character device (null) is not using a PTY
==== $ cat /var/lib/
<domain type='kvm'>
<name>
<memory>
<os>
</os>
<features>
<acpi/>
</features>
<vcpu>1</vcpu>
<devices>
<disk type='file'>
<driver type='qcow2'/>
<source file='/
<target dev='vda' bus='virtio'/>
</disk>
<interface type='bridge'>
<source bridge='br100'/>
<mac address=
<!-- <model type='virtio'/> CANT RUN virtio network right now -->
<!-- The order is significant here. File must be defined first -->
<serial type="file">
<source path='/
<target port='1'/>
</serial>
<console type='pty' tty='/dev/pts/2'>
<source path='/dev/pts/2'/>
<target port='0'/>
</console>
<serial type='pty'>
<source path='/dev/pts/2'/>
<target port='0'/>
</serial>
<graphics type='vnc' port='-1' autoport='yes' keymap='en-us' listen='0.0.0.0'/>
</devices>
</domain>
Vish Ishaya (vishvananda) said : | #2 |
i would guess problems with dnsmasq. It looks like you are trying to put instances on the same network as your host machine which may be difficult to get working if you have an external router or gateway responding to dnsmasq queries. I would check the process list for dnsmasq and make sure that there are exactly two running and that the command line for them is the same and it looks reasonable.
Vish
On Apr 22, 2011, at 3:58 AM, Brian Amedro wrote:
> Question #153827 on OpenStack Compute (nova) changed:
> https:/
>
> Brian Amedro gave more information on the question:
> I already saw https:/
> I also tried to connect to the VM through a serial console, but it fails:
>
> ==== $ virsh console instance-00000019 ====
> Connected to domain instance-00000019
> Escape character is ^]
> error: internal error character device (null) is not using a PTY
>
>
> ==== $ cat /var/lib/
> <domain type='kvm'>
> <name>instance-
> <memory>
> <os>
> <type>hvm</type>
> <kernel>
> <cmdline>
> </os>
> <features>
> <acpi/>
> </features>
> <vcpu>1</vcpu>
> <devices>
> <disk type='file'>
> <driver type='qcow2'/>
> <source file='/
> <target dev='vda' bus='virtio'/>
> </disk>
>
> <interface type='bridge'>
> <source bridge='br100'/>
> <mac address=
> <!-- <model type='virtio'/> CANT RUN virtio network right now -->
> <filterref filter=
> <parameter name="IP" value="
> <parameter name="DHCPSERVER" value="
> </filterref>
> </interface>
> <!-- The order is significant here. File must be defined first -->
> <serial type="file">
> <source path='/
> <target port='1'/>
> </serial>
>
> <console type='pty' tty='/dev/pts/2'>
> <source path='/dev/pts/2'/>
> <target port='0'/>
> </console>
>
> <serial type='pty'>
> <source path='/dev/pts/2'/>
> <target port='0'/>
> </serial>
>
> <graphics type='vnc' port='-1' autoport='yes' keymap='en-us' listen='0.0.0.0'/>
> </devices>
> </domain>
>
> You received this question notification because you are a member of Nova
> Core, which is an answer contact for OpenStack Compute (nova).
Brian Amedro (brian-amedro) said : | #3 |
Hi vish, thanks for the reply !
You're right, I am trying to put instances on the same network as the host machine. This network already has a DHCP server on 138.96.126.1, which give IP for the range 138.96.126.1-199. Also, I cannot modify the config of this server.
Is there any way so the host machine respond to the VM requests instead of the external DHCP server ?
Looking at /var/lib/
Also, and to be complete, even if I put --flat_
As you asked, here is the list of dnsmasq processes.
nobody 1029 0.0 0.0 21688 1072 ? S 18:16 0:00 dnsmasq --strict-order --bind-interfaces --pid-file=
nobody 1417 0.0 0.0 24388 1112 ? S 18:16 0:00 dnsmasq --strict-order --bind-interfaces --conf-file= --domain=novalocal --pid-file=
root 1418 0.0 0.0 24256 416 ? S 18:16 0:00 dnsmasq --strict-order --bind-interfaces --conf-file= --domain=novalocal --pid-file=
$ cat /var/lib/
02:16:3e:
Vish Ishaya (vishvananda) said : | #4 |
Yes that is your problem. It attempts to give the first address in the subnet to your machine and it is conflicting with your external dns server. You could try using a smaller network, such as:
128.96.126.224/27 although your .1 server may still give out addresses and mess things up. Worth a shot.
You'll have to delete networks and fixed_ip tables and recreate the smaller range with nova-network network create
you should also change:
--fixed_
--flat_
killall dnsmasq
iptables -F
iptabbles -t nat -F
restart nova-network
try again?
Vish
On Apr 22, 2011, at 7:52 AM, Brian Amedro wrote:
> Question #153827 on OpenStack Compute (nova) changed:
> https:/
>
> Status: Answered => Open
>
> Brian Amedro is still having a problem:
> Hi vish, thanks for the reply !
>
> You're right, I am trying to put instances on the same network as the
> host machine. This network already has a DHCP server on 138.96.126.1,
> which give IP for the range 138.96.126.1-199. Also, I cannot modify the
> config of this server.
>
> Is there any way so the host machine respond to the VM requests instead of the external DHCP server ?
> Looking at /var/lib/
>
> Also, and to be complete, even if I put
> --flat_
> instances was assigned with an IP in the wrong range. Thus, I modified
> by hand the database, in order to exclude some range by setting the
> 'reserved' column in the fixed_ips table.
>
> As you asked, here is the list of dnsmasq processes.
>
> nobody 1029 0.0 0.0 21688 1072 ? S 18:16 0:00 dnsmasq
> --strict-order --bind-interfaces --pid-
> file=/var/
> interface lo --listen-address 192.168.122.1 --dhcp-range
> 192.168.
>
> nobody 1417 0.0 0.0 24388 1112 ? S 18:16 0:00 dnsmasq
> --strict-order --bind-interfaces --conf-file= --domain=novalocal --pid-
> file=/var/
> --except-
> hostsfile=
> /nova-dhcpbridge --leasefile-ro
>
> root 1418 0.0 0.0 24256 416 ? S 18:16 0:00 dnsmasq
> --strict-order --bind-interfaces --conf-file= --domain=novalocal --pid-
> file=/var/
> --except-
> hostsfile=
> /nova-dhcpbridge --leasefile-ro
>
> $ cat /var/lib/
> 02:16:3e:
>
> --
> You received this question notification because you are a member of Nova
> Core, which is an answer contact for OpenStack Compute (nova).
Brian Amedro (brian-amedro) said : | #5 |
I still have the same problem:
2011-04-22 17:29:42,257 - DataSourceEc2.
2011-04-22 17:29:42,259 - DataSourceEc2.
Just to remind, my config is now:
$ cat /etc/nova/nova.conf
--dhcpbridge_
--dhcpbridge=
--logdir=
--state_
--lock_
--verbose
--libvirt_type=kvm
--network_
--fixed_
--flat_
--flat_
--flat_
and iptables-save gives
# Generated by iptables-save v1.4.10 on Fri Apr 22 19:31:57 2011
*nat
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [6:360]
:POSTROUTING ACCEPT [6:360]
:nova-compute-
:nova-compute-
:nova-compute-
:nova-compute-
:nova-compute-snat - [0:0]
:nova-network-
:nova-network-
:nova-network-
:nova-network-
:nova-network-snat - [0:0]
:nova-postrouti
-A PREROUTING -j nova-compute-
-A PREROUTING -j nova-network-
-A OUTPUT -j nova-compute-OUTPUT
-A OUTPUT -j nova-network-OUTPUT
-A POSTROUTING -j nova-compute-
-A POSTROUTING -j nova-network-
-A POSTROUTING -s 192.168.122.0/24 ! -d 192.168.122.0/24 -p tcp -j MASQUERADE --to-ports 1024-65535
-A POSTROUTING -s 192.168.122.0/24 ! -d 192.168.122.0/24 -p udp -j MASQUERADE --to-ports 1024-65535
-A POSTROUTING -s 192.168.122.0/24 ! -d 192.168.122.0/24 -j MASQUERADE
-A POSTROUTING -j nova-postroutin
-A nova-compute-snat -j nova-compute-
-A nova-network-
-A nova-network-
-A nova-network-
-A nova-network-snat -j nova-network-
-A nova-network-snat -s 138.96.224.0/27 -j SNAT --to-source 138.96.126.4
-A nova-postroutin
-A nova-postroutin
COMMIT
# Completed on Fri Apr 22 19:31:57 2011
# Generated by iptables-save v1.4.10 on Fri Apr 22 19:31:57 2011
*mangle
:PREROUTING ACCEPT [15392:1070864]
:INPUT ACCEPT [15390:1070800]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [15266:1065332]
:POSTROUTING ACCEPT [15266:1065332]
-A POSTROUTING -o virbr0 -p udp -m udp --dport 68 -j CHECKSUM --checksum-fill
COMMIT
# Completed on Fri Apr 22 19:31:57 2011
# Generated by iptables-save v1.4.10 on Fri Apr 22 19:31:57 2011
*filter
:INPUT ACCEPT [8347:581314]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [8270:577902]
:nova-compute-
:nova-compute-INPUT - [0:0]
:nova-compute-
:nova-compute-
:nova-compute-local - [0:0]
:nova-compute-
:nova-filter-top - [0:0]
:nova-network-
:nova-network-INPUT - [0:0]
:nova-network-
:nova-network-local - [0:0]
-A INPUT -j nova-compute-INPUT
-A INPUT -j nova-network-INPUT
-A INPUT -i virbr0 -p udp -m udp --dport 53 -j ACCEPT
-A INPUT -i virbr0 -p tcp -m tcp --dport 53 -j ACCEPT
-A INPUT -i virbr0 -p udp -m udp --dport 67 -j ACCEPT
-A INPUT -i virbr0 -p tcp -m tcp --dport 67 -j ACCEPT
-A FORWARD -j nova-filter-top
-A FORWARD -j nova-compute-
-A FORWARD -j nova-network-
-A FORWARD -d 192.168.122.0/24 -o virbr0 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -s 192.168.122.0/24 -i virbr0 -j ACCEPT
-A FORWARD -i virbr0 -o virbr0 -j ACCEPT
-A FORWARD -o virbr0 -j REJECT --reject-with icmp-port-
-A FORWARD -i virbr0 -j REJECT --reject-with icmp-port-
-A OUTPUT -j nova-filter-top
-A OUTPUT -j nova-compute-OUTPUT
-A OUTPUT -j nova-network-OUTPUT
-A nova-compute-
-A nova-compute-
-A nova-compute-
-A nova-compute-
-A nova-compute-
-A nova-compute-
-A nova-compute-
-A nova-compute-local -d 138.96.126.203/32 -j nova-compute-
-A nova-compute-
-A nova-filter-top -j nova-compute-local
-A nova-filter-top -j nova-network-local
-A nova-network-
-A nova-network-
COMMIT
# Completed on Fri Apr 22 19:31:57 2011
Thanks for your time.
Brian Amedro (brian-amedro) said : | #6 |
I have some evolution on the error. Now it is a "timed out" error, instead of a "Network is unreachable".
==== euca-get-
2011-04-22 18:24:52,350 - DataSourceEc2.
2011-04-22 18:24:52,353 - DataSourceEc2.
2011-04-22 18:24:55,360 - DataSourceEc2.
2011-04-22 18:24:58,367 - DataSourceEc2.
2011-04-22 18:25:01,373 - DataSourceEc2.
2011-04-22 18:25:02,380 - DataSourceEc2.
2011-04-22 18:25:01,373 - DataSourceEc2.
Hundred times...
Also, when I ping the instance, I have a response from an other IP :
$ nova list
+----+-
| ID | Name | Status | Public IP | Private IP |
+----+-
| 35 | Server 35 | ACTIVE | | 138.96.126.227 |
+----+-
$ ping 138.96.126.227
PING 138.96.126.227 (138.96.126.227) 56(84) bytes of data.
From 138.96.126.225 icmp_seq=1 Destination Host Unreachable
From 138.96.126.225 icmp_seq=2 Destination Host Unreachable
From 138.96.126.225 icmp_seq=3 Destination Host Unreachable
From 138.96.126.225 icmp_seq=5 Destination Host Unreachable
Network was created with:
# nova-manage network create 138.96.126.224/27 1 32
|
#7 |
Yes so it isn't actually getting the right ip. I'm not sure if there is a way to get a config like this to work. You may have to switch to using private addressing (like the 10.x default range) and assigning floating ips to give your vms ips on the 138 network.
Vish
On Apr 22, 2011, at 9:48 AM, Brian Amedro wrote:
> Question #153827 on OpenStack Compute (nova) changed:
> https:/
>
> Brian Amedro gave more information on the question:
> I have some evolution on the error. Now it is a "timed out" error,
> instead of a "Network is unreachable".
>
> ==== euca-get-
> 2011-04-22 18:24:52,350 - DataSourceEc2.
> 2011-04-22 18:24:52,353 - DataSourceEc2.
> 2011-04-22 18:24:55,360 - DataSourceEc2.
> 2011-04-22 18:24:58,367 - DataSourceEc2.
> 2011-04-22 18:25:01,373 - DataSourceEc2.
> 2011-04-22 18:25:02,380 - DataSourceEc2.
> 2011-04-22 18:25:01,373 - DataSourceEc2.
> Hundred times...
>
>
> Also, when I ping the instance, I have a response from an other IP :
> $ nova list
> +----+-
> | ID | Name | Status | Public IP | Private IP |
> +----+-
> | 35 | Server 35 | ACTIVE | | 138.96.126.227 |
> +----+-
>
> $ ping 138.96.126.227
> PING 138.96.126.227 (138.96.126.227) 56(84) bytes of data.
>> From 138.96.126.225 icmp_seq=1 Destination Host Unreachable
>> From 138.96.126.225 icmp_seq=2 Destination Host Unreachable
>> From 138.96.126.225 icmp_seq=3 Destination Host Unreachable
>> From 138.96.126.225 icmp_seq=5 Destination Host Unreachable
>
>
> Network was created with:
> # nova-manage network create 138.96.126.224/27 1 32
>
> --
> You received this question notification because you are a member of Nova
> Core, which is an answer contact for OpenStack Compute (nova).
Brian Amedro (brian-amedro) said : | #8 |
I will turn my config this way.
Private addressing + floating ips on the public network will do the trick.
Many thanks for your time Vish.
Brian Amedro (brian-amedro) said : | #9 |
Thanks Vish Ishaya, that solved my question.
Max Schneider (henry2k) said : | #10 |
btw. is it normal that the vnet0 gets an "fe:" mac-address while the vm gets a "02:" mac?