<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Enable debug and verbose logs on nova, and check the scheduler; I had few cases, when RAM on compute nodes is not enough to spin up a VM</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Cheers,</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">NM</div> <div id="bloop_sign_1395744290249497856" class="bloop_sign"><span style="font-family:helvetica,arial;font-size:13px"></span>-- <br>Nick Maslov<br><span>Sent with Airmail</span></div> <br><p style="color:#000;">On March 21, 2014 at 9:34:31 AM, Mahardhika Gilang (<a href="mailto:mahardika.gilang@andalabs.com">mahardika.gilang@andalabs.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div text="#000000" bgcolor="#FFFFFF"><div></div><div>



<title></title>


<div class="moz-cite-prefix">Hi, please chat the output of #tail -f
/var/log/nova/nova-compute.log<br>
in your compute node<br>
<br>
On 3/21/2014 1:55 PM, Manoj K wrote:<br></div>
<blockquote cite="mid:CAF9H55kjbz9BjD13+K0=zbDPWddhW1iZvseaTNSH5wzkMOtxxQ@mail.gmail.com" type="cite">
<div dir="ltr">Hello OpenStack,
<div><br></div>
<div>I have simple dual-node OpenStack, On both node all service
works fine.</div>
<div><br></div>
<div>#nova-manage service list</div>
<div><br></div>
<div>
<div>Binary           Host    
                 
          Zone        
    Status     State Updated_At</div>
<div>nova-cert        controller    
                 
    internal         enabled  
 :-)   2014-03-21 06:49:18</div>
<div>nova-consoleauth controller          
                internal
        enabled    :-)  
2014-03-21 06:49:18</div>
<div>nova-scheduler   controller        
                 
internal         enabled    :-)
  2014-03-21 06:49:18</div>
<div>nova-conductor   controller        
                 
internal         enabled    :-)
  2014-03-21 06:49:17</div>
<div>nova-compute     compute1      
                 
    nova            
enabled    :-)   2014-03-21 06:49:17</div>
<div>nova-network     compute1      
                 
    internal         enabled  
 :-)   2014-03-21 06:49:17</div>
</div>
<div><br></div>
<div><br></div>
<div>When i try to launch a instance from controller, I am getting
this error "2014-03-21 00:38:58.677 865 WARNING
nova.scheduler.driver [req-acb89cd9-e435-45bd-9e3d-ec5763448139
08b7690d9a434f09a9617e5a3da9b1dd 17663b2a7f7447348d04b0fa2d370b21]
[instance: f24b6f13-9233-4db3-be25-703d88eaf32c] Setting instance
to ERROR state. </div>
<div>".</div>
<div><br></div>
<div>Am not able to solve this please guide me.</div>
<div><br></div>
<div>Thanks in advance.</div>
<div><br></div>
<div><u><b>Mysetup:</b></u></div>
<div><u><b><br></b></u></div>
<div>Controller - 192.168.0.10</div>
<div>Compute1 - 192.168.0.11</div>
<div><br></div>
<div><b>Controller:</b></div>
<div><br></div>
<div><u>nova.conf</u></div>
<div><u><br></u></div>
<div>
<div style="text-decoration:underline">[DEFAULT]</div>
<div style="text-decoration:underline">
dhcpbridge_flagfile=/etc/nova/nova.conf</div>
<div style="text-decoration:underline">
dhcpbridge=/usr/bin/nova-dhcpbridge</div>
<div style="text-decoration:underline">logdir=/var/log/nova</div>
<div style="text-decoration:underline">
state_path=/var/lib/nova</div>
<div style="text-decoration:underline">
lock_path=/var/lock/nova</div>
<div style="text-decoration:underline">
force_dhcp_release=True</div>
<div style="text-decoration:underline">iscsi_helper=tgtadm</div>
<div style="text-decoration:underline">
libvirt_use_virtio_for_bridges=True</div>
<div style="text-decoration:underline">
connection_type=libvirt</div>
<div style="text-decoration:underline">root_helper=sudo
nova-rootwrap /etc/nova/rootwrap.conf</div>
<div style="text-decoration:underline">verbose=True</div>
<div style="text-decoration:underline">
ec2_private_dns_show_ip=True</div>
<div style="text-decoration:underline">
api_paste_config=/etc/nova/api-paste.ini</div>
<div style="text-decoration:underline">
volumes_path=/var/lib/nova/volumes</div>
<div style="text-decoration:underline">
enabled_apis=ec2,osapi_compute,metadata</div>
<div style="text-decoration:underline"><br></div>
<div style="text-decoration:underline"><br></div>
<div style="text-decoration:underline">rpc_backend =
nova.rpc.impl_kombu</div>
<div style="text-decoration:underline">rabbit_host =
controller</div>
<div style="text-decoration:underline">rabbit_password =
RABBIT_PASS</div>
<div style="text-decoration:underline"><br></div>
<div style="text-decoration:underline">my_ip=192.168.0.10</div>
<div style="text-decoration:underline">
vncserver_listen=192.168.0.10</div>
<div style="text-decoration:underline">
vncserver_proxyclient_address=192.168.0.10</div>
<div style="text-decoration:underline"><br></div>
<div style="text-decoration:underline">auth_strategy=keystone</div>
<div style="text-decoration:underline"><br></div>
<div style="text-decoration:underline">[database]</div>
<div style="text-decoration:underline">connection =
mysql://nova:NOVA_DBPASS@controller/nova</div>
<div style="text-decoration:underline"><br></div>
<div style="text-decoration:underline">[keystone_authtoken]</div>
<div style="text-decoration:underline">auth_host = controller</div>
<div style="text-decoration:underline">auth_port = 35357</div>
<div style="text-decoration:underline">auth_protocol = http</div>
<div style="text-decoration:underline">admin_tenant_name =
service</div>
<div style="text-decoration:underline">admin_user = nova</div>
<div style="text-decoration:underline">admin_password =
NOVA_PASS</div>
<div style="text-decoration:underline"><br></div>
<div><u>Compute1:</u></div>
</div>
<div><u><br></u></div>
<div>
<div><u>[DEFAULT]</u></div>
<div><u>dhcpbridge_flagfile=/etc/nova/nova.conf</u></div>
<div><u>dhcpbridge=/usr/bin/nova-dhcpbridge</u></div>
<div><u>logdir=/var/log/nova</u></div>
<div><u>state_path=/var/lib/nova</u></div>
<div><u>lock_path=/var/lock/nova</u></div>
<div><u>force_dhcp_release=True</u></div>
<div><u>iscsi_helper=tgtadm</u></div>
<div><u>libvirt_use_virtio_for_bridges=True</u></div>
<div><u>connection_type=libvirt</u></div>
<div><u>root_helper=sudo nova-rootwrap
/etc/nova/rootwrap.conf</u></div>
<div><u>verbose=True</u></div>
<div><u>ec2_private_dns_show_ip=True</u></div>
<div><u>api_paste_config=/etc/nova/api-paste.ini</u></div>
<div><u>volumes_path=/var/lib/nova/volumes</u></div>
<div><u>enabled_apis=ec2,osapi_compute,metadata</u></div>
<div><u><br></u></div>
<div><u><br></u></div>
<div><u><br></u></div>
<div><u><br></u></div>
<div><u>rpc_backend = nova.rpc.impl_kombu</u></div>
<div><u>rabbit_host = controller</u></div>
<div><u>rabbit_password = RABBIT_PASS</u></div>
<div><u><br></u></div>
<div><u>auth_strategy=keystone</u></div>
<div><u><br></u></div>
<div><u>my_ip=192.168.0.11</u></div>
<div><u>vnc_enabled=True</u></div>
<div><u>vncserver_listen=0.0.0.0</u></div>
<div><u>vncserver_proxyclient_address=192.168.0.11</u></div>
<div><u>novncproxy_base_url=<a moz-do-not-send="true" href="http://controller:6080/vnc_auto.html">http://controller:6080/vnc_auto.html</a></u></div>
<div><u><br></u></div>
<div><u>glance_host=controller</u></div>
<div><u><br></u></div>
<div><u><br></u></div>
<div><u><br></u></div>
<div>
<u>network_manager=nova.network.manager.FlatDHCPManager</u></div>
<div>
<u>firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver</u></div>
<div><u>network_size=254</u></div>
<div><u>allow_same_net_traffic=False</u></div>
<div><u>multi_host=True</u></div>
<div><u>send_arp_for_ha=True</u></div>
<div><u>share_dhcp_address=True</u></div>
<div><u>force_dhcp_release=True</u></div>
<div><u>flat_network_bridge=br100</u></div>
<div><u>flat_interface=eth0</u></div>
<div><u>public_interface=eth0</u></div>
<div><u><br></u></div>
<div><u><br></u></div>
<div><u>[database]</u></div>
<div><u># The SQLAlchemy connection string used to connect to the
database</u></div>
<div><u>connection =
mysql://nova:NOVA_DBPASS@controller/nova</u></div>
</div>
<div><u><br></u></div>
<div><br></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
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>
<br>
<div class="moz-signature">--<br>
Regards,<br>
Mahardhika Gilang<br>
<br>
<strong>PT. Andalabs Technology</strong><br>
Gedung Gravira<br>
Jl. Cideng Barat no. 54<br>
Jakarta Pusat 10150<br>
<br>
Mobile : 0852 139 55861<br>
Email : <a class="moz-txt-link-abbreviated" href="mailto:mahardika.gilang@andalabs.com">mahardika.gilang@andalabs.com</a></div>


_______________________________________________
<br>Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
<br>Post to     : openstack@lists.openstack.org
<br>Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
<br></div></div></span></blockquote></body></html>