Ask Your Question

Revision history [back]

Please, view :- https://ask.openstack.org/en/question/32240/issue-while-creating-neutron-database-schema/
https://ask.openstack.org/en/question/28591/neutron-db-manage-python-importerror/

Please, view :- https://ask.openstack.org/en/question/32240/issue-while-creating-neutron-database-schema/
https://ask.openstack.org/en/question/28591/neutron-db-manage-python-importerror/
View also : - http://bderzhavets.blogspot.com/2014/06/rdo-setup-two-real-node.html
Regarding :-

 [root@icehouse1 neutron(keystone_admin)]# ls -l
total 72
-rw-r--r--. 1 root root      193 Sep 30 17:08 api-paste.ini
-rw-r-----. 1 root neutron  3901 Sep 30 19:19 dhcp_agent.ini
-rw-r--r--. 1 root root       86 Sep 30 19:20 dnsmasq.conf
-rw-r-----. 1 root neutron   208 Sep 30 17:08 fwaas_driver.ini
-rw-r-----. 1 root neutron  3431 Sep 30 17:08 l3_agent.ini
-rw-r-----. 1 root neutron  1400 Aug  8 02:56 lbaas_agent.ini
-rw-r-----. 1 root neutron  1863 Sep 30 17:08 metadata_agent.ini
lrwxrwxrwx. 1 root root       37 Sep 30 18:41 ml2_conf.ini -> /etc/neutron/plugins/ml2/ml2_conf.ini
-rw-r-----. 1 root neutron 19187 Sep 30 17:08 neutron.conf
lrwxrwxrwx. 1 root root       55 Sep 30 18:40 plugin.ini -> /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
-rw-r--r--. 1 root root      211 Sep 30 17:30 plugin.out
drwxr-xr-x. 4 root root     4096 Sep 30 17:08 plugins
-rw-r-----. 1 root neutron  6148 Aug  8 02:56 policy.json
-rw-r--r--. 1 root root       79 Aug 11 15:27 release
-rw-r--r--. 1 root root     1216 Aug  8 02:56 rootwrap.conf

I mean presence of two files and OVS configuration

Please, view :- https://ask.openstack.org/en/question/32240/issue-while-creating-neutron-database-schema/
https://ask.openstack.org/en/question/28591/neutron-db-manage-python-importerror/
View also : - http://bderzhavets.blogspot.com/2014/06/rdo-setup-two-real-node.html
Regarding
Please, run on Controller :-

 [root@icehouse1 neutron(keystone_admin)]# ls -l
total 72
-rw-r--r--. 1 root root      193 Sep 30 17:08 api-paste.ini
-rw-r-----. 1 root neutron  3901 Sep 30 19:19 dhcp_agent.ini
-rw-r--r--. 1 root root       86 Sep 30 19:20 dnsmasq.conf
-rw-r-----. 1 root neutron   208 Sep 30 17:08 fwaas_driver.ini
-rw-r-----. 1 root neutron  3431 Sep 30 17:08 l3_agent.ini
-rw-r-----. 1 root neutron  1400 Aug  8 02:56 lbaas_agent.ini
-rw-r-----. 1 root neutron  1863 Sep 30 17:08 metadata_agent.ini
lrwxrwxrwx. 1 root root       37 Sep 30 18:41 ml2_conf.ini -> /etc/neutron/plugins/ml2/ml2_conf.ini
-rw-r-----. 1 root neutron 19187 Sep 30 17:08 neutron.conf
lrwxrwxrwx. 1 root root       55 Sep 30 18:40 plugin.ini -> /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
-rw-r--r--. 1 root root      211 Sep 30 17:30 plugin.out
drwxr-xr-x. 4 root root     4096 Sep 30 17:08 plugins
-rw-r-----. 1 root neutron  6148 Aug  8 02:56 policy.json
-rw-r--r--. 1 root root       79 Aug 11 15:27 release
-rw-r--r--. 1 root root     1216 Aug  8 02:56 rootwrap.conf
[root@juno1f21 ~(keystone_admin)]# rpm -qa | grep ml2
libxml2-python-2.9.1-6.fc21.x86_64
libxml2-2.9.1-6.fc21.x86_64
openstack-neutron-ml2-2014.2.1-1.fc22.noarch

I mean presence My concern is analog of two files and OVS configurationlibxml2-python-2.9.1-6.fc21.x86_64 on your system.

Please, view :- https://ask.openstack.org/en/question/32240/issue-while-creating-neutron-database-schema/
https://ask.openstack.org/en/question/28591/neutron-db-manage-python-importerror/
Please, run on your Controller :-

[root@juno1f21 ~(keystone_admin)]# rpm -qa | grep ml2
libxml2-python-2.9.1-6.fc21.x86_64
libxml2-2.9.1-6.fc21.x86_64
openstack-neutron-ml2-2014.2.1-1.fc22.noarch

My concern is analog of libxml2-python-2.9.1-6.fc21.x86_64 on your system.

Please, view :- https://ask.openstack.org/en/question/32240/issue-while-creating-neutron-database-schema/
https://ask.openstack.org/en/question/28591/neutron-db-manage-python-importerror/
Please, run on your Controller :-

[root@juno1f21 ~(keystone_admin)]# rpm -qa | grep ml2
libxml2-python-2.9.1-6.fc21.x86_64
libxml2-2.9.1-6.fc21.x86_64
openstack-neutron-ml2-2014.2.1-1.fc22.noarch

On Ubuntu check presence of packages :-

neutron-server 
neutron-plugin-ml2 
python-neutronclient

and verify your configs per http://docs.openstack.org/juno/install-guide/install/apt/content/neutron-controller-node.html

Please, view :- https://ask.openstack.org/en/question/32240/issue-while-creating-neutron-database-schema/
https://ask.openstack.org/en/question/28591/neutron-db-manage-python-importerror/
Please, run on your Controller :-

[root@juno1f21 ~(keystone_admin)]# rpm -qa | grep ml2
libxml2-python-2.9.1-6.fc21.x86_64
libxml2-2.9.1-6.fc21.x86_64
openstack-neutron-ml2-2014.2.1-1.fc22.noarch

On Ubuntu check presence of packages :-

neutron-server 
neutron-plugin-ml2 
python-neutronclient

and verify your configs per http://docs.openstack.org/juno/install-guide/install/apt/content/neutron-controller-node.html
Here goes neutron.conf from F21 Multinode RDO Juno system

[root@juno1f21 neutron(keystone_admin)]# cat neutron.orig
[DEFAULT]
verbose = True
router_distributed = False
debug = False
use_syslog = False
log_dir =/var/log/neutron
bind_host = 0.0.0.0
bind_port = 9696
core_plugin =neutron.plugins.ml2.plugin.Ml2Plugin
service_plugins =neutron.services.l3_router.l3_router_plugin.L3RouterPlugin
auth_strategy = keystone
base_mac = fa:16:3e:00:00:00
mac_generation_retries = 16
dhcp_lease_duration = 86400
dhcp_agent_notification = True
allow_bulk = True
allow_pagination = False
allow_sorting = False
allow_overlapping_ips = True
agent_down_time = 75
router_scheduler_driver = neutron.scheduler.l3_agent_scheduler.ChanceScheduler
dhcp_agents_per_network = 1
api_workers = 2
rpc_workers = 2
use_ssl = False
notify_nova_on_port_status_changes = True
notify_nova_on_port_data_changes = True
nova_url = http://192.168.1.127:8774/v2
nova_region_name =RegionOne
nova_admin_username =nova
nova_admin_tenant_id =f3f0c2e5bbcc42c9bf2366576a0b222c
nova_admin_password =d9583177a2444f06
nova_admin_auth_url =http://192.168.1.127:35357/v2.0
send_events_interval = 2
kombu_reconnect_delay=1.0
rabbit_host=192.168.1.127
rabbit_port=5672
rabbit_hosts=192.168.1.127:5672
rabbit_use_ssl=False
rabbit_userid=guest
rabbit_password=guest
rabbit_virtual_host=/
rabbit_ha_queues=False
rpc_backend=neutron.openstack.common.rpc.impl_kombu
control_exchange=neutron
[matchmaker_redis]
[matchmaker_ring]
[quotas]
[agent]
root_helper = sudo neutron-rootwrap /etc/neutron/rootwrap.conf
report_interval = 30
[keystone_authtoken]
auth_host = 192.168.1.127
auth_port = 35357
auth_protocol = http
admin_tenant_name = services
admin_user = neutron
admin_password = 808e36e154bd4cee
auth_uri=http://192.168.1.127:5000/
[database]
connection = mysql://neutron:0e2b927a21b44737@192.168.1.127/neutron
max_retries = 10
retry_interval = 10
min_pool_size = 1
max_pool_size = 10
idle_timeout = 3600
max_overflow = 20
[service_providers]
service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default

Please, view :- https://ask.openstack.org/en/question/32240/issue-while-creating-neutron-database-schema/
https://ask.openstack.org/en/question/28591/neutron-db-manage-python-importerror/
Please, run on your Controller :-

[root@juno1f21 ~(keystone_admin)]# rpm -qa | grep ml2
libxml2-python-2.9.1-6.fc21.x86_64
libxml2-2.9.1-6.fc21.x86_64
openstack-neutron-ml2-2014.2.1-1.fc22.noarch

On Ubuntu check presence of packages :-

neutron-server 
neutron-plugin-ml2 
python-neutronclient

and verify your configs per http://docs.openstack.org/juno/install-guide/install/apt/content/neutron-controller-node.html
Here goes neutron.conf from F21 Multinode RDO Juno system

[root@juno1f21 neutron(keystone_admin)]# cat neutron.orig
[DEFAULT]
verbose = True
router_distributed = False
debug = False
use_syslog = False
log_dir =/var/log/neutron
bind_host = 0.0.0.0
bind_port = 9696
core_plugin =neutron.plugins.ml2.plugin.Ml2Plugin
service_plugins =neutron.services.l3_router.l3_router_plugin.L3RouterPlugin
auth_strategy = keystone
base_mac = fa:16:3e:00:00:00
mac_generation_retries = 16
dhcp_lease_duration = 86400
dhcp_agent_notification = True
allow_bulk = True
allow_pagination = False
allow_sorting = False
allow_overlapping_ips = True
agent_down_time = 75
router_scheduler_driver = neutron.scheduler.l3_agent_scheduler.ChanceScheduler
dhcp_agents_per_network = 1
api_workers = 2
rpc_workers = 2
use_ssl = False
notify_nova_on_port_status_changes = True
notify_nova_on_port_data_changes = True
nova_url = http://192.168.1.127:8774/v2
nova_region_name =RegionOne
nova_admin_username =nova
nova_admin_tenant_id =f3f0c2e5bbcc42c9bf2366576a0b222c
nova_admin_password =d9583177a2444f06
nova_admin_auth_url =http://192.168.1.127:35357/v2.0
send_events_interval = 2
kombu_reconnect_delay=1.0
rabbit_host=192.168.1.127
rabbit_port=5672
rabbit_hosts=192.168.1.127:5672
rabbit_use_ssl=False
rabbit_userid=guest
rabbit_password=guest
rabbit_virtual_host=/
rabbit_ha_queues=False
rpc_backend=neutron.openstack.common.rpc.impl_kombu
control_exchange=neutron
[matchmaker_redis]
[matchmaker_ring]
[quotas]
[agent]
root_helper = sudo neutron-rootwrap /etc/neutron/rootwrap.conf
report_interval = 30
[keystone_authtoken]
auth_host = 192.168.1.127
auth_port = 35357
auth_protocol = http
admin_tenant_name = services
admin_user = neutron
admin_password = 808e36e154bd4cee
auth_uri=http://192.168.1.127:5000/
[database]
connection = mysql://neutron:0e2b927a21b44737@192.168.1.127/neutron
max_retries = 10
retry_interval = 10
min_pool_size = 1
max_pool_size = 10
idle_timeout = 3600
max_overflow = 20
[service_providers]
service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default

I am not sure about details ( systems are different ) but pot 9696 is obviously skipped in your config.