[Openstack] Error: No valid host was found. There are not enough hosts available

Tong Li litong01 at us.ibm.com
Wed May 11 19:26:23 UTC 2016


try with a tiny image and see what you get. If you suspect that the
available RAM is the issue, use the tiny flavor to begin with and see what
happens. if tiny one is ok, you at least can remove some of the factors and
focus on your baremetal.

Thanks.

Tong Li
IBM Open Technology
Building 501/B205
litong01 at us.ibm.com



From:	Irfan Sayed <irfu.sayed at gmail.com>
To:	Vikram Choudhary <vikschw at gmail.com>
Cc:	"openstack at lists.openstack.org" <openstack at lists.openstack.org>
Date:	05/11/2016 02:53 PM
Subject:	Re: [Openstack] Error: No valid host was found. There are not
            enough hosts available



thanks.
i observed that, instances_path option was not there in the nova.conf
file , i added the same and restarted the service , still the issue
persist
as per the log, ExactRamFilter filter has some issue
i have created one flavor called baremetal. so does that mean that , the
RAM which is assigned to the flavor show exactly match the RAM which is
there on the physical server ?
my baremetal physical server has near about 15 GB RAM, so the exactly same
RAM should be present in the baremetal flavor ?

@vikram, i did not understand what you said, are these commands?

Regards



On Wed, May 11, 2016 at 6:58 PM, Vikram Choudhary <vikschw at gmail.com>
wrote:
  Can you please check q-svc & q-agt logs and ensure no issues are
  observed..

  On Wed, May 11, 2016 at 6:17 PM, Irfan Sayed <irfu.sayed at gmail.com>
  wrote:
   in the nova.conf file i have commented out this and tried creating
   instances but still the issue.

   #scheduler_use_baremetal_filters=True
   #scheduler_use_baremetal_filters=True

   anything else i have to comment as well.?
   Regards,




   On Wed, May 11, 2016 at 5:49 PM, Chris Buccella <
   chris.buccella at verilume.com> wrote:
     > now i dont understand what is the meaning of "ExactRamFilter
     returned 0 hosts"

     http://docs.openstack.org/developer/nova/api/nova.scheduler.filters.exact_ram_filter.html


     You could try dropping the filter from scheduler_default_filters in
     nova.conf


     -Chris

     On Wed, May 11, 2016 at 12:11 AM, Irfan Sayed <irfu.sayed at gmail.com>
     wrote:
      Hello,
      I am trying to integrate the Ironic service with other openstack
      services. I am using liberty release of openstack.

      installed and configured the Ironic service.
      here is the setup:

      1: all openstack services are deployed on VM
      2: controller is on one VM (along with other services) and compute is
      on another VM
      3: one bare metal machine / desktop is there which i want to
      provision using the ironic service.
      4: nova compute service which runs on compute node is serving
      hypervisor for VMs and another nova compute service which is running
      on controller is acting hypervisor for bare metal node ...
      5: so actually i have hybrid model of VMs and physical server for
      openstack private cloud.
      6: i am using pxe_wol driver to boot the node. using ironic service
      also i can boot the node.

      so, this is the brief about the environment setup which i have as of
      now ...
      the issue is , when i am trying to launch the instance from horizon
      dashboard .. i am getting above error

      in the scheduler log, here is the output.

      2016-05-11 09:17:30.529 15559 INFO nova.filters
      [req-6c68100d-420f-43ad-878e-7819a43298e6
      5c50e3803049470283f7a9d18e871096 28d5644376ba4d3bab3a30e09a0b28d1 - -
      -] Filter ExactRamFilter returned 0 hosts
      2016-05-11 09:17:30.530 15559 INFO nova.filters
      [req-6c68100d-420f-43ad-878e-7819a43298e6
      5c50e3803049470283f7a9d18e871096 28d5644376ba4d3bab3a30e09a0b28d1 - -
      -] Filtering removed all hosts for the request with reservation ID
      'r-mld1goh8' and instance ID '98c49d72-9d8e-4377-bbe0-6dbef187e75a'.
      Filter results: ['RetryFilter: (start: 3, end: 3)',
      'AvailabilityZoneFilter: (start: 3, end: 3)', 'ComputeFilter: (start:
      3, end: 3)', 'ComputeCapabilitiesFilter: (start: 3, end: 3)',
      'ImagePropertiesFilter: (start: 3, end: 3)', 'ExactRamFilter: (start:
      3, end: 0)']

      now i dont understand what is the meaning of "ExactRamFilter
      returned 0 hosts"

      please help

      Regards,



      _______________________________________________
      Mailing list:
      http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
      Post to     : openstack at lists.openstack.org
      Unsubscribe :
      http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack




   _______________________________________________
   Mailing list:
   http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
   Post to     : openstack at lists.openstack.org
   Unsubscribe :
   http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160511/8c45ae72/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160511/8c45ae72/attachment.gif>


More information about the Openstack mailing list