Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ERROR oslo_messaging.rpc.dispatcher Exception during message handling: Unexpected error while running command. Command: sysctl -n net.ipv4.ip_forward

I installed openstack with nova-network on Centos 7.

The states of launched instances are as follows:

+--------------------------------------+-----------------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+-----------------+--------+------------+-------------+----------+
| 2e3c29b8-5441-4e74-bb6f-2c27c3be352c | demo-instance1 | ERROR | - | NOSTATE | - |
+--------------------------------------+-----------------+--------+------------+-------------+----------+

And in the log file, I discover the following info:

ERROR oslo_messaging.rpc.dispatcher [req-41a1297c-c39e-40e8-8f1b-342a0f342722 ] Exception during message handling: Unexpected error while running command.

Command: sysctl -n net.ipv4.ip_forward Exit code: 255 Stdout: u' '

Stderr: u'sysctl: cannot stat /proc/sys/net/ipv4/ip_forward: Permission denied\n'

How can I solve such a problem? Look forward to answers. Thank you.