<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">

<p class="MsoNormal">Hi Fabrizio,</p><p class="MsoNormal"><br></p>

<p class="MsoNormal">Thanks for your reply. I’ve installed OpenStack Kilo on
CentOS 7 with KVM and nova-network (alongside nova, glance, keystone, horizon).
And I want to add a Compute node with docker 1.6 hypervisor to the first node (I
have nova-compute, nova-network and nova-docker on this server).</p><p class="MsoNormal">Yep, Glance can recognize docker images.<br></p>

<p class="MsoNormal">Yesterday, I could successfully download and run tutum/wordpress with
OpenStack. But when I want to use my own docker image I receive the following
error (surely I can run it with docker run):</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">2014-09-05 14:12:09.256 16945 INFO nova.compute.claims [-]
[instance: 495dcb5b-1c0f-4bd1-9fb8-31cf07dfe7bd] Claim successful</p>

<p class="MsoNormal">2014-09-05 14:12:09.354 16945 INFO
nova.scheduler.client.report [-] Compute_service record updated for
('compute04', 'compute04')</p>

<p class="MsoNormal">2014-09-05 14:12:09.493 16945 INFO
nova.scheduler.client.report [-] Compute_service record updated for
('compute04', 'compute04')</p>

<p class="MsoNormal">2014-09-05 14:12:11.213 16945 INFO
nova.scheduler.client.report [-] Compute_service record updated for ('compute04',
'compute04')</p>

<p class="MsoNormal">2014-09-05 14:12:39.291 16945 WARNING
novadocker.virt.docker.driver [-] [instance:
495dcb5b-1c0f-4bd1-9fb8-31cf07dfe7bd] Cannot setup network: Cannot find any PID
under container "892d244a9d8e00b5b7847afbef0453659d0dcf01ff561f82a44a7304ad609f38"</p>

<p class="MsoNormal">2014-09-05 14:12:39.291 16945 TRACE
novadocker.virt.docker.driver [instance: 495dcb5b-1c0f-4bd1-9fb8-31cf07dfe7bd]
Traceback (most recent call last):</p>

<p class="MsoNormal">2014-09-05 14:12:39.291 16945 TRACE
novadocker.virt.docker.driver [instance: 495dcb5b-1c0f-4bd1-9fb8-31cf07dfe7bd]<span style>   </span>File
"/usr/lib/python2.7/site-packages/novadocker/virt/docker/driver.py",
line 406, in _start_container</p>

<p class="MsoNormal">2014-09-05 14:12:39.291 16945 TRACE
novadocker.virt.docker.driver [instance: 495dcb5b-1c0f-4bd1-9fb8-31cf07dfe7bd] <span style>    </span>self._attach_vifs(instance, network_info)</p>

<p class="MsoNormal">2014-09-05 14:12:39.291 16945 TRACE
novadocker.virt.docker.driver [instance:
495dcb5b-1c0f-4bd1-9fb8-31cf07dfe7bd]<span style>  
</span>File
"/usr/lib/python2.7/site-packages/novadocker/virt/docker/driver.py",
line 214, in _attach_vifs</p>

<p class="MsoNormal">2014-09-05 14:12:39.291 16945 TRACE
novadocker.virt.docker.driver [instance:
495dcb5b-1c0f-4bd1-9fb8-31cf07dfe7bd]<span style>    
</span>raise RuntimeError(msg.format(container_id))</p>

<p class="MsoNormal">2014-09-05 14:12:39.291 16945 TRACE
novadocker.virt.docker.driver [instance: 495dcb5b-1c0f-4bd1-9fb8-31cf07dfe7bd]
RuntimeError: Cannot find any PID under container
"892d244a9d8e00b5b7847afbef0453659d0dcf01ff561f82a44a7304ad609f38"</p>

<p class="MsoNormal">2014-09-05 14:12:39.291 16945 TRACE
novadocker.virt.docker.driver [instance: 495dcb5b-1c0f-4bd1-9fb8-31cf07dfe7bd]</p>

<p class="MsoNormal">2014-09-05 14:12:41.455 16945 ERROR nova.compute.manager [-]
[instance: 495dcb5b-1c0f-4bd1-9fb8-31cf07dfe7bd] Instance failed to spawn</p>

<p class="MsoNormal">2014-09-05 14:12:41.455 16945 TRACE nova.compute.manager
[instance: 495dcb5b-1c0f-4bd1-9fb8-31cf07dfe7bd] Traceback (most recent call
last):</p>

<p class="MsoNormal">2014-09-05 14:12:41.455 16945 TRACE nova.compute.manager
[instance: 495dcb5b-1c0f-4bd1-9fb8-31cf07dfe7bd]<span style>   </span>File
"/usr/lib/python2.7/site-packages/nova/compute/manager.py", line
2442, in _build_resources</p>

<p class="MsoNormal">2014-09-05 14:12:41.455 16945 TRACE nova.compute.manager
[instance: 495dcb5b-1c0f-4bd1-9fb8-31cf07dfe7bd]<span style>     </span>yield resources</p>

<p class="MsoNormal">2014-09-05 14:12:41.455 16945 TRACE nova.compute.manager
[instance: 495dcb5b-1c0f-4bd1-9fb8-31cf07dfe7bd]<span style>   </span>File
"/usr/lib/python2.7/site-packages/nova/compute/manager.py", line
2314, in _build_and_run_instance</p>

<p class="MsoNormal">2014-09-05 14:12:41.455 16945 TRACE nova.compute.manager
[instance: 495dcb5b-1c0f-4bd1-9fb8-31cf07dfe7bd]<span style>     </span>block_device_info=block_device_info)</p>

<p class="MsoNormal">2014-09-05 14:12:41.455 16945 TRACE nova.compute.manager
[instance: 495dcb5b-1c0f-4bd1-9fb8-31cf07dfe7bd]<span style>   </span>File
"/usr/lib/python2.7/site-packages/novadocker/virt/docker/driver.py",
line 448, in spawn</p>

<p class="MsoNormal">2014-09-05 14:12:41.455 16945 TRACE nova.compute.manager
[instance: 495dcb5b-1c0f-4bd1-9fb8-31cf07dfe7bd]<span style>    </span><span style> </span>self._start_container(container_id, instance,
network_info)</p>

<p class="MsoNormal">2014-09-05 14:12:41.455 16945 TRACE nova.compute.manager
[instance: 495dcb5b-1c0f-4bd1-9fb8-31cf07dfe7bd]<span style>   </span>File
"/usr/lib/python2.7/site-packages/novadocker/virt/docker/driver.py",
line 414, in _start_container</p>

<p class="MsoNormal">2014-09-05 14:12:41.455 16945 TRACE nova.compute.manager
[instance: 495dcb5b-1c0f-4bd1-9fb8-31cf07dfe7bd]<span style>     </span>instance_id=instance['name'])</p>

<p class="MsoNormal">2014-09-05 14:12:41.455 16945 TRACE nova.compute.manager
[instance: 495dcb5b-1c0f-4bd1-9fb8-31cf07dfe7bd] InstanceDeployFailure: Cannot
setup network: Cannot find any PID under container
"892d244a9d8e00b5b7847afbef0453659d0dcf01ff561f82a44a7304ad609f38"</p>

<p class="MsoNormal">2014-09-05 14:12:41.455 16945 TRACE nova.compute.manager
[instance: 495dcb5b-1c0f-4bd1-9fb8-31cf07dfe7bd]</p>

<p class="MsoNormal">2014-09-05 14:12:41.457 16945 INFO nova.compute.manager
[req-72d9c055-bf3e-4524-bbd5-cb3af28b71bb d59cc6bbcf084bd9908ecb8fb21b1e9a
aa66b7aa07cc412ba6d6f0b552e7b037 - - -] [instance: 495dcb5b-1c0f-4bd1-9fb8-31cf07dfe7bd]
Terminating instance</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">PS: I've overcome the previously mailed error by running docker
container with “/bin/bash” and creating a new image from it and then upload that image to glance.</p><p class="MsoNormal"><br></p>

<p class="MsoNormal">Regards,</p>

<p class="MsoNormal">Reza</p>

</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 1 June 2015 at 21:15, Fabrizio Soppelsa <span dir="ltr"><<a href="mailto:fsoppelsa@mirantis.com" target="_blank">fsoppelsa@mirantis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hello Reza,<br>
    can you please write more details?<br>
    What docker version have you installed on the compute node? What
    OpenStack release are you running nova-docker on?<br>
    Have you properly configured Nova on the controller/s to work with
    docker hypervisors, and Glance to recognize docker images?<br>
    Are you using Neutron?<br>
    <br>
    Please elaborate more, so we can try to help you.<br>
    <br>
    Best,<br>
    Fabrizio<div><div class="h5"><br>
    <br>
    <br>
    <div>On 05/31/2015 10:37 AM, Reza
      Bakhshayeshi wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <p dir="ltr">Hi all,</p>
      <p dir="ltr">I have installed nova-docker on a separate compute
        node and recieve the following error in nova compute log:<br>
        APIError: 500 Server Error: Internal Server Error ("No command
        specified")</p>
      <p dir="ltr">Any suggestion would be greatful.<br>
      </p>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>