<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 16, 2013 at 8:15 PM, Vikash Kumar <span dir="ltr"><<a href="mailto:vikash.kumar@oneconvergence.com" target="_blank">vikash.kumar@oneconvergence.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Hi,<br><br></div>   I am trying to install openstack on mutli node with help of devstack (<a href="http://devstack.org/guides/multinode-lab.html" target="_blank">http://devstack.org/guides/multinode-lab.html</a>).<br>



<br></div>   I got some issues:<br><br></div><div>    My setup details: One controller and One compute node (both VM). <br></div><div>                              OS - Ubuntu 13.04<br></div><div>                               Memory: 2G<br>



</div><div>   <b>a. VM's are going in paused state.</b><br>       <br></div><div>       I tried to launch VM from horizon, and all the VM's goes in<b> Paused </b>state. VM's are scheduled on <b>compute node.  </b><br>



<br></div><div>       When controller node come up, <b>nova-manage service list</b> shows the controller node as VM also. Reason by default nova compute services also come up.<br><br></div><div>        After compute node installation, <b>nova-manage service list </b>shows compute node as compute node only and not the<br>



<br></div><div>       There is one nova -error:<br><br>       <i> ERROR nova.openstack.common.periodic_task [-] Error during ComputeManager.update_available_resource: Compute host oc-vm could not be found.#012Traceback (most recent call last):#012#012  File "/opt/stack/nova/nova/openstack/common/rpc/common.py", line 420, in catch_client_exception#012    return func(*args, **kwargs)#012#012  File "/opt/stack/nova/nova/conductor/manager.py", line 419, in service_get_all_by#012    result = self.db.service_get_by_compute_host(context, host)#012#012  File "/opt/stack/nova/nova/db/api.py", line 140, in service_get_by_compute_host#012    return IMPL.service_get_by_compute_host(context, host)#012#012  File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 107, in wrapper#012    return f(*args, **kwargs)#012#012  File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 441, in service_get_by_compute_host#012    raise exception.ComputeHostNotFound(host=host)#012#012ComputeHostNotFound: Compute host oc-vm could not be found.#0122013-10-16 06:25:27.358 7143 TRACE nova.openstack.common.periodic_task Traceback (most recent call last):#0122013-10-16 06:25:27.358 7143 TRACE nova.openstack.common.periodic_task   File "/opt/stack/nova/nova/openstack/common/periodic_task.py", line 180, in run_periodic_tasks#0122013-10-16 06:25:27.358 7143 TRACE nova.openstack.common.periodic_task     task(self, context)#0122013-10-16 06:25:27.358 7143 TRACE nova.openstack.common.periodic_task   File "/opt/stack/nova/nova/compute/manager.py", line 4872, in update_available_resource#0122013-10-16 06:25:27.358 7143 TRACE nova.openstack.common.periodic_task     compute_nodes_in_db = self._get_compute_nodes_in_db(context)#0122013-10-16 06:25:27.358 7143 TRACE nova.openstack.common.periodic_task   File "/opt/stack/nova/nova/compute/manager.py", line 4883, in _get_compute_nodes_in_db#0122013-10-16 06:25:27.358 7143 TRACE nova.openstack.common.periodic_task     context, self.host)#0122013-10-16 06:25:27.358 7143 TRACE nova.openstack.common.periodic_task   File "/opt/stack/nova/nova/condu</i><br>



</div><div>     <br></div>  <b> b. g-api was flagging issue. </b><br><br>        <i>ERROR glance.store.sheepdog [-] Error in store configuration: Unexpected error while running command.#012Command: collie#012Exit code: 127#012Stdout: ''#012Stderr: '/bin/sh: 1: collie: not found\n'<br>



<br>        WARNING glance.store.base [-] Failed to configure store correctly: Store sheepdog could not be configured correctly. Reason: Error in store configuration: Unexpected error while running command.#012Command: collie#012Exit code: 127#012Stdout: ''#012Stderr: '/bin/sh: 1: collie: not found\n' Disabling add method.<br>



<br>        WARNING glance.store.base [-] Failed to configure store correctly: Store cinder could not be configured correctly. Reason: Cinder storage requires a context. Disabling add method<br></i><br></div>    I think this is a bug and also reported by other developers. I resolved it by installing <i>sheepdog </i>explicitly on compute node. After installation , i didn't saw that error.<br>



<br><br></div>     <b>My localrc file:<br><br></b></div><b>     Controller:</b><br><div style="margin-left:40px">ADMIN_PASSWORD=secret<br>MYSQL_PASSWORD=secret<br>RABBIT_PASSWORD=secret<br>SERVICE_PASSWORD=secret<br>SERVICE_TOKEN=secret<br>



HOST_IP=192.168.0.66<br>FLAT_INTERFACE=eth0<br>FIXED_RANGE=<a href="http://10.0.0.0/24" target="_blank">10.0.0.0/24</a><br>FIXED_NETWORK_SIZE=128<br>FLOATING_RANGE=<a href="http://192.168.0.22/24" target="_blank">192.168.0.22/24</a><br>


MULTI_HOST=1<br>Q_PLUGIN=openvswitch<br>
ENABLE_TENANT_TUNNELS=True<br>disable_service n-net<br>enable_service q-svc<br>enable_service q-agt<br>enable_service q-dhcp<br>enable_service q-l3<br>enable_service q-meta<br>enable_service neutron<br>enable_service q-lbaas<br>



DEST=/opt/stack<br>LOGFILE=stack.sh.log<br>RECLONE=yes<br>SCREEN_LOGDIR=/opt/stack/logs/screen<br>SYSLOG=True<br><br></div><div style="margin-left:40px">*<i>I have enabled GRE tunneling.</i><br></div><br></div>  <b>Compute Node:</b><br>



<br><div style="margin-left:40px">ADMIN_PASSWORD=secret<br>MYSQL_PASSWORD=secret<br>RABBIT_PASSWORD=secret<br>SERVICE_PASSWORD=secret<br>SERVICE_TOKEN=secret<br>HOST_IP=192.168.0.103<br>FLAT_INTERFACE=eth0<br>FIXED_RANGE=<a href="http://10.0.0.0/24" target="_blank">10.0.0.0/24</a><br>



FIXED_NETWORK_SIZE=128<br>FLOATING_RANGE=<a href="http://192.168.0.22/24" target="_blank">192.168.0.22/24</a><br>MULTI_HOST=1<br>DATABASE_TYPE=mysql<br>SERVICE_HOST=192.168.0.66<br>MYSQL_HOST=192.168.0.66<br>RABBIT_HOST=192.168.0.66<br>


GLANCE_HOSTPORT=<a href="http://192.168.0.66:9292" target="_blank">192.168.0.66:9292</a><br>
Q_HOST=192.168.0.66<br>MATCHMAKER_REDIS_HOST=192.168.0.66<br>ENABLE_TENANT_TUNNELS=True<br>disable_service n-net<br>enable_service n-cpu rabbit q-agt neutron<br>Q_PLUGIN=openvswitch<br>DEST=/opt/stack<br>LOGFILE=stack.sh.log<br>



RECLONE=yes<br>SCREEN_LOGDIR=/opt/stack/logs/screen<br>SYSLOG=True<br></div><br></div>  Is there any issue with localrc configuration? Why VM's are going into paused state ?<br><br><br></div>Regards,<br></div>Vikash<br>



<div><div><div><div><div>     <br></div></div></div></div></div></div>
</blockquote></div><br></div></div>