← Back to team overview

openstack team mailing list archive

Re: vm can not get ip

 

Hi, Sam,

I also install Openstack on ubuntu 12.10 via
http://devstack.org/guides/single-machine.html, and get this error as well.
Another weird thing is that I can start an instance from horizon, (it shows
the "successful" message), but I can not access (ping/ssh) the instance
from the controller host machine. I already add the corresponding secgroup
rules. With command "route -n", I can see the route entry for 169.254.0.0.
Hope someone can show some clues for this problem.

Rain Li


On Mon, Jan 21, 2013 at 8:50 PM, sam lee <lixq2000@xxxxxxxxx> wrote:

> the following are my dhcp-agent configure and dnsmasq info.
>
> root@network:/home/openstack# ps -ef | grep dnsmasq
>
> nobody    2299     1  0 Jan21 ?        00:00:00 /usr/sbin/dnsmasq
> --no-hosts --no-resolv --strict-order --bind-interfaces
> --interface=tapc71e5285-a0 --except-interface=lo --domain=openstacklocal
> --pid-file=/var/lib/quantum/dhcp/93e695f6-5dae-41b1-8a92-2bce8cb0e785/pid
> --dhcp-hostsfile=/var/lib/quantum/dhcp/93e695f6-5dae-41b1-8a92-2bce8cb0e785/host
> --dhcp-optsfile=/var/lib/quantum/dhcp/93e695f6-5dae-41b1-8a92-2bce8cb0e785/opts
> --dhcp-script=/usr/bin/quantum-dhcp-agent-dnsmasq-lease-update
> --leasefile-ro --dhcp-range=set:tag0,50.50.1.0,static,120s
>
> root      2301  2299  0 Jan21 ?        00:00:00 /usr/sbin/dnsmasq
> --no-hosts --no-resolv --strict-order --bind-interfaces
> --interface=tapc71e5285-a0 --except-interface=lo --domain=openstacklocal
> --pid-file=/var/lib/quantum/dhcp/93e695f6-5dae-41b1-8a92-2bce8cb0e785/pid
> --dhcp-hostsfile=/var/lib/quantum/dhcp/93e695f6-5dae-41b1-8a92-2bce8cb0e785/host
> --dhcp-optsfile=/var/lib/quantum/dhcp/93e695f6-5dae-41b1-8a92-2bce8cb0e785/opts
> --dhcp-script=/usr/bin/quantum-dhcp-agent-dnsmasq-lease-update
> --leasefile-ro --dhcp-range=set:tag0,50.50.1.0,static,120s
> root      9854  4475  0 10:44 pts/1    00:00:00 grep --color=auto dnsmasq
> root@network:/home/openstack#
>
> root@network:/home/openstack# grep -v "#" /etc/quantum/dhcp_agent.ini
> [DEFAULT]
> state_path = /var/lib/quantum
> interface_driver = quantum.agent.linux.interface.OVSInterfaceDriver
> dhcp_driver = quantum.agent.linux.dhcp.Dnsmasq
> use_namespaces = False
> root_helper = sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf
> root@network:/home/openstack#
>
> root@network:/var/lib/quantum/dhcp# ovs-vsctl show
> d120debb-b01b-4b9a-b824-5e7e23fa1cd4
>     Bridge br-int
>         Port "tap9338c64b-13"
>             tag: 4095
>             Interface "tap9338c64b-13"
>                 type: internal
>         Port "qr-ca596884-61"
>             tag: 1
>             Interface "qr-ca596884-61"
>                 type: internal
>         Port "tap063c55b9-17"
>             tag: 4095
>             Interface "tap063c55b9-17"
>                 type: internal
>         Port br-int
>             Interface br-int
>                 type: internal
>         Port "tap0dcaeb82-30"
>             tag: 4095
>             Interface "tap0dcaeb82-30"
>                 type: internal
>         Port "tapc71e5285-a0"
>             tag: 1
>             Interface "tapc71e5285-a0"
>                 type: internal
>         Port "int-br-eth1"
>             Interface "int-br-eth1"
>     Bridge "br-eth1"
>         Port "phy-br-eth1"
>             Interface "phy-br-eth1"
>         Port "eth0"
>             Interface "eth0"
>         Port "br-eth1"
>             Interface "br-eth1"
>                 type: internal
>     Bridge br-ex
>         Port br-ex
>             Interface br-ex
>                 type: internal
>         Port "qg-d5d39934-28"
>             Interface "qg-d5d39934-28"
>                 type: internal
>         Port "eth1"
>             Interface "eth1"
>     ovs_version: "1.4.0+build0"
>
>
>
> 2013/1/22 sam lee <lixq2000@xxxxxxxxx>
>
>> I install openstack folsom on ubuntu 12.04 following this guide
>> https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/VLAN/2NICs/OpenStack_Folsom_Install_Guide_WebVersion.rst.
>> Everything is ok util run an instance.  I check the nova console log, it
>> show that "cloud-setup: checking
>> http://169.254.169.254/2009-04-04/meta-data/instance-id
>> wget: can't connect to remote host (169.254.169.254): Network is
>> unreachable, ...", and i don't use namespace. I am a newbie for
>> openstack. Appreciate all the help
>>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References