Welcome to the Linux Foundation Forum!

lab 3.1. Cannot open network namespace... No such file or directory

Options

The sequence below don't seem to work. I've verified the UUID of the router. What I don't understand, is I can't ping the allocated IP, the instance is not reachable, so how would an ssh work?

ubuntu@devstack-cc:~/devstack$ sudo ip netns list
qrouter-c104d6f6-068e-46bf-b768-6ded0c6d015b
qdhcp-f8d56171-4f17-44df-8d52-c69e5598f214
qrouter-c53c806a-ccb9-45e7-ae81-1dcd839231f0
qdhcp-ff29009f-89b8-4d56-b7d4-549c8581c51d
ubuntu@devstack-cc:~/devstack$ sudo ip netns exec \ qrouter-c104d6f6-068e-46bf-b768-6ded0c6d015b \ ssh cirros@10.0.0.74
Cannot open network namespace " qrouter-c104d6f6-068e-46bf-b768-6ded0c6d015b": No such file or directory

Comments

  • serewicz
    serewicz Posts: 1,000
    Options

    When you type a command as one long line you do not use the backslash ( \ ), but there are two on the command you typed. The backslash is used for line continuation and has special meaning when parsed by the shell.

    You may consider taking this free class to become more familair with Linux and the command line: https://training.linuxfoundation.org/training/introduction-to-linux/

    Regards,

  • hdadon
    Options

    Thanks Tim,
    I'm just following the instructions on the documentation where it is noted that dark blue, is text to be typed at the command line and I thought the / meant to be part of this command.
    Anyway I am good for now.

Categories

Upcoming Training