[Openstack] instances can not get fix ip

Guilherme Russi luisguilherme.cr at gmail.com
Thu Aug 1 13:26:27 UTC 2013


Ok, let's see if it can help you, just to you know, I have my controller
and network node at the same physical machine, and here is my quantum.conf:

[DEFAULT]
debug = True
verbose = True
lock_path = $state_path/lock
bind_host = 0.0.0.0
bind_port = 9696
core_plugin =
quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2
api_paste_config = /etc/quantum/api-paste.ini
control_exchange = quantum
rabbit_host = localhost
rabbit_password = password
...
[AGENT]
root_helper = sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf
...
[keystone_authtoken]
auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = quantum
admin_password = password
signing_dir = /var/lib/quantum/keystone-signing

And when you created an internal network, you used the script at the
openstack document? I have problems with that script and I had another way
to solve it.

Regards.

Guilherme.


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

> this is quantum.conf  on network node:
> [DEFAULT]
> verbose = True
> sql_connection = mysql://quantum:quantum@100.10.10.51:3306@quantum
> lock_path = $state_path/lock
> bind_host = 0.0.0.0
> bind_port = 9696
> core_plugin =
> quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2
> api_paste_config = api-paste.ini
> auth_strategy = keystone
>  control_exchange = quantum
> rabbit_host = 172.16.2.91
> notification_driver = quantum.openstack.common.notifier.rpc_notifier
> default_notification_level = INFO
> notification_topics = notifications
> [QUOTAS]
> [DEFAULT_SERVICETYPE]
> [AGENT]
> root_helper = sudo quantum-rootwrap /etc/quantum/rootwrap.conf
> [keystone_authtoken]
> auth_host = 100.10.10.51
> auth_port = 35357
> auth_protocol = http
> admin_tenant_name = service
> admin_user = quantum
> admin_password = password
> signing_dir = /var/lib/quantum/keystone-signing
>
>
> this is quantum.conf on compute node
> [DEFAULT]
> verbose = True
> lock_path = $state_path/lock
> bind_host = 0.0.0.0
> bind_port = 9696
> core_plugin =
> quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2
> api_paste_config = api-paste.ini
> auth_strategy = keystone
> control_exchange = quantum
> rabbit_host = 100.10.10.51
> notification_driver = quantum.openstack.common.notifier.rpc_notifier
> default_notification_level = INFO
> notification_topics = notifications
> [QUOTAS]
> [DEFAULT_SERVICETYPE]
> [AGENT]
> root_helper = sudo quantum-rootwrap /etc/quantum/rootwrap.conf
> [keystone_authtoken]
> auth_host = 172.16.2.91
> auth_port = 35357
> auth_protocol = http
> admin_tenant_name = service
> admin_user = quantum
> admin_password = password
> signing_dir = /var/lib/quantum/keystone-signing
>
>
>
>
> 2013/8/1 Guilherme Russi <luisguilherme.cr at gmail.com>
>
>> 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/20130801/83291437/attachment.html>


More information about the Openstack mailing list