<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><br>
      According to
<a class="moz-txt-link-freetext" href="http://docs.openstack.org/icehouse/install-guide/install/apt/content/cinder-node.html">http://docs.openstack.org/icehouse/install-guide/install/apt/content/cinder-node.html</a>,
      I configure a Block Storage service node.<br>
      <br>
      But
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      I try to create a volume, I get error like this:<br>
      <br>
      2014-09-07 11:37:31.020 33190 ERROR
      cinder.scheduler.flows.create_volume
      [req-87712243-8548-485a-8b48-30455e05dd4a
      e4936e1ce4bf4a5db7850ef606513f88 fc8cc603cbb74c87999bc9cf8e24eb06
      - - -] Failed to schedule_create_volume: No valid host was found.<br>
      <br>
      In this page
<a class="moz-txt-link-freetext" href="http://docs.openstack.org/havana/install-guide/install/apt/content/cinder-node.html">http://docs.openstack.org/havana/install-guide/install/apt/content/cinder-node.html</a><br>
      <br>
      there are discussions about it, but no solutions.<br>
      <br>
      thanks for any help.<br>
      <br>
      <br>
      <br>
      On 2014年08月25日 19:49, Markus Zoeller wrote:<br>
    </div>
    <blockquote
cite="mid:OF670288E8.AED71289-ONC1257D3F.003DC396-C1257D3F.0040EA7B@de.ibm.com"
      type="cite">
      <pre wrap="">javed alam <a class="moz-txt-link-rfc2396E" href="mailto:javedamar@gmail.com"><javedamar@gmail.com></a> wrote on 08/23/2014 02:39:38 PM:

</pre>
      <blockquote type="cite">
        <pre wrap="">From: javed alam <a class="moz-txt-link-rfc2396E" href="mailto:javedamar@gmail.com"><javedamar@gmail.com></a>
To: openstack <a class="moz-txt-link-rfc2396E" href="mailto:openstack@lists.openstack.org"><openstack@lists.openstack.org></a>, Masoom Alam 
<a class="moz-txt-link-rfc2396E" href="mailto:masoom.alam@gmail.com"><masoom.alam@gmail.com></a>
Date: 08/23/2014 02:49 PM
Subject: [Openstack] Fwd: nova instance

...
"Error: Failed to launch instance "nova_testing": Please try again 
later [Error: No valid host was found. ]. "
...
i m even unable to find the log files.
</pre>
      </blockquote>
      <pre wrap=""> 
Hi Javed,

the error "no valid host found" is thrown by the `nova-scheduler` 
service (see [1] for details). 

Depending on your testing environment you have to check different things:

1) An "All-In-One" DevStack[2] setup:
   * check your `local.conf` file in your devstack folder. There should 
     be the following lines: 
        DEST=/opt/stack
        LOGFILE=$DEST/logs/stack.sh.log
        VERBOSE=True 
        SCREEN_LOGDIR=$DEST/logs/screen
   * The log of the scheduler is then available at:
     /opt/stack/logs/screen/screen-n-sch-log
   * The scheduler log should contain more information about the cause
Afaik the changes will be applied when the services are restarted. You 
can either execute the DevStack scripts `unstack.sh` and `stack.sh` or
use the screen tool (see [4]).

2) A dedicated controller node:
The default folder for nova logs is `/var/log/nova`. The scheduler log 
should be there. Maybe you have to turn on debugging in the file 
`/etc/nova/nova.conf` in the line `debug=true` and `verbose=true`.

More infos about working with logs can be found at [3].

Sources:
[1] OpenStack configuration reference; Juno Release (draft); 
    Section "Scheduling<a class="moz-txt-link-rfc2396E" href="http://docs.openstack.org/trunk/config-reference/content/section_compute-scheduler.html[2]DevStack;http://devstack.org/guides/single-machine.html[3]OpenStackCloudAdministratorGuide;Section">" 
http://docs.openstack.org/trunk/config-reference/content/section_compute-scheduler.html 

[2] DevStack; http://devstack.org/guides/single-machine.html 
[3] OpenStack Cloud Administrator Guide; Section "</a>Manage Logs";
    
<a class="moz-txt-link-freetext" href="http://docs.openstack.org/admin-guide-cloud/content/section_manage-logs.html">http://docs.openstack.org/admin-guide-cloud/content/section_manage-logs.html</a>
[4] IBM Developer Works; 2013-12-06; Restart services of devstack based 
    openstack; 
<a class="moz-txt-link-freetext" href="https://www.ibm.com/developerworks/community/blogs/8160eff1-dedf-408e-9395-9dffeb68749f/entry/working_with_screens_to_restart_service_of_devstack_based_openstack?lang=en">https://www.ibm.com/developerworks/community/blogs/8160eff1-dedf-408e-9395-9dffeb68749f/entry/working_with_screens_to_restart_service_of_devstack_based_openstack?lang=en</a>


_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to     : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>

</pre>
    </blockquote>
    <br>
  <p>---------------------------------------------------------------------------------------------------<br>
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) <br>
is intended only for the use of the intended recipient and may be confidential and/or privileged of <br>
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is <br>
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying <br>
is strictly prohibited, and may be unlawful.If you have received this communication in error,please <br>
immediately notify the sender by return e-mail, and delete the original message and all copies from <br>
your system. Thank you. <br>
---------------------------------------------------------------------------------------------------</p></body>
</html>