DevStack - functions-common:215 Failure retrieving default route device

1 문제상황[ | ]

stack@ubuntu16:~/devstack$ ./stack.sh
... (생략)
++functions-common:die_if_not_set:204       local exitcode=0
++functions-common:die_if_not_set:205       local xtrace
+++functions-common:die_if_not_set:206       set +o
+++functions-common:die_if_not_set:206       grep xtrace
++functions-common:die_if_not_set:206       xtrace='set -o xtrace'
++functions-common:die_if_not_set:207       set +o xtrace
[Call Trace]
./stack.sh:584:source
/opt/stack/devstack/lib/neutron-legacy:215:die_if_not_set
/opt/stack/devstack/functions-common:211:die
[ERROR] /opt/stack/devstack/functions-common:215 Failure retrieving default route device
Error on exit
World dumping... see /opt/stack/logs/worlddump-2017-09-07-054644.txt for details
stack@ubuntu16:~/devstack$ ./unstack.sh 
WARNING: setting legacy OS_TENANT_NAME to support cli tools.
WARNING: Using lib/neutron-legacy is deprecated, and it will be removed in the future
[Call Trace]
./unstack.sh:71:source
/opt/stack/devstack/lib/neutron-legacy:215:die_if_not_set
/opt/stack/devstack/functions-common:211:die
[ERROR] /opt/stack/devstack/functions-common:215 Failure retrieving default route device

2 해결[ | ]

stack@ubuntu16:~/devstack$ sudo route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.56.0    0.0.0.0         255.255.255.0   U     0      0        0 enp0s3
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0
stack@ubuntu16:~/devstack$ sudo route add default gw 192.168.122.2 virbr0
stack@ubuntu16:~/devstack$ sudo route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.122.2   0.0.0.0         UG    0      0        0 virbr0
192.168.56.0    0.0.0.0         255.255.255.0   U     0      0        0 enp0s3
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0

3 확인[ | ]

4 같이 보기[ | ]

5 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}