Revision history [back]

click to hide/show revision 1
initial version

AttributeError: 'module' object has no attribute 'URIOpt'

Hello

I am running ./stack.sh and it stops due to error "AttributeError: 'module' object has no attribute 'URIOpt'". Any help to fix the issue would be much appreciated.

The last lines of the terminal after error: 17-02-10 23:42:13.682 |     public_endpoint = cfg.URIOpt(br> 2017-02-10 23:42:13.683 | AttributeError: 'module' object has no attribute 'URIOpt'
2017-02-10 23:42:13.920 | + lib/keystone:init_keystone:1             :   exit_trap
2017-02-10 23:42:13.937 | + ./stack.sh:exit_trap:474                 :   local r=1
2017-02-10 23:42:13.964 | ++ ./stack.sh:exit_trap:475                 :   jobs -p
2017-02-10 23:42:13.975 | + ./stack.sh:exit_trap:475                 :   jobs=
2017-02-10 23:42:13.998 | + ./stack.sh:exit_trap:478                 :   [[ -n '' ]]
2017-02-10 23:42:14.040 | + ./stack.sh:exit_trap:484                 :   kill_spinner
2017-02-10 23:42:14.068 | + ./stack.sh:kill_spinner:370              :   '[' '!' -z '' ']'
2017-02-10 23:42:14.100 | + ./stack.sh:exit_trap:486                 :   [[ 1 -ne 0 ]]
2017-02-10 23:42:14.117 | + ./stack.sh:exit_trap:487                 :   echo 'Error on exit'
2017-02-10 23:42:14.117 | Error on exit
2017-02-10 23:42:14.137 | + ./stack.sh:exit_trap:488                 :   generate-subunit 1486766190 3944 fail
2017-02-10 23:42:16.054 | + ./stack.sh:exit_trap:489                 :   [[ -z /opt/stack/logs ]]
2017-02-10 23:42:16.060 | + ./stack.sh:exit_trap:492                 :   /home/stack/devstack/tools/worlddump.py
-d /opt/stack/logs
2017-02-10 23:42:12017-02-10 23:42:13.682 |     public_endpoint = cfg.URIOpt(
2017-02-10 23:42:13.683 | AttributeError: 'module' object has no attribute 'URIOpt'
2017-02-10 23:42:13.920 | + lib/keystone:init_keystone:1             :   exit_trap
2017-02-10 23:42:13.937 | + ./stack.sh:exit_trap:474                 :   local r=1
2017-02-10 23:42:13.964 | ++ ./stack.sh:exit_trap:475                 :   jobs -p
2017-02-10 23:42:13.975 | + ./stack.sh:exit_trap:475                 :   jobs=
2017-02-10 23:42:13.998 | + ./stack.sh:exit_trap:478                 :   [[ -n '' ]]
2017-02-10 23:42:14.040 | + ./stack.sh:exit_trap:484                 :   kill_spinner
2017-02-10 23:42:14.068 | + ./stack.sh:kill_spinner:370              :   '[' '!' -z '' ']'
2017-02-10 23:42:14.100 | + ./stack.sh:exit_trap:486                 :   [[ 1 -ne 0 ]]
2017-02-10 23:42:14.117 | + ./stack.sh:exit_trap:487                 :   echo 'Error on exit'
2017-02-10 23:42:14.117 | Error on exit
2017-02-10 23:42:14.137 | + ./stack.sh:exit_trap:488                 :   generate-subunit 1486766190 3944 fail
2017-02-10 23:42:16.054 | + ./stack.sh:exit_trap:489                 :   [[ -z /opt/stack/logs ]]
2017-02-10 23:42:16.060 | + ./stack.sh:exit_trap:492                 :   /home/stack/devstack/tools/worlddump.py
-d /opt/stack/logs
2017-02-10 23:42:1