Cannot ping Docker Instance on Kilo

asked 2015-10-19 05:40:45 -0600

fhussain gravatar image

updated 2015-10-19 07:12:48 -0600

I have followed this link for creating a Docker instance in OpenStack. The instance is launched successfully and an IP 10.0.0.5 has been assigned to it. However, I cannot ping the docker instance from my host machine in spite of adding appropriate rules into the security group for allowing ping(ICMP).

Question: Why can't I ping any docker instance from host machine?

Note: I can successfully ping VM instances but cannot ping any docker instance.

Here is my local.conf file:

[[local|localrc]]

SERVICE_TOKEN=azertytoken
ADMIN_PASSWORD=nomoresecrete
MYSQL_PASSWORD=stackdb
RABBIT_PASSWORD=stackqueue
SERVICE_PASSWORD=$ADMIN_PASSWORD

LOGFILE=$DEST/logs/stack.sh.log

LOGDAYS=2

ENABLED_SERVICES=rabbit,mysql,key
ENABLED_SERVICES+=,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch,n-novnc,n-xvnc,n-cauth
ENABLED_SERVICES+=,neutron,q-svc,q-agt,q-l3,q-meta,q-lbaas,q-fwaas,q-dhcp
ENABLED_SERVICES+=,cinder,c-api,c-vol,c-sch,c-bak
ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng
ENABLED_SERVICES+=,horizon
ENABLED_SERVICE-=n-net

SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
SWIFT_REPLICAS=1
SWIFT_DATA_DIR=$DEST/data

enable_service tempest

VIRT_DRIVER=novadocker.virt.docker.DockerDriver

##### Introduce glance to docker images
$GLANCE_API_CONF

[DEFAULT]
container_formats=ami,ari,aki,bare,ovf,ova,docker

##### Configure nova to use the nova-docker driver
$NOVA_CONF
[DEFAULT]
compute_driver=novadocker.virt.docker.DockerDriver

Please help me resolve the issue.

edit retag flag offensive close merge delete

Comments

Could you post your local.conf and cat nova.conf | grep compute_driver ?

dbaxps gravatar imagedbaxps ( 2015-10-19 06:36:42 -0600 )edit

This is the result of cat nova.conf | grep compute_driver compute_driver = libvirt.LibvirtDriver

fhussain gravatar imagefhussain ( 2015-10-19 07:13:41 -0600 )edit

Do you update nova.conf to launch nova-docker container ?

dbaxps gravatar imagedbaxps ( 2015-10-19 07:23:30 -0600 )edit

I was able reproduce the issue with pinging FIPs of nova-docker instances using stable liberty branches in nova-docker.git (i.e. building driver ) and devstack.git (setting up AIO Liberty instance with NovaDocker driver).

dbaxps gravatar imagedbaxps ( 2015-10-19 12:56:55 -0600 )edit

@fhussain, please , file a bug against nova-docker on Launchpad.net.

dbaxps gravatar imagedbaxps ( 2015-10-19 12:59:32 -0600 )edit