Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to launch SRIOV VM for Ubuntu 14.04 Mitaka version

 Hello All,

I am unable to launch SRIOV VM for Ubuntu 14.04 Mitaka version. The instance not going into active status.

PFB logs::-
File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 404, in build_instances context, request_spec, filter_properties) File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 448, in _schedule_instances hosts = self.scheduler_client.select_destinations(context, spec_obj) File "/usr/lib/python2.7/dist-packages/nova/scheduler/utils.py", line 372, in wrapped return func(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 51, in select_destinations return self.queryclient.select_destinations(context, spec_obj) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 37, in __run_method return getattr(self.instance, __name)(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/query.py", line 32, in select_destinations return self.scheduler_rpcapi.select_destinations(context, spec_obj) File "/usr/lib/python2.7/dist-packages/nova/scheduler/rpcapi.py", line 121, in select_destinations return cctxt.call(ctxt, 'select_destinations', **msg_args) File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 158, in call retry=self.retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 90, in _send timeout=timeout, retry=retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 470, in send retry=retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 461, in _send raise result

Please help me out to resolve the issue.

Unable to launch SRIOV VM for Ubuntu 14.04 Mitaka version

 Hello All,

I am unable to launch SRIOV VM for Ubuntu 14.04 Mitaka version. The instance not going into active status.

PFB logs::-
File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 404, in build_instances context, request_spec, filter_properties) File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 448, in _schedule_instances hosts = self.scheduler_client.select_destinations(context, spec_obj) File "/usr/lib/python2.7/dist-packages/nova/scheduler/utils.py", line 372, in wrapped return func(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 51, in select_destinations return self.queryclient.select_destinations(context, spec_obj) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 37, in __run_method return getattr(self.instance, __name)(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/query.py", line 32, in select_destinations return self.scheduler_rpcapi.select_destinations(context, spec_obj) File "/usr/lib/python2.7/dist-packages/nova/scheduler/rpcapi.py", line 121, in select_destinations return cctxt.call(ctxt, 'select_destinations', **msg_args) File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 158, in call retry=self.retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 90, in _send timeout=timeout, retry=retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 470, in send retry=retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 461, in _send raise result

Please help me out to resolve the issue.

[Imp] Unable to launch SRIOV VM for Ubuntu 14.04 Mitaka Openstack version

Hello All,

 Hello All,

 I am unable to launch SRIOV VM for Ubuntu 14.04 Mitaka version. The instance not going into active status.

 PFB logs::-
 File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 404, in build_instances context, request_spec, filter_properties) File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 448, in _schedule_instances hosts = self.scheduler_client.select_destinations(context, spec_obj) File "/usr/lib/python2.7/dist-packages/nova/scheduler/utils.py", line 372, in wrapped return func(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 51, in select_destinations return self.queryclient.select_destinations(context, spec_obj) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 37, in __run_method return getattr(self.instance, __name)(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/query.py", line 32, in select_destinations return self.scheduler_rpcapi.select_destinations(context, spec_obj) File "/usr/lib/python2.7/dist-packages/nova/scheduler/rpcapi.py", line 121, in select_destinations return cctxt.call(ctxt, 'select_destinations', **msg_args) File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 158, in call retry=self.retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 90, in _send timeout=timeout, retry=retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 470, in send retry=retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 461, in _send raise result

    PFB Nova conductor logs::-

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 150, in inner
    return func(*args, **kwargs)

  File "/usr/lib/python2.7/dist-packages/nova/scheduler/manager.py", line 104, in select_destinations
    dests = self.driver.select_destinations(ctxt, spec_obj)

  File "/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py", line 74, in select_destinations
    raise exception.NoValidHost(reason=reason)

NoValidHost: No valid host was found. There are not enough hosts available.

2017-08-14 11:22:22.334 14003 WARNING nova.scheduler.utils [req-9dbffa21-65c8-4ac9-bae0-33cddeaf684c ae32e9f5c81e4aafbd36de24d45c32af 022842dd96644bb3ba3040e9663443fd - - -] [instance: d141254d-083d-4388-bd87-1b74fc709df5] Setting instance to ERROR state.
2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [req-9dbffa21-65c8-4ac9-bae0-33cddeaf684c ae32e9f5c81e4aafbd36de24d45c32af 022842dd96644bb3ba3040e9663443fd - - -] [instance: d141254d-083d-4388-bd87-1b74fc709df5] Failed to deallocate networks
2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5] Traceback (most recent call last):
2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5]   File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 273, in _cleanup_allocated_networks
2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5]     context, instance, requested_networks=requested_networks)
2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5]   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 838, in deallocate_for_instance
2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5]     self._unbind_ports(context, ports_to_skip, neutron)
2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5]   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 326, in _unbind_ports
2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5]     get_client(context, admin=True))
2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5]   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 141, in get_client
2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5]     _ADMIN_AUTH = _load_auth_plugin(CONF)
2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5]   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 122, in _load_auth_plugin
2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5]     raise neutron_client_exc.Unauthorized(message=err_msg)
2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5] Unauthorized: Unknown auth type: None
2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5]
2017-08-14 11:23:14.731 14004 ERROR nova.scheduler.utils [req-278afd0a-25df-427c-aed6-dcb95e144716 ae32e9f5c81e4aafbd36de24d45c32af 022842dd96644bb3ba3040e9663443fd - - -] [instance: 5eefa6d4-11db-4536-a6b5-682bb1124334] Error from last host: hyp01demo01 (node hyp01demo01): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1926, in _do_build_and_run_instance\n    filter_properties)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2116, in _build_and_run_instance\n    instance_uuid=instance.uuid, reason=six.text_type(e))\n', u"RescheduledException: Build of instance 5eefa6d4-11db-4536-a6b5-682bb1124334 was re-scheduled: unsupported configuration: host doesn't support passthrough of host PCI devices\n"]
2017-08-14 11:23:14.798 14004 WARNING nova.scheduler.utils [req-278afd0a-25df-427c-aed6-dcb95e144716 ae32e9f5c81e4aafbd36de24d45c32af 022842dd96644bb3ba3040e9663443fd - - -] Failed to compute_task_build_instances: No valid host was found. There are not enough hosts available.


Please help me out to resolve the issue.

[Imp] Unable to launch SRIOV VM for Ubuntu 14.04 Mitaka Openstack version

Hello All,

     I am unable to launch SRIOV VM for Ubuntu 14.04 Mitaka version. The instance not going into active status.

     PFB logs::-
     File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 404, in build_instances context, request_spec, filter_properties) File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 448, in _schedule_instances hosts = self.scheduler_client.select_destinations(context, spec_obj) File "/usr/lib/python2.7/dist-packages/nova/scheduler/utils.py", line 372, in wrapped return func(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 51, in select_destinations return self.queryclient.select_destinations(context, spec_obj) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 37, in __run_method return getattr(self.instance, __name)(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/query.py", line 32, in select_destinations return self.scheduler_rpcapi.select_destinations(context, spec_obj) File "/usr/lib/python2.7/dist-packages/nova/scheduler/rpcapi.py", line 121, in select_destinations return cctxt.call(ctxt, 'select_destinations', **msg_args) File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 158, in call retry=self.retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 90, in _send timeout=timeout, retry=retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 470, in send retry=retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 461, in _send raise result

     PFB Nova conductor logs::-

 Traceback (most recent call last):

   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 150, in inner
     return func(*args, **kwargs)

   File "/usr/lib/python2.7/dist-packages/nova/scheduler/manager.py", line 104, in select_destinations
     dests = self.driver.select_destinations(ctxt, spec_obj)

   File "/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py", line 74, in select_destinations
     raise exception.NoValidHost(reason=reason)

 NoValidHost: No valid host was found. There are not enough hosts available.

 2017-08-14 11:22:22.334 14003 WARNING nova.scheduler.utils [req-9dbffa21-65c8-4ac9-bae0-33cddeaf684c ae32e9f5c81e4aafbd36de24d45c32af 022842dd96644bb3ba3040e9663443fd - - -] [instance: d141254d-083d-4388-bd87-1b74fc709df5] Setting instance to ERROR state.
 2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [req-9dbffa21-65c8-4ac9-bae0-33cddeaf684c ae32e9f5c81e4aafbd36de24d45c32af 022842dd96644bb3ba3040e9663443fd - - -] [instance: d141254d-083d-4388-bd87-1b74fc709df5] Failed to deallocate networks
 2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5] Traceback (most recent call last):
 2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5]   File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 273, in _cleanup_allocated_networks
 2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5]     context, instance, requested_networks=requested_networks)
 2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5]   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 838, in deallocate_for_instance
 2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5]     self._unbind_ports(context, ports_to_skip, neutron)
 2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5]   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 326, in _unbind_ports
 2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5]     get_client(context, admin=True))
 2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5]   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 141, in get_client
 2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5]     _ADMIN_AUTH = _load_auth_plugin(CONF)
 2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5]   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 122, in _load_auth_plugin
 2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5]     raise neutron_client_exc.Unauthorized(message=err_msg)
 2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5] Unauthorized: Unknown auth type: None
 2017-08-14 11:22:22.439 14003 ERROR nova.conductor.manager [instance: d141254d-083d-4388-bd87-1b74fc709df5]
 2017-08-14 11:23:14.731 14004 ERROR nova.scheduler.utils [req-278afd0a-25df-427c-aed6-dcb95e144716 ae32e9f5c81e4aafbd36de24d45c32af 022842dd96644bb3ba3040e9663443fd - - -] [instance: 5eefa6d4-11db-4536-a6b5-682bb1124334] Error from last host: hyp01demo01 (node hyp01demo01): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1926, in _do_build_and_run_instance\n    filter_properties)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2116, in _build_and_run_instance\n    instance_uuid=instance.uuid, reason=six.text_type(e))\n', u"RescheduledException: Build of instance 5eefa6d4-11db-4536-a6b5-682bb1124334 was re-scheduled: unsupported configuration: host doesn't support passthrough of host PCI devices\n"]
 2017-08-14 11:23:14.798 14004 WARNING nova.scheduler.utils [req-278afd0a-25df-427c-aed6-dcb95e144716 ae32e9f5c81e4aafbd36de24d45c32af 022842dd96644bb3ba3040e9663443fd - - -] Failed to compute_task_build_instances: No valid host was found. There are not enough hosts available.


 Please help me out to resolve the issue.