[Openstack] [nova-docker] Unable to ssh and ping containers

priya duggirala priyaduggirala02 at gmail.com
Fri Aug 7 06:57:18 UTC 2015


Hi ,
   I am able to launch containers with nova and the instances are
running,but ssh fails.It seems that the problem is due to networking
issues. Nova fails to create netns for the containers in question and thus
all what comes after fail as well.

When I check the compute.log I find these messages. Any suggestion or hints
on the same will greatly be helpful . Thanks in advance.

nova-compute.log

2015-08-07 10:56:08.477 31014 ERROR novadocker.virt.docker.vifs [-] *Failed
to attach vif*

2015-08-07 10:56:08.477 31014 TRACE novadocker.virt.docker.vifs Traceback
(most recent call last):

2015-08-07 10:56:08.477 31014 TRACE novadocker.virt.docker.vifs   File
"/root/src/novadocker/novadocker/virt/docker/vifs.py", line 417, in attach

2015-08-07 10:56:08.477 31014 TRACE novadocker.virt.docker.vifs
container_id, run_as_root=True)

2015-08-07 10:56:08.477 31014 TRACE novadocker.virt.docker.vifs   File
"/usr/lib/python2.7/site-packages/nova/utils.py", line 206, in execute

2015-08-07 10:56:08.477 31014 TRACE novadocker.virt.docker.vifs     return
processutils.execute(*cmd, **kwargs)

2015-08-07 10:56:08.477 31014 TRACE novadocker.virt.docker.vifs   File
"/usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py", line
265, in execute

2015-08-07 10:56:08.477 31014 TRACE novadocker.virt.docker.vifs
cmd=sanitized_cmd)

2015-08-07 10:56:08.477 31014 TRACE novadocker.virt.docker.vifs
ProcessExecutionError: Unexpected error while running command.

2015-08-07 10:56:08.477 31014 TRACE novadocker.virt.docker.vifs Command*:
ip link set ns0e4b2d90-2c netns
49d23393976cafb501df7a2105158d3118238d28e83a9d1417ea5306e97e6381*

2015-08-07 10:56:08.477 31014 TRACE novadocker.virt.docker.vifs Exit code:
255

2015-08-07 10:56:08.477 31014 TRACE novadocker.virt.docker.vifs Stdout: u''

2015-08-07 10:56:08.477 31014 TRACE novadocker.virt.docker.vifs
Stderr: *u'Error:
argument "49d23393976cafb501df7a2105158d3118238d28e83a9d1417ea5306e97e6381"
is wrong: Invalid "netns" value\n\n'*

2015-08-07 10:56:08.477 31014 TRACE novadocker.virt.docker.vifs



ovs-vsctl show


 ovs-vsctl show

a1196b63-ee08-41de-9e7d-8f84236de68e

    Bridge br-int

        fail_mode: secure

        Port "qvoe34b2e76-0c"

            tag: 1

            Interface "qvoe34b2e76-0c"

       * Port "qvo0e4b2d90-2c"*

*            tag: 1*

*            Interface "qvo0e4b2d90-2c"*

        Port br-int

            Interface br-int

                type: internal

        Port "qvo786790d6-4d"

            tag: 1

            Interface "qvo786790d6-4d"

        Port "tapf7e39ff7-9a"

            tag: 1

            Interface "tapf7e39ff7-9a"

                type: internal


ip link show


26: *ns0e4b2d90-2c*: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
mode DEFAULT qlen 1000

    link/ether 62:95:52:56:f2:99 brd ff:ff:ff:ff:ff:ff

27: *tap0e4b2d90-2c: *<NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc
pfifo_fast master qbr0e4b2d90-2c state DOWN mode DEFAULT qlen 1000

    link/ether fe:81:48:c8:6c:c9 brd ff:ff:ff:ff:ff:ff


Regards,
Duggirala Priya.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150807/a288175d/attachment.html>


More information about the Openstack mailing list