Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi @Bernd Baush

I set virt_type to qemu value as you suggested.

I restarted the nova compute services and I tried to create a new instance with the same error.

I found the log and I paste a little bit sequence here:

Feb 27 09:36:08 node devstack@n-api.service[959]: Tue Feb 27 09:36:08 2018 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /compute/v2.1/flavors/m1.small (ip 128.110.153.108) !!!
Feb 27 09:36:08 node devstack@n-api.service[959]: Tue Feb 27 09:36:08 2018 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /compute/v2.1/flavors/m1.small (ip 128.110.153.108) !!!
Feb 27 09:36:08 node devstack@n-api.service[959]: #033[00;36mINFO nova.api.openstack.wsgi [#033[01;36mNone req-b3f9c7aa-2881-4777-a043-3cd8a451a7f0 #033[00;36mdemo admin#033[00;36m] #033[01;35m#033[00;36mHTTP exception thrown: Flavor m1.small could not be found.#033[00m
Feb 27 09:36:08 node devstack@n-api.service[959]: #033[00;32mDEBUG nova.api.openstack.wsgi [#033[01;36mNone req-b3f9c7aa-2881-4777-a043-3cd8a451a7f0 #033[00;36mdemo admin#033[00;32m] #033[01;35m#033[00;32mReturning 404 to user: Flavor m1.small could not be found.#033[00m #033[00;33m{{(pid=988) __call__ /opt/stack/nova/nova/api/openstack/wsgi.py:1029}}#033[00m

I got those messages several times. After I got also:

Feb 27 09:36:10 node devstack@keystone.service[918]: #033[00;32mDEBUG keystone.middleware.auth [#033[01;36mNone req-709db444-27c3-4e33-af86-9a1de2b52532 #033[00;36mNone None#033[00;32m] #033[01;35m#033[00;32mAuthenticating user token#033[00m #033[00;33m{{(pid=931) process_request /usr/local/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py:400}}#033[00m
Feb 27 09:36:10 node nova-conductor[957]: #033[01;31mERROR nova.conductor.manager [#033[01;36mNone req-92bfafc4-5781-442c-ba51-e9bcf3b5520b #033[00;36mdemo admin#033[01;31m] #033[01;35m#033[01;31mFailed to schedule instances#033[00m: NoValidHost_Remote: No valid host was found.
Feb 27 09:36:10 node nova-conductor[957]: Traceback (most recent call last):
Feb 27 09:36:10 node nova-conductor[957]:   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 232, in inner
Feb 27 09:36:10 node nova-conductor[957]:     return func(*args, **kwargs)
Feb 27 09:36:10 node nova-conductor[957]:   File "/opt/stack/nova/nova/scheduler/manager.py", line 137, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]:     raise exception.NoValidHost(reason="")
Feb 27 09:36:10 node nova-conductor[957]: NoValidHost: No valid host was found.
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00mTraceback (most recent call last):
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/conductor/manager.py", line 1049, in schedule_and_build_instances
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    instance_uuids)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/conductor/manager.py", line 635, in _schedule_instances
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    request_spec, instance_uuids)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/utils.py", line 586, in wrapped
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    return func(*args, **kwargs)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/client/__init__.py", line 52, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    instance_uuids)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/client/__init__.py", line 37, in __run_method
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    return getattr(self.instance, __name)(*args, **kwargs)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/client/query.py", line 33, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    instance_uuids)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/rpcapi.py", line 137, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    return cctxt.call(ctxt, 'select_destinations', **msg_args)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 169, in call
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    retry=self.retry)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 123, in _send
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    timeout=timeout, retry=retry)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 566, in send
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    retry=retry)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 557, in _send
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    raise result
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00mNoValidHost_Remote: No valid host was found.
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00mTraceback (most recent call last):
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 232, in inner
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    return func(*args, **kwargs)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/manager.py", line 137, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    raise exception.NoValidHost(reason="")
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00mNoValidHost: No valid host was found.
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m

Any tips?

Thank you

Hi @Bernd Baush@BerndBaush

I set virt_type to qemu value as you suggested.

I restarted the nova compute services and I tried to create a new instance with the same error.

I found the log and I paste a little bit sequence here:

Feb 27 09:36:08 node devstack@n-api.service[959]: Tue Feb 27 09:36:08 2018 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /compute/v2.1/flavors/m1.small (ip 128.110.153.108) !!!
Feb 27 09:36:08 node devstack@n-api.service[959]: Tue Feb 27 09:36:08 2018 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /compute/v2.1/flavors/m1.small (ip 128.110.153.108) !!!
Feb 27 09:36:08 node devstack@n-api.service[959]: #033[00;36mINFO nova.api.openstack.wsgi [#033[01;36mNone req-b3f9c7aa-2881-4777-a043-3cd8a451a7f0 #033[00;36mdemo admin#033[00;36m] #033[01;35m#033[00;36mHTTP exception thrown: Flavor m1.small could not be found.#033[00m
Feb 27 09:36:08 node devstack@n-api.service[959]: #033[00;32mDEBUG nova.api.openstack.wsgi [#033[01;36mNone req-b3f9c7aa-2881-4777-a043-3cd8a451a7f0 #033[00;36mdemo admin#033[00;32m] #033[01;35m#033[00;32mReturning 404 to user: Flavor m1.small could not be found.#033[00m #033[00;33m{{(pid=988) __call__ /opt/stack/nova/nova/api/openstack/wsgi.py:1029}}#033[00m

I got those messages several times. After I got also:

Feb 27 09:36:10 node devstack@keystone.service[918]: #033[00;32mDEBUG keystone.middleware.auth [#033[01;36mNone req-709db444-27c3-4e33-af86-9a1de2b52532 #033[00;36mNone None#033[00;32m] #033[01;35m#033[00;32mAuthenticating user token#033[00m #033[00;33m{{(pid=931) process_request /usr/local/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py:400}}#033[00m
Feb 27 09:36:10 node nova-conductor[957]: #033[01;31mERROR nova.conductor.manager [#033[01;36mNone req-92bfafc4-5781-442c-ba51-e9bcf3b5520b #033[00;36mdemo admin#033[01;31m] #033[01;35m#033[01;31mFailed to schedule instances#033[00m: NoValidHost_Remote: No valid host was found.
Feb 27 09:36:10 node nova-conductor[957]: Traceback (most recent call last):
Feb 27 09:36:10 node nova-conductor[957]:   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 232, in inner
Feb 27 09:36:10 node nova-conductor[957]:     return func(*args, **kwargs)
Feb 27 09:36:10 node nova-conductor[957]:   File "/opt/stack/nova/nova/scheduler/manager.py", line 137, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]:     raise exception.NoValidHost(reason="")
Feb 27 09:36:10 node nova-conductor[957]: NoValidHost: No valid host was found.
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00mTraceback (most recent call last):
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/conductor/manager.py", line 1049, in schedule_and_build_instances
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    instance_uuids)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/conductor/manager.py", line 635, in _schedule_instances
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    request_spec, instance_uuids)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/utils.py", line 586, in wrapped
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    return func(*args, **kwargs)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/client/__init__.py", line 52, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    instance_uuids)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/client/__init__.py", line 37, in __run_method
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    return getattr(self.instance, __name)(*args, **kwargs)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/client/query.py", line 33, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    instance_uuids)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/rpcapi.py", line 137, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    return cctxt.call(ctxt, 'select_destinations', **msg_args)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 169, in call
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    retry=self.retry)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 123, in _send
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    timeout=timeout, retry=retry)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 566, in send
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    retry=retry)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 557, in _send
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    raise result
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00mNoValidHost_Remote: No valid host was found.
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00mTraceback (most recent call last):
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 232, in inner
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    return func(*args, **kwargs)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/manager.py", line 137, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    raise exception.NoValidHost(reason="")
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00mNoValidHost: No valid host was found.
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m

Any tips?

Thank you

Hi @BerndBaush@Bernd Bausch

I set virt_type to qemu value as you suggested.

I restarted the nova compute services and I tried to create a new instance with the same error.

I found the log and I paste a little bit sequence here:

Feb 27 09:36:08 node devstack@n-api.service[959]: Tue Feb 27 09:36:08 2018 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /compute/v2.1/flavors/m1.small (ip 128.110.153.108) !!!
Feb 27 09:36:08 node devstack@n-api.service[959]: Tue Feb 27 09:36:08 2018 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /compute/v2.1/flavors/m1.small (ip 128.110.153.108) !!!
Feb 27 09:36:08 node devstack@n-api.service[959]: #033[00;36mINFO nova.api.openstack.wsgi [#033[01;36mNone req-b3f9c7aa-2881-4777-a043-3cd8a451a7f0 #033[00;36mdemo admin#033[00;36m] #033[01;35m#033[00;36mHTTP exception thrown: Flavor m1.small could not be found.#033[00m
Feb 27 09:36:08 node devstack@n-api.service[959]: #033[00;32mDEBUG nova.api.openstack.wsgi [#033[01;36mNone req-b3f9c7aa-2881-4777-a043-3cd8a451a7f0 #033[00;36mdemo admin#033[00;32m] #033[01;35m#033[00;32mReturning 404 to user: Flavor m1.small could not be found.#033[00m #033[00;33m{{(pid=988) __call__ /opt/stack/nova/nova/api/openstack/wsgi.py:1029}}#033[00m

I got those messages several times. After I got also:

Feb 27 09:36:10 node devstack@keystone.service[918]: #033[00;32mDEBUG keystone.middleware.auth [#033[01;36mNone req-709db444-27c3-4e33-af86-9a1de2b52532 #033[00;36mNone None#033[00;32m] #033[01;35m#033[00;32mAuthenticating user token#033[00m #033[00;33m{{(pid=931) process_request /usr/local/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py:400}}#033[00m
Feb 27 09:36:10 node nova-conductor[957]: #033[01;31mERROR nova.conductor.manager [#033[01;36mNone req-92bfafc4-5781-442c-ba51-e9bcf3b5520b #033[00;36mdemo admin#033[01;31m] #033[01;35m#033[01;31mFailed to schedule instances#033[00m: NoValidHost_Remote: No valid host was found.
Feb 27 09:36:10 node nova-conductor[957]: Traceback (most recent call last):
Feb 27 09:36:10 node nova-conductor[957]:   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 232, in inner
Feb 27 09:36:10 node nova-conductor[957]:     return func(*args, **kwargs)
Feb 27 09:36:10 node nova-conductor[957]:   File "/opt/stack/nova/nova/scheduler/manager.py", line 137, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]:     raise exception.NoValidHost(reason="")
Feb 27 09:36:10 node nova-conductor[957]: NoValidHost: No valid host was found.
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00mTraceback (most recent call last):
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/conductor/manager.py", line 1049, in schedule_and_build_instances
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    instance_uuids)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/conductor/manager.py", line 635, in _schedule_instances
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    request_spec, instance_uuids)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/utils.py", line 586, in wrapped
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    return func(*args, **kwargs)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/client/__init__.py", line 52, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    instance_uuids)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/client/__init__.py", line 37, in __run_method
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    return getattr(self.instance, __name)(*args, **kwargs)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/client/query.py", line 33, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    instance_uuids)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/rpcapi.py", line 137, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    return cctxt.call(ctxt, 'select_destinations', **msg_args)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 169, in call
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    retry=self.retry)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 123, in _send
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    timeout=timeout, retry=retry)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 566, in send
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    retry=retry)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 557, in _send
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    raise result
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00mNoValidHost_Remote: No valid host was found.
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00mTraceback (most recent call last):
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 232, in inner
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    return func(*args, **kwargs)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/manager.py", line 137, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    raise exception.NoValidHost(reason="")
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00mNoValidHost: No valid host was found.
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m

Any tips?

Thank you

Hi @Bernd Bausch

I set virt_type to qemu value as you suggested.

I restarted the nova compute services and I tried to create a new instance with the same error.

I found the log and I paste a little bit sequence here:

Feb 27 09:36:08 node devstack@n-api.service[959]: Tue Feb 27 09:36:08 2018 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /compute/v2.1/flavors/m1.small (ip 128.110.153.108) 12.12.12.12) !!!
Feb 27 09:36:08 node devstack@n-api.service[959]: Tue Feb 27 09:36:08 2018 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /compute/v2.1/flavors/m1.small (ip 128.110.153.108) 12.12.12.12) !!!
Feb 27 09:36:08 node devstack@n-api.service[959]: #033[00;36mINFO nova.api.openstack.wsgi [#033[01;36mNone req-b3f9c7aa-2881-4777-a043-3cd8a451a7f0 #033[00;36mdemo admin#033[00;36m] #033[01;35m#033[00;36mHTTP exception thrown: Flavor m1.small could not be found.#033[00m
Feb 27 09:36:08 node devstack@n-api.service[959]: #033[00;32mDEBUG nova.api.openstack.wsgi [#033[01;36mNone req-b3f9c7aa-2881-4777-a043-3cd8a451a7f0 #033[00;36mdemo admin#033[00;32m] #033[01;35m#033[00;32mReturning 404 to user: Flavor m1.small could not be found.#033[00m #033[00;33m{{(pid=988) __call__ /opt/stack/nova/nova/api/openstack/wsgi.py:1029}}#033[00m

I got those messages several times. After I got also:

Feb 27 09:36:10 node devstack@keystone.service[918]: #033[00;32mDEBUG keystone.middleware.auth [#033[01;36mNone req-709db444-27c3-4e33-af86-9a1de2b52532 #033[00;36mNone None#033[00;32m] #033[01;35m#033[00;32mAuthenticating user token#033[00m #033[00;33m{{(pid=931) process_request /usr/local/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py:400}}#033[00m
Feb 27 09:36:10 node nova-conductor[957]: #033[01;31mERROR nova.conductor.manager [#033[01;36mNone req-92bfafc4-5781-442c-ba51-e9bcf3b5520b #033[00;36mdemo admin#033[01;31m] #033[01;35m#033[01;31mFailed to schedule instances#033[00m: NoValidHost_Remote: No valid host was found.
Feb 27 09:36:10 node nova-conductor[957]: Traceback (most recent call last):
Feb 27 09:36:10 node nova-conductor[957]:   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 232, in inner
Feb 27 09:36:10 node nova-conductor[957]:     return func(*args, **kwargs)
Feb 27 09:36:10 node nova-conductor[957]:   File "/opt/stack/nova/nova/scheduler/manager.py", line 137, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]:     raise exception.NoValidHost(reason="")
Feb 27 09:36:10 node nova-conductor[957]: NoValidHost: No valid host was found.
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00mTraceback (most recent call last):
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/conductor/manager.py", line 1049, in schedule_and_build_instances
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    instance_uuids)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/conductor/manager.py", line 635, in _schedule_instances
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    request_spec, instance_uuids)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/utils.py", line 586, in wrapped
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    return func(*args, **kwargs)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/client/__init__.py", line 52, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    instance_uuids)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/client/__init__.py", line 37, in __run_method
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    return getattr(self.instance, __name)(*args, **kwargs)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/client/query.py", line 33, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    instance_uuids)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/rpcapi.py", line 137, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    return cctxt.call(ctxt, 'select_destinations', **msg_args)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 169, in call
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    retry=self.retry)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 123, in _send
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    timeout=timeout, retry=retry)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 566, in send
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    retry=retry)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 557, in _send
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    raise result
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00mNoValidHost_Remote: No valid host was found.
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00mTraceback (most recent call last):
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 232, in inner
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    return func(*args, **kwargs)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/manager.py", line 137, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    raise exception.NoValidHost(reason="")
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00mNoValidHost: No valid host was found.
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m

Any tips?

Thank you

Hi @Bernd Bausch

I set virt_type to qemu value as you suggested.

I restarted the nova compute services and I tried to create a new instance with the same error.

I found the log and I paste a little bit sequence here:

Feb 27 09:36:08 node devstack@n-api.service[959]: Tue Feb 27 09:36:08 2018 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /compute/v2.1/flavors/m1.small (ip 12.12.12.12) !!!
Feb 27 09:36:08 node devstack@n-api.service[959]: Tue Feb 27 09:36:08 2018 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /compute/v2.1/flavors/m1.small (ip 12.12.12.12) !!!
Feb 27 09:36:08 node devstack@n-api.service[959]: #033[00;36mINFO nova.api.openstack.wsgi [#033[01;36mNone req-b3f9c7aa-2881-4777-a043-3cd8a451a7f0 #033[00;36mdemo admin#033[00;36m] #033[01;35m#033[00;36mHTTP exception thrown: Flavor m1.small could not be found.#033[00m
Feb 27 09:36:08 node devstack@n-api.service[959]: #033[00;32mDEBUG nova.api.openstack.wsgi [#033[01;36mNone req-b3f9c7aa-2881-4777-a043-3cd8a451a7f0 #033[00;36mdemo admin#033[00;32m] #033[01;35m#033[00;32mReturning 404 to user: Flavor m1.small could not be found.#033[00m #033[00;33m{{(pid=988) __call__ /opt/stack/nova/nova/api/openstack/wsgi.py:1029}}#033[00m

I got those messages several times. After I got also:

Feb 27 09:36:10 node devstack@keystone.service[918]: #033[00;32mDEBUG keystone.middleware.auth [#033[01;36mNone req-709db444-27c3-4e33-af86-9a1de2b52532 #033[00;36mNone None#033[00;32m] #033[01;35m#033[00;32mAuthenticating user token#033[00m #033[00;33m{{(pid=931) process_request /usr/local/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py:400}}#033[00m
Feb 27 09:36:10 node nova-conductor[957]: #033[01;31mERROR nova.conductor.manager [#033[01;36mNone req-92bfafc4-5781-442c-ba51-e9bcf3b5520b #033[00;36mdemo admin#033[01;31m] #033[01;35m#033[01;31mFailed to schedule instances#033[00m: NoValidHost_Remote: No valid host was found.
Feb 27 09:36:10 node nova-conductor[957]: Traceback (most recent call last):
Feb 27 09:36:10 node nova-conductor[957]:   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 232, in inner
Feb 27 09:36:10 node nova-conductor[957]:     return func(*args, **kwargs)
Feb 27 09:36:10 node nova-conductor[957]:   File "/opt/stack/nova/nova/scheduler/manager.py", line 137, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]:     raise exception.NoValidHost(reason="")
Feb 27 09:36:10 node nova-conductor[957]: NoValidHost: No valid host was found.
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00mTraceback (most recent call last):
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/conductor/manager.py", line 1049, in schedule_and_build_instances
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    instance_uuids)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/conductor/manager.py", line 635, in _schedule_instances
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    request_spec, instance_uuids)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/utils.py", line 586, in wrapped
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    return func(*args, **kwargs)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/client/__init__.py", line 52, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    instance_uuids)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/client/__init__.py", line 37, in __run_method
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    return getattr(self.instance, __name)(*args, **kwargs)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/client/query.py", line 33, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    instance_uuids)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/rpcapi.py", line 137, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    return cctxt.call(ctxt, 'select_destinations', **msg_args)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 169, in call
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    retry=self.retry)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 123, in _send
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    timeout=timeout, retry=retry)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 566, in send
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    retry=retry)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 557, in _send
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    raise result
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00mNoValidHost_Remote: No valid host was found.
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00mTraceback (most recent call last):
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 232, in inner
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    return func(*args, **kwargs)
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m  File "/opt/stack/nova/nova/scheduler/manager.py", line 137, in select_destinations
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m    raise exception.NoValidHost(reason="")
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00mNoValidHost: No valid host was found.
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m
Feb 27 09:36:10 node nova-conductor[957]: ERROR nova.conductor.manager #033[01;35m#033[00m


Feb 27 09:36:32 node devstack@placement-api.service[979]: #033[00;32mDEBUG nova.api.openstack.placement.wsgi_wrapper [#033[01;36mNone req-6d5bad8c-1530-44b5-86db-958399446cdf #033[00;36mservice placement#033[00;32m] #033[01;35m#033[00;32mPlacement API returning an error response: Resource provider 'c763681d-b370-49e8-9aa5-fa53b4f3f723' not found: No resource provider with uuid c763681d-b370-49e8-9aa5-fa53b4f3f723 found#033[00m #033[00;33m{{(pid=1010) call_func /opt/stack/nova/nova/api/openstack/placement/wsgi_wrapper.py:31}}#033[00m

Any tips?

Thank you