Public bug reported: Openstack Pike OpenSUSE 42.3 with KVM Hypervisor.
command exec: nova --debug resize --poll 99624d22-b4e4-464b-98ae-f446ec6acd36 92a7eef9-9ba0-48b9-a30f-be8c835892a7 OUTPUT: DEBUG (session:727) POST call to compute for http://controller.stack.intranet.net:8774/v2.1/servers/99624d22-b4e4-464b-98ae-f446ec6acd36/action used request id req-638be505-68ee-4ded-963c-42d805600973 DEBUG (shell:951) No valid host was found. No valid host found for resize (HTTP 400) (Request-ID: req-638be505-68ee-4ded-963c-42d805600973) Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 949, in main OpenStackComputeShell().main(argv) File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 871, in main args.func(self.cs, args) File "/usr/lib/python2.7/site-packages/novaclient/v2/shell.py", line 1864, in do_resize server.resize(flavor, **kwargs) File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 393, in resize return self.manager.resize(self, flavor, **kwargs) File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1566, in resize return self._action('resize', server, info=info, **kwargs) File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1931, in _action info=info, **kwargs) File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1942, in _action_return_resp_and_body return self.api.client.post(url, body=body) File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 294, in post return self.request(url, 'POST', **kwargs) File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 83, in request raise exceptions.from_response(resp, body, url, method) BadRequest: No valid host was found. No valid host found for resize (HTTP 400) (Request-ID: req-638be505-68ee-4ded-963c-42d805600973) ERROR (BadRequest): No valid host was found. No valid host found for resize (HTTP 400) (Request-ID: req-638be505-68ee-4ded-963c-42d805600973) Log service: nova.scheduler.manager => Got no allocation candidates from the Placement API. This may be a temporary occurrence as compute nodes start up and begin reporting inventory to the Placement service. select_destinations ... File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 232, in inner return func(*args, **kwargs) File "/usr/lib/python2.7/site-packages/nova/scheduler/manager.py", line 139, in select_destinations raise exception.NoValidHost(reason="") NoValidHost: No valid host was found. : NoValidHost_Remote: No valid host was found. Traceback (most recent call last): Configuration: Enable in Controller and Compute node: allow_migrate_to_same_host = True allow_resize_to_same_host = True nova-status upgrade check => work +---------------------------+ | Upgrade Check Results | +---------------------------+ | Check: Cells v2 | | Result: Success | | Details: None | +---------------------------+ | Check: Placement API | | Result: Success | | Details: None | +---------------------------+ | Check: Resource Providers | | Result: Success | | Details: None | +---------------------------+ when deploy a instance work don't problem... but didn't resize flavor. the quota is fine, the service also for example nova-placement-api, nova-conductor, nova-compute, nova-scheduler all state up. nova service-list +--------------------------------------+------------------+-------------+----------+---------+-------+----------------------------+-----------------+-------------+ | Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason | Forced down | +--------------------------------------+------------------+-------------+----------+---------+-------+----------------------------+-----------------+-------------+ | 19d81123-4c5a-4fc4-9803-bb4a06137ece | nova-conductor | controller1 | internal | enabled | down | 2018-04-07T23:22:14.000000 | - | False | | 42b9268b-ff71-4664-ad12-209b4fad6b56 | nova-consoleauth | controller1 | internal | enabled | down | 2018-04-07T23:22:11.000000 | - | False | | 498724bf-9d2a-4623-93f6-75e55dbea7b1 | nova-scheduler | controller1 | internal | enabled | down | 2018-04-07T23:22:11.000000 | - | False | | 5f0fb48f-4de8-41fd-953c-4ad0a991f2ee | nova-compute | compute2 | nova | enabled | up | 2018-04-10T02:18:40.000000 | - | False | | 3f2a0a8b-81d5-43d6-80ce-dc419e57dfa5 | nova-scheduler | controller2 | internal | enabled | up | 2018-04-10T02:18:45.000000 | - | False | | a6bcc0a0-184c-462e-affb-e71bb7ebb1b0 | nova-consoleauth | controller2 | internal | enabled | up | 2018-04-10T02:18:41.000000 | - | False | | 590c6d3b-f404-4e01-b694-2df41ec34aa8 | nova-conductor | controller2 | internal | enabled | up | 2018-04-10T02:18:43.000000 | - | False | +--------------------------------------+------------------+-------------+----------+---------+-------+----------------------------+-----------------+ ... Repositorio : Pike Nombre : openstack-nova-scheduler Versión : 16.1.1~dev63-1.1 Arquitectura : x86_64 Repositorio : Pike Nombre : openstack-nova-api Versión : 16.1.1~dev63-1.1 Arquitectura : x86_64 Repositorio : Pike Nombre : openstack-nova-compute Versión : 16.1.1~dev63-1.1 Arquitectura : x86_64 Repositorio : openSUSE-Leap-42.3-Update Nombre : qemu-kvm Versión : 2.9.1-41.1 Arquitectura : x86_64 ** Affects: nova Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1762596 Title: controller nova resize instance dont' work openstack Pike Status in OpenStack Compute (nova): New Bug description: Openstack Pike OpenSUSE 42.3 with KVM Hypervisor. command exec: nova --debug resize --poll 99624d22-b4e4-464b-98ae-f446ec6acd36 92a7eef9-9ba0-48b9-a30f-be8c835892a7 OUTPUT: DEBUG (session:727) POST call to compute for http://controller.stack.intranet.net:8774/v2.1/servers/99624d22-b4e4-464b-98ae-f446ec6acd36/action used request id req-638be505-68ee-4ded-963c-42d805600973 DEBUG (shell:951) No valid host was found. No valid host found for resize (HTTP 400) (Request-ID: req-638be505-68ee-4ded-963c-42d805600973) Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 949, in main OpenStackComputeShell().main(argv) File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 871, in main args.func(self.cs, args) File "/usr/lib/python2.7/site-packages/novaclient/v2/shell.py", line 1864, in do_resize server.resize(flavor, **kwargs) File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 393, in resize return self.manager.resize(self, flavor, **kwargs) File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1566, in resize return self._action('resize', server, info=info, **kwargs) File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1931, in _action info=info, **kwargs) File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1942, in _action_return_resp_and_body return self.api.client.post(url, body=body) File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 294, in post return self.request(url, 'POST', **kwargs) File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 83, in request raise exceptions.from_response(resp, body, url, method) BadRequest: No valid host was found. No valid host found for resize (HTTP 400) (Request-ID: req-638be505-68ee-4ded-963c-42d805600973) ERROR (BadRequest): No valid host was found. No valid host found for resize (HTTP 400) (Request-ID: req-638be505-68ee-4ded-963c-42d805600973) Log service: nova.scheduler.manager => Got no allocation candidates from the Placement API. This may be a temporary occurrence as compute nodes start up and begin reporting inventory to the Placement service. select_destinations ... File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 232, in inner return func(*args, **kwargs) File "/usr/lib/python2.7/site-packages/nova/scheduler/manager.py", line 139, in select_destinations raise exception.NoValidHost(reason="") NoValidHost: No valid host was found. : NoValidHost_Remote: No valid host was found. Traceback (most recent call last): Configuration: Enable in Controller and Compute node: allow_migrate_to_same_host = True allow_resize_to_same_host = True nova-status upgrade check => work +---------------------------+ | Upgrade Check Results | +---------------------------+ | Check: Cells v2 | | Result: Success | | Details: None | +---------------------------+ | Check: Placement API | | Result: Success | | Details: None | +---------------------------+ | Check: Resource Providers | | Result: Success | | Details: None | +---------------------------+ when deploy a instance work don't problem... but didn't resize flavor. the quota is fine, the service also for example nova-placement-api, nova-conductor, nova-compute, nova-scheduler all state up. nova service-list +--------------------------------------+------------------+-------------+----------+---------+-------+----------------------------+-----------------+-------------+ | Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason | Forced down | +--------------------------------------+------------------+-------------+----------+---------+-------+----------------------------+-----------------+-------------+ | 19d81123-4c5a-4fc4-9803-bb4a06137ece | nova-conductor | controller1 | internal | enabled | down | 2018-04-07T23:22:14.000000 | - | False | | 42b9268b-ff71-4664-ad12-209b4fad6b56 | nova-consoleauth | controller1 | internal | enabled | down | 2018-04-07T23:22:11.000000 | - | False | | 498724bf-9d2a-4623-93f6-75e55dbea7b1 | nova-scheduler | controller1 | internal | enabled | down | 2018-04-07T23:22:11.000000 | - | False | | 5f0fb48f-4de8-41fd-953c-4ad0a991f2ee | nova-compute | compute2 | nova | enabled | up | 2018-04-10T02:18:40.000000 | - | False | | 3f2a0a8b-81d5-43d6-80ce-dc419e57dfa5 | nova-scheduler | controller2 | internal | enabled | up | 2018-04-10T02:18:45.000000 | - | False | | a6bcc0a0-184c-462e-affb-e71bb7ebb1b0 | nova-consoleauth | controller2 | internal | enabled | up | 2018-04-10T02:18:41.000000 | - | False | | 590c6d3b-f404-4e01-b694-2df41ec34aa8 | nova-conductor | controller2 | internal | enabled | up | 2018-04-10T02:18:43.000000 | - | False | +--------------------------------------+------------------+-------------+----------+---------+-------+----------------------------+-----------------+ ... Repositorio : Pike Nombre : openstack-nova-scheduler Versión : 16.1.1~dev63-1.1 Arquitectura : x86_64 Repositorio : Pike Nombre : openstack-nova-api Versión : 16.1.1~dev63-1.1 Arquitectura : x86_64 Repositorio : Pike Nombre : openstack-nova-compute Versión : 16.1.1~dev63-1.1 Arquitectura : x86_64 Repositorio : openSUSE-Leap-42.3-Update Nombre : qemu-kvm Versión : 2.9.1-41.1 Arquitectura : x86_64 To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1762596/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp