<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Specifying "hw:mem_page_size=large"
      means that it will only use hugepages, not 4K pages.   On the
      compute node do you have enough CPU and free hugepages on the same
      NUMA node to satisfy the request?  The 'NUMATopologyFilter:
      (start: 1, end: 0)' part of the log says that this filter ruled
      out your only compute node.<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">What does "virsh capabilities|grep -C5
      pages" show on the compute node?</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">What does /etc/nova/nova.conf show
      inside the nova-compute container?</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">It's possible to enable debug mode for
      nova.conf but it's a little tricky to get the syntax right. 
      Basically you'd be using the "system helm-override-update"
      command.  Can you give the output of "system helm-override-show"
      for the nova chart in the openstack application?<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Chris<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 9/24/2019 6:16 AM, Mariano Ucha
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKCy0HnOjVbQm-1MfH7u15gVwXp3=Qnpv9ehR=S7jOtTO-t+8A@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi all!
        <div><br>
        </div>
        <div>I'm having a trouble now trying to allocate a VM con
          Openstack. I'm using STX 2.0 AIO-SX with DPDK so when i'm
          trying to allocate a VM with a flavor that have <span
style="color:rgb(51,51,51);font-family:-apple-system,BlinkMacSystemFont,"Segoe
            UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica
            Neue",sans-serif;font-size:14px">hw:mem_page_size=large
            metadata the system gives me <b>error 500 </b></span><b>No
            valid host was found. There are not enough hosts available.</b></div>
        <div><b><br>
          </b></div>
        <div>File
"/var/lib/openstack/lib/python2.7/site-packages/nova/conductor/manager.py",
          line 1346, in schedule_and_build_instances instance_uuids,
          return_alternates=True) File
"/var/lib/openstack/lib/python2.7/site-packages/nova/conductor/manager.py",
          line 800, in _schedule_instances
          return_alternates=return_alternates) File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/client/query.py",
          line 42, in select_destinations instance_uuids,
          return_objects, return_alternates) File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/rpcapi.py",
          line 160, in select_destinations return cctxt.call(ctxt,
          'select_destinations', **msg_args) File
"/var/lib/openstack/lib/python2.7/site-packages/oslo_messaging/rpc/client.py",
          line 178, in call retry=self.retry) File
"/var/lib/openstack/lib/python2.7/site-packages/oslo_messaging/transport.py",
          line 128, in _send retry=retry) File
"/var/lib/openstack/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py",
          line 645, in send call_monitor_timeout, retry=retry) File
"/var/lib/openstack/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py",
          line 636, in _send raise result <br>
        </div>
        <div><br>
        </div>
        <div><b><br>
          </b></div>
        <div><b>Logs from Nova Scheduler</b></div>
        <div><br>
        </div>
        <div>2019-09-23 17:37:56.537 1 INFO nova.filters
          [req-f57095ac-6539-4efb-a6a5-f27aebb0a27c
          edbcf8808d8a4f48a39b8eebb3951292
          8ae61d9905d94b8aa66193b20a3ab973 - default default] Filter
          NUMATopologyFilter returned 0 hosts<br>
          2019-09-23 17:37:56.537 1 INFO nova.filters
          [req-f57095ac-6539-4efb-a6a5-f27aebb0a27c
          edbcf8808d8a4f48a39b8eebb3951292
          8ae61d9905d94b8aa66193b20a3ab973 - default default] Filter
          NUMATopologyFilter returned 0 hosts<br>
          2019-09-23 17:37:56.538 1 INFO nova.filters
          [req-f57095ac-6539-4efb-a6a5-f27aebb0a27c
          edbcf8808d8a4f48a39b8eebb3951292
          8ae61d9905d94b8aa66193b20a3ab973 - default default] Filtering
          removed all hosts for the request with instance ID
          '66175096-37a4-4a2c-b23a-e7a4a6f10ca1'. Filter results:
          ['RetryFilter: (start: 1, end: 1)', 'ComputeFilter: (start: 1,
          end: 1)', 'AvailabilityZoneFilter: (start: 1, end: 1)',
          'AggregateInstanceExtraSpecsFilter: (start: 1, end: 1)',
          'ComputeCapabilitiesFilter: (start: 1, end: 1)',
          'ImagePropertiesFilter: (start: 1, end: 1)',
          'NUMATopologyFilter: (start: 1, end: 0)']<br>
          2019-09-23 17:37:56.538 1 INFO nova.filters
          [req-f57095ac-6539-4efb-a6a5-f27aebb0a27c
          edbcf8808d8a4f48a39b8eebb3951292
          8ae61d9905d94b8aa66193b20a3ab973 - default default] Filtering
          removed all hosts for the request with instance ID
          '66175096-37a4-4a2c-b23a-e7a4a6f10ca1'. Filter results:
          ['RetryFilter: (start: 1, end: 1)', 'ComputeFilter: (start: 1,
          end: 1)', 'AvailabilityZoneFilter: (start: 1, end: 1)',
          'AggregateInstanceExtraSpecsFilter: (start: 1, end: 1)',
          'ComputeCapabilitiesFilter: (start: 1, end: 1)',
          'ImagePropertiesFilter: (start: 1, end: 1)',
          'NUMATopologyFilter: (start: 1, end: 0)']<br>
        </div>
        <div><br>
        </div>
        <div><b>Logs from Nova Conductor</b></div>
        <div><br>
        </div>
        <div>2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager
          Traceback (most recent call last):<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/nova/conductor/manager.py",
          line 1346, in schedule_and_build_instances<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          instance_uuids, return_alternates=True)<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/nova/conductor/manager.py",
          line 800, in _schedule_instances<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          return_alternates=return_alternates)<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/client/query.py",
          line 42, in select_destinations<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          instance_uuids, return_objects, return_alternates)<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/rpcapi.py",
          line 160, in select_destinations<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          return cctxt.call(ctxt, 'select_destinations', **msg_args)<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/oslo_messaging/rpc/client.py",
          line 178, in call<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          retry=self.retry)<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/oslo_messaging/transport.py",
          line 128, in _send<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          retry=retry)<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py",
          line 645, in send<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          call_monitor_timeout, retry=retry)<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py",
          line 636, in _send<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          raise result<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager
          NoValidHost_Remote: No valid host was found. There are not
          enough hosts available.<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager
          Traceback (most recent call last):<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager <br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/oslo_messaging/rpc/server.py",
          line 229, in inner<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          return func(*args, **kwargs)<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager <br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/manager.py",
          line 168, in select_destinations<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          allocation_request_version, return_alternates)<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager <br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py",
          line 96, in select_destinations<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          allocation_request_version, return_alternates)<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager <br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py",
          line 265, in _schedule<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          claimed_instance_uuids)<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager <br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py",
          line 302, in _ensure_sufficient_hosts<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          raise exception.NoValidHost(reason=reason)<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager <br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager
          NoValidHost: No valid host was found. There are not enough
          hosts available.<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager <br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager <br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager
          [req-f57095ac-6539-4efb-a6a5-f27aebb0a27c
          edbcf8808d8a4f48a39b8eebb3951292
          8ae61d9905d94b8aa66193b20a3ab973 - default default] Failed to
          schedule instances: NoValidHost_Remote: No valid host was
          found. There are not enough hosts available.<br>
          Traceback (most recent call last):<br>
          <br>
            File
"/var/lib/openstack/lib/python2.7/site-packages/oslo_messaging/rpc/server.py",
          line 229, in inner<br>
              return func(*args, **kwargs)<br>
          <br>
            File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/manager.py",
          line 168, in select_destinations<br>
              allocation_request_version, return_alternates)<br>
          <br>
            File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py",
          line 96, in select_destinations<br>
              allocation_request_version, return_alternates)<br>
          <br>
            File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py",
          line 265, in _schedule<br>
              claimed_instance_uuids)<br>
          <br>
            File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py",
          line 302, in _ensure_sufficient_hosts<br>
              raise exception.NoValidHost(reason=reason)<br>
          <br>
          NoValidHost: No valid host was found. There are not enough
          hosts available.<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager
          Traceback (most recent call last):<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/nova/conductor/manager.py",
          line 1346, in schedule_and_build_instances<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          instance_uuids, return_alternates=True)<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/nova/conductor/manager.py",
          line 800, in _schedule_instances<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          return_alternates=return_alternates)<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/client/query.py",
          line 42, in select_destinations<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          instance_uuids, return_objects, return_alternates)<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/rpcapi.py",
          line 160, in select_destinations<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          return cctxt.call(ctxt, 'select_destinations', **msg_args)<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/oslo_messaging/rpc/client.py",
          line 178, in call<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          retry=self.retry)<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/oslo_messaging/transport.py",
          line 128, in _send<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          retry=retry)<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py",
          line 645, in send<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          call_monitor_timeout, retry=retry)<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py",
          line 636, in _send<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          raise result<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager
          NoValidHost_Remote: No valid host was found. There are not
          enough hosts available.<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager
          Traceback (most recent call last):<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager <br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/oslo_messaging/rpc/server.py",
          line 229, in inner<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          return func(*args, **kwargs)<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager <br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/manager.py",
          line 168, in select_destinations<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          allocation_request_version, return_alternates)<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager <br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py",
          line 96, in select_destinations<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          allocation_request_version, return_alternates)<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager <br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py",
          line 265, in _schedule<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          claimed_instance_uuids)<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager <br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager   File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py",
          line 302, in _ensure_sufficient_hosts<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager    
          raise exception.NoValidHost(reason=reason)<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager <br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager
          NoValidHost: No valid host was found. There are not enough
          hosts available.<br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager <br>
          2019-09-23 17:37:56.542 1 ERROR nova.conductor.manager <br>
          2019-09-23 17:37:56.627 1 WARNING nova.scheduler.utils
          [req-f57095ac-6539-4efb-a6a5-f27aebb0a27c
          edbcf8808d8a4f48a39b8eebb3951292
          8ae61d9905d94b8aa66193b20a3ab973 - default default] Failed to
          compute_task_build_instances: No valid host was found. There
          are not enough hosts available.<br>
          Traceback (most recent call last):<br>
          <br>
            File
"/var/lib/openstack/lib/python2.7/site-packages/oslo_messaging/rpc/server.py",
          line 229, in inner<br>
              return func(*args, **kwargs)<br>
          <br>
            File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/manager.py",
          line 168, in select_destinations<br>
              allocation_request_version, return_alternates)<br>
          <br>
            File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py",
          line 96, in select_destinations<br>
              allocation_request_version, return_alternates)<br>
          <br>
            File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py",
          line 265, in _schedule<br>
              claimed_instance_uuids)<br>
          <br>
            File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py",
          line 302, in _ensure_sufficient_hosts<br>
              raise exception.NoValidHost(reason=reason)<br>
          <br>
          NoValidHost: No valid host was found. There are not enough
          hosts available.<br>
          : NoValidHost_Remote: No valid host was found. There are not
          enough hosts available.<br>
          2019-09-23 17:37:56.627 1 WARNING nova.scheduler.utils
          [req-f57095ac-6539-4efb-a6a5-f27aebb0a27c
          edbcf8808d8a4f48a39b8eebb3951292
          8ae61d9905d94b8aa66193b20a3ab973 - default default] Failed to
          compute_task_build_instances: No valid host was found. There
          are not enough hosts available.<br>
          Traceback (most recent call last):<br>
          <br>
            File
"/var/lib/openstack/lib/python2.7/site-packages/oslo_messaging/rpc/server.py",
          line 229, in inner<br>
              return func(*args, **kwargs)<br>
          <br>
            File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/manager.py",
          line 168, in select_destinations<br>
              allocation_request_version, return_alternates)<br>
          <br>
            File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py",
          line 96, in select_destinations<br>
              allocation_request_version, return_alternates)<br>
          <br>
            File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py",
          line 265, in _schedule<br>
              claimed_instance_uuids)<br>
          <br>
            File
"/var/lib/openstack/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py",
          line 302, in _ensure_sufficient_hosts<br>
              raise exception.NoValidHost(reason=reason)<br>
          <br>
          NoValidHost: No valid host was found. There are not enough
          hosts available.<br>
          : NoValidHost_Remote: No valid host was found. There are not
          enough hosts available.<br>
          2019-09-23 17:37:56.630 1 WARNING nova.scheduler.utils
          [req-f57095ac-6539-4efb-a6a5-f27aebb0a27c
          edbcf8808d8a4f48a39b8eebb3951292
          8ae61d9905d94b8aa66193b20a3ab973 - default default] [instance:
          66175096-37a4-4a2c-b23a-e7a4a6f10ca1] Setting instance to
          ERROR state.: NoValidHost_Remote: No valid host was found.
          There are not enough hosts available.<br>
          2019-09-23 17:37:56.630 1 WARNING nova.scheduler.utils
          [req-f57095ac-6539-4efb-a6a5-f27aebb0a27c
          edbcf8808d8a4f48a39b8eebb3951292
          8ae61d9905d94b8aa66193b20a3ab973 - default default] [instance:
          66175096-37a4-4a2c-b23a-e7a4a6f10ca1] Setting instance to
          ERROR state.<br>
        </div>
        <div><br>
        </div>
        <div>How can i change Nova log mode to DEBUG?</div>
        <div><br>
        </div>
        <div>Anything more i can check?</div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div>Mariano</div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Starlingx-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Starlingx-discuss@lists.starlingx.io">Starlingx-discuss@lists.starlingx.io</a>
<a class="moz-txt-link-freetext" href="http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss">http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>