Ask Your Question
0

nova arguments already parsed: cannot register CLI option

asked 2013-11-04 02:37:22 -0500

minhvt gravatar image

updated 2013-11-04 04:45:33 -0500

I can't start openstack-nova-compute in a compute node

In compute.log show many errors

2013-11-04 17:38:05.007 4613 DEBUG nova.servicegroup.api [-] ServiceGroup driver defined as an instance of db __new__ /usr/lib/python2.6/site-packages/nova/servicegroup/api.py:62 2013-11-04 17:38:05.158 4613 INFO nova.openstack.common.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative 2013-11-04 17:38:05.221 4613 DEBUG stevedore.extension [-] found extension EntryPoint.parse('file = nova.image.download.file') _load_plugins /usr/lib/python2.6/site-packages/stevedore/extension.py:84 2013-11-04 17:38:05.230 4613 DEBUG stevedore.extension [-] found extension EntryPoint.parse('file = nova.image.download.file') _load_plugins /usr/lib/python2.6/site-packages/stevedore/extension.py:84 2013-11-04 17:38:05.232 4613 INFO nova.virt.driver [-] Loading compute driver 'libvirt.LibvirtDriver' 2013-11-04 17:38:05.250 4613 CRITICAL nova [-] arguments already parsed: cannot register CLI option


And this's my configuration files in compute node

nova.conf

[default]

auth_strategy = keystone

auth_host = controller0-59

admin_user = nova

admin_tenant_name = service

admin_password = 123456

rpc_backend = nova.openstack.common.rpc.impl_qpid

qpid_hostname = controller0-59

my_ip = 10.160.10.60

vncserver_listen = 10.160.10.60

vncserver_proxyclient_address = 10.160.10.60

glance_host = controller0-59

neutron_admin_username=neutron

neutron_admin_password=123456

neutron_admin_auth_url=http://controller0-59:35357/v2.0/

neutron_auth_strategy=keystone

neutron_admin_tenant_name=service

neutron_url=http://controller0-59:9696/

firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

api_paste_config=/etc/nova/api-paste.ini

[database]

connection = mysql://nova:123456@controller0-59/nova


api-paste.ini

OTHER CONFIG LINES EXISTED....

[filter:authtoken]

paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory

auth_host = controller0-59

auth_port = 35357

auth_protocol = http

admin_user = nova

admin_tenant_name = service

admin_password = 123456


How do I resovle this issue?

Thks,

edit retag flag offensive close merge delete

Comments

<p>pastebin.com is not working.

dheeru gravatar imagedheeru ( 2013-11-04 03:21:31 -0500 )edit

I don't understand why http://pastebin.com not working. But I added configuration files in my question.

minhvt gravatar imageminhvt ( 2013-11-04 03:47:21 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-06-04 00:55:40 -0500

Venu Murthy gravatar image

This error comes up when the attribute has been specified repeatedly and with different values at different config files.

The following helped us resolve the issues:-

  1. yum install openstack-neutron-openvswitch.

  2. Keeping the firewall_driver the same in the neutron.conf and ovs_neutron_plugin.ini files

  3. At one point the error was due to the messagebus service having crashed, starting it helped.

edit flag offensive delete link more
1

answered 2013-12-11 15:13:35 -0500

SamYaple gravatar image

updated 2013-12-11 15:21:38 -0500

Remove the line:

firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

That line belongs in the file /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini under [securitygroup]

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-11-04 02:37:22 -0500

Seen: 3,338 times

Last updated: Jun 04 '14