[Openstack] instances can not get fix ip

Guilherme Russi luisguilherme.cr at gmail.com
Wed Jul 31 18:09:53 UTC 2013


Hello Sam,

How is your quantum.conf configuration? I had this problem when I started
with openstack, let's see if I can help you.

Regards.

Guilherme.



2013/7/31 sam lee <lixq2000 at gmail.com>

> Hi all:
>
>        I installed  a three node openstack grizzly on  rhel6.4, I can
> launch a instances successfully.  but the instances can not get fix ip.
>
>        [root at controller ~]# quantum router-list
>
>  +--------------------------------------+-------------------+-----------------------------------------------+
>        | id                                   | name             |
> external_gateway_info               |
>
> +--------------------------------------+--------------------+-----------------------------------------------+
>        | 8caa43f5-9768-4d01-9200-2023c155cbee | router_proj_one | null
>              |
>
> +--------------------------------------+--------------------+-----------------------------------------------+
>
>       [root at controller ~]# quantum net-list
>
>
> +-----------------------------------------------------------+--------------------------+-----------------------------------------------------------------------------+
>       | id                                                         | name
>                   | subnets
>                  |
>
>  +------------------------------------------------------------+---------------------------+-----------------------------------------------------------------------------+
>       | 036547c0-defc-4c96-8bc2-6f019171c82e | net_project_one     |
> 67791b36-5302-4d5d-b045-cf52d92de778 50.50.1.0/24 |
>
>  +-----------------------------------------------------------+----------------------------+----------------------------------------------------------------------------+
>
>      l3_agent.ini on network node.
>
>      [DEFAULT]
>      interface_driver = quantum.agent.linux.interface.OVSInterfaceDriver
>      ovs_use_veth = True
>      use_namespaces = False
>      router_id = 8caa43f5-9768-4d01-9200-2023c155cbee
>      auth_url = http://100.10.10.51:35357/v2.0
>      auth_region = RegionOne
>      admin_tenant_name = service
>      admin_user = quantum
>      admin_password = password
>      metadata_ip = 172.16.2.91
>      metadata_port = 8775
>
>      dhcp_agent.ini on network node.
>
>      [DEFAULT]
>      interface_driver = quantum.agent.linux.interface.OVSInterfaceDriver
>      dhcp_driver = quantum.agent.linux.dhcp.Dnsmasq
>      use_namespaces =False
>      enable_isolated_metadata = True
>      enable_metadata_network = True
>
>      ovs_quantum_plugin.ini
>            [DATABASE]
>
> sql_connection = mysql://quantum:quantum@100.10.10.51:3306/quantum
> reconnect_interval = 2
> [OVS]
> tenant_network_type = gre
> enable_tunneling = True
> tunnel_id_ranges = 1:1000
> integration_bridge = br-int
> tunnel_bridge = br-tun
> local_ip = 100.10.10.52
> [AGENT]
> polling_interval = 2
> [SECURITYGROUP]
> firewall_driver =
> quantum.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
>
>
>
>     logs of instance:
>
>           ############ debug start ##############
>
>        ### /etc/init.d/sshd start
>
> Starting dropbear sshd: OK
>
> route: fscanf
>
> ### ifconfig a
>
> eth0      Link encap:Ethernet  HWaddr FA:16:3E:DF:66:65
>
>           inet6 addr: fe80::f816:3eff:fedf:6665/64 Scope:Link
>
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>
>           RX packets:6 errors:0 dropped:0 overruns:0 frame:0
>
>           TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
>
>           collisions:0 txqueuelen:1000
>
>           RX bytes:468 (468.0 B)  TX bytes:1112 (1.0 KiB)
>
> 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:0 errors:0 dropped:0 overruns:0 frame:0
>
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>
>
>           collisions:0 txqueuelen:0
>
>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>
>
>
>
> Thanks in advance.
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130731/b3b60c64/attachment.html>


More information about the Openstack mailing list