CentOS OpenStack - compute node can't talk [closed]

asked 2016-02-26 17:54:00 -0500

snd lt gravatar image

updated 2016-03-06 00:08:56 -0500

OpenStack from RDO/CentOS repo. (One Compute/Controller_All-in-One node and additional compute node = total of 2).

Let me know if any more logs would help. Do I need extra interfaces or something?

Seems whether VMs are created in controller/compute can be ssh-ed, etc. But the VM on additional compute node can't talk to anything. (Hope networking side is fine).

Thanks.

[root@openstack-rdo nova]# cat nova-api.log   
2016-02-26 08:11:09.283 4026 TRACE nova.api.openstack     use_slave=use_slave)
2016-02-26 08:11:09.283 4026 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 143, in wrapper
2016-02-26 08:11:09.283 4026 TRACE nova.api.openstack     return f(*args, **kwargs)
2016-02-26 08:11:09.283 4026 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 1885, in instance_get_all_by_filters
2016-02-26 08:11:09.283 4026 TRACE nova.api.openstack     session = get_session(use_slave=use_slave)
2016-02-26 08:11:09.283 4026 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 101, in get_session
2016-02-26 08:11:09.283 4026 TRACE nova.api.openstack     facade = _create_facade_lazily()
2016-02-26 08:11:09.283 4026 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 91, in _create_facade_lazily
2016-02-26 08:11:09.283 4026 TRACE nova.api.openstack     _ENGINE_FACADE = db_session.EngineFacade.from_config(CONF)
2016-02-26 08:11:09.283 4026 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/oslo/db/sqlalchemy/session.py", line 816, in from_config
2016-02-26 08:11:09.283 4026 TRACE nova.api.openstack     retry_interval=conf.database.retry_interval)
2016-02-26 08:11:09.283 4026 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/oslo/db/sqlalchemy/session.py", line 732, in __init__
2016-02-26 08:11:09.283 4026 TRACE nova.api.openstack     **engine_kwargs)
2016-02-26 08:11:09.283 4026 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/oslo/db/sqlalchemy/session.py", line 409, in create_engine
2016-02-26 08:11:09.283 4026 TRACE nova.api.openstack     _test_connection(engine, max_retries, retry_interval)
2016-02-26 08:11:09.283 4026 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/oslo/db/sqlalchemy/session.py", line 549, in _test_connection
2016-02-26 08:11:09.283 4026 TRACE nova.api.openstack     return exc_filters.handle_connect_error(engine)
2016-02-26 08:11:09.283 4026 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/oslo/db/sqlalchemy/exc_filters.py", line 351, in handle_connect_error
2016-02-26 08:11:09.283 4026 TRACE nova.api.openstack     handler(ctx)
2016-02-26 08:11:09.283 4026 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/oslo/db/sqlalchemy/exc_filters.py", line 323, in handler
2016-02-26 08:11:09.283 4026 TRACE nova.api.openstack     context.is_disconnect)
2016-02-26 08:11:09.283 4026 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/oslo/db/sqlalchemy/exc_filters.py", line 254, in _raise_operational_errors_directly_filter
2016-02-26 08:11:09.283 4026 TRACE nova.api.openstack     raise operational_error
2016-02-26 ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by mary_grace
close date 2018-01-26 19:57:18.573078

Comments

The error in nova-api seems to be related to this

kaustubh gravatar imagekaustubh ( 2016-02-27 23:34:51 -0500 )edit

would being behind corporate proxy complicate things? Also, compute node can run all neutron/nova queries. The original compute/controller node can also see the additional compute node as part of its query. (Also, can network manager cause trouble?)

snd lt gravatar imagesnd lt ( 2016-02-29 09:54:25 -0500 )edit

I'll increase "max connection" and observe to get back here. Thanks.

snd lt gravatar imagesnd lt ( 2016-02-29 10:43:11 -0500 )edit

"mysql max connection" increased and horizon problem is better. Yet, Nova on compute node can't provide network to VMs.

snd lt gravatar imagesnd lt ( 2016-02-29 13:43:46 -0500 )edit

When you add compute Nodes did you specify EXCLUDE_SERVERS=IP1,IP2 list ?

dbaxps gravatar imagedbaxps ( 2016-03-06 00:30:49 -0500 )edit