Re: [Openstack] Unable to start nova-scheduler : duplicate option: scheduler_host_manager

2012-09-17 Thread Sam Stoelinga
I just encountered the same problem, when I added a decorator to a method
but the decorator did not exist.

Just putting it here as it took me quite a while to find this silly
problem, hope it helps somebody.

On Thu, Aug 23, 2012 at 12:10 AM, Ben  wrote:

> Hum, ok but why ? I'm running essex out of the box packaged in Ubuntu
> 12.04. I didn't modify the code (except comment the raise line in cfg.py
> for this problem), but I did a lot of reinstall, modify configuration, drop
> nova db, etc.
>
> What would cause this circular import ? Can I tweak the code to avoid this
> circular import (as workaround to validate this hypothesis) ?
>
> Thanks to all for your help.
>
> Ben
>
>
> Le 22/08/2012 18:00, Vishvananda Ishaya a écrit :
>
>  You have a circular import somewhere That is causing scheduler/driver.py
>> to be imported twice.
>>
>> Vish
>> On Aug 22, 2012, at 8:33 AM, Ben  wrote:
>>
>>  # grep -R scheduler_host_manager /usr/lib/python2.7/dist-**packages/nova
>>> /usr/lib/python2.7/dist-**packages/nova/scheduler/**driver.py:
>>> cfg.StrOpt('scheduler_host_**manager',
>>> /usr/lib/python2.7/dist-**packages/nova/scheduler/**driver.py:
>>> FLAGS.scheduler_host_manager)
>>> Fichier binaire 
>>> /usr/lib/python2.7/dist-**packages/nova/scheduler/**driver.pyc
>>> concordant
>>> grep: /usr/lib/python2.7/dist-**packages/nova/CA/reqs/.**gitignore:
>>> Aucun fichier ou dossier de ce type
>>> grep: /usr/lib/python2.7/dist-**packages/nova/CA/.gitignore: Aucun
>>> fichier ou dossier de ce type
>>> grep: /usr/lib/python2.7/dist-**packages/nova/CA/projects/.**gitignore:
>>> Aucun fichier ou dossier de ce type
>>>
>>> If I comment the portion of code that raise the error (in
>>> _is_opt_registered(opts, opt) of cfg.py), I get the following error :
>>>
>>> ClassNotFound: Class SimpleScheduler could not be found: cannot import
>>> name vnc
>>>
>>> I have the same error if I replace --scheduler_driver by
>>> --scheduler_manager in nova.conf.
>>>
>>> novnc is not installed because it give a configure error, but
>>> nova-vncproxy is well installed.
>>>
>>> I suspect the error raised is not the original error, only side effect...
>>> I joined the trace of nova-scheduler before and after the code comment.
>>>
>>> What can I try now ?
>>>
>>> Ben
>>>
>>> Le 22/08/2012 17:00, Joseph Suh a écrit :
>>>
>>>> Ben,
>>>>
>>>> It is possible to have the option specified in a code. Try grep -r on
>>>> whole code.
>>>>
>>>> Thanks,
>>>>
>>>> Joseph
>>>>
>>>> - Original Message -
>>>> From: "Ben" 
>>>> To: "Joseph Suh" 
>>>> Cc: openstack@lists.launchpad.net
>>>> Sent: Wednesday, August 22, 2012 10:47:35 AM
>>>> Subject: Re: [Openstack] Unable to start nova-scheduler : duplicate
>>>> option: scheduler_host_manager
>>>>
>>>> Hi Joseph,
>>>>
>>>> Thank you for your answer. Yes, but where could be that option ? It's
>>>> not duplicated in my nova.conf file, and this is the file the
>>>> nova-scheduler uses.
>>>> My nova.conf file joined.
>>>>
>>>> Regards,
>>>>
>>>> Ben
>>>>
>>>>
>>>> Le 22/08/2012 16:37, Joseph Suh a écrit :
>>>>
>>>>> Ben,
>>>>>
>>>>> As the error message suggests, it is due to a duplicated option of
>>>>> scheduler_host_manager. It is specified more than once somewhere.
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Joseph
>>>>>
>>>>> - Original Message -
>>>>> From: "Ben" 
>>>>> To: openstack@lists.launchpad.net
>>>>> Sent: Wednesday, August 22, 2012 8:27:39 AM
>>>>> Subject: Re: [Openstack] Unable to start nova-scheduler : duplicate
>>>>> option: scheduler_host_manager
>>>>>
>>>>> Hi,
>>>>>
>>>>> No idea for my scheduler problem ? It was working at the beginning (I
>>>>> suppose because I could launch instances), but I did a lot of
>>>>> modification, modifying networks, deleting nova db, rebuild it, etc.
>>>>>
>>>>> Any idea on what I can do to identify the

Re: [Openstack] Unable to start nova-scheduler : duplicate option: scheduler_host_manager

2012-08-22 Thread Ben
Hum, ok but why ? I'm running essex out of the box packaged in Ubuntu 
12.04. I didn't modify the code (except comment the raise line in cfg.py 
for this problem), but I did a lot of reinstall, modify configuration, 
drop nova db, etc.


What would cause this circular import ? Can I tweak the code to avoid 
this circular import (as workaround to validate this hypothesis) ?


Thanks to all for your help.

Ben


Le 22/08/2012 18:00, Vishvananda Ishaya a écrit :

You have a circular import somewhere That is causing scheduler/driver.py to be 
imported twice.

Vish
On Aug 22, 2012, at 8:33 AM, Ben  wrote:


# grep -R scheduler_host_manager /usr/lib/python2.7/dist-packages/nova
/usr/lib/python2.7/dist-packages/nova/scheduler/driver.py: 
cfg.StrOpt('scheduler_host_manager',
/usr/lib/python2.7/dist-packages/nova/scheduler/driver.py:   
FLAGS.scheduler_host_manager)
Fichier binaire /usr/lib/python2.7/dist-packages/nova/scheduler/driver.pyc 
concordant
grep: /usr/lib/python2.7/dist-packages/nova/CA/reqs/.gitignore: Aucun fichier 
ou dossier de ce type
grep: /usr/lib/python2.7/dist-packages/nova/CA/.gitignore: Aucun fichier ou 
dossier de ce type
grep: /usr/lib/python2.7/dist-packages/nova/CA/projects/.gitignore: Aucun 
fichier ou dossier de ce type

If I comment the portion of code that raise the error (in 
_is_opt_registered(opts, opt) of cfg.py), I get the following error :

ClassNotFound: Class SimpleScheduler could not be found: cannot import name vnc

I have the same error if I replace --scheduler_driver by --scheduler_manager in 
nova.conf.

novnc is not installed because it give a configure error, but nova-vncproxy is 
well installed.

I suspect the error raised is not the original error, only side effect...
I joined the trace of nova-scheduler before and after the code comment.

What can I try now ?

Ben

Le 22/08/2012 17:00, Joseph Suh a écrit :

Ben,

It is possible to have the option specified in a code. Try grep -r on whole 
code.

Thanks,

Joseph

- Original Message -
From: "Ben" 
To: "Joseph Suh" 
Cc: openstack@lists.launchpad.net
Sent: Wednesday, August 22, 2012 10:47:35 AM
Subject: Re: [Openstack] Unable to start nova-scheduler : duplicate option: 
scheduler_host_manager

Hi Joseph,

Thank you for your answer. Yes, but where could be that option ? It's
not duplicated in my nova.conf file, and this is the file the
nova-scheduler uses.
My nova.conf file joined.

Regards,

Ben


Le 22/08/2012 16:37, Joseph Suh a écrit :

Ben,

As the error message suggests, it is due to a duplicated option of 
scheduler_host_manager. It is specified more than once somewhere.

Thanks,

Joseph

- Original Message -
From: "Ben" 
To: openstack@lists.launchpad.net
Sent: Wednesday, August 22, 2012 8:27:39 AM
Subject: Re: [Openstack] Unable to start nova-scheduler : duplicate option: 
scheduler_host_manager

Hi,

No idea for my scheduler problem ? It was working at the beginning (I
suppose because I could launch instances), but I did a lot of
modification, modifying networks, deleting nova db, rebuild it, etc.

Any idea on what I can do to identify the problem ? Where can I find the
mentionned option except in nova.conf ?

Ben

Le 22/08/2012 00:46, Ben a écrit :

Hi,

I'm trying to setup a little nova cluster with 3 nodes :

- 1 controller node running all services but compute
- 2 compute nodes running compute and network only

I have faced a lot of issues, but I can't understand this one. When I
start nova-scheduler on controller node, the process dies instantly with
this error :

CRITICAL nova [-] duplicate option: scheduler_host_manager

So I can't start an instance, it remains stuck in building state. I have
checked my nova.conf file, and I only see this line :

--scheduler_driver=nova.scheduler.simple.SimpleScheduler

What does means this error, how can I solve it ?

Thanks,

Ben


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp




___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Unable to start nova-scheduler : duplicate option: scheduler_host_manager

2012-08-22 Thread Vishvananda Ishaya
You have a circular import somewhere That is causing scheduler/driver.py to be 
imported twice.

Vish
On Aug 22, 2012, at 8:33 AM, Ben  wrote:

> # grep -R scheduler_host_manager /usr/lib/python2.7/dist-packages/nova
> /usr/lib/python2.7/dist-packages/nova/scheduler/driver.py: 
> cfg.StrOpt('scheduler_host_manager',
> /usr/lib/python2.7/dist-packages/nova/scheduler/driver.py:   
> FLAGS.scheduler_host_manager)
> Fichier binaire /usr/lib/python2.7/dist-packages/nova/scheduler/driver.pyc 
> concordant
> grep: /usr/lib/python2.7/dist-packages/nova/CA/reqs/.gitignore: Aucun fichier 
> ou dossier de ce type
> grep: /usr/lib/python2.7/dist-packages/nova/CA/.gitignore: Aucun fichier ou 
> dossier de ce type
> grep: /usr/lib/python2.7/dist-packages/nova/CA/projects/.gitignore: Aucun 
> fichier ou dossier de ce type
> 
> If I comment the portion of code that raise the error (in 
> _is_opt_registered(opts, opt) of cfg.py), I get the following error :
> 
> ClassNotFound: Class SimpleScheduler could not be found: cannot import name 
> vnc
> 
> I have the same error if I replace --scheduler_driver by --scheduler_manager 
> in nova.conf.
> 
> novnc is not installed because it give a configure error, but nova-vncproxy 
> is well installed.
> 
> I suspect the error raised is not the original error, only side effect...
> I joined the trace of nova-scheduler before and after the code comment.
> 
> What can I try now ?
> 
> Ben
> 
> Le 22/08/2012 17:00, Joseph Suh a écrit :
>> Ben,
>> 
>> It is possible to have the option specified in a code. Try grep -r on whole 
>> code.
>> 
>> Thanks,
>> 
>> Joseph
>> 
>> - Original Message -
>> From: "Ben" 
>> To: "Joseph Suh" 
>> Cc: openstack@lists.launchpad.net
>> Sent: Wednesday, August 22, 2012 10:47:35 AM
>> Subject: Re: [Openstack] Unable to start nova-scheduler : duplicate option: 
>> scheduler_host_manager
>> 
>> Hi Joseph,
>> 
>> Thank you for your answer. Yes, but where could be that option ? It's
>> not duplicated in my nova.conf file, and this is the file the
>> nova-scheduler uses.
>> My nova.conf file joined.
>> 
>> Regards,
>> 
>> Ben
>> 
>> 
>> Le 22/08/2012 16:37, Joseph Suh a écrit :
>>> Ben,
>>> 
>>> As the error message suggests, it is due to a duplicated option of 
>>> scheduler_host_manager. It is specified more than once somewhere.
>>> 
>>> Thanks,
>>> 
>>> Joseph
>>> 
>>> - Original Message -
>>> From: "Ben" 
>>> To: openstack@lists.launchpad.net
>>> Sent: Wednesday, August 22, 2012 8:27:39 AM
>>> Subject: Re: [Openstack] Unable to start nova-scheduler : duplicate option: 
>>> scheduler_host_manager
>>> 
>>> Hi,
>>> 
>>> No idea for my scheduler problem ? It was working at the beginning (I
>>> suppose because I could launch instances), but I did a lot of
>>> modification, modifying networks, deleting nova db, rebuild it, etc.
>>> 
>>> Any idea on what I can do to identify the problem ? Where can I find the
>>> mentionned option except in nova.conf ?
>>> 
>>> Ben
>>> 
>>> Le 22/08/2012 00:46, Ben a écrit :
>>>> Hi,
>>>> 
>>>> I'm trying to setup a little nova cluster with 3 nodes :
>>>> 
>>>> - 1 controller node running all services but compute
>>>> - 2 compute nodes running compute and network only
>>>> 
>>>> I have faced a lot of issues, but I can't understand this one. When I
>>>> start nova-scheduler on controller node, the process dies instantly with
>>>> this error :
>>>> 
>>>> CRITICAL nova [-] duplicate option: scheduler_host_manager
>>>> 
>>>> So I can't start an instance, it remains stuck in building state. I have
>>>> checked my nova.conf file, and I only see this line :
>>>> 
>>>> --scheduler_driver=nova.scheduler.simple.SimpleScheduler
>>>> 
>>>> What does means this error, how can I solve it ?
>>>> 
>>>> Thanks,
>>>> 
>>>> Ben
>>> 
>>> ___
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to : openstack@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>>> 
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Unable to start nova-scheduler : duplicate option: scheduler_host_manager

2012-08-22 Thread Ben

# grep -R scheduler_host_manager /usr/lib/python2.7/dist-packages/nova
/usr/lib/python2.7/dist-packages/nova/scheduler/driver.py: 
cfg.StrOpt('scheduler_host_manager',
/usr/lib/python2.7/dist-packages/nova/scheduler/driver.py: 
  FLAGS.scheduler_host_manager)
Fichier binaire 
/usr/lib/python2.7/dist-packages/nova/scheduler/driver.pyc concordant
grep: /usr/lib/python2.7/dist-packages/nova/CA/reqs/.gitignore: Aucun 
fichier ou dossier de ce type
grep: /usr/lib/python2.7/dist-packages/nova/CA/.gitignore: Aucun fichier 
ou dossier de ce type
grep: /usr/lib/python2.7/dist-packages/nova/CA/projects/.gitignore: 
Aucun fichier ou dossier de ce type


If I comment the portion of code that raise the error (in 
_is_opt_registered(opts, opt) of cfg.py), I get the following error :


ClassNotFound: Class SimpleScheduler could not be found: cannot import 
name vnc


I have the same error if I replace --scheduler_driver by 
--scheduler_manager in nova.conf.


novnc is not installed because it give a configure error, but 
nova-vncproxy is well installed.


I suspect the error raised is not the original error, only side effect...
I joined the trace of nova-scheduler before and after the code comment.

What can I try now ?

Ben

Le 22/08/2012 17:00, Joseph Suh a écrit :

Ben,

It is possible to have the option specified in a code. Try grep -r on whole 
code.

Thanks,

Joseph

- Original Message -
From: "Ben" 
To: "Joseph Suh" 
Cc: openstack@lists.launchpad.net
Sent: Wednesday, August 22, 2012 10:47:35 AM
Subject: Re: [Openstack] Unable to start nova-scheduler : duplicate option: 
scheduler_host_manager

Hi Joseph,

Thank you for your answer. Yes, but where could be that option ? It's
not duplicated in my nova.conf file, and this is the file the
nova-scheduler uses.
My nova.conf file joined.

Regards,

Ben


Le 22/08/2012 16:37, Joseph Suh a écrit :

Ben,

As the error message suggests, it is due to a duplicated option of 
scheduler_host_manager. It is specified more than once somewhere.

Thanks,

Joseph

- Original Message -
From: "Ben" 
To: openstack@lists.launchpad.net
Sent: Wednesday, August 22, 2012 8:27:39 AM
Subject: Re: [Openstack] Unable to start nova-scheduler : duplicate option: 
scheduler_host_manager

Hi,

No idea for my scheduler problem ? It was working at the beginning (I
suppose because I could launch instances), but I did a lot of
modification, modifying networks, deleting nova db, rebuild it, etc.

Any idea on what I can do to identify the problem ? Where can I find the
mentionned option except in nova.conf ?

Ben

Le 22/08/2012 00:46, Ben a écrit :

Hi,

I'm trying to setup a little nova cluster with 3 nodes :

- 1 controller node running all services but compute
- 2 compute nodes running compute and network only

I have faced a lot of issues, but I can't understand this one. When I
start nova-scheduler on controller node, the process dies instantly with
this error :

CRITICAL nova [-] duplicate option: scheduler_host_manager

So I can't start an instance, it remains stuck in building state. I have
checked my nova.conf file, and I only see this line :

--scheduler_driver=nova.scheduler.simple.SimpleScheduler

What does means this error, how can I solve it ?

Thanks,

Ben


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

--dhcpbridge_flagfile=/etc/nova/nova.conf
--dhcpbridge=/usr/bin/nova-dhcpbridge
--logdir=/var/log/nova
--state_path=/var/lib/nova
--lock_path=/var/lock/nova
--allow_admin_api=true
--use_deprecated_auth=false
--auth_strategy=keystone
--scheduler_driver=nova.scheduler.simple.SimpleScheduler
--s3_host=94.103.xx.xx
--ec2_host=94.103.xx.xx
--rabbit_host=94.103.xx.xx
--cc_host=94.103.xx.xx
--nova_url=http://94.103.xx.xx:8774/v1.1/
--routing_source_ip=94.103.xx.xx
--glance_api_servers=94.103.xx.xx:9292
--image_service=nova.image.glance.GlanceImageService
--iscsi_ip_prefix=192.168.28
--sql_connection=mysql://novadbadmin:hiddenp...@94.103.xx.xx/nova
--ec2_url=http://94.103.xx.xx:8773/services/Cloud
--keystone_ec2_url=http://94.103.xx.xx:5000/v2.0/ec2tokens
--api_paste_config=/etc/nova/api-paste.ini
--libvirt_type=kvm
--libvirt_use_virtio_for_bridges=true
--start_guests_on_host_boot=true
--resume_guests_state_on_host_boot=true
--vnc_enabled=true
--vncproxy_url=http://94.103.xx.xx:6080
--vnc_console_proxy_url=http://94.103.xx.xx:6080
# network specific settings
--network_manager=nova.network.manager.FlatDHCPManager
--public_interface=eth0
--flat_interface=eth1
--flat_network_bridge=br100
--fixed_range=192.168.28.0/25
--floating_range=94.103.136.55/29
--network_size=128
--flat_network_dhcp_start=192.168.28.2
--flat_injected=False
--force_dhcp_release
--iscsi_helper=tgtadm
--connection_type=libvirt
--root_helper=sudo nova-rootwrap
--ver

Re: [Openstack] Unable to start nova-scheduler : duplicate option: scheduler_host_manager

2012-08-22 Thread Joseph Suh
Ben,

It is possible to have the option specified in a code. Try grep -r on whole 
code.

Thanks,

Joseph

- Original Message -
From: "Ben" 
To: "Joseph Suh" 
Cc: openstack@lists.launchpad.net
Sent: Wednesday, August 22, 2012 10:47:35 AM
Subject: Re: [Openstack] Unable to start nova-scheduler : duplicate option: 
scheduler_host_manager

Hi Joseph,

Thank you for your answer. Yes, but where could be that option ? It's 
not duplicated in my nova.conf file, and this is the file the 
nova-scheduler uses.
My nova.conf file joined.

Regards,

Ben


Le 22/08/2012 16:37, Joseph Suh a écrit :
> Ben,
>
> As the error message suggests, it is due to a duplicated option of 
> scheduler_host_manager. It is specified more than once somewhere.
>
> Thanks,
>
> Joseph
>
> - Original Message -
> From: "Ben" 
> To: openstack@lists.launchpad.net
> Sent: Wednesday, August 22, 2012 8:27:39 AM
> Subject: Re: [Openstack] Unable to start nova-scheduler : duplicate option:   
> scheduler_host_manager
>
> Hi,
>
> No idea for my scheduler problem ? It was working at the beginning (I
> suppose because I could launch instances), but I did a lot of
> modification, modifying networks, deleting nova db, rebuild it, etc.
>
> Any idea on what I can do to identify the problem ? Where can I find the
> mentionned option except in nova.conf ?
>
> Ben
>
> Le 22/08/2012 00:46, Ben a écrit :
>> Hi,
>>
>> I'm trying to setup a little nova cluster with 3 nodes :
>>
>> - 1 controller node running all services but compute
>> - 2 compute nodes running compute and network only
>>
>> I have faced a lot of issues, but I can't understand this one. When I
>> start nova-scheduler on controller node, the process dies instantly with
>> this error :
>>
>> CRITICAL nova [-] duplicate option: scheduler_host_manager
>>
>> So I can't start an instance, it remains stuck in building state. I have
>> checked my nova.conf file, and I only see this line :
>>
>> --scheduler_driver=nova.scheduler.simple.SimpleScheduler
>>
>> What does means this error, how can I solve it ?
>>
>> Thanks,
>>
>> Ben
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Unable to start nova-scheduler : duplicate option: scheduler_host_manager

2012-08-22 Thread Ben

Hi Joseph,

Thank you for your answer. Yes, but where could be that option ? It's 
not duplicated in my nova.conf file, and this is the file the 
nova-scheduler uses.

My nova.conf file joined.

Regards,

Ben


Le 22/08/2012 16:37, Joseph Suh a écrit :

Ben,

As the error message suggests, it is due to a duplicated option of 
scheduler_host_manager. It is specified more than once somewhere.

Thanks,

Joseph

- Original Message -
From: "Ben" 
To: openstack@lists.launchpad.net
Sent: Wednesday, August 22, 2012 8:27:39 AM
Subject: Re: [Openstack] Unable to start nova-scheduler : duplicate option: 
scheduler_host_manager

Hi,

No idea for my scheduler problem ? It was working at the beginning (I
suppose because I could launch instances), but I did a lot of
modification, modifying networks, deleting nova db, rebuild it, etc.

Any idea on what I can do to identify the problem ? Where can I find the
mentionned option except in nova.conf ?

Ben

Le 22/08/2012 00:46, Ben a écrit :

Hi,

I'm trying to setup a little nova cluster with 3 nodes :

- 1 controller node running all services but compute
- 2 compute nodes running compute and network only

I have faced a lot of issues, but I can't understand this one. When I
start nova-scheduler on controller node, the process dies instantly with
this error :

CRITICAL nova [-] duplicate option: scheduler_host_manager

So I can't start an instance, it remains stuck in building state. I have
checked my nova.conf file, and I only see this line :

--scheduler_driver=nova.scheduler.simple.SimpleScheduler

What does means this error, how can I solve it ?

Thanks,

Ben


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

--dhcpbridge_flagfile=/etc/nova/nova.conf
--dhcpbridge=/usr/bin/nova-dhcpbridge
--logdir=/var/log/nova
--state_path=/var/lib/nova
--lock_path=/var/lock/nova
--allow_admin_api=true
--use_deprecated_auth=false
--auth_strategy=keystone
--scheduler_driver=nova.scheduler.simple.SimpleScheduler
--s3_host=94.103.xx.xx
--ec2_host=94.103.xx.xx
--rabbit_host=94.103.xx.xx
--cc_host=94.103.xx.xx
--nova_url=http://94.103.xx.xx:8774/v1.1/
--routing_source_ip=94.103.xx.xx
--glance_api_servers=94.103.xx.xx:9292
--image_service=nova.image.glance.GlanceImageService
--iscsi_ip_prefix=192.168.28
--sql_connection=mysql://novadbadmin:hiddenp...@94.103.xx.xx/nova
--ec2_url=http://94.103.xx.xx:8773/services/Cloud
--keystone_ec2_url=http://94.103.xx.xx:5000/v2.0/ec2tokens
--api_paste_config=/etc/nova/api-paste.ini
--libvirt_type=kvm
--libvirt_use_virtio_for_bridges=true
--start_guests_on_host_boot=true
--resume_guests_state_on_host_boot=true
--vnc_enabled=true
--vncproxy_url=http://94.103.xx.xx:6080
--vnc_console_proxy_url=http://94.103.xx.xx:6080
# network specific settings
--network_manager=nova.network.manager.FlatDHCPManager
--public_interface=eth0
--flat_interface=eth1
--flat_network_bridge=br100
--fixed_range=192.168.28.0/25
--floating_range=94.103.136.55/29
--network_size=128
--flat_network_dhcp_start=192.168.28.2
--flat_injected=False
--force_dhcp_release
--iscsi_helper=tgtadm
--connection_type=libvirt
--root_helper=sudo nova-rootwrap
--verbose
--libvirt_use_virtio_for_bridges
--ec2_private_dns_show
--novnc_enable=true
--novncproxy_base_url=http://94.103.xx.xx:6080/vnc_auto.html
--vncserver_proxyclient_address=127.0.0.1
--vncserver_listen=0.0.0.0

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Unable to start nova-scheduler : duplicate option: scheduler_host_manager

2012-08-22 Thread Joseph Suh
Ben,

As the error message suggests, it is due to a duplicated option of 
scheduler_host_manager. It is specified more than once somewhere.

Thanks,

Joseph

- Original Message -
From: "Ben" 
To: openstack@lists.launchpad.net
Sent: Wednesday, August 22, 2012 8:27:39 AM
Subject: Re: [Openstack] Unable to start nova-scheduler : duplicate option: 
scheduler_host_manager

Hi,

No idea for my scheduler problem ? It was working at the beginning (I 
suppose because I could launch instances), but I did a lot of 
modification, modifying networks, deleting nova db, rebuild it, etc.

Any idea on what I can do to identify the problem ? Where can I find the 
mentionned option except in nova.conf ?

Ben

Le 22/08/2012 00:46, Ben a écrit :
> Hi,
>
> I'm trying to setup a little nova cluster with 3 nodes :
>
> - 1 controller node running all services but compute
> - 2 compute nodes running compute and network only
>
> I have faced a lot of issues, but I can't understand this one. When I
> start nova-scheduler on controller node, the process dies instantly with
> this error :
>
> CRITICAL nova [-] duplicate option: scheduler_host_manager
>
> So I can't start an instance, it remains stuck in building state. I have
> checked my nova.conf file, and I only see this line :
>
> --scheduler_driver=nova.scheduler.simple.SimpleScheduler
>
> What does means this error, how can I solve it ?
>
> Thanks,
>
> Ben

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Unable to start nova-scheduler : duplicate option: scheduler_host_manager

2012-08-22 Thread Ben

Hi,

No idea for my scheduler problem ? It was working at the beginning (I 
suppose because I could launch instances), but I did a lot of 
modification, modifying networks, deleting nova db, rebuild it, etc.


Any idea on what I can do to identify the problem ? Where can I find the 
mentionned option except in nova.conf ?


Ben

Le 22/08/2012 00:46, Ben a écrit :

Hi,

I'm trying to setup a little nova cluster with 3 nodes :

- 1 controller node running all services but compute
- 2 compute nodes running compute and network only

I have faced a lot of issues, but I can't understand this one. When I
start nova-scheduler on controller node, the process dies instantly with
this error :

CRITICAL nova [-] duplicate option: scheduler_host_manager

So I can't start an instance, it remains stuck in building state. I have
checked my nova.conf file, and I only see this line :

--scheduler_driver=nova.scheduler.simple.SimpleScheduler

What does means this error, how can I solve it ?

Thanks,

Ben


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Unable to start nova-scheduler : duplicate option: scheduler_host_manager

2012-08-21 Thread Ben

Hi,

I'm trying to setup a little nova cluster with 3 nodes :

- 1 controller node running all services but compute
- 2 compute nodes running compute and network only

I have faced a lot of issues, but I can't understand this one. When I 
start nova-scheduler on controller node, the process dies instantly with 
this error :


CRITICAL nova [-] duplicate option: scheduler_host_manager

So I can't start an instance, it remains stuck in building state. I have 
checked my nova.conf file, and I only see this line :


--scheduler_driver=nova.scheduler.simple.SimpleScheduler

What does means this error, how can I solve it ?

Thanks,

Ben

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp