diff --git a/devstack/plugin.sh b/devstack/plugin.sh index b77d72042..f9632db7d 100755 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -128,11 +128,15 @@ function install_mistral { # installing python-nose. if is_fedora; then - if python3_enabled; then + if python3_enabled; then real_install_package python3-nose - else + else real_install_package python2-nose fi + elif is_ubuntu; then + if python3_enabled; then + real_install_package python3-nose + fi else real_install_package python-nose fi