← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1365565] Re: failed to start up docker container

 

** Also affects: nova-docker
   Importance: Undecided
       Status: New

** No longer affects: nova

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1365565

Title:
  failed to start up docker container

Status in Nova Docker Driver:
  New

Bug description:
  
  1) Install OpenStack with devstack on CentOS6.5, I was using nova-network
  2) Enable Docker
  3) Start up a docker container, spawn failed

  te /opt/stack/nova/nova/openstack/common/processutils.py:194
  2014-09-04 17:50:21.845 ERROR novadocker.virt.docker.vifs [req-fc51ec3f-cd26-46a3-b055-826d13ebd3e2 admin admin] Failed to attach vif
  2014-09-04 17:50:21.845 TRACE novadocker.virt.docker.vifs Traceback (most recent call last):
  2014-09-04 17:50:21.845 TRACE novadocker.virt.docker.vifs File "/opt/stack/src/novadocker/novadocker/virt/docker/vifs.py", line 201, in attach
  2014-09-04 17:50:21.845 TRACE novadocker.virt.docker.vifs container_id, run_as_root=True)
  2014-09-04 17:50:21.845 TRACE novadocker.virt.docker.vifs File "/opt/stack/nova/nova/utils.py", line 163, in execute
  2014-09-04 17:50:21.845 TRACE novadocker.virt.docker.vifs return processutils.execute(*cmd, **kwargs)
  2014-09-04 17:50:21.845 TRACE novadocker.virt.docker.vifs File "/opt/stack/nova/nova/openstack/common/processutils.py", line 200, in execute
  2014-09-04 17:50:21.845 TRACE novadocker.virt.docker.vifs cmd=' '.join(cmd))
  2014-09-04 17:50:21.845 TRACE novadocker.virt.docker.vifs ProcessExecutionError: Unexpected error while running command.
  2014-09-04 17:50:21.845 TRACE novadocker.virt.docker.vifs Command: ip link set ns076af6ce-d5 netns 18a61fea04164e5973f4cf1e2fa5859f772636d8d2bbf22295ae448b9dba176b
  2014-09-04 17:50:21.845 TRACE novadocker.virt.docker.vifs Exit code: 255
  2014-09-04 17:50:21.845 TRACE novadocker.virt.docker.vifs Stdout: ''
  2014-09-04 17:50:21.845 TRACE novadocker.virt.docker.vifs Stderr: 'Error: argument "18a61fea04164e5973f4cf1e2fa5859f772636d8d2bbf22295ae448b9dba176b" is wrong: Invalid "netns" value\n\n'
  2014-09-04 17:50:21.845 TRACE novadocker.virt.docker.vifs

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova-docker/+bug/1365565/+subscriptions


References