If FUNCNAME[0] is undefined and 'set -u' used, devstack can fail
Bug #1543749 reported by
Surojit Pathak
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Fix Released
|
Undecided
|
John L. Villalovos |
Bug Description
While following ironic-devstack instructions, as per [1], on RHEL7.1, I am encountering an error at create_
[1] - http://
[2] - 2016-02-08 23:47:44.331 | ++ /opt/stack/
2016-02-08 23:47:44.331 | /opt/stack/
Changed in devstack: | |
assignee: | nobody → Surojit Pathak (suro-patz) |
summary: |
- devstack installation with Ironic fails on RHEL7 + If FUNCNAME[0] is undefined and 'set -u' used, devstack can fail |
To post a comment you must log in.
I believe that this issue is actually caused by the PS4 variable.
It is set in devstack/stackrc as:
export PS4='+ ${BASH_ SOURCE} :${FUNCNAME[ 0]}:L${ LINENO} : '