Skip to content

ifdown vhost0 hangs indefinitely , until contrail-vrouter-agent-dpdk container is restarted.  #19

Description

@linusali

During a minor version update process in RHOSP13 + Contrail 5.1.0 environment, the RHOSP update hangs indefinitely. It was found that the /etc/sysconfig/network-scripts/ifdown-vhost is trying to unbind the NIC while it is still being used by the contrail-vrouter-agent-dpdk container, hence it is hanging until someone manually stop and remove the container.

While examining the network-function-vrouter-* and ifdown-vhost scripts it was found that the container is started with a static name contrail-vrouter-agent-dpdk @

, while the stop function is using $CONTRAIL_VROUTER_AGENT_DPDK_CONTAINER_NAME which has a different value in my network-functions-vrouter-dpdk-env file , which is some how derived from my container location vars that points to an internal satellite server.

So I think, since we wanted to use custom docker name , it is better to update the docker startup function to name the container $CONTRAIL_VROUTER_AGENT_DPDK_CONTAINER_NAME instead of the static one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions