← Back to team overview

fuel-dev team mailing list archive

Re: nova hypervisor-list does not lists compute nodes

 

Greetings Gandhi,

Have Fuel deployed your compute node successfully? It should create all the
configuration files automatically.

BTW, there is no /etc/nova/nova-compute.conf in OpenStack. There is
/etc/nova/nova.conf on both, controller and compute nodes.

Kind regards,
Miroslav


On Mon, Jun 16, 2014 at 4:09 PM, Gandhirajan Mariappan (CW) <
gmariapp@xxxxxxxxxxx> wrote:

> Hi Fuel Dev,
>
>
>
> We are facing issue in listing hypervisor-list in Controller node. Kindly
> let us know why nova hypervisor-list does not list compute node. Also, it
> would be great if you share us the sample nova-compute.conf file. Details
> are provided below -
>
>
>
> *Controller Node : 10.24.41.3 <http://10.24.41.3>:*
>
> *root@node-6:~# nova hypervisor-list*
>
> *+----+---------------------+*
>
> *| ID | Hypervisor hostname |*
>
> *+----+---------------------+*
>
> *+----+---------------------+*
>
>
>
> Since nova hypervisor-list is empty, we have added below code in *Compute
> Node-10.24.41.2. *
>
> */etc/nova/nova-compute.conf file*
>
> *[DEFAULT]*
>
> *compute_driver=libvirt.LibvirtDriver*
>
> *#sql_connection=mysql://nova:gfW4v98X@192.168.0.3/nova?charset=utf8
> <http://nova:gfW4v98X@192.168.0.3/nova?charset=utf8>*
>
> *sql_connection=mysql://nova:gfW4v98X@192.168.0.3/nova?read_timeout=60
> <http://nova:gfW4v98X@192.168.0.3/nova?read_timeout=60>*
>
> *neutron_url=http://192.168.0.3:9696 <http://192.168.0.3:9696>*
>
> *neutron_admin_username=neutron*
>
> *#neutron_admin_password=password*
>
> *neutron_admin_password=TdvGnCTq*
>
> *neutron_admin_tenant_name=services*
>
> *neutron_region_name=RegionOne*
>
> *neutron_admin_auth_url=http://192.168.0.3:35357/v2.0
> <http://192.168.0.3:35357/v2.0>*
>
> *neutron_auth_strategy=keystone*
>
> *security_group_api=neutron*
>
> *debug=True*
>
> *verbose=True*
>
> *connection_type=libvirt*
>
> *network_api_class=nova.network.neutronv2.api.API*
>
> *libvirt_use_virtio_for_bridges=True*
>
> *neutron_default_tenant_id=default*
>
> *rabbit_userid=nova*
>
> *rabbit_password=WENFYGnk*
>
>
>
> *[libvirt]*
>
> *virt_type=kvm*
>
> *compute_driver=libvirt.LibvirtDriver*
>
> *libvirt_ovs_bridge=br-int*
>
> *libvirt_vif_type=ethernet*
>
> *libvirt_vif_driver=nova.virt.libvirt.vif.NeutronLinuxBridgeVIFDriver*
>
>
>
>
>
> *Logs from Compute node : 10.24.41.2*
>
> */var/log/nova/nova-compute.log*
>
> *2014-06-12 06:26:11.250 14211 INFO nova.openstack.common.periodic_task
> [-] Skipping periodic task _periodic_update_dns because its interval is
> negative*
>
> *2014-06-12 06:26:11.368 14211 INFO nova.virt.driver [-] Loading compute
> driver 'libvirt.LibvirtDriver'*
>
> *2014-06-12 06:26:11.420 14211 ERROR oslo.messaging._drivers.impl_rabbit
> [req-6385ba52-b54c-4b61-b211-c49ce9203819 ] AMQP server on localhost:5672
> is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1 seconds.*
>
> *2014-06-12 06:26:12.422 14211 INFO oslo.messaging._drivers.impl_rabbit
> [req-6385ba52-b54c-4b61-b211-c49ce9203819 ] Reconnecting to AMQP server on
> localhost:5672*
>
> *2014-06-12 06:26:12.423 14211 INFO oslo.messaging._drivers.impl_rabbit
> [req-6385ba52-b54c-4b61-b211-c49ce9203819 ] Delaying reconnect for 1.0
> seconds...*
>
> *2014-06-12 06:26:13.435 14211 ERROR oslo.messaging._drivers.impl_rabbit
> [req-6385ba52-b54c-4b61-b211-c49ce9203819 ] AMQP server on localhost:5672
> is unreachable: [Errno 111] ECONNREFUSED. Trying again in 3 seconds.*
>
> *2014-06-12 06:26:16.436 14211 INFO oslo.messaging._drivers.impl_rabbit
> [req-6385ba52-b54c-4b61-b211-c49ce9203819 ] Reconnecting to AMQP server on
> localhost:5672*
>
> *2014-06-12 06:26:16.436 14211 INFO oslo.messaging._drivers.impl_rabbit
> [req-6385ba52-b54c-4b61-b211-c49ce9203819 ] Delaying reconnect for 1.0
> seconds...*
>
> *2014-06-12 06:26:17.449 14211 ERROR oslo.messaging._drivers.impl_rabbit
> [req-6385ba52-b54c-4b61-b211-c49ce9203819 ] AMQP server on localhost:5672
> is unreachable: [Errno 111] ECONNREFUSED. Trying again in 5 seconds.*
>
> *2014-06-12 06:26:22.452 14211 INFO oslo.messaging._drivers.impl_rabbit
> [req-6385ba52-b54c-4b61-b211-c49ce9203819 ] Reconnecting to AMQP server on
> localhost:5672*
>
> *2014-06-12 06:26:22.453 14211 INFO oslo.messaging._drivers.impl_rabbit
> [req-6385ba52-b54c-4b61-b211-c49ce9203819 ] Delaying reconnect for 1.0
> seconds...*
>
> *2014-06-12 06:26:23.462 14211 ERROR oslo.messaging._drivers.impl_rabbit
> [req-6385ba52-b54c-4b61-b211-c49ce9203819 ] AMQP server on localhost:5672
> is unreachable: [Errno 111] ECONNREFUSED. Trying again in 7 seconds.*
>
> *2014-06-12 06:26:30.464 14211 INFO oslo.messaging._drivers.impl_rabbit
> [req-6385ba52-b54c-4b61-b211-c49ce9203819 ] Reconnecting to AMQP server on
> localhost:5672*
>
> *2014-06-12 06:26:30.465 14211 INFO oslo.messaging._drivers.impl_rabbit
> [req-6385ba52-b54c-4b61-b211-c49ce9203819 ] Delaying reconnect for 1.0
> seconds...*
>
> *2014-06-12 06:26:31.477 14211 ERROR oslo.messaging._drivers.impl_rabbit
> [req-6385ba52-b54c-4b61-b211-c49ce9203819 ] AMQP server on localhost:5672
> is unreachable: [Errno 111] ECONNREFUSED. Trying again in 9 seconds.*
>
> *2014-06-12 06:26:40.481 14211 INFO oslo.messaging._drivers.impl_rabbit
> [req-6385ba52-b54c-4b61-b211-c49ce9203819 ] Reconnecting to AMQP server on
> localhost:5672*
>
> *2014-06-12 06:26:40.482 14211 INFO oslo.messaging._drivers.impl_rabbit
> [req-6385ba52-b54c-4b61-b211-c49ce9203819 ] Delaying reconnect for 1.0
> seconds...*
>
> *2014-06-12 06:26:41.493 14211 ERROR oslo.messaging._drivers.impl_rabbit
> [req-6385ba52-b54c-4b61-b211-c49ce9203819 ] AMQP server on localhost:5672
> is unreachable: [Errno 111] ECONNREFUSED. Trying again in 11 seconds.*
>
> *2014-06-12 06:26:52.500 14211 INFO oslo.messaging._drivers.impl_rabbit
> [req-6385ba52-b54c-4b61-b211-c49ce9203819 ] Reconnecting to AMQP server on
> localhost:5672*
>
> *2014-06-12 06:26:52.501 14211 INFO oslo.messaging._drivers.impl_rabbit
> [req-6385ba52-b54c-4b61-b211-c49ce9203819 ] Delaying reconnect for 1.0
> seconds...*
>
>
>
>
>
> */var/log/nova/nova.log** – is empty*
>
>
>
> */var/log/nova/nova-manage.log*
>
> *2014-06-12 06:25:51.723 13898 INFO migrate.versioning.api [-] 215 ->
> 216...*
>
> *2014-06-12 06:26:05.989 13898 INFO migrate.versioning.api [-] done*
>
> *2014-06-12 06:26:05.989 13898 INFO migrate.versioning.api [-] 216 ->
> 217...*
>
> *2014-06-12 06:26:06.052 13898 INFO migrate.versioning.api [-] done*
>
> *2014-06-12 06:26:06.052 13898 INFO migrate.versioning.api [-] 217 ->
> 218...*
>
> *2014-06-12 06:26:06.115 13898 INFO migrate.versioning.api [-] done*
>
> *2014-06-12 06:26:06.115 13898 INFO migrate.versioning.api [-] 218 ->
> 219...*
>
> *2014-06-12 06:26:06.183 13898 INFO migrate.versioning.api [-] done*
>
> *2014-06-12 06:26:06.184 13898 INFO migrate.versioning.api [-] 219 ->
> 220...*
>
> *2014-06-12 06:26:06.246 13898 INFO migrate.versioning.api [-] done*
>
> *2014-06-12 06:26:06.247 13898 INFO migrate.versioning.api [-] 220 ->
> 221...*
>
> *2014-06-12 06:26:06.309 13898 INFO migrate.versioning.api [-] done*
>
> *2014-06-12 06:26:06.309 13898 INFO migrate.versioning.api [-] 221 ->
> 222...*
>
> *2014-06-12 06:26:06.372 13898 INFO migrate.versioning.api [-] done*
>
> *2014-06-12 06:26:06.372 13898 INFO migrate.versioning.api [-] 222 ->
> 223...*
>
> *2014-06-12 06:26:06.435 13898 INFO migrate.versioning.api [-] done*
>
> *2014-06-12 06:26:06.436 13898 INFO migrate.versioning.api [-] 223 ->
> 224...*
>
> *2014-06-12 06:26:06.498 13898 INFO migrate.versioning.api [-] done*
>
> *2014-06-12 06:26:06.498 13898 INFO migrate.versioning.api [-] 224 ->
> 225...*
>
> *2014-06-12 06:26:06.561 13898 INFO migrate.versioning.api [-] done*
>
> *2014-06-12 06:26:06.561 13898 INFO migrate.versioning.api [-] 225 ->
> 226...*
>
> *2014-06-12 06:26:06.623 13898 INFO migrate.versioning.api [-] done*
>
> *2014-06-12 06:26:06.624 13898 INFO migrate.versioning.api [-] 226 ->
> 227...*
>
> *2014-06-12 06:26:06.692 13898 INFO migrate.versioning.api [-] done*
>
> *2014-06-12 06:26:06.692 13898 INFO migrate.versioning.api [-] 227 ->
> 228...*
>
> *2014-06-12 06:26:06.886 13898 INFO migrate.versioning.api [-] done*
>
> *2014-06-12 06:26:06.887 13898 INFO migrate.versioning.api [-] 228 ->
> 229...*
>
> *2014-06-12 06:26:07.081 13898 INFO migrate.versioning.api [-] done*
>
> *2014-06-12 06:26:07.081 13898 INFO migrate.versioning.api [-] 229 ->
> 230...*
>
> *2014-06-12 06:26:07.401 13898 INFO migrate.versioning.api [-] done*
>
> *2014-06-12 06:26:07.401 13898 INFO migrate.versioning.api [-] 230 ->
> 231...*
>
> *2014-06-12 06:26:07.606 13898 INFO migrate.versioning.api [-] done*
>
> *2014-06-12 06:26:07.607 13898 INFO migrate.versioning.api [-] 231 ->
> 232...*
>
> *2014-06-12 06:26:08.178 13898 INFO migrate.versioning.api [-] done*
>
> *2014-06-12 06:26:08.179 13898 INFO migrate.versioning.api [-] 232 ->
> 233...*
>
> *2014-06-12 06:26:08.515 13898 INFO migrate.versioning.api [-] done*
>
>
>
> Thanks and Regards,
>
> Gandhi Rajan
>



-- 

*Kind Regards*

*Miroslav Anashkin**L2 support engineer**,*
*Mirantis Inc.*
*+7(495)640-4944 (office receptionist)*
*+1(650)587-5200 (office receptionist, call from US)*
*35b, Bld. 3, Vorontsovskaya St.*
*Moscow**, Russia, 109147.*

www.mirantis.com

manashkin@xxxxxxxxxxxx

Follow ups

References