DevStack (./ can not found test-requirement.txt dir

Bug #1838189 reported by Brin Zhang on 2019-07-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

When I deploy the Master DevStack of manila ui, that report an error.

++/opt/stack/manila-ui/devstack/ mv /opt/stack/manila-ui/test-requirements.txt /opt/stack/manila-ui/_test-requirements.txt
mv: cannot stat ‘/opt/stack/manila-ui/test-requirements.txt’: No such file or directory
+/opt/stack/manila-ui/devstack/ exit_trap
+./ local r=1
++./ jobs -p
+./ jobs=
+./ [[ -n '' ]]
+./ '[' -f '' ']'
+./ kill_spinner
+./ '[' '!' -z '' ']'
+./ [[ 1 -ne 0 ]]
+./ echo 'Error on exit'
Error on exit

This is issue result by follow function:

function install_manila_ui {
    # NOTE(vponomaryov): workaround for devstack bug: 1540328
    # where devstack install 'test-requirements' but should not do it
    # for manila-ui project as it installs Horizon from url.
    # Remove following two 'mv' commands when mentioned bug is fixed.
    mv $MANILA_UI_DIR/test-requirements.txt $MANILA_UI_DIR/_test-requirements.txt

    setup_develop ${MANILA_UI_DIR}

    mv $MANILA_UI_DIR/_test-requirements.txt $MANILA_UI_DIR/test-requirements.txt

There is an issue, when you deploy the DevStack failed in first time, and then retry, there will raise an exception with "mv $MANILA_UI_DIR/_test-requirements.txt $MANILA_UI_DIR/test-requirements.txt", beacuse the _test_requirements.txt is not exist, see `links`_.

Beacuse of manila-ui does not has the test-requirements.txt, so this will raise an exception, once the ./ run again.


Brin Zhang (zhangbailin) on 2019-07-28
tags: added: manila-ui
Dr. Jens Harbott (j-harbott) wrote :

The devstack plugin belongs to the manila project, not to devstack.

Changed in devstack:
status: New → Invalid

Hey Brin, can you share information about your deploy? Please share the local.conf file and also let me know about the distro in which you are running Devstack. Thanks!

Jason Grosso (jgrosso) wrote :

hey, Brin any chance you can send us the local.cof and the distro your running dev stack on?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers